Feature/24026 #3

Merged
giancarlo.panichi merged 194 commits from Feature/24026 into master 2023-11-09 19:12:54 +01:00
1 changed files with 10 additions and 6 deletions
Showing only changes of commit 63a918f442 - Show all commits

View File

@ -38,6 +38,7 @@ public class DataminerPoolManager {
public DataminerPoolManager(){
try {
***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) {
@ -49,10 +50,8 @@ public class DataminerPoolManager {
public String stageAlgorithm(Algorithm algo) throws IOException, InterruptedException {
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***
private String getStagingDataminerHostname(){
return null;
private Cluster getStagingDataminerCluster(){
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 {