TODO remove gCoreEndpoints.size()
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-access/gcube-geoserver-connector@149219 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
6c2c585958
commit
619412b1f4
|
@ -163,7 +163,8 @@ public class GeoServerConnectorRequestHandler extends RequestHandler {
|
|||
|
||||
List<GCoreEndpoint> gCoreEndpoints = client.submit(query);
|
||||
|
||||
if (gCoreEndpoints.size() > 1) {
|
||||
if (gCoreEndpoints.size() > 1) {
|
||||
//TODO remove gCoreEndpoints.size() and use the first (only) item
|
||||
System.out.println("******************************* SIZE = " + gCoreEndpoints.size());
|
||||
GCoreEndpoint gCoreEndpoint = gCoreEndpoints.get(gCoreEndpoints.size() - 1);
|
||||
return gCoreEndpoint.profile().endpointMap().get("org.gcube.spatial.data.sdi.SDIService").uri().toString();
|
||||
|
|
Loading…
Reference in New Issue