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
Bondar Bogdan
b2dfd4a99e
Feature target metadata filter ( #767 )
...
* implemented RSQL query filter for target metadata
Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com >
* refactored rsql fields providers code for targets, distribution sets and software modules for consistency, fixed predicate grouping for map fields in rsql utility
Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com >
* extended tests for target management rsql queries with target metadata
Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com >
* extended target management test for RSQL not equal case of target metadata, added a suggestion of comparator operators when map key ends with = or ! symbol in Target Filter View
Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com >
* Fixed peer review findings
Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com >
* small test fixes: seconds are respected while scheduling the maintenance window, redundant ds-target assignment statement removed
Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com >
2018-11-28 14:09:52 +01:00
Bondar Bogdan
a460f61e13
Added TargetAttributesRequestedEvent event type ( #769 )
...
Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com >
2018-11-27 14:40:41 +01:00
Stefan Klotz
be348030b2
Feature target metadata ui ( #765 )
...
* add metadata tab and popup to target UI
Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com >
* send event to update UI
Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com >
* send event on target meta data delete and update
Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com >
* display selected element name in details layout and metadata popup of UI
Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com >
* add comments to explain manual event publishing
Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com >
* remove option to hide metadata button in details layout
Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com >
* fix typos and refactor
Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com >
* fix typos
Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com >
* fix wrong method call
Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com >
2018-11-26 11:10:49 +01:00
Dominic Schabel
9d38f76c43
Bugfix for CircleCI builds
...
CircleCI updated the latest docker image to JDK 8u81 which has a bug
Signed-off-by: Dominic Schabel <dominic.schabel@bosch-si.com >
2018-11-20 18:56:19 +01:00
Stefan Klotz
d4c1e82090
Feature do not temp store uploaded files ( #763 )
...
* Upload artefacts directly without creating a temp file
* Remove redundant code that checks if user tries to update a directory
* Handle UI upload exceptions, use Spring thread pool
* Clean up code
* Fix review findings
* Fix Sonar findings
Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com >
Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com >
2018-11-12 08:57:10 +01:00
Stefan Schake
49d064df18
Switch printed order of firstname and lastname ( #758 )
...
When separating with a comma, put the lastname up front.
Signed-off-by: Stefan Schake <stefan.schake@devolo.de >
2018-11-07 11:02:22 +01:00
Stefan Behl
ddca072561
Fixes for software module assignment in Distributions Management view of Mgmt UI ( #759 )
...
* Fix software module assignment
* Fix hawkbit-bot findings
* Fix review findings
Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com >
2018-10-30 08:48:39 +01:00
Bondar Bogdan
0cf4f8e8b9
Feature target metadata ( #757 )
...
* Defined the model for target matadata and the corresponding repository layer/management
* Added target metadata quotas incl enforcement
* Extended Target Mgmt REST API to allow for metadata CRUD operations
* Added migration scripts for each database
* Added back reference to target metadata in JpaTarget
* Added tests for target management, Mgmt REST API, target metadata RSQL, and REST documentation
* Updated asciidocs for target rest documentation
* Fix Allure imports and annotations
* Fix review findings
Signed-off-by: Bogdan Bondar <Bogdan.Bondar@bosch-si.com >
Signed-off-by: Stefan Behl <stefan.behl@bosch-si.com >
2018-10-29 11:28:34 +01:00
Dominic Schabel
1cbde47370
First version of a Dockerfile generator added
...
Signed-off-by: Dominic Schabel <dominic.schabel@bosch-si.com >
2018-10-26 23:57:48 +02:00
Dominic Schabel
1bff1feee2
Use CircleCI image with smaller footprint
...
Signed-off-by: Dominic Schabel <dominic.schabel@bosch-si.com >
2018-10-26 21:25:39 +02:00
Dominic Schabel
96f6651570
Plugin versions upgraded
...
Signed-off-by: Dominic Schabel <dominic.schabel@bosch-si.com >
2018-10-26 16:57:08 +02:00
Dominic Schabel
583f6fca08
Allure report timeout fixed
...
Signed-off-by: Dominic Schabel <dominic.schabel@bosch-si.com >
2018-10-26 15:55:40 +02:00
Dominic Schabel
a6135a6c0c
Quickfix for Allure timeout
...
Signed-off-by: Dominic Schabel <dominic.schabel@bosch-si.com >
2018-10-26 15:38:38 +02:00
Dominic Schabel
70021c1935
Version of hawkBit 0.2.4 added
...
Signed-off-by: Dominic Schabel <dominic.schabel@bosch-si.com >
2018-10-26 13:43:11 +02:00
Stefan Klotz
d09ca7be05
Migrate to Allure 2 ( #749 )
...
Add allure 2.7.0 dependency; change class references of Description, Features, Stories
Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com >
2018-10-25 18:18:37 +02:00
Stefan Klotz
f8e1a547b0
Request attribute update after deployment ( #750 )
...
Send attribute update request to ddi connected device after successful software update
Signed-off-by: Stefan Klotz <stefan.klotz@bosch-si.com >
2018-10-25 17:12:41 +02:00
Dominic Schabel
93279c0803
Switched to HTTPS link in docs
...
Signed-off-by: Dominic Schabel <dominic.schabel@bosch-si.com >
2018-10-22 21:29:00 +02:00
Dominic Schabel
56ce992764
Slides from Community Day added to docs
...
Signed-off-by: Dominic Schabel <dominic.schabel@bosch-si.com >
2018-10-22 21:06:42 +02:00
Dominic Schabel
e1f28ab5bf
Moved test results to 'jUnit' so it will be correctly displayed by CircleCI
...
Signed-off-by: Dominic Schabel <dominic.schabel@bosch-si.com >
2018-10-16 19:05:47 +02:00
Dominic Schabel
ca65687fd5
Optimize CircleCI build ( #756 )
...
Optimize CircleCI build
Signed-off-by: Dominic Schabel <dominic.schabel@bosch-si.com >
2018-10-16 17:00:00 +02:00
Jeroen Laverman
1aed625fe6
Update website and docker files ( #754 )
...
* Add version 0.2.3.
Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com >
* remove themes
Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com >
2018-10-16 16:19:32 +02:00
Jeroen Laverman
bcdfed8511
Add sonarqube for PRs ( #755 )
...
* Add sonarqube for PRs
Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com >
* fix path to script
Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com >
* Rename Token
Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com >
* fix script
Signed-off-by: Jeroen Laverman <jeroen.laverman@bosch-si.com >
2018-10-16 15:37:52 +02:00
Jeroen Laverman
f40f388158
remove script
...
Signed-off-by: Jeroen Laverman jeroen.laverman@bosch-si.com
2018-10-16 11:22:41 +02:00