Dev #65

Merged
reynisson merged 67 commits from dev into main 2021-11-16 18:14:00 +00:00
34 changed files with 37 additions and 37 deletions
Showing only changes of commit 31234a10d1 - Show all commits

View File

@ -9,7 +9,7 @@
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>ch.unisg</groupId>
<artifactId>executor2</artifactId>
<artifactId>executorcomputation</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>executor2</name>
<description>Demo project for Spring Boot</description>

View File

@ -1,15 +1,15 @@
package ch.unisg.executor2;
package ch.unisg.executorcomputation;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import ch.unisg.executor2.executor.domain.Executor;
import ch.unisg.executorcomputation.executor.domain.Executor;
@SpringBootApplication
public class Executor2Application {
public class ExecutorcomputationApplication {
public static void main(String[] args) {
SpringApplication.run(Executor2Application.class, args);
SpringApplication.run(ExecutorcomputationApplication.class, args);
Executor.getExecutor();
}

View File

@ -1,4 +1,4 @@
package ch.unisg.executor2.executor.adapter.in.web;
package ch.unisg.executorcomputation.executor.adapter.in.web;
import java.util.concurrent.CompletableFuture;

View File

@ -1,8 +1,8 @@
package ch.unisg.executor2.executor.application.service;
package ch.unisg.executorcomputation.executor.application.service;
import org.springframework.stereotype.Component;
import ch.unisg.executor2.executor.domain.Executor;
import ch.unisg.executorcomputation.executor.domain.Executor;
import ch.unisg.executorbase.executor.application.port.in.TaskAvailableCommand;
import ch.unisg.executorbase.executor.application.port.in.TaskAvailableUseCase;
import ch.unisg.executorbase.executor.domain.ExecutorStatus;

View File

@ -1,4 +1,4 @@
package ch.unisg.executor2.executor.domain;
package ch.unisg.executorcomputation.executor.domain;
import java.util.concurrent.TimeUnit;

View File

@ -1,10 +1,10 @@
package ch.unisg.executor2;
package ch.unisg.executorcomputation;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
class Executor2ApplicationTests {
class ExecutorcomputationApplicationTests {
@Test
void contextLoads() {

View File

@ -9,7 +9,7 @@
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>ch.unisg</groupId>
<artifactId>executor1</artifactId>
<artifactId>executorrobot</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>executor1</name>
<description>Demo project for Spring Boot</description>

View File

@ -1,15 +1,15 @@
package ch.unisg.executor1;
package ch.unisg.executorrobot;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import ch.unisg.executor1.executor.domain.Executor;
import ch.unisg.executorrobot.executor.domain.Executor;
@SpringBootApplication
public class Executor1Application {
public class ExecutorrobotApplication {
public static void main(String[] args) {
SpringApplication.run(Executor1Application.class, args);
SpringApplication.run(ExecutorrobotApplication.class, args);
Executor.getExecutor();
}

View File

@ -1,4 +1,4 @@
package ch.unisg.executor1.executor.adapter.in.web;
package ch.unisg.executorrobot.executor.adapter.in.web;
import java.util.concurrent.CompletableFuture;

View File

@ -1,4 +1,4 @@
package ch.unisg.executor1.executor.adapter.out;
package ch.unisg.executorrobot.executor.adapter.out;
import java.io.IOException;
import java.net.URI;
import java.net.http.HttpClient;
@ -8,7 +8,7 @@ import java.net.http.HttpResponse;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Component;
import ch.unisg.executor1.executor.application.port.out.DeleteUserFromRobotPort;
import ch.unisg.executorrobot.executor.application.port.out.DeleteUserFromRobotPort;
@Component
@Primary

View File

@ -1,4 +1,4 @@
package ch.unisg.executor1.executor.adapter.out;
package ch.unisg.executorrobot.executor.adapter.out;
import java.io.IOException;
import java.net.URI;
import java.net.http.HttpClient;
@ -8,7 +8,7 @@ import java.net.http.HttpResponse;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Component;
import ch.unisg.executor1.executor.application.port.out.InstructionToRobotPort;
import ch.unisg.executorrobot.executor.application.port.out.InstructionToRobotPort;
@Component
@Primary

View File

@ -1,4 +1,4 @@
package ch.unisg.executor1.executor.adapter.out;
package ch.unisg.executorrobot.executor.adapter.out;
import java.io.IOException;
import java.net.URI;
import java.net.http.HttpClient;
@ -8,7 +8,7 @@ import java.net.http.HttpResponse;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Component;
import ch.unisg.executor1.executor.application.port.out.UserToRobotPort;
import ch.unisg.executorrobot.executor.application.port.out.UserToRobotPort;
@Component
@Primary

View File

@ -1,4 +1,4 @@
package ch.unisg.executor1.executor.application.port.out;
package ch.unisg.executorrobot.executor.application.port.out;
public interface DeleteUserFromRobotPort {
boolean deleteUserFromRobot(String key);

View File

@ -1,4 +1,4 @@
package ch.unisg.executor1.executor.application.port.out;
package ch.unisg.executorrobot.executor.application.port.out;
public interface InstructionToRobotPort {
boolean instructionToRobot(String key);

View File

@ -1,4 +1,4 @@
package ch.unisg.executor1.executor.application.port.out;
package ch.unisg.executorrobot.executor.application.port.out;
import ch.unisg.executorbase.executor.domain.ExecutorType;

View File

@ -1,8 +1,8 @@
package ch.unisg.executor1.executor.application.service;
package ch.unisg.executorrobot.executor.application.service;
import org.springframework.stereotype.Component;
import ch.unisg.executor1.executor.domain.Executor;
import ch.unisg.executorrobot.executor.domain.Executor;
import ch.unisg.executorbase.executor.application.port.in.TaskAvailableCommand;
import ch.unisg.executorbase.executor.application.port.in.TaskAvailableUseCase;
import ch.unisg.executorbase.executor.domain.ExecutorStatus;

View File

@ -1,15 +1,15 @@
package ch.unisg.executor1.executor.domain;
package ch.unisg.executorrobot.executor.domain;
import java.net.http.HttpClient;
import java.net.http.HttpResponse;
import java.util.concurrent.TimeUnit;
import ch.unisg.executor1.executor.adapter.out.DeleteUserFromRobotAdapter;
import ch.unisg.executor1.executor.adapter.out.InstructionToRobotAdapter;
import ch.unisg.executor1.executor.adapter.out.UserToRobotAdapter;
import ch.unisg.executor1.executor.application.port.out.DeleteUserFromRobotPort;
import ch.unisg.executor1.executor.application.port.out.InstructionToRobotPort;
import ch.unisg.executor1.executor.application.port.out.UserToRobotPort;
import ch.unisg.executorrobot.executor.adapter.out.DeleteUserFromRobotAdapter;
import ch.unisg.executorrobot.executor.adapter.out.InstructionToRobotAdapter;
import ch.unisg.executorrobot.executor.adapter.out.UserToRobotAdapter;
import ch.unisg.executorrobot.executor.application.port.out.DeleteUserFromRobotPort;
import ch.unisg.executorrobot.executor.application.port.out.InstructionToRobotPort;
import ch.unisg.executorrobot.executor.application.port.out.UserToRobotPort;
import ch.unisg.executorbase.executor.domain.ExecutorBase;
import ch.unisg.executorbase.executor.domain.ExecutorType;

View File

@ -1,10 +1,10 @@
package ch.unisg.executor1;
package ch.unisg.executorrobot;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest
class Executor1ApplicationTests {
class ExecutorrobotApplicationTests {
@Test
void contextLoads() {