Redesigning REST interface
This commit is contained in:
parent
edfacde359
commit
acd4821f96
|
@ -155,7 +155,7 @@ public class SmartExecutorClientImpl implements SmartExecutorClient {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getPluginStateEvolution(String pluginName, String executionIdentifier, Integer iterationNumber)
|
public String getLaunchState(String pluginName, String executionIdentifier, Integer iterationNumber)
|
||||||
throws PluginInstanceNotFoundException, ExecutorException {
|
throws PluginInstanceNotFoundException, ExecutorException {
|
||||||
try {
|
try {
|
||||||
|
|
||||||
|
@ -191,7 +191,7 @@ public class SmartExecutorClientImpl implements SmartExecutorClient {
|
||||||
public PluginStateEvolution getPluginStateEvolution(String pluginName, UUID executionIdentifier,
|
public PluginStateEvolution getPluginStateEvolution(String pluginName, UUID executionIdentifier,
|
||||||
Integer iterationNumber) throws PluginInstanceNotFoundException, ExecutorException {
|
Integer iterationNumber) throws PluginInstanceNotFoundException, ExecutorException {
|
||||||
try {
|
try {
|
||||||
String pluginStateEvolution = getPluginStateEvolution(pluginName, executionIdentifier.toString(),
|
String pluginStateEvolution = getLaunchState(pluginName, executionIdentifier.toString(),
|
||||||
iterationNumber);
|
iterationNumber);
|
||||||
return SEMapper.unmarshal(PluginStateEvolution.class, pluginStateEvolution);
|
return SEMapper.unmarshal(PluginStateEvolution.class, pluginStateEvolution);
|
||||||
} catch(ExecutorException e) {
|
} catch(ExecutorException e) {
|
||||||
|
|
Loading…
Reference in New Issue