This commit is contained in:
Marcel 2021-11-16 15:48:46 +01:00
parent 4c5da8eed6
commit bce3619638
37 changed files with 9 additions and 11 deletions

View File

@ -9,9 +9,9 @@
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>ch.unisg</groupId>
<artifactId>executorbase</artifactId>
<artifactId>executor-base</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>executorbase</name>
<name>executor-base</name>
<description>Demo project for Spring Boot</description>
<properties>
<java.version>11</java.version>

View File

@ -9,9 +9,9 @@
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>ch.unisg</groupId>
<artifactId>executorcomputation</artifactId>
<artifactId>executor-computation</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>executorcomputation</name>
<name>executor-computation</name>
<description>Demo project for Spring Boot</description>
<properties>
<java.version>11</java.version>
@ -42,7 +42,7 @@
</dependency>
<dependency>
<groupId>ch.unisg</groupId>
<artifactId>executorbase</artifactId>
<artifactId>executor-base</artifactId>
<version>0.0.1-SNAPSHOT</version>
<scope>compile</scope>
</dependency>

View File

@ -9,9 +9,9 @@
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>ch.unisg</groupId>
<artifactId>executorrobot</artifactId>
<artifactId>executor-robot</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>executorrobot</name>
<name>executor-robot</name>
<description>Demo project for Spring Boot</description>
<properties>
<java.version>11</java.version>
@ -42,7 +42,7 @@
</dependency>
<dependency>
<groupId>ch.unisg</groupId>
<artifactId>executorbase</artifactId>
<artifactId>executor-base</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
</dependencies>

View File

@ -23,7 +23,7 @@ public class ExecutorRemovedEventListenerMqttAdapter extends ExecutorEventMqttLi
// representation that makes sense in the context of your application.
JsonNode data = new ObjectMapper().readTree(payload);
String executorId = data.get("executorURI").asText();
String executorId = data.get("executorUri").asText();
ExecutorRemovedEvent executorRemovedEvent = new ExecutorRemovedEvent(
new ExecutorURI(executorId));

View File

@ -34,8 +34,6 @@ public class PublishNewTaskEventAdapter implements NewTaskEventPort {
@Override
public void publishNewTaskEvent(NewTaskEvent event) {
System.out.println(server2);
// HttpClient client = HttpClient.newHttpClient();
// HttpRequest request = HttpRequest.newBuilder()
// .uri(URI.create(server + "/newtask/" + event.taskType.getValue()))