Commit Graph

630 Commits

Author SHA1 Message Date
Jonathan Philip Knoblauch
7cae6f877d Merge branch 'Feature/Add_Rest_Api_with_Java_client' of https://github.com/bsinno/hawkbit.git into Feature/Add_Rest_Api_with_Java_client
Conflicts:
	hawkbit-autoconfigure/src/main/java/org/eclipse/hawkbit/autoconfigure/web/ResourceControllerAutoConfiguration.java


Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>
2016-04-22 18:19:20 +02:00
Jonathan Philip Knoblauch
0ea9e84322 Implementation of controller example client
Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>
2016-04-22 18:06:01 +02:00
SirWayne
1f5a27a2a8 Add Scope and jackson dependency
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-04-22 18:03:39 +02:00
SirWayne
c17bc98ecb Add RequestResponseContextHolder which hold the current response and
request.

Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-04-22 17:49:33 +02:00
SirWayne
946befb038 Add Jackson2HalModule module
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-04-22 16:59:54 +02:00
SirWayne
5882c0444b Add baseUrl to Feign Client resource
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-04-22 15:18:17 +02:00
Jonathan Philip Knoblauch
89f64a2d44 Added new default feign client
Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>
2016-04-22 14:36:29 +02:00
Jonathan Philip Knoblauch
ff0f9ab039 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-resource/src/main/java/org/eclipse/hawkbit/ddi/rest/resource/DdiArtifactStoreController.java


Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>
2016-04-22 13:58:58 +02:00
Jonathan Philip Knoblauch
810900eee7 Removed http servlet response and request form method signature
Signed-off-by: Jonathan Philip Knoblauch <JonathanPhilip.Knoblauch@bosch-si.com>
2016-04-22 13:36:21 +02:00
SirWayne
a615317ba4 Add Managment Default Feign Client
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-04-22 12:24:11 +02:00
SirWayne
e45306eafb Fix Default Port for PopertyHandler
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-04-21 16:43:38 +02:00
SirWayne
e8c8b4d1a6 remove springfox and add spring-plugin-core
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-04-21 16:00:08 +02:00
SirWayne
0c85f2bf82 remove springfox and add spring-plugin-core
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-04-21 15:59:39 +02:00
SirWayne
8995195e44 Add springfox
Signed-off-by: SirWayne <dennis.melzer@bosch-si.com>
2016-04-21 15:53:02 +02:00
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