refactoring (part 3)
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-analysis/dataminer-pool-manager@148427 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
057dc2c4d6
commit
c2a950931a
|
@ -38,6 +38,7 @@ public class DataminerPoolManager ***REMOVED***
|
|||
|
||||
public DataminerPoolManager()***REMOVED***
|
||||
try ***REMOVED***
|
||||
***REMOVED***TODO: read this from configuration
|
||||
this.svnUpdater = new SVNUpdater(
|
||||
"https:***REMOVED***svn.d4science.research-infrastructures.eu/gcube/trunk/data-analysis/RConfiguration/RPackagesManagement/");
|
||||
***REMOVED*** catch (SVNException e) ***REMOVED***
|
||||
|
@ -49,10 +50,8 @@ public class DataminerPoolManager ***REMOVED***
|
|||
|
||||
***REMOVED***Algorithm algo) throws IOException, InterruptedException ***REMOVED***
|
||||
|
||||
Cluster cluster = new Cluster();
|
||||
Host h = new Host();
|
||||
h.setName(getStagingDataminerHostname());
|
||||
cluster.addHost(h);
|
||||
|
||||
Cluster cluster = getStagingDataminerCluster();
|
||||
|
||||
***REMOVED***Assumes the service is running in RPrototypingLab
|
||||
String token = SecurityTokenProvider.instance.get();
|
||||
|
@ -70,8 +69,13 @@ public class DataminerPoolManager ***REMOVED***
|
|||
***REMOVED***
|
||||
|
||||
|
||||
private String getStagingDataminerHostname()***REMOVED***
|
||||
***REMOVED***
|
||||
private Cluster getStagingDataminerCluster()***REMOVED***
|
||||
Cluster cluster = new Cluster();
|
||||
Host h = new Host();
|
||||
***REMOVED***TODO: read this from configuration
|
||||
h.setName("test");
|
||||
cluster.addHost(h);
|
||||
return cluster;
|
||||
***REMOVED***
|
||||
|
||||
private void updateSVNDependencies(Algorithm algo, boolean stagingVRE) throws IOException, SVNException ***REMOVED***
|
||||
|
|
Loading…
Reference in New Issue