Executor humidity #104

Merged
julius-lautz merged 5 commits from executor_humidity into dev 2021-12-15 11:10:12 +00:00
3 changed files with 3 additions and 3 deletions
Showing only changes of commit 99e60f656c - Show all commits

View File

@ -1,4 +1,4 @@
package ch.unisg.executorBase.executor.application.service; package ch.unisg.executorbase.executor.application.service;
import ch.unisg.common.valueobject.ExecutorURI; import ch.unisg.common.valueobject.ExecutorURI;
import ch.unisg.executorbase.executor.application.port.out.NotifyExecutorPoolPort; import ch.unisg.executorbase.executor.application.port.out.NotifyExecutorPoolPort;

View File

@ -89,6 +89,6 @@ public abstract class ExecutorBase {
* Implementation of the actual execution method of an executor * Implementation of the actual execution method of an executor
* @return the execution result * @return the execution result
**/ **/
protected abstract String execution(String input) throws ConnectorException, IOException, ConnectorException; protected abstract String execution(String input);
} }

View File

@ -27,7 +27,7 @@ public class TaskAvailableController {
if (ExecutorType.contains(taskType.toUpperCase())) { if (ExecutorType.contains(taskType.toUpperCase())) {
TaskAvailableCommand command = new TaskAvailableCommand( TaskAvailableCommand command = new TaskAvailableCommand(
ExecutorType.valueOf(taskType.toUpperCase())); ExecutorType.valueOf(taskType.toUpperCase()));
CompletableFuture.runAsync(() -> taskAvailableUseCase.newTaskAvailable(command); CompletableFuture.runAsync(() -> taskAvailableUseCase.newTaskAvailable(command));
} }
// Add the content type as a response header // Add the content type as a response header