git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/branches/data-access/species-products-discovery/3.0@144439 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
b613a26119
commit
56ab89ca45
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
Reference in New Issue