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

View File

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