Commit Graph

215 Commits

Author SHA1 Message Date
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
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
SirWayne
7e75b79cbe Add a event provider which hold the repository events which are provided
by the ui.

fix the performance issue. Issue was the selection of targets. The table
needs very long to calculate the scroll position.

Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-03-24 12:00:07 +01:00
Jonathan Philip Knoblauch
7715169889 Added id for checkbox component for selenium tests
Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>
2016-03-24 11:02:28 +01:00
SirWayne
84519b77ab Disable to set the current page first item id
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-03-23 15:12:12 +01:00
Jonathan Philip Knoblauch
3ff352584e Small fix since wrong config value was being accessed.
Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>
2016-03-23 14:28:24 +01:00
Jonathan Philip Knoblauch
74782527fe Added javadoc and refactored existing one.
Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>
2016-03-23 12:14:44 +01:00
asharani-murugesh
24b2469c84 Removed unused imports
Signed-off-by: asharani-murugesh <asharani.murugesh@in.bosch.com>
2016-03-23 09:43:29 +01:00
Jonathan Philip Knoblauch
a3295b518d Added tenant configuration for anyonmous download and UI element to allow to configure anonymous download
Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>
2016-03-22 17:01:24 +01:00