Commit Graph

338 Commits

Author SHA1 Message Date
Jonathan Philip Knoblauch
8f35b75857 Removed unused target parameter in method forceQuitAction and change assertEquals to assertThat
Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>
2016-03-07 14:44:34 +01:00
asharani-murugesh
6c091a498a Addressed review comments
Signed-off-by: asharani-murugesh <asharani.murugesh@in.bosch.com>
2016-03-07 14:15:43 +01:00
Jonathan Philip Knoblauch
cf48ef215a Changed names for editRollout boolean and discardRolllout Button
Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>
2016-03-07 13:14:40 +01:00
SirWayne
f4791743ce Add test case description
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-03-07 12:18:18 +01:00
asharani-murugesh
51ba6b518e Added javadoc
Signed-off-by: asharani-murugesh <asharani.murugesh@in.bosch.com>
2016-03-07 10:44:22 +01:00
Jonathan Philip Knoblauch
7fec5c8407 Changed name saveDistributionButton to saveDistributionBtn and discardDistributionButton to discardDistributionBtn for consistency
Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>
2016-03-07 10:07:06 +01:00
asharani-murugesh
578bd66b28 merged master
Signed-off-by: asharani-murugesh <asharani.murugesh@in.bosch.com>
2016-03-06 09:26:53 +01:00
Kai Zimmermann
dcea53f4c8 Merge remote-tracking branch 'eclipse/master' into harmonize-test-documentation 2016-03-04 18:14:26 +01:00
asharani-murugesh
a9eaacb8b9 Added documenatation
Signed-off-by: asharani-murugesh <asharani.murugesh@in.bosch.com>
2016-03-04 14:24:03 +01:00
asharani-murugesh
3854061d4f Sonar issues fixed
Signed-off-by: asharani-murugesh <asharani.murugesh@in.bosch.com>
2016-03-04 14:17:43 +01:00
Nonnenmacher Fabian (INST-ICM/BSV-AS)
9646e1eabc Fixed review findings 2016-03-04 12:34:39 +01:00
Kai Zimmermann
25832e7e16 Merge remote-tracking branch 'eclipse/master' into cleanup-properties
# Conflicts:
#
hawkbit-dmf-amqp/src/main/java/org/eclipse/hawkbit/amqp/AmqpProperties.j
ava
2016-03-04 12:11:35 +01:00
asharani-murugesh
ab2a7b8f8d Merge branch 'master' into Rollout_migrate_table_to_grid 2016-03-04 09:13:18 +01:00
Kai Zimmermann
71653470dc Merge remote-tracking branch 'eclipse/master' into harmonize-test-documentation 2016-03-03 20:59:15 +01:00
Kai Zimmermann
8c5945badd Fixed sort order in UI 2016-03-03 20:53:54 +01:00
Kai Zimmermann
e7173aa846 Cleanup messed up actionstatus sorting. We used sort param but had
hardcoded sorting in the reposirory. I added also reportAt based
sorting.

Signed-off-by: Kai Zimmermann <kai.zimmermann@bosch-si.com>
2016-03-03 18:54:50 +01:00
Jonathan Philip Knoblauch
e731543313 Fix for sonar rule: Fields and methods should not have conflicting names
Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>
2016-03-03 10:52:55 +01:00
asharani-murugesh
a9f8479cf6 Deployment view : Set id for action confirmation popup
Signed-off-by: asharani-murugesh <asharani.murugesh@in.bosch.com>
2016-03-02 17:43:52 +01:00
Kai Zimmermann
762183ae12 Merge pull request #58 from bsinno/Clean_Code
👍 merged
2016-03-02 13:05:12 +01:00
Michael Hirsch
d28ea67e89 remove author tag from javadoc
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-03-02 11:25:43 +01:00
Kai Zimmermann
6f39769692 Removed out commented code.
Signed-off-by: Kai Zimmermann <kai.zimmermann@bosch-si.com>
2016-03-02 10:20:47 +01:00
asharani-murugesh
3a344e2e49 Renamed the component id's
Signed-off-by: asharani-murugesh <asharani.murugesh@in.bosch.com>
2016-03-02 09:59:22 +01:00
Michael Hirsch
5efcc295bc clean code do early return.
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-03-02 09:00:10 +01:00
Michael Hirsch
229e7c54af introduce a push strategy to the HawkbitUI and a delayed push
implementation to avoid UI freezes when too many events are dispatched
to the UI

Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-03-02 07:33:22 +01:00
asharani-murugesh
7937c16c9b Rollout progress bar custom render changed to html renderer
Packages refactored

