From cd6ee14b743aa6f78e9d14927d9b7151d2269668 Mon Sep 17 00:00:00 2001 From: Luca Frosini Date: Thu, 7 Dec 2017 16:32:14 +0000 Subject: [PATCH] Added missing constant for Access port type to get all contexts git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@160196 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../resourceregistry/client/ResourceRegistryClientImpl.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/org/gcube/informationsystem/resourceregistry/client/ResourceRegistryClientImpl.java b/src/main/java/org/gcube/informationsystem/resourceregistry/client/ResourceRegistryClientImpl.java index 16d47c7..8d9de60 100644 --- a/src/main/java/org/gcube/informationsystem/resourceregistry/client/ResourceRegistryClientImpl.java +++ b/src/main/java/org/gcube/informationsystem/resourceregistry/client/ResourceRegistryClientImpl.java @@ -22,7 +22,6 @@ import org.gcube.informationsystem.resourceregistry.api.exceptions.er.ERNotFound import org.gcube.informationsystem.resourceregistry.api.exceptions.query.InvalidQueryException; import org.gcube.informationsystem.resourceregistry.api.exceptions.schema.SchemaNotFoundException; import org.gcube.informationsystem.resourceregistry.api.rest.AccessPath; -import org.gcube.informationsystem.resourceregistry.api.rest.ContextPath; import org.gcube.informationsystem.resourceregistry.api.rest.httputils.HTTPCall; import org.gcube.informationsystem.resourceregistry.api.rest.httputils.HTTPCall.HTTPMETHOD; import org.gcube.informationsystem.resourceregistry.api.utils.Utility; @@ -355,7 +354,7 @@ public class ResourceRegistryClientImpl implements ResourceRegistryClient { stringWriter.append(PATH_SEPARATOR); stringWriter.append(AccessPath.CONTEXT_PATH_PART); stringWriter.append(PATH_SEPARATOR); - stringWriter.append(ContextPath.ALL_PATH_PART); + stringWriter.append(AccessPath.ALL_PATH_PART); HTTPCall httpCall = getHTTPCall(); String ret = httpCall.call(String.class, stringWriter.toString(), HTTPMETHOD.GET);