This commit is contained in:
Paolo Fabriani 2016-11-17 14:32:22 +00:00
parent e4d7bcc783
commit 10f75ad337
1 changed files with 13 additions and 0 deletions

View File

@ -114,6 +114,19 @@ public class DataminerPoolManager ***REMOVED***
***REMOVED***
public void addAlgorithmsToVRE(AlgorithmSet algorithms, String vre) throws IOException ***REMOVED***
***REMOVED*** create the cluster (dataminers in the vre)
Cluster cluster = new Cluster();
for(Host h:new ISClient().listDataminersInVRE(vre)) ***REMOVED***
cluster.addHost(h);
***REMOVED***
***REMOVED*** apply the changes
new AnsibleBridge().applyAlgorithmSetToCluster(algorithms, cluster);
***REMOVED***
***REMOVED*** private void updateClusters() ***REMOVED***
***REMOVED*** System.out.println("flushing changes to all clusters");
***REMOVED*** ***REMOVED***