Signed-off-by: asharani-murugesh <asharani.murugesh@in.bosch.com>
2016-03-01 13:59:57 +01:00
SirWayne
c9c36ea435 Add description for asserts in test cases
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-02-29 15:34:07 +01:00
asharani-murugesh
bb873e88a7 removed unused import
Signed-off-by: asharani-murugesh <asharani.murugesh@in.bosch.com>
2016-02-29 14:42:59 +01:00
Nonnenmacher Fabian (INST-ICM/BSV-AS)
0e9991b0a4 Added missing licence header
Signed-off-by: Nonnenmacher Fabian <fabian.nonnenmacher@bosch-si.com>
2016-02-29 14:28:44 +01:00
asharani-murugesh
e9528adb44 Merge branch 'master' into Rollout_migrate_table_to_grid 2016-02-29 13:30:26 +01:00
Nonnenmacher Fabian
ce6f40f512 Added FunctionalInterface annotation, which got lost during rebasing
Signed-off-by: Nonnenmacher Fabian <fabian.nonnenmacher@bosch-si.com>
2016-02-29 13:19:45 +01:00
Nonnenmacher Fabian (INST-ICM/BSV-AS)
05ce99bf3d Added missing Headers, removed @Auther comment
Signed-off-by: Nonnenmacher Fabian <fabian.nonnenmacher@bosch-si.com>
2016-02-29 13:19:28 +01:00
Nonnenmacher Fabian (INST-ICM/BSV-AS)
d183322522 Changed caption from checkbox to tooltip
Signed-off-by: Nonnenmacher Fabian <fabian.nonnenmacher@bosch-si.com>
2016-02-29 13:19:13 +01:00
Fabian Nonnenmacher
08d4509249 Added tests for REST api
- 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>
2016-02-29 13:17:56 +01:00
Fabian Nonnenmacher
aee254244a Smaller Improvements of configuration REST-API
* 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>
2016-02-29 13:17:41 +01:00
Fabian Nonnenmacher
ec79e9bd19 Added REST interfaces for tenant configuration
- 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>
2016-02-29 13:16:57 +01:00
Fabian Nonnenmacher
4be880587a Added validation before saving TenantConfiguration and updated tests
* 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>
2016-02-29 13:16:42 +01:00
Fabian Nonnenmacher
6cef6aed1a Moved tenant configuration functions to new management class
- 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>
2016-02-29 13:15:40 +01:00
Fabian Nonnenmacher
3f2c0d134a Updated UI to use new database structure
* use new methods to store polling Configuration
* refactored DurationConfigField, added Builder

Signed-off-by: Nonnenmacher Fabian <fabian.nonnenmacher@bosch-si.com>
2016-02-29 13:15:14 +01:00
Fabian Nonnenmacher
07fce42469 Changed return type of SystemManagement.getConfigurationValue()
* 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>
2016-02-29 13:15:03 +01:00
Fabian Nonnenmacher
088df73ea9 Refactoring of buisness logic
* 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>
2016-02-29 13:14:21 +01:00
Fabian Nonnenmacher
4675ebf22c Refactoring of Authentification UI
* 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>
2016-02-29 13:14:05 +01:00
Fabian Nonnenmacher
cb3e6863c1 Updated UI to handle all requirements
* 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>
2016-02-29 13:13:31 +01:00
Fabian Nonnenmacher
acc0770d36 Changed stylesheet to disable calender in popup of DurationField.
* 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>
2016-02-29 13:08:58 +01:00
Fabian Nonnenmacher
ee1aabc93f Added subview for polling configuration in system configuration window
* 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>
2016-02-29 13:08:43 +01:00
Kai Zimmermann
7e2ad9fc4a Merge pull request #53 from bsinno/Artifiact_upload_directory_upload
👍 merged
2016-02-27 15:35:40 +01:00
asharani-murugesh
e0e86e72b4 merged master
Signed-off-by: asharani-murugesh <asharani.murugesh@in.bosch.com>
2016-02-27 12:51:23 +01:00
asharani-murugesh
80366b03be Review comments addresses
Signed-off-by: asharani-murugesh <asharani.murugesh@in.bosch.com>
2016-02-27 09:24:18 +01:00
asharani-murugesh
92811f1a22 review comment addressed
Signed-off-by: asharani-murugesh <asharani.murugesh@in.bosch.com>
2016-02-26 08:47:21 +01:00
Kai Zimmermann
3eaab83014 Merge remote-tracking branch 'eclipse/master' into cleanup-properties 2016-02-25 18:01:56 +01:00
Kai Zimmermann
ab18e12b69 Completed migration to ConfigurationProperties annotation. Added boot metadata generation to build. 2016-02-25 17:59:46 +01:00