Commit Graph

222 Commits

Author SHA1 Message Date
SirWayne
27e4b550f2 Update the entity before call the super method
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-04-12 13:42:57 +02:00
SirWayne
d91922dc04 Update the entity before call the super method
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-04-12 13:37:07 +02:00
Michael Hirsch
85ec59b04e Merge pull request #124 from bsinno/Reduce_Duplicate_Code
Reduce duplicate code
2016-04-12 07:30:51 +02:00
Jonathan Philip Knoblauch
40478dd675 Refactoring after review
- changed label sentence
- remove I18N to parent class
- remove empty lines
- set variable for configurationEnabledChange directly 

Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>
2016-04-08 17:15:15 +02:00
SirWayne
313751a3fd fix typo
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-04-08 16:05:38 +02:00
SirWayne
7731b549c3 Use for float uppercase F
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-04-08 16:03:29 +02:00
SirWayne
b26cde62df Use for float uppercase F
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-04-08 15:35:59 +02:00
SirWayne
3070dcfc3d Modify scope of protected attributes to private.
Create getter/setter to access the  the attribute.

see clean code Protected variables should be avoided because:
http://programmers.stackexchange.com/questions/162643/why-is-clean-code-suggesting-avoiding-protected-variables

Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-04-08 15:01:26 +02:00
SirWayne
a021630c04 Remove empty lines
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-04-08 10:12:16 +02:00
Jonathan Philip Knoblauch
d815aaf12c Added id to anonymous download checkbox
Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>
2016-04-07 15:58:25 +02:00
Jonathan Philip Knoblauch
7281c0e84e Added description for anonymous download checkbox
Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>
2016-04-07 15:25:31 +02:00
Jonathan Philip Knoblauch
9299161652 Added anonymous download section as part of authentication configuration section
Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>
2016-04-07 14:43:05 +02:00
SirWayne
08e0dc4b3d Add new abstract table to reduce the visible columns and add entity code
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-04-07 14:16:43 +02:00
SirWayne
762c313489 Remove full qualified pakcage
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-04-07 14:13:27 +02:00
SirWayne
5e0f07b852 Add new abstract table to reduce the visible columns and add entity code
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-04-07 14:12:26 +02:00
SirWayne
27118e2939 fix typo
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-04-07 13:23:08 +02:00
SirWayne
15702cb5c9 Improve javadoc
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-04-07 13:11:16 +02:00
SirWayne
c069b904b2 Use Optional.ofNullable instead of a if statement
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-04-07 13:00:39 +02:00
SirWayne
fdee152885 Fix typo
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-04-07 12:42:50 +02:00
SirWayne
6f2383b077 Add Javadoc
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-04-07 12:23:56 +02:00
SirWayne
6e7d56d71d Merge branch 'master' into Reduce_Duplicate_Code
Conflicts:
	hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/utils/HawkbitCommonUtil.java


Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-04-07 12:06:11 +02:00
SirWayne
927ef461b9 Update Distribution Set in table
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-04-07 12:01:08 +02:00
SirWayne
e09ff4a716 Refactor TableHeader
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-04-07 10:32:59 +02:00
SirWayne
dc18bfea7b Refactoring Table, TableHeader and Detail Layout components
- Add interfaces to reduce boiler plate code
 - Add generic to reuse code
 - Try to remove duplicate code

Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-04-06 17:42:02 +02:00
Michael Hirsch
747df51f1a Merge pull request #118 from bsinno/Methods_only_called_by_inner_classes_should_move_to_those_classes
Methods only called by inner classes should move to those classes
2016-04-06 13:59:38 +02:00
Jonathan Philip Knoblauch
955a40dbaa Merge branch 'master' into Methods_only_called_by_inner_classes_should_move_to_those_classes
Conflicts:
	hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/rollout/rollout/RolloutListGrid.java
	hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/rollout/rolloutgroup/RolloutGroupListGrid.java
	hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/rollout/rolloutgrouptargets/RolloutGroupTargetsListGrid.java


Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>
2016-04-05 17:44:36 +02:00
Michael Hirsch
8bb3469b52 Merge branch 'master' into Download_server_supports_download_through_HTTP_and_HTTPs 2016-04-05 15:45:47 +02:00
SirWayne
5c0257adb9 Reduce more code
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-04-05 12:35:01 +02:00
SirWayne
c47c29519d Add missing @PostConstruct
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-04-05 12:23:26 +02:00
Michael Hirsch
df1d4c5a20 Merge branch 'master' into
Download_server_supports_download_through_HTTP_and_HTTPs

Conflicts:
	hawkbit-core/src/main/java/org/eclipse/hawkbit/tenancy/configuration/TenantConfigurationKey.java


Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-04-05 11:58:27 +02:00
Jonathan Philip Knoblauch
16fff8db97 Refactoring after review
- removed else when not needed
- return the if statement directly in the isDirectory method

Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>
2016-04-05 10:50:31 +02:00
Jonathan Philip Knoblauch
87661624ba Refactoring after review
- added new method to HawkbitCommenUtil to reduce duplicated code
- added early return 

Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>
2016-04-04 18:02:43 +02:00
SirWayne
044f0bef03 Reduce some duplicate code
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-04-04 12:59:45 +02:00
Jonathan Philip Knoblauch
fd3d854bf8 Reseted changes because a bigger refactoring is necessary
Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>
2016-04-04 10:31:05 +02:00
Kai Zimmermann
0a0c08b700 Fixed wrong call of sw module type. UI uses name and not key.
Signed-off-by: Kai Zimmermann <kai.zimmermann@bosch-si.com>
2016-04-01 15:55:00 +02:00
Jonathan Philip Knoblauch
1d416327d6 Sonar fix moving private methods to inner classes
- Rule: "private" methods called only by inner classes should be moved to those classes 

Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>
2016-03-31 15:08:20 +02:00
Kai Zimmermann
00c86ebddb Merge pull request #110 from bsinno/create-theme-customization-example
hawkBit app example that demonstrates theme customisation
2016-03-30 15:48:25 +02:00
Kai Zimmermann
2b4b715472 Created another hawkBit app example that demonstrates theme
custimization.

Signed-off-by: Kai Zimmermann <kai.zimmermann@bosch-si.com>
2016-03-30 14:31:03 +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
ed533dc0a3 Merge remote-tracking branch 'eclipse/master' into BUG/TARGET_TABLE_PERFOMANCE
# Conflicts:
#
hawkbit-ui/src/main/java/org/eclipse/hawkbit/ui/push/DelayedEventBusPush
Strategy.java
2016-03-29 14:04:12 +02:00
SirWayne
d23a1aecb4 - Add fixed size for hashset
- Use 1 static block

Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-03-29 12:01:27 +02:00
Kai Zimmermann
1146e6a808 Found an even better name 2016-03-28 10:25:07 +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
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
SirWayne
c14d534fe1 Add license header
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-03-24 18:04:56 +01:00
SirWayne
5232058433 Add license header
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-03-24 17:24:58 +01:00
SirWayne
53fbe367e4 Sonar fix
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-03-24 13:16:37 +01:00
SirWayne
18b4ac338d Reselect items after deletion
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-03-24 12:38:06 +01:00
SirWayne
cbefcb2f53 Add commit
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-03-24 12:14:08 +01:00