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
0f98fe90b9
commit
fbaf826b96
|
@ -62,12 +62,13 @@ public class ISClient ***REMOVED***
|
|||
h.setName("dataminer1-devnext.d4science.org");
|
||||
return h;
|
||||
***REMOVED*** else ***REMOVED***
|
||||
SimpleQuery query = queryFor(ServiceEndpoint.class);
|
||||
query.addCondition("$resource/Profile/RunTime/HostedOn/text() eq '" + hostname + "'");
|
||||
DiscoveryClient<ServiceEndpoint> client = clientFor(ServiceEndpoint.class);
|
||||
List<ServiceEndpoint> resources = client.submit(query);
|
||||
ServiceEndpoint a = resources.get(0);
|
||||
h.setName(a.profile().runtime().hostedOn());
|
||||
***REMOVED***SimpleQuery query = queryFor(ServiceEndpoint.class);
|
||||
***REMOVED***query.addCondition("$resource/Profile/RunTime/HostedOn/text() eq '" + hostname + "'");
|
||||
***REMOVED***DiscoveryClient<ServiceEndpoint> client = clientFor(ServiceEndpoint.class);
|
||||
***REMOVED***List<ServiceEndpoint> resources = client.submit(query);
|
||||
***REMOVED***ServiceEndpoint a = resources.get(0);
|
||||
***REMOVED***h.setName(a.profile().runtime().hostedOn());
|
||||
h.setName(hostname);
|
||||
***REMOVED***
|
||||
return h;
|
||||
***REMOVED***
|
||||
|
@ -173,7 +174,7 @@ public class ISClient ***REMOVED***
|
|||
***REMOVED*** list.add(aa);
|
||||
|
||||
***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***
|
||||
***REMOVED***
|
||||
|
|
Loading…
Reference in New Issue