Commit Graph

616 Commits

Author SHA1 Message Date
SirWayne
5d30ea3d09 Rename Mgmt MetaData
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-04-21 14:36:00 +02:00
SirWayne
b7b0d9635e Merge branch 'origin/Extend_end-2-end_tests_for_full_DDI_roundtrip_with_Java_client' of local repository into Extend_end-2-end_tests_for_full_DDI_roundtrip_with_Java_client 2016-04-21 14:12:21 +02:00
SirWayne
2b6f7665e0 Add signature from interface to the concret class, because of Spring MVC
and parameter inheritance.
"also actually doesn’t work with Spring MVC in its current form (method
parameter mapping is not inherited"

Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-04-21 14:11:11 +02:00
Jonathan Philip Knoblauch
4f336e05c1 Added slash to test
Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>
2016-04-21 13:35:17 +02:00
Jonathan Philip Knoblauch
f33cb18a11 Added method signature form interface to implementation
Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>
2016-04-21 13:22:55 +02:00
SirWayne
2b3d978978 Add signature from interface to the concret class, because of Spring MVC
and parameter inheritance.
"also actually doesn’t work with Spring MVC in its current form (method
parameter mapping is not inherited"

Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-04-21 13:00:54 +02:00
SirWayne
bb0fb5da8d Add name of @PathVariable
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-04-21 11:29:56 +02:00
SirWayne
3fa9105428 Add test dependencies
Add name of @PathVariable

Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-04-21 10:02:03 +02:00
SirWayne
2538d12785 Remove duplicate test util classes
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-04-20 17:55:54 +02:00
SirWayne
e4aa7fddfd Merge branch 'origin/Extend_end-2-end_tests_for_full_DDI_roundtrip_with_Java_client' of local repository into Extend_end-2-end_tests_for_full_DDI_roundtrip_with_Java_client 2016-04-20 17:42:27 +02:00
SirWayne
c3c405c986 Rename and split rest resources ddi, mgmt and system
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-04-20 17:33:03 +02:00
Jonathan Philip Knoblauch
a5fcd1eeb6 Merge branch 'Extend_end-2-end_tests_for_full_DDI_roundtrip_with_Java_client' of https://github.com/bsinno/hawkbit.git into Extend_end-2-end_tests_for_full_DDI_roundtrip_with_Java_client
Conflicts:
	hawkbit-ddi-api/src/main/java/org/eclipse/hawkbit/ddi/api/RootControllerDdiApi.java


Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>
2016-04-20 15:29:03 +02:00
Jonathan Philip Knoblauch
8d34170515 DDI client implementation validation
Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>
2016-04-20 15:02:44 +02:00
SirWayne
8a22ea3df3 Rename Ddi classes
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-04-20 13:47:09 +02:00
SirWayne
3c0e34ee41 Rename Ddi classes
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-04-20 13:42:43 +02:00
Jonathan Philip Knoblauch
12cca669fe Added missing javadoc to DDI resources
Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>
2016-04-19 09:29:55 +02:00
Jonathan Philip Knoblauch
97f099d194 Move DDI resources and annotation to module hawkbit-ddi-resource
- added missing pathVaraible
- added port to download urls and adjusted tests
- extended feign management API client
- fixed pom test artifacts dependencies


Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>
2016-04-19 09:10:27 +02:00
Jonathan Philip Knoblauch
cd2db4e36e Updated pom to receive correct dependencies
Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>
2016-04-18 14:01:59 +02:00
Jonathan Philip Knoblauch
abe6dc223f Created hawkbit-example-ddi-client example maven module
Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>
2016-04-18 12:51:57 +02:00
Jonathan Philip Knoblauch
3145709824 Move DDI resources and annotation to module hawkbit-ddi-resource
- created module and moved resources

Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>
2016-04-18 12:39:28 +02:00
Jonathan Philip Knoblauch
22f4d9ffcf Created hawkbit-ddi-api maven module and resource interfaces for the module
Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>
2016-04-15 12:37:40 +02:00
Michael Hirsch
72d9d11199 Merge pull request #143 from bsinno/fix_check_if_target_has_assigned_local_artifact
fix lookup by filename and not by ID
2016-04-14 13:57:16 +02:00
Michael Hirsch
2ca807916c fix lookup by filename and not by ID because the ID is unique and the
filename exists multiple times

Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-04-14 13:32:24 +02:00
Michael Hirsch
ad50f1abde Merge pull request #138 from bsinno/Bug/UI_NPE_Drag_And_Drop
Fix null handling for all drag and drop table
2016-04-14 10:22:35 +02:00
Michael Hirsch
e651be3a9b Merge pull request #134 from bsinno/Add_Missing_Event
Add missing TargetTagDeletedEvent
2016-04-14 10:22:25 +02:00
SirWayne
4b6a6a4a4a Refactoring: Extract some staff to private methods and remove duplicated
code

Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-04-13 17:37:55 +02:00
Michael Hirsch
2a5b1c2fbb Merge pull request #141 from bsinno/Bug/Upload_Artifact
Bug/upload artifact
2016-04-13 16:52:40 +02:00
SirWayne
d21485cad4 Refactoring: Extract some staff to private methods
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-04-13 16:52:12 +02:00
SirWayne
46e71f622d Version should be set after id
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-04-13 15:47:08 +02:00
SirWayne
f70120d546 Set the id after the update
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-04-13 15:36:14 +02:00
SirWayne
b95b9c1ce6 Move @SuppressWarnings("unchecked") to the right line and remove unused
attributes

Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-04-13 14:20:27 +02:00
Michael Hirsch
e9a8d95e6f Merge pull request #140 from bsinno/Bug/Upload_Artifact
Bug/upload artifact
2016-04-13 11:21:34 +02:00
Michael Hirsch
d052bef5d7 Merge pull request #139 from bsinno/fix_artifact_multiple_assignment_sha1_hash_lookup
fix the lookup of artifacts which exists multiple times with same lookup key e.g. SHA1
2016-04-13 11:20:24 +02:00
Michael Hirsch
d704ef99fd source code hygiene, better method naming and variable naming
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-04-12 16:22:43 +02:00
Michael Hirsch
d903be57b7 use correct mock parameters to ensure test
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-04-12 15:50:48 +02:00
Michael Hirsch
30e8230b8a correct usage of logging, missing parameters
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-04-12 15:48:19 +02:00
Michael Hirsch
cc8c674341 correct usage of logging, missing parameters
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-04-12 15:47:21 +02:00
Michael Hirsch
369d9da25a source code improvements
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-04-12 14:35:59 +02:00
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
b11a0bac5d reduce method cyclomatic complexity by extracting security check into
own method

Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-04-12 12:18:59 +02:00
Michael Hirsch
0b5286299c fix unit tests after changing the lookup way
Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
2016-04-12 10:03:19 +02:00
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
SirWayne
319a226adc Fix null handling for all drag and drop table
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-04-11 15:05:02 +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