* moved classes to new package to seperate it from SystemResource
* updated references
Signed-off-by: Nonnenmacher Fabian <fabian.nonnenmacher@bosch-si.com>
- added acceptance test for every possible methode type
- added negative tests for restcalls which leads to bad requests
Signed-off-by: Nonnenmacher Fabian <fabian.nonnenmacher@bosch-si.com>
* changed resource path to "rest/v1/system/configs"
* added links to resources, to follow good practice recommendations
* added GET methode for parent resource system/configs
* fade out null values in json
* marked some json properties as mandatory
TMP
Signed-off-by: Nonnenmacher Fabian <fabian.nonnenmacher@bosch-si.com>
- added GET, DELETE and PUT function on configuration value interfaces
- changed Exception in TenantConfigurationManagement for correct mapping to HTTP Status
- added function to get global configurations from TenantConfigurationManagement, to have
only one class for handling these configuration values
Signed-off-by: Nonnenmacher Fabian <fabian.nonnenmacher@bosch-si.com>
* run the validation methodes inside the storing methode, to make sure that only
valid values are written inside the database
* updated TenantConfigurationManagementTest to match the validation
* added new Tests to test all validators
Signed-off-by: Nonnenmacher Fabian <fabian.nonnenmacher@bosch-si.com>
* changed error handling from return value to throw exceptions, to give the user a feedback what was wrong
* added ValidationException to ResponseExceptionHandler, to map the correct REST status codes
Signed-off-by: Nonnenmacher Fabian <fabian.nonnenmacher@bosch-si.com>
- moved fucntions to TenantConfigurationManagement, for better function capseling
- updated references
- updated references in tests, tests were succesfully
Signed-off-by: Nonnenmacher Fabian <fabian.nonnenmacher@bosch-si.com>
* changed Return type to wrapper object, adding additional meta data stored in the database
* updated all calls of this method
* updated function calls in tests
* verified correct execution of correspending tests
Signed-off-by: Nonnenmacher Fabian <fabian.nonnenmacher@bosch-si.com>
- add description to assertions in unit tests
- make inner classes static
- remove out-commented code
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
status on the DB. Needs to be avoided by returning actions IDs only and
force the user to query an updated action entity.
Signed-off-by: Kai Zimmermann <kai.zimmermann@bosch-si.com>
- Added messages to JUnit assertions
- Added Description when missing
- Changed to assertThat when assertEquals
Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>
- Repository functionality for rollout, rolloutgroup entities
- Rollout scheduler to watch and handle running rollouts and start next
group of rollout
- Vaadin view to administrate rollouts and reflect the current rollout
status
- REST resources to cover rollout creation, updating, starting, pausing
and resuming
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>