Commit Graph

1334 Commits

Author SHA1 Message Date
Michael Hirsch
c4b0bdfa86 Merge pull request #264 from bsinno/fix_concurrency_on_UI_causes_NullpointerException
Fix for the concurrency issue on UI causes on the Nullpointer Exception.
2016-08-08 08:49:21 +02:00
Michael Hirsch
d53517a0c9 Merge pull request #263 from bsinno/fix_entity_lock_exception_for_unassign_soft_module_from_DS
Fix entity lock exception for unassign soft module from ds
2016-08-08 08:46:39 +02:00
Michael Hirsch
06b361ea3c Merge pull request #261 from bsinno/fix_systemmanagement_security_annotation
Fix systemmanagement security annotation
2016-08-08 08:34:09 +02:00
Gaurav
88c1253f66 Fix for the concurrency issue on UI causes on the Nullpointer Exception.
Signed-off-by: Gaurav <gaurav.sahay@in.bosch.com>
2016-08-05 16:02:20 +02:00
Michael Hirsch
431143133b fix license header
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-08-05 13:19:29 +02:00
Michael Hirsch
1e00439f3c add new line
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-08-05 13:13:46 +02:00
Michael Hirsch
cf0ed6d828 remove guava from test dependencies
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-08-05 13:09:24 +02:00
Michael Hirsch
06f64da6d5 refactor test using ClassPath from guava
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-08-05 13:04:56 +02:00
Gaurav
9bd47a5c55 Added the message in the message.properties.
Signed-off-by: Gaurav <gaurav.sahay@in.bosch.com>
2016-08-05 10:49:24 +02:00
Gaurav
9de4a8de69 Merge branch
'fix_entity_lock_exception_for_unassign_soft_module_from_DS' of
https://github.com/bsinno/hawkbit/ into
fix_entity_lock_exception_for_unassign_soft_module_from_DS


Signed-off-by: Gaurav <gaurav.sahay@in.bosch.com>
2016-08-04 18:00:10 +02:00
Gaurav
f964f7c0c6 Formatted the code
Signed-off-by: Gaurav <gaurav.sahay@in.bosch.com>
2016-08-04 17:58:29 +02:00
Gaurav
582ac22678 Formatted the code 2016-08-04 17:44:13 +02:00
Gaurav
303a668f16 Fix for the entity lock exception for unassign soft module from DS
Signed-off-by: Gaurav <gaurav.sahay@in.bosch.com>
2016-08-04 17:36:28 +02:00
Michael Hirsch
f5d9cf19bb return type is not used, method can be void
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-08-04 13:30:53 +02:00
Michael Hirsch
b1b9716cc5 refactor test code
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-08-04 12:41:13 +02:00
Michael Hirsch
038538f89a extract to meanful method
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-08-04 12:26:28 +02:00
Michael Hirsch
a12b10cd14 fix license header
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-08-04 08:51:30 +02:00
Michael Hirsch
cd39f32c21 fix unit test
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-08-03 09:49:57 +02:00
Michael Hirsch
fca7ecbce4 fix unit test
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-08-03 09:32:10 +02:00
Michael Hirsch
2965c93083 fix unit test
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-08-03 09:24:28 +02:00
Michael Hirsch
2ba9fd135d Add missing PreAuthorize annotation to secure methods and write unit
test

Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-08-03 09:08:03 +02:00
Michael Hirsch
041dd3bb7a don't allow anonymous login on rest-api
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-08-02 14:05:24 +02:00
Michael Hirsch
9c75ae308d reduce usage of getTenantMetadata(String)
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-08-02 13:01:31 +02:00
Michael Hirsch
fc4747083c Use system role where necessary to invoke the getTenantMetadata method
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-08-02 12:51:08 +02:00
Michael Hirsch
9994d7c12a Merge branch 'master' of local repository into fix_systemmanagement_security_annotation 2016-08-01 17:25:24 +02:00
Michael Hirsch
046ec2b2ec add preauthorize to system management
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-08-01 17:22:21 +02:00
Michael Hirsch
30a88cc8f6 Merge pull request #259 from bsinno/feature_beautify_error_notifications
Beautify error notifications
2016-08-01 17:21:10 +02:00
Michael Hirsch
ecc70882a6 Merge pull request #260 from bsinno/feature_allow_to_use_other_exception_handler
Allow to set error handler or take default one
2016-08-01 16:45:21 +02:00
Melanie Retter
b8bc46d299 Add JavaDoc
Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
2016-08-01 15:34:00 +02:00
Melanie Retter
c0a3a44277 Delete displayError in UiNotification
Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
2016-08-01 13:40:40 +02:00
Jonathan Philip Knoblauch
4462d0aad9 Refactoring for configuration
Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>
2016-08-01 11:15:52 +02:00
Jonathan Philip Knoblauch
de375fe183 Updated javadoc
Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>
2016-08-01 10:51:36 +02:00
Jonathan Philip Knoblauch
1a1d3746df Moved errorHandler to to autoconfig
Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>
2016-08-01 10:47:36 +02:00
Jonathan Philip Knoblauch
87dc8b8964 Set the errorHandler as parameter in method
Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>
2016-08-01 10:38:28 +02:00
Melanie Retter
26c376e22e Refactor HawkbitNotificationMessage
Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
2016-08-01 10:13:45 +02:00
Melanie Retter
27019b9e4c Beautify error notification.
Signed-off-by: Melanie Retter <melanie.retter@bosch-si.com>
2016-07-29 16:23:43 +02:00
Jonathan Philip Knoblauch
e7e77cbb86 Extended method signature to allow to set a error handler and created the default one as bean
Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>
2016-07-29 13:50:30 +02:00
Michael Hirsch
2b79cafb9e Merge pull request #258 from bsinno/feature_add_entity_interceptor
Add entity lifercycle interceptor interface and add a entity listener.
2016-07-28 15:47:32 +02:00
SirWayne
53136d48fd Refactor some clean code staff
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-07-28 15:22:52 +02:00
SirWayne
2c70e7db1f Refactor some clean code staff
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-07-28 15:11:22 +02:00
SirWayne
c4b10982c5 Fix clean code
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-07-28 15:04:31 +02:00
SirWayne
a74ec2897c revert tenantaware
remove useless findAlltargets
fix typo

Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-07-28 14:57:56 +02:00
SirWayne
faac47d6e4 Remove useless findAllTargets
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-07-28 14:56:33 +02:00
SirWayne
37eea0e16a Add test cases
refacor after pr review

Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-07-28 14:51:50 +02:00
SirWayne
7fa89d7d3c Add entity lifercycle interceptor interface and add a entity listener.
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-07-28 12:39:12 +02:00
Michael Hirsch
34d98decc9 Merge pull request #257 from bsinno/feature_sonar_pom_hygiene
sonar pom hygiene
2016-07-28 11:25:22 +02:00
Michael Hirsch
271ee88d12 remove unnecessary property declaration
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-07-28 10:38:29 +02:00
Michael Hirsch
1224221e8c sonar pom hygiene
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-07-28 10:09:51 +02:00
Michael Hirsch
069818fec6 Merge pull request #244 from bsinno/feature_multiunassignment_soft_mod
Feature multiunassignment soft mod
2016-07-28 09:35:37 +02:00
Gaurav
b919dd7146 Fix for the selenium testcase failure 2016-07-25 15:52:27 +02:00