This commit is contained in:
Paolo Fabriani 2016-11-17 14:32:56 +00:00
parent c0d6c5d286
commit caec5bdf5d
1 changed files with 2 additions and 10 deletions

View File

@ -102,16 +102,8 @@ public class DataminerPoolManager {
AlgorithmSet algoSet = new AlgorithmSet();
algoSet.setName("fake");
algoSet.addAlgorithm(algorithm);
// create the cluster (dataminers in the vre)
Cluster cluster = new Cluster();
for(Host h:new ISClient().listDataminersInVRE(vre)) {
cluster.addHost(h);
}
// apply the changes
new AnsibleBridge().applyAlgorithmSetToCluster(algoSet, cluster);
this.addAlgorithmsToVRE(algoSet, vre);
}
public void addAlgorithmsToVRE(AlgorithmSet algorithms, String vre) throws IOException {