package org.gcube.dataanalysis.dataminerpoolmanager;

***REMOVED***

***REMOVED***
***REMOVED***
***REMOVED***
import org.gcube.dataanalysis.dataminer.poolmanager.util.SVNUpdater;
***REMOVED***

public class JobTest ***REMOVED***
	
	public static void main(String[] args) throws SVNException, IOException, InterruptedException***REMOVED***
		
		ScopeProvider.instance.set("/d4science.research-infrastructures.eu/gCubeApps/RPrototypingLab");

		SVNUpdater svnUpdater = new SVNUpdater();
		Algorithm algo = AlgorithmBuilder.create("http:***REMOVED***data.d4science.org/dENQTTMxdjNZcGRpK0NHd2pvU0owMFFzN0VWemw3Zy9HbWJQNStIS0N6Yz0");
		
		***REMOVED***test phase
		***REMOVED***Cluster stagingCluster = ClusterBuilder.getStagingDataminerCluster();
		***REMOVED***Cluster rProtoCluster = ClusterBuilder.getRProtoCluster();		
		***REMOVED***DMPMJob job = new StagingJob(svnUpdater, algo, stagingCluster, /*rProtoCluster,*/ ScopeProvider.instance.get());
		***REMOVED***job.start();
		
		***REMOVED***release phase
		***REMOVED***Cluster prodCluster = ClusterBuilder.getVRECluster(targetVREToken, targetVRE);		
		***REMOVED***DMPMJob job2 = new ProductionPublishingJob(svnUpdater, algo, prodCluster);	
		***REMOVED***job2.start();
		
***REMOVED***

***REMOVED***
