git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-analysis/dataminer-pool-manager@146977 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
871d3af41d
commit
6741085c75
|
@ -62,12 +62,13 @@ public class ISClient {
|
||||||
h.setName("dataminer1-devnext.d4science.org");
|
h.setName("dataminer1-devnext.d4science.org");
|
||||||
return h;
|
return h;
|
||||||
***REMOVED*** else {
|
***REMOVED*** else {
|
||||||
SimpleQuery query = queryFor(ServiceEndpoint.class);
|
***REMOVED***SimpleQuery query = queryFor(ServiceEndpoint.class);
|
||||||
query.addCondition("$resource/Profile/RunTime/HostedOn/text() eq '" + hostname + "'");
|
***REMOVED***query.addCondition("$resource/Profile/RunTime/HostedOn/text() eq '" + hostname + "'");
|
||||||
DiscoveryClient<ServiceEndpoint> client = clientFor(ServiceEndpoint.class);
|
***REMOVED***DiscoveryClient<ServiceEndpoint> client = clientFor(ServiceEndpoint.class);
|
||||||
List<ServiceEndpoint> resources = client.submit(query);
|
***REMOVED***List<ServiceEndpoint> resources = client.submit(query);
|
||||||
ServiceEndpoint a = resources.get(0);
|
***REMOVED***ServiceEndpoint a = resources.get(0);
|
||||||
h.setName(a.profile().runtime().hostedOn());
|
***REMOVED***h.setName(a.profile().runtime().hostedOn());
|
||||||
|
h.setName(hostname);
|
||||||
***REMOVED***
|
***REMOVED***
|
||||||
return h;
|
return h;
|
||||||
***REMOVED***
|
***REMOVED***
|
||||||
|
@ -173,7 +174,7 @@ public class ISClient {
|
||||||
***REMOVED*** list.add(aa);
|
***REMOVED*** list.add(aa);
|
||||||
|
|
||||||
***REMOVED*** a.checkSVNdep();
|
***REMOVED*** a.checkSVNdep();
|
||||||
***REMOVED*** System.out.println(a.getDataminer("dataminer1-devnext.d4science.org").getDomain());
|
System.out.println(a.getDataminer("dataminer1-d-d4s.d4science.org").getDomain());
|
||||||
***REMOVED*** System.out.println(a.listDataminersInVRE());
|
***REMOVED*** System.out.println(a.listDataminersInVRE());
|
||||||
***REMOVED***
|
***REMOVED***
|
||||||
***REMOVED***
|
***REMOVED***
|
||||||
|
|
Loading…
Reference in New Issue