Merge branch 'Feature/Add_Rest_Api_with_Java_client' of https://github.com/bsinno/hawkbit into Feature/Add_Rest_Api_with_Java_client

This commit is contained in:
SirWayne
2016-04-28 09:50:56 +02:00
5 changed files with 11 additions and 26 deletions

View File

@@ -79,7 +79,6 @@
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>2.3</version>
</dependency>
<!-- Test -->

View File

@@ -12,7 +12,7 @@ public class RootControllerResourceClientConstants {
public static final String PATH = "{tenant}/controller/v1";
/**
* Default constructor.
* Private constructor to prevent instantiation.
*/
private RootControllerResourceClientConstants() {

View File

@@ -1,22 +0,0 @@
package org.eclipse.hawkbit.example.ddi.client;
import org.eclipse.hawkbit.ddi.client.DdiExampleClient;
import org.eclipse.hawkbit.ddi.client.strategy.SaveArtifactsToLocalTempDirectories;
import org.junit.Test;
/**
* Unit test for simple App.
*/
public class AppTest {
@Test
public void AppTest() {
final DdiExampleClient ddiClient = new DdiExampleClient("http://localhost:8080/", "Einstein17", "DEFAULT",
new SaveArtifactsToLocalTempDirectories());
final Thread thread = new Thread(ddiClient);
thread.run();
System.out.println("next steps........................");
}
}

View File

@@ -43,5 +43,9 @@
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-feign</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
</dependencies>
</project>