From 4cb88b0e760dcb7a117aa10ce63e511bde3eda1e Mon Sep 17 00:00:00 2001 From: Luca Frosini Date: Fri, 2 Aug 2019 18:57:26 +0200 Subject: [PATCH] Redesigning REST interface --- .../gcube/vremanagement/executor/api/rest/RestConstants.java | 2 -- .../gcube/vremanagement/executor/api/rest/SmartExecutor.java | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/org/gcube/vremanagement/executor/api/rest/RestConstants.java b/src/main/java/org/gcube/vremanagement/executor/api/rest/RestConstants.java index 11c39dc..59914e2 100644 --- a/src/main/java/org/gcube/vremanagement/executor/api/rest/RestConstants.java +++ b/src/main/java/org/gcube/vremanagement/executor/api/rest/RestConstants.java @@ -4,8 +4,6 @@ public class RestConstants { public static final String PLUGINS_PATH_PART = "plugins"; - public static final String ALL_PATH_PART = "ALL"; - public static final String EXECUTIONS_PATH_PART = "executions"; public static final String ITERATION_PARAM = "iteration"; diff --git a/src/main/java/org/gcube/vremanagement/executor/api/rest/SmartExecutor.java b/src/main/java/org/gcube/vremanagement/executor/api/rest/SmartExecutor.java index ed3c27b..f9ec4a8 100644 --- a/src/main/java/org/gcube/vremanagement/executor/api/rest/SmartExecutor.java +++ b/src/main/java/org/gcube/vremanagement/executor/api/rest/SmartExecutor.java @@ -11,7 +11,7 @@ public interface SmartExecutor { public String launch(String pluginName, String launchParameterString) throws ExecutorException; - public String getPluginStateEvolution(String pluginName, String executionIdentifier, Integer iteration) + public String getLaunchState(String pluginName, String executionIdentifier, Integer iteration) throws PluginInstanceNotFoundException, ExecutorException; public boolean delete(String pluginName, String executionIdentifier, Boolean unschedule) throws ExecutorException;