bugfixes + env variables
This commit is contained in:
@@ -57,11 +57,11 @@ public abstract class ExecutorBase {
|
||||
**/
|
||||
public void getAssignment() {
|
||||
Task newTask = getAssignmentPort.getAssignment(this.getExecutorType(), this.getExecutorURI());
|
||||
System.out.println("New assignment");
|
||||
System.out.println(newTask);
|
||||
if (newTask != null) {
|
||||
logger.info("Executor got a new task");
|
||||
this.executeTask(newTask);
|
||||
} else {
|
||||
logger.info("Executor got no new task");
|
||||
this.status = ExecutorStatus.IDLING;
|
||||
}
|
||||
}
|
||||
|
@@ -1,6 +1,3 @@
|
||||
server.port=8081
|
||||
roster.url=http://127.0.0.1:8082
|
||||
executor.pool.url=http://127.0.0.1:8083
|
||||
executor1.url=http://127.0.0.1:8084
|
||||
executor2.url=http://127.0.0.1:8085
|
||||
task-list.url=http://127.0.0.1:8081
|
||||
|
Reference in New Issue
Block a user