diff --git a/src/main/java/org/gcube/vremanagement/executor/SmartExecutorImpl.java b/src/main/java/org/gcube/vremanagement/executor/SmartExecutorImpl.java index daa8307..97a3d7b 100644 --- a/src/main/java/org/gcube/vremanagement/executor/SmartExecutorImpl.java +++ b/src/main/java/org/gcube/vremanagement/executor/SmartExecutorImpl.java @@ -40,7 +40,7 @@ public class SmartExecutorImpl implements SmartExecutor { SmartExecutorScheduler smartExecutorScheduler = SmartExecutorInitalizator.getSmartExecutorScheduler(); UUID uuid = smartExecutorScheduler.schedule(parameter); - logger.debug(String.format("The Plugin named %s with UUID %s has been launched with the provided inputs", parameter.getName(), uuid)); + logger.debug(String.format("The Plugin named %s with UUID %s has been launched with the provided inputs", parameter.getPluginName(), uuid)); return uuid.toString(); } diff --git a/src/main/java/org/gcube/vremanagement/executor/scheduler/SmartExecutorJob.java b/src/main/java/org/gcube/vremanagement/executor/scheduler/SmartExecutorJob.java index 045c1c0..2794473 100644 --- a/src/main/java/org/gcube/vremanagement/executor/scheduler/SmartExecutorJob.java +++ b/src/main/java/org/gcube/vremanagement/executor/scheduler/SmartExecutorJob.java @@ -81,7 +81,7 @@ public class SmartExecutorJob implements InterruptableJob { uuid = (UUID) jobDataMap.get(UUID); launchParameter = (LaunchParameter) jobDataMap.get(LAUNCH_PARAMETER); - pluginName = launchParameter.getName(); + pluginName = launchParameter.getPluginName(); try { plugin = PluginManager.instantiatePlugin(pluginName);