Feature/24026 #3
|
@ -53,7 +53,6 @@ import org.tmatesoft.svn.core.wc.SVNWCUtil;
|
|||
|
||||
public class ISClient {
|
||||
|
||||
***REMOVED***
|
||||
|
||||
public Host getDataminer(String hostname) {
|
||||
Host h = new Host();
|
||||
|
@ -77,7 +76,7 @@ public class ISClient {
|
|||
public static String getHProxy() {
|
||||
Host h = new Host();
|
||||
SimpleQuery query = queryFor(ServiceEndpoint.class);
|
||||
query.addCondition("$resource/Profile/Platform/Name/text() eq 'DataMiner'");
|
||||
query.addCondition("$resource/Profile/Name/text() eq 'DataMiner'");
|
||||
DiscoveryClient<ServiceEndpoint> client = clientFor(ServiceEndpoint.class);
|
||||
List<ServiceEndpoint> resources = client.submit(query);
|
||||
h.setName(resources.get(0).profile().runtime().hostedOn());
|
||||
|
|
|
@ -227,6 +227,8 @@ public class RestPoolManager implements PoolManager {
|
|||
return service.addAlgorithmToVRE(algo, ScopeProvider.instance.get());
|
||||
***REMOVED***
|
||||
|
||||
|
||||
|
||||
@GET
|
||||
@Path("/hosts/add")
|
||||
@Produces("text/plain")
|
||||
|
|
Loading…
Reference in New Issue