SirWayne
044f0bef03
Reduce some duplicate code
...
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com >
2016-04-04 12:59:45 +02:00
Kai Zimmermann
ae7585e1bc
Added description to test asserts.
...
Signed-off-by: Kai Zimmermann <kai.zimmermann@bosch-si.com >
2016-03-31 14:47:00 +02:00
Kai Zimmermann
3d9b1465a2
Added missing license header.
...
Signed-off-by: Kai Zimmermann <kai.zimmermann@bosch-si.com >
2016-03-31 11:31:01 +02:00
Kai Zimmermann
5cf2ae511e
Fixed broken test.
...
Signed-off-by: Kai Zimmermann <kai.zimmermann@bosch-si.com >
2016-03-31 11:08:01 +02:00
Kai Zimmermann
52cc957cfb
Consolidated equals and hashcode for all BaseEntities.
2016-03-31 09:31:47 +02:00
Kai Zimmermann
c1b3b40a9d
Merge pull request #107 from bsinno/complete-rep-tests
...
Complete repository tests
2016-03-30 11:38:44 +02:00
Kai Zimmermann
c6c50c6a68
Fixed broken usage of metadata addition. Fixed equals of two elements.
2016-03-30 09:49:25 +02:00
Kai Zimmermann
ca17f4543a
Fixed wring metadata change in RSQL test
2016-03-30 09:29:09 +02:00
Kai Zimmermann
f33a8c37e8
Corrected expected exception checks in tests
2016-03-29 13:43:18 +02:00
Kai Zimmermann
99df0802ab
Merge pull request #104 from bsinno/remove-boilerplate-code
...
Remove boilerplate code
2016-03-29 11:51:40 +02:00
Kai Zimmermann
1146e6a808
Found an even better name
2016-03-28 10:25:07 +02:00
Kai Zimmermann
9849205bea
Re-applied base entity based equals hashcode policy
2016-03-28 09:59:24 +02:00
Kai Zimmermann
a2a0a5697e
Added tests for DS management. Removed boilerplate.
2016-03-27 17:18:32 +02:00
Kai Zimmermann
8a26ded4c4
Extended tests for tag toggle and fixed a typo on the assigment result
...
classes.
Signed-off-by: Kai Zimmermann <kai.zimmermann@bosch-si.com >
2016-03-27 10:39:29 +02:00
Kai Zimmermann
0cc7284f6f
Added further tests for target searches including the various filter options that we provide
2016-03-26 16:13:58 +01:00
Kai Zimmermann
080f7d20e8
Removed boiler plate code. Added missing equals in model. Fixed sonar
...
issues.
Signed-off-by: Kai Zimmermann <kai.zimmermann@bosch-si.com >
2016-03-26 09:26:48 +01:00
Kai Zimmermann
f237a1e508
Added tests for software management
...
- while at it I renamed also a few methods to fit into the overall
pattern
2016-03-25 16:24:42 +01:00
Kai Zimmermann
6ee66dc4e1
Put BaseEntity below tenant aware and unaware entities
2016-03-23 14:09:40 +01:00
Kai Zimmermann
5279276146
Removed unnecessary type reference
2016-03-17 10:09:42 +01:00
Kai Zimmermann
d2a95b1c7c
Fixed compile error and made utility final
2016-03-15 14:05:47 +01:00
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
de78077920
Added check for rollout repo content after test.
...
Signed-off-by: Kai Zimmermann <kai.zimmermann@bosch-si.com >
2016-03-11 09:27:48 +01:00
Michael Hirsch
6ac4cac60f
Merge pull request #78 from bsinno/fixed-wrong-filter-param
...
is ok merging.
2016-03-10 14:37:21 +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
6379e93c5e
Fixed max assignments filter on sw module type
2016-03-09 19:34:28 +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
Jonathan Philip Knoblauch
65d3b5a6b8
Added license header and fixed sonar issue: Fields and methods should not have conflicting names
...
Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com >
2016-03-09 10:54:05 +01:00
Jonathan Philip Knoblauch
b54f203fad
Refactored the createAndStartRolloutInAsync test
...
Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com >
2016-03-07 17:54:26 +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
SirWayne
43d01da309
Fix typo after pull request review
...
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com >
2016-03-07 13:35:26 +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
Kai Zimmermann
dcea53f4c8
Merge remote-tracking branch 'eclipse/master' into harmonize-test-documentation
2016-03-04 18:14:26 +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
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
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
Fabian Nonnenmacher
c39753001e
Bugfix: Setting and getting configuration values
...
- removed cache from global getter, because it was overriding the cache of
the tenant specific getter
- changed Type of AuthName key, type of key was not important before the huge
configuration refactoring
- fixed test conditions
Signed-off-by: Nonnenmacher Fabian <fabian.nonnenmacher@bosch-si.com >
2016-02-29 13:17:28 +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
a5a0dc17f6
Removed PollConfigurationHelper and not used Exceptions
...
- removed PollConfigurationHelper and coresspending test, because it was replaced by TenantConfigurationManagement
- removed very specific configuration exceptions, because they are not needed anymore
Signed-off-by: Nonnenmacher Fabian <fabian.nonnenmacher@bosch-si.com >
2016-02-29 13:16:13 +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
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
3f451537cf
Added tests for PollConfigurationHelper
...
Signed-off-by: Nonnenmacher Fabian <fabian.nonnenmacher@bosch-si.com >
2016-02-29 13:13:44 +01:00
Kai Zimmermann
e95acec956
Merge pull request #52 from bsinno/REFACTORING_CLEAN_CODE_PART_2
...
👍 merged
2016-02-26 09:50:43 +01:00
Kai Zimmermann
7692a29918
Fixed property bean setup
2016-02-25 20:36:17 +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