Commit Graph

572 Commits

Author SHA1 Message Date
Michael Hirsch
c4fd082098 fix the lookup of artifacts with the same lookup key, e.g. SHA1 hash if
multiple artifacts with key exists for different software modules

Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-04-12 09:39: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
Michael Hirsch
80dde61085 Merge pull request #131 from bsinno/Move_anonymous_download_to_authentication_configuration_section
Move anonymous download to authentication configuration section
2016-04-09 09:07:07 +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
Kai Zimmermann
1e28acb170 Update README.md 2016-04-08 08:16:47 +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
Michael Hirsch
cadf67ad6c Merge pull request #122 from bsinno/reduce-duplicate-metadata
Reduce duplicate metadata code
2016-04-07 08:34:49 +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
Kai Zimmermann
f4f9c10186 Optimized equals.
Signed-off-by: Kai Zimmermann <kai.zimmermann@bosch-si.com>
2016-04-06 10:57:23 +02:00
Michael Hirsch
a2a97a8a30 Merge pull request #120 from bsinno/Download_server_supports_download_through_HTTP_and_HTTPs
DDI supports actifact download through http and anonyomous
2016-04-06 08:12:53 +02:00
Michael Hirsch
4884f18deb remove local variable which is never read only returned
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-04-05 19:06:14 +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
Kai Zimmermann
dd7006b64a Merge pull request #123 from bsinno/fix_jsoncreator_pagedlist
fix paged list json.
2016-04-05 15:25:47 +02:00
Michael Hirsch
39fc74469f fix paged list json.
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-04-05 15:02:55 +02:00
Michael Hirsch
b568c84838 Merge branch 'Download_server_supports_download_through_HTTP_and_HTTPs' of https://github.com/bsinno/hawkbit.git into Download_server_supports_download_through_HTTP_and_HTTPs 2016-04-05 14:56:42 +02:00
Michael Hirsch
db37bd42df fix license header in pom.xml
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-04-05 14:42:00 +02:00
Kai Zimmermann
f39bfb5666 Merge pull request #119 from bsinno/Reduce_Duplicate_Code
Reduce some duplicate code
2016-04-05 14:10:57 +02:00
Kai Zimmermann
d8268e8b6b Used proper exception 2016-04-05 14:01:09 +02:00
Kai Zimmermann
bf168ffb70 reduced duplicate code. 2016-04-05 14:00:57 +02:00
Kai Zimmermann
7df33be512 Merge pull request #121 from bsinno/fix_jsoncreator_pagedlist
fix json creator for PagedList for creating clients
2016-04-05 13:17:31 +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
9c9bdf6406 fix json creator for PagedList for creating clients
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-04-05 12:20:49 +02:00
Michael Hirsch
421bd9154c fix license header of UrlProtocol enum 2016-04-05 12:13:36 +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
Kai Zimmermann
50c9141f77 Merge pull request #117 from bsinno/hawkbit-sandbox
Hawkbit sandbox
2016-04-04 13:48:38 +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
Kai Zimmermann
a98f91f05e Fixed typos 2016-04-04 12:54:30 +02:00