Commit Graph

125 Commits

Author SHA1 Message Date
Kai Zimmermann
807aaf629c Merge remote-tracking branch 'eclipse/master' into feature_MECS-86_tenant_specific_polling_configuration
# Conflicts:
#
hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/tenantconfiguration/Tena
ntConfigurationDashboardView.java
2016-03-14 09:51:00 +01:00
Kai Zimmermann
3f763e7db4 Migrated hardcoded doc links to configurable setup. 2016-03-12 19:08:12 +01:00
Kai Zimmermann
b5a826eb13 Made demo login field optional.
Signed-off-by: Kai Zimmermann <kai.zimmermann@bosch-si.com>
2016-03-11 19:30:07 +01:00
SirWayne
6659e9e9ee Set the event strategy transient
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-03-11 09:45:12 +01:00
SirWayne
e47d540eb5 Fix event listening for duration field
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-03-10 10:27:31 +01:00
Kai Zimmermann
42b37c9c06 Merge pull request #74 from bsinno/Sonar_remove_unused_method_parameters
Looks good, thx for the contribution
2016-03-09 18:59:07 +01:00
SirWayne
a4cc3df092 Fix test properties
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-03-09 15:36:59 +01:00
SirWayne
ed97031faf Merge branch 'master' into
feature_MECS-86_tenant_specific_polling_configuration

Conflicts:
	hawkbit-autoconfigure/src/main/java/org/eclipse/hawkbit/autoconfigure/security/SecurityManagedConfiguration.java
	hawkbit-core/src/main/java/org/eclipse/hawkbit/tenancy/configuration/TenantConfigurationKey.java
	hawkbit-dmf-amqp/src/main/java/org/eclipse/hawkbit/amqp/AmqpControllerAuthentfication.java
	hawkbit-dmf-amqp/src/test/java/org/eclipse/hawkbit/amqp/AmqpControllerAuthentficationTest.java
	hawkbit-repository/src/test/resources/application-test.properties


Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-03-09 13:29:40 +01:00
Kai Zimmermann
e8473928c9 Merge pull request #61 from bsinno/Sonar_issue_Fields_and_methods_have_conflicting_names
👍 looks good, thx
2016-03-08 08:42:43 +01:00
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
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
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
Kai Zimmermann
54b29ea446 Remove broken css compressor 2016-03-04 21:38:57 +01:00
Kai Zimmermann
dcea53f4c8 Merge remote-tracking branch 'eclipse/master' into harmonize-test-documentation 2016-03-04 18:14:26 +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
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
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
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
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
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
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
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
asharani-murugesh
b8ed510e8a reset the has directory flag
Signed-off-by: asharani-murugesh <asharani.murugesh@in.bosch.com>
2016-02-25 17:54:50 +01:00
asharani-murugesh
0b5c0673b1 fix
Signed-off-by: asharani-murugesh <asharani.murugesh@in.bosch.com>
2016-02-25 17:43:28 +01:00