Commit Graph

3579 Commits

Author SHA1 Message Date
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
Jonathan Philip Knoblauch
709ea990df Removed component that was not needed
Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>
2016-08-04 16:19:35 +02:00
SirWayne
a1e939e233 Merge remote-tracking branch 'eclipse/master' into
Feature_Improve_Code_Quality

Conflicts:
	hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/distributions/dstable/DistributionSetDetails.java
	hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/management/dstable/DistributionDetails.java


Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-08-04 16:04:35 +02:00
Jonathan Philip Knoblauch
11bb282699 Refactoring for button enable
Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>
2016-08-04 15:57:20 +02:00
Jonathan Philip Knoblauch
6be3d72a5a changed connector for error
Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>
2016-08-04 13:57:06 +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
Jonathan Philip Knoblauch
cad916c1d7 Refactoring of bulk upload
Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>
2016-08-04 10:04:08 +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
Jonathan Philip Knoblauch
5beb10b8db Removed uiNotification
Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>
2016-08-03 17:51:52 +02:00
Jonathan Philip Knoblauch
43f71cc976 Catch RuntimeException and handle with Vaadin error handler
Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>
2016-08-03 17:31:46 +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
Gaurav
0854d023fb Fixed the code for the create ds for deployment view and fixed the issue
for delete metadata(getting optimistic lock exception)
2016-08-02 18:32:44 +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
Gaurav
1bf91372ae Added the javadoc. 2016-08-01 17:51:34 +02:00
Michael Hirsch
9994d7c12a Merge branch 'master' of local repository into fix_systemmanagement_security_annotation 2016-08-01 17:25:24 +02:00
Gaurav
fa3b5d69e9 Merge branch 'master' into feature_enable_push_in_deployment_view 2016-08-01 17:25:19 +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
Gaurav
1d72257b9f Merge branch 'feature_enable_push_in_deployment_view' of
https://github.com/bsinno/hawkbit/ into
feature_enable_push_in_deployment_view

Conflicts:
	hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/management/dstable/DistributionTable.java
2016-08-01 16:11:11 +02:00
Gaurav
d0f372765f Merge branch 'feature_enable_push_in_deployment_view' of
https://github.com/bsinno/hawkbit/ into
feature_enable_push_in_deployment_view

Conflicts:
	hawkbit-repository/hawkbit-repository-jpa/src/main/java/org/eclipse/hawkbit/repository/jpa/model/JpaDistributionSet.java
2016-08-01 16:06:41 +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
Michael Hirsch
9c442967f8 add tests for repository entity events
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-08-01 15:14:40 +02:00
Gaurav
60cc2c333c Refactored the code for displaying distributions in the deployment view. 2016-08-01 15:12:03 +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
Michael Hirsch
4e237f748b refactor the EventAwareEntity interface
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-08-01 13:01:25 +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
Michael Hirsch
72899df4a4 remove notification of distribution set deletion from management layer
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-08-01 10:30:45 +02:00
Michael Hirsch
5be513422d remove notification of target deletion from management layer
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-08-01 10:24:09 +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
Gaurav
dfd449592c Fix for EOL from widows EOL to unix EOL 2016-07-29 13:22:38 +02:00
Gaurav
9c468c76f0 Fix for EOL. 2016-07-29 13:12:51 +02:00
Gaurav
ea83b75e76 Merge branch 'master' into feature_enable_push_in_deployment_view 2016-07-29 12:35:22 +02:00
Gaurav
e32d6b1b3e Modified EOL from windows to unix. 2016-07-29 12:33:10 +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