git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-analysis/dataminer-pool-manager@160078 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
45edc13078
commit
8a19184ac3
|
@ -1,8 +1,6 @@
|
|||
package org.gcube.dataanalysis.dataminer.poolmanager.rest;
|
||||
|
||||
|
||||
import static org.gcube.common.authorization.client.Constants.authorizationService;
|
||||
|
||||
***REMOVED***
|
||||
import java.net.MalformedURLException;
|
||||
***REMOVED***
|
||||
|
@ -10,22 +8,17 @@ import java.net.UnknownHostException;
|
|||
***REMOVED***
|
||||
import java.util.Set;
|
||||
|
||||
import javax.servlet.ServletContext;
|
||||
import javax.ws.rs.GET;
|
||||
import javax.ws.rs.Path;
|
||||
import javax.ws.rs.Produces;
|
||||
import javax.ws.rs.QueryParam;
|
||||
import javax.ws.rs.core.Context;
|
||||
|
||||
***REMOVED***
|
||||
import org.gcube.common.authorization.library.AuthorizationEntry;
|
||||
***REMOVED***
|
||||
***REMOVED***
|
||||
import org.gcube.dataanalysis.dataminer.poolmanager.datamodel.Algorithm;
|
||||
import org.gcube.dataanalysis.dataminer.poolmanager.service.DataminerPoolManager;
|
||||
import org.gcube.dataanalysis.dataminer.poolmanager.util.AlgorithmBuilder;
|
||||
import org.gcube.smartgears.ContextProvider;
|
||||
import org.gcube.smartgears.context.application.ApplicationContext;
|
||||
***REMOVED***
|
||||
***REMOVED***
|
||||
import org.tmatesoft.svn.core.SVNException;
|
||||
|
|
|
@ -74,7 +74,10 @@ public abstract class DMPMJob {
|
|||
***REMOVED***
|
||||
|
||||
|
||||
public String start(){
|
||||
public String start()
|
||||
{
|
||||
setStatusInformation(STATUS.PROGRESS);
|
||||
|
||||
new Thread(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
|
@ -180,7 +183,7 @@ public abstract class DMPMJob {
|
|||
else if (ret == 0)
|
||||
{
|
||||
this.logger.debug("Operation completed");
|
||||
this.setStatusInformation(STATUS.PROGRESS);
|
||||
***REMOVED***this.setStatusInformation(STATUS.PROGRESS);
|
||||
this.logger.debug("Checking the method...");
|
||||
|
||||
if (methodChecker.checkMethod(this.configuration.getHost(), SecurityTokenProvider.instance.get())&&(methodChecker.algoExists(this.algorithm)))
|
||||
|
|
Loading…
Reference in New Issue