Ahmed Sayed
16e771788e
Changed quota exceeded exception logging, only log exception message ( #817 )
...
Signed-off-by: Ahmed Sayed <ahmed.sayed@bosch-si.com >
2019-04-17 10:57:57 +02:00
Dominic Schabel
44e753a08b
Small improvement for nested security config ( #821 )
...
Signed-off-by: Dominic Schabel <dominic.schabel@bosch-si.com >
2019-04-17 10:56:04 +02:00
Dominic Schabel
191d64cbbc
Bumped Spring Boot version to 2.1.4 ( #825 )
...
Signed-off-by: Dominic Schabel <dominic.schabel@bosch-si.com >
2019-04-17 10:54:37 +02:00
Kai Zimmermann
80a00e59ea
Add LOC badge to README ( #818 )
...
Signed-off-by: Kai Zimmermann <kai.zimmermann@microsoft.com >
2019-04-10 10:20:09 +02:00
Dominic Schabel
88811462d0
Updated docker badges
...
Signed-off-by: Dominic Schabel <dominic.schabel@bosch-si.com >
2019-04-03 15:02:25 +02:00
Dominic Schabel
2d88ed4aec
Fixed outdated sandbox config
...
Signed-off-by: Dominic Schabel <dominic.schabel@bosch-si.com >
2019-04-03 14:44:23 +02:00
Dominic Schabel
1693cd2a81
Key for mysql image added
...
Signed-off-by: Dominic Schabel <dominic.schabel@bosch-si.com >
2019-04-03 11:27:27 +02:00
Dominic Schabel
b43da97d28
hawkBit M2 added to release notes and docker builds
...
Signed-off-by: Dominic Schabel <dominic.schabel@bosch-si.com >
2019-04-03 10:32:32 +02:00
Stefan Klotz
3a5776a90d
Fix cast exception in UI ( #816 )
...
* check type before cast
Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com >
* use collection instead of set
Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com >
2019-04-02 13:24:53 +02:00
Kai Zimmermann
fa6520a094
Fix Vaadin Addon repo url ( #813 )
...
Signed-off-by: Kai Zimmermann <kai.zimmermann@microsoft.com >
2019-03-27 09:15:20 +01:00
Dominic Schabel
56b938d22b
Wrong applicationId fixed in case of context refresh ( #811 )
...
Signed-off-by: Dominic Schabel <dominic.schabel@bosch-si.com >
2019-03-26 06:59:01 +01:00
Dominic Schabel
51be28147f
Remove java.xml.bind module ( #805 )
2019-03-15 13:03:51 +01:00
Stefan Klotz
0a3f1a2b7a
fix increase notification visibility time ( #808 )
...
Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com >
2019-03-15 09:29:33 +01:00
Stefan Klotz
75f66c9811
Fix localization vaadin system messages ( #807 )
...
* Add customized SystemMessagesProvider
* Localize according to SystemMessagesInfo
* Localize vaadin 'Server connection lost' message
* Use available locale for system messages
* Add license header
* Fix PR findings
* Fix Sonar issues
Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com >
2019-03-14 12:43:47 +01:00
Stefan Klotz
c3843416b9
add localization to UI items ( #804 )
...
Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com >
2019-03-13 13:49:13 +01:00
Bondar Bogdan
664c467920
Feature soft autoassignment ( #789 )
...
* Repository layer and database migration
* Changed target filter management to update auto assignment action type together with distribution set, extended mgmt API, adapted auto assign checker/scheduler, changed auto assign distribution set select table to combobox, added filter functionality (needs refactoring)
* Refactored auto assignment dialog window, added soft/forced option group, restructured action type option group layout
* Added forced icon to target filter table autoassignment cell for the forced auto assign actions
* First working draft of distribution set select combobox for auto assignment window
* Optimised filtering queries, added alphabetical sorting on distribution set name and version
* Refactoring of distribution bean query for lazy loading
* Distribution set combobox refactoring and comments
* Added verification of auto assign distribution set validity (completed, not deleted), exdended target filter query fields with auto assign action type field, added rsql filter tests, added repository layer tests
* Added mgmt API tests
* Changed target filter rest docu tests to include auto-assignment type
* Updated hawkbit docs with auto-assignment description
* Added debouncing to key and value input fields of metadata popup layout to get rid of unnecessary value change events, removed redundant set value call in common dialog window, minimizing the repaint components calls
* Fixed sonar findings
* Reverted changes of common dialog window validaton, setting the value of the field explicitly as before, until we rethink the whole concept of validaton mechanism
* Fixed review findings
* Removed rsql filtering by filter auto-assign action type, due to missing conversion of disallowed timeforced action type
* Small fix regarding usage of page request
* Updated sql script version for flyway
* Extended tests for soft deleted distribution sets for auto-assignment and filter string within distribution set specification builder
Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com >
2019-03-13 13:35:22 +01:00
Peter Vigier
185f88e19b
Added /target/generated-sources/apt to resources for maven and m2e ( #802 )
...
* Added `/target/generated-sources/apt` to resources for maven and m2e
Additionally it was needed to use the `build-helper-maven-plugin`, as
m2e would otherwise exclude by default all sources from the additional
source folder (s. https://stackoverflow.com/a/7759911 )
Signed-off-by: Peter Vigier <Peter.Vigier@bosch-si.com >
* Removed resource plugin configuration
For adding the apt "source" folders the build-helper plugin is enough.
Signed-off-by: Peter Vigier <Peter.Vigier@bosch-si.com >
2019-03-05 17:49:10 +01:00
Stefan Schake
e8e203b69a
CBOR support for the DDI API ( #797 )
...
* Add test for default content-type of DDI
We want to add support for other content types to the DDI interface.
To make sure we don't break devices that implicitly assume they will
receive JSON without setting an Accept header, add a test for the current
behavior.
v2: Complete the assertion
Signed-off-by: Stefan Schake <stefan.schake@devolo.de >
* Add CBOR support for DDI API
Concise Binary Object Representation (CBOR) is a binary data format
optimized for small code and message size. Since Spring Boot 2, there
is an autoconfigured data converter so we need to do little more than
add the reference to the Jackson backend and advertise support in the DDI
endpoints. Add tests to ensure all endpoints support the format.
Fixes #748
Signed-off-by: Stefan Schake <stefan.schake@devolo.de >
2019-02-28 18:32:48 +01:00
Dominic Schabel
d29bcc0345
Typo fixed
...
Signed-off-by: Dominic Schabel <dominic.schabel@bosch-si.com >
2019-02-28 18:24:45 +01:00
Kai Zimmermann
7870f9f87f
Boot update 2.1.3 , Boot app banner. ( #800 )
...
* Banner for app, boot update, helm license exclude
Signed-off-by: Kai Zimmermann <kai.zimmermann@microsoft.com >
2019-02-26 13:01:09 +01:00
Dominic Schabel
e1ffe79bd2
Broken link fixed
...
Signed-off-by: Dominic Schabel <dominic.schabel@bosch-si.com >
2019-02-26 12:26:42 +01:00
Bondar Bogdan
473b6b2cc5
Feature extend target attributes constraints ( #799 )
...
* extended target attributes key limit to 128 characters
Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com >
* fixed tests
Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com >
2019-02-25 14:54:30 +01:00
Stefan Klotz
caca308f47
Use browser language in UI ( #788 )
...
* set language according to browser
Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com >
* fix unlocalized ui texts
Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com >
* add constants for localization strings
Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com >
* fix typo
Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com >
* fix typo
Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com >
* change configuration captions in ui
Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com >
* explain localization determination
Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com >
* make english the fallback language
Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com >
* rename variables
Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com >
2019-02-13 14:18:30 +01:00
Dominic Schabel
9946efc2af
New CQ for CBOR added
...
See PR #797 (https://github.com/eclipse/hawkbit/pull/797 )
Signed-off-by: Dominic Schabel <dominic.schabel@bosch-si.com >
2019-02-12 13:58:39 +01:00
Stefan Klotz
d1d5903b83
Make assembly file accessible from other projects ( #787 )
...
Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com >
2019-02-07 13:54:27 +01:00
Jeroen Laverman
a906d37d7d
fix typo
...
Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com >
2019-02-05 08:05:35 +01:00
Stefan Klotz
515ec84f32
Remove broken repo ( #795 )
...
Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com >
2019-02-04 10:16:21 +01:00
Stefan Behl
df23c4ef83
In-memory user management should not ignore user roles configured via Spring ( #794 )
...
* Fix hawkBit UserDetailsService bean to honor the configured roles
Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com >
* Fix Sonar issues
Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com >
2019-02-01 14:18:38 +01:00
Kai Zimmermann
59f674ca0e
revert Eclipselink update due to issues with SQL Server ( #793 )
2019-02-01 12:10:49 +01:00
Kai Zimmermann
6095133019
Fix DMF docs and unnecessary content_type enforcements. ( #792 )
...
* Fix DMF docs and unnecessary content_typ enforcements.
* One more error.
* Typo
2019-02-01 12:09:11 +01:00
Kai Zimmermann
f9a7194fd5
Fix JavaDoc syntax errors. Add check to circle build. ( #791 )
...
* Fix JavaDoc syntax errors. Add check to circle build.
* One more code error
* Added missing tags.
2019-02-01 10:31:40 +01:00
Kai Zimmermann
4ee582fe04
Fix DMF doc on reply_to ( #790 )
2019-01-31 09:50:13 +01:00
Kai Zimmermann
d52a720480
Spring Boot 2.0 ( #721 )
...
* Migration to Boot 2.0.
Signed-off-by: Kai Zimmermann <kai.zimmermann@microsoft.com >
2019-01-31 07:29:27 +01:00
Dominic Schabel
b42b009f9e
Test with different label
...
Signed-off-by: Dominic Schabel <dominic.schabel@bosch-si.com >
2019-01-28 19:06:31 +01:00
Dominic Schabel
0f2296f49d
Space removed from label
...
Signed-off-by: Dominic Schabel <dominic.schabel@bosch-si.com >
2019-01-28 14:07:02 +01:00
Dominic Schabel
c3eb9ff920
Release Notes updated
...
Signed-off-by: Dominic Schabel <dominic.schabel@bosch-si.com >
2019-01-18 17:25:06 +01:00
Jeroen Laverman
c9d77e88a9
Add Bosch 2019 License Header for validation ( #782 )
...
Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com >
2019-01-18 09:40:20 +01:00
Markus Block
5025192844
fixed NPE if no UploadProgress object is stored for uploadId in ( #780 )
...
Fixed NPE if no UploadProgress object is stored for uploadId in artifactUploadState.
Signed-off-by: Markus Block <markus.block@bosch-si.com >
2019-01-10 14:33:02 +01:00
Jeroen Laverman
da098b334b
Improve "Required Migration Step" documentation ( #776 )
...
Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com >
2019-01-08 12:56:47 +01:00
Markus Block
f918d32bc8
Enable/disable buttons in action history based on user permission ( #775 )
...
* Fixed missing org.apache.logging.Log dependency in eclipse
* Evaluate the user's permissions when rendering the action buttons
* Added ConfimationDialog id
* Fixed Sonar issues
* Fixed review findings
Signed-off-by: Markus Block <markus.block@bosch-si.com >
2019-01-08 11:11:55 +01:00
Stefan Behl
eada7cdd6f
Distribution set assignment: Fix NPE in AbstractDsAssignmentStrategy ( #777 )
...
* Fix NPE
* Add unit test
* Fix review findings
Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com >
2018-12-21 13:08:43 +01:00
Dominic Schabel
a1ace0a463
Fixed wrong GPG key for MariaDB driver
...
Signed-off-by: Dominic Schabel <dominic.schabel@bosch-si.com >
2018-12-17 16:28:10 +01:00
Dominic Schabel
25209166a7
Fixed outdated comment
...
Signed-off-by: Dominic Schabel <dominic.schabel@bosch-si.com >
2018-12-17 15:56:11 +01:00
Dominic Schabel
c9067156d9
Message fixed
...
Signed-off-by: Dominic Schabel <dominic.schabel@bosch-si.com >
2018-12-17 11:04:52 +01:00
Dominic Schabel
a6cfd4205a
Update Dockerfiles to 0.2.5
...
Signed-off-by: Dominic Schabel <dominic.schabel@bosch-si.com >
2018-12-17 10:45:23 +01:00
Stefan Klotz
20d84a10eb
Fix artifact filename validation ( #770 )
...
* use validated ArtifactUpload object when creating a new artifact
Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com >
* rename method
Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com >
* add regular expression classes
Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com >
* add filename validation to UI upload button
Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com >
* move filename validation to uploadStarted
Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com >
* clean up code for UI error handling during artifact upload, assert
filename validation
Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com >
* update visibilities
Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com >
* clean up code
Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com >
* clean up code
Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com >
* change RegexChar class to enum and use i18n
Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com >
* typo, use StringBuilder
Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com >
* typo
Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com >
* use dedicated class for collections of regular expression characters
Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com >
* remove Optional, remove stringBuilder
Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com >
* PR findings
Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com >
* make regex validation method static
Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com >
* use WhiteListType.NONE for filename validation via mgmt-api
Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com >
2018-12-17 10:17:46 +01:00
Bondar Bogdan
a2c1e5f132
Transaction handling refactoring ( #771 )
...
* unified new transaction handling in jpa repositories, extended Deployment Management and Action Repository
Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com >
* moved Deployment Helper to utilities package
Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com >
* removed superfluous utility method from Deployment Helper
Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com >
* refactored distribution set to target assignment, fixed PR review findings
Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com >
* fixed PR review findings
Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com >
* added additional validation of active flag and current status fields for action status update repository method
Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com >
* fixed timing issue in amqp message handler integration test, when validating target attributes update
Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com >
2018-12-14 17:41:38 +01:00
Jeroen Laverman
b06928d089
Fix missing localization ( #772 )
...
* fix typos
Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com >
* Add localization to documentation link description
Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com >
* Add localization for rollouts errorthreshold
Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com >
* Add CN to available localizations
Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com >
* fix NO TAG localization
Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com >
* Fix sonar findings
Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com >
* Make Localization configurable
Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com >
* fix sonar findings
Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com >
* fix review findings
Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com >
* fix review findings
Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com >
* add final
Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com >
2018-12-13 09:07:10 +01:00
Stefan Klotz
347fac7f00
Fix empty collection saved in ds table ( #768 )
...
* check if collection is empty, clean up and refactor code
* fix map and set types
* fix array conversion
* fix review findings
Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com >
2018-11-30 09:05:18 +01:00
Stefan Schake
e9ddcefd4a
Include attribute values in target search text filter ( #736 )
...
* Add specification for like attribute value
v2: ensure returned targets are unique
v3: remove redundant or
Signed-off-by: Stefan Schake <stefan.schake@devolo.de >
* Use like attribute value specification with target search text
Target attributes are the primary way to relay back metadata,
particularly in a plug&play application. They should therefore be
included in the target search. Attribute keys are excluded since they
are expected to be consistent between targets.
v3: remove whitespace changes
Signed-off-by: Stefan Schake <stefan.schake@devolo.de >
* Add test for target search includes attribute values
v2: test targets returned are unique
Signed-off-by: Stefan Schake <stefan.schake@devolo.de >
2018-11-29 10:18:51 +01:00