Renaming executors #50

Merged
rahimiankeanu merged 3 commits from renaming-executors into dev 2021-11-08 13:21:24 +00:00
34 changed files with 37 additions and 37 deletions
Showing only changes of commit a96c8b2d23 - Show all commits

View File

@ -9,7 +9,7 @@
<relativePath/> <!-- lookup parent from repository --> <relativePath/> <!-- lookup parent from repository -->
</parent> </parent>
<groupId>ch.unisg</groupId> <groupId>ch.unisg</groupId>
<artifactId>executor2</artifactId> <artifactId>executorcomputation</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
<name>executor2</name> <name>executor2</name>
<description>Demo project for Spring Boot</description> <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.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.SpringBootApplication;
import ch.unisg.executor2.executor.domain.Executor; import ch.unisg.executorcomputation.executor.domain.Executor;
@SpringBootApplication @SpringBootApplication
public class Executor2Application { public class ExecutorcomputationApplication {
public static void main(String[] args) { public static void main(String[] args) {
SpringApplication.run(Executor2Application.class, args); SpringApplication.run(ExecutorcomputationApplication.class, args);
Executor.getExecutor(); 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; 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 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.TaskAvailableCommand;
import ch.unisg.executorBase.executor.application.port.in.TaskAvailableUseCase; import ch.unisg.executorBase.executor.application.port.in.TaskAvailableUseCase;
import ch.unisg.executorBase.executor.domain.ExecutorStatus; 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; import java.util.concurrent.TimeUnit;
import ch.unisg.executorBase.executor.domain.ExecutorBase; import ch.unisg.executorBase.executor.domain.ExecutorBase;

View File

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

View File

@ -9,7 +9,7 @@
<relativePath/> <!-- lookup parent from repository --> <relativePath/> <!-- lookup parent from repository -->
</parent> </parent>
<groupId>ch.unisg</groupId> <groupId>ch.unisg</groupId>
<artifactId>executor1</artifactId> <artifactId>executorrobot</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
<name>executor1</name> <name>executor1</name>
<description>Demo project for Spring Boot</description> <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.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.SpringBootApplication;
import ch.unisg.executor1.executor.domain.Executor; import ch.unisg.executorrobot.executor.domain.Executor;
@SpringBootApplication @SpringBootApplication
public class Executor1Application { public class ExecutorrobotApplication {
public static void main(String[] args) { public static void main(String[] args) {
SpringApplication.run(Executor1Application.class, args); SpringApplication.run(ExecutorrobotApplication.class, args);
Executor.getExecutor(); 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; 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.io.IOException;
import java.net.URI; import java.net.URI;
import java.net.http.HttpClient; import java.net.http.HttpClient;
@ -8,7 +8,7 @@ import java.net.http.HttpResponse;
import org.springframework.context.annotation.Primary; import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import ch.unisg.executor1.executor.application.port.out.DeleteUserFromRobotPort; import ch.unisg.executorrobot.executor.application.port.out.DeleteUserFromRobotPort;
@Component @Component
@Primary @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.io.IOException;
import java.net.URI; import java.net.URI;
import java.net.http.HttpClient; import java.net.http.HttpClient;
@ -8,7 +8,7 @@ import java.net.http.HttpResponse;
import org.springframework.context.annotation.Primary; import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import ch.unisg.executor1.executor.application.port.out.InstructionToRobotPort; import ch.unisg.executorrobot.executor.application.port.out.InstructionToRobotPort;
@Component @Component
@Primary @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.io.IOException;
import java.net.URI; import java.net.URI;
import java.net.http.HttpClient; import java.net.http.HttpClient;
@ -8,7 +8,7 @@ import java.net.http.HttpResponse;
import org.springframework.context.annotation.Primary; import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Component;
import ch.unisg.executor1.executor.application.port.out.UserToRobotPort; import ch.unisg.executorrobot.executor.application.port.out.UserToRobotPort;
@Component @Component
@Primary @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 { public interface DeleteUserFromRobotPort {
boolean deleteUserFromRobot(String key); 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 { public interface InstructionToRobotPort {
boolean instructionToRobot(String key); 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; 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 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.TaskAvailableCommand;
import ch.unisg.executorBase.executor.application.port.in.TaskAvailableUseCase; import ch.unisg.executorBase.executor.application.port.in.TaskAvailableUseCase;
import ch.unisg.executorBase.executor.domain.ExecutorStatus; 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.HttpClient;
import java.net.http.HttpResponse; import java.net.http.HttpResponse;
import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeUnit;
import ch.unisg.executor1.executor.adapter.out.DeleteUserFromRobotAdapter; import ch.unisg.executorrobot.executor.adapter.out.DeleteUserFromRobotAdapter;
import ch.unisg.executor1.executor.adapter.out.InstructionToRobotAdapter; import ch.unisg.executorrobot.executor.adapter.out.InstructionToRobotAdapter;
import ch.unisg.executor1.executor.adapter.out.UserToRobotAdapter; import ch.unisg.executorrobot.executor.adapter.out.UserToRobotAdapter;
import ch.unisg.executor1.executor.application.port.out.DeleteUserFromRobotPort; import ch.unisg.executorrobot.executor.application.port.out.DeleteUserFromRobotPort;
import ch.unisg.executor1.executor.application.port.out.InstructionToRobotPort; import ch.unisg.executorrobot.executor.application.port.out.InstructionToRobotPort;
import ch.unisg.executor1.executor.application.port.out.UserToRobotPort; import ch.unisg.executorrobot.executor.application.port.out.UserToRobotPort;
import ch.unisg.executorBase.executor.domain.ExecutorBase; import ch.unisg.executorBase.executor.domain.ExecutorBase;
import ch.unisg.executorBase.executor.domain.ExecutorType; 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.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest; import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest @SpringBootTest
class Executor1ApplicationTests { class ExecutorrobotApplicationTests {
@Test @Test
void contextLoads() { void contextLoads() {