Lucio Lelii 2017-02-28 16:12:07 +00:00
parent b613a26119
commit 56ab89ca45
1 changed files with 2 additions and 1 deletions

View File

@ -13,6 +13,7 @@ import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import org.gcube.common.authorization.library.AuthorizedTasks;
import org.gcube.common.resources.gcore.GCoreEndpoint;
import org.gcube.common.resources.gcore.HostingNode;
import org.gcube.data.spd.executor.jobs.SpeciesJob;
@ -210,7 +211,7 @@ public class Executor {
private String executeJob(SpeciesJob job){
initializer.getJobMap().put(job.getId(), job);
ExecutorsContainer.execJob(job);
ExecutorsContainer.execJob(AuthorizedTasks.bind(job));
return createKey(job.getId());
}