renaming executors

This commit is contained in:
rahimiankeanu 2021-11-05 11:32:22 +01:00
parent 33497a1993
commit a96c8b2d23
34 changed files with 37 additions and 37 deletions

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;
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.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() {