]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.server/src/main/java/org/argeo/slc/web/mvc/controllers/ProcessController.java
Remove unused method in SLC Agent interface
[gpl/argeo-slc.git] / runtime / org.argeo.slc.server / src / main / java / org / argeo / slc / web / mvc / controllers / ProcessController.java
index bd5fd7b732ace9bc1c0a085d8ec1ac93616c70b9..a7bb3f2838f90afcc36f7caa987a95c9d5dac716 100644 (file)
@@ -145,7 +145,7 @@ public class ProcessController {
                                || slcExecution.getUuid().length() < 8)\r
                        slcExecution.setUuid(UUID.randomUUID().toString());\r
 \r
-               slcExecution.setStatus(SlcExecution.STATUS_SCHEDULED);\r
+               slcExecution.setStatus(SlcExecution.SCHEDULED);\r
                slcExecution.getSteps().add(\r
                                new SlcExecutionStep(SlcExecutionStep.START,\r
                                                "Process started from the Web UI"));\r
@@ -154,7 +154,7 @@ public class ProcessController {
                slcExecutionManager.storeRealizedFlows(slcExecution);\r
                slcExecutionService.newExecution(slcExecution);\r
                SlcAgent agent = agentFactory.getAgent(agentId);\r
-               agent.runSlcExecution(slcExecution);\r
+               //agent.runSlcExecution(slcExecution);\r
 \r
                return ExecutionAnswer.ok("Execution completed properly");\r
        }\r