git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-analysis/dataminer-pool-manager@134324 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
2431bdce34
commit
c0d6c5d286
|
@ -114,6 +114,19 @@ public class DataminerPoolManager {
|
|||
|
||||
}
|
||||
|
||||
public void addAlgorithmsToVRE(AlgorithmSet algorithms, String vre) throws IOException {
|
||||
|
||||
// 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(algorithms, cluster);
|
||||
|
||||
}
|
||||
|
||||
// private void updateClusters() {
|
||||
// System.out.println("flushing changes to all clusters");
|
||||
// }
|
||||
|
|
Loading…
Reference in New Issue