- 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>
- 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>
* use new methods to store polling Configuration
* refactored DurationConfigField, added Builder
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>
* added DurationHelper to have access to Convertion in every class
* removed tenant specific getter and setter from PollConfigurationHelper
* changed getter and setter in TenantMetaData to use DurationObjects instead of Strings
* updated UI to call new functions
* updated module tests
Signed-off-by: Nonnenmacher Fabian <fabian.nonnenmacher@bosch-si.com>
* modified AuthentificationUI to use same Interface as Polling Configuration UI
* renaming of Interface "ConfigurationElement" -> "ConfigurationItem"
Signed-off-by: Nonnenmacher Fabian <fabian.nonnenmacher@bosch-si.com>
* added DurationConfigField (Field which contains a DurationConfigField and a Checkbox)
* added labels to messages.properties
* added new Interface ConfigurationElement, with functionallity which is important for saving the data
Signed-off-by: Nonnenmacher Fabian <fabian.nonnenmacher@bosch-si.com>
* calender popup should only show the time selector, because the modified DurationField only uses this value
Signed-off-by: Nonnenmacher Fabian <fabian.nonnenmacher@bosch-si.com>
* updated architectural concept os subview
** added base class BaseConfigurationView
** updated interface ConfigurationGroup
* updated message strings for new pollign configurations
* implemented new vaadin compontent DurationField (extends DateTimeField)
TODO:
* update positioning of DurationFields
* update validation of user input, espacilly against min and max value
Signed-off-by: Nonnenmacher Fabian <fabian.nonnenmacher@bosch-si.com>
Custom filter detail view : Using =IN= parameter throws 'Unsupported
operator' exception and breaks the UI
Custom filter search : type any query.Search never gets finished.
Alloe case insensitive search for IN paramters
Signed-off-by: asharani-murugesh <asharani.murugesh@in.bosch.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>