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 8d9de60..aadfc8d 100644 --- a/src/main/java/org/gcube/informationsystem/resourceregistry/client/ResourceRegistryClientImpl.java +++ b/src/main/java/org/gcube/informationsystem/resourceregistry/client/ResourceRegistryClientImpl.java @@ -322,7 +322,7 @@ public class ResourceRegistryClientImpl implements ResourceRegistryClient { stringWriter.append(PATH_SEPARATOR); stringWriter.append(AccessPath.ACCESS_PATH_PART); stringWriter.append(PATH_SEPARATOR); - stringWriter.append(AccessPath.CONTEXT_PATH_PART); + stringWriter.append(AccessPath.CONTEXTS_PATH_PART); stringWriter.append(PATH_SEPARATOR); stringWriter.append(uuid.toString()); @@ -352,9 +352,7 @@ public class ResourceRegistryClientImpl implements ResourceRegistryClient { stringWriter.append(PATH_SEPARATOR); stringWriter.append(AccessPath.ACCESS_PATH_PART); stringWriter.append(PATH_SEPARATOR); - stringWriter.append(AccessPath.CONTEXT_PATH_PART); - stringWriter.append(PATH_SEPARATOR); - stringWriter.append(AccessPath.ALL_PATH_PART); + stringWriter.append(AccessPath.CONTEXTS_PATH_PART); HTTPCall httpCall = getHTTPCall(); String ret = httpCall.call(String.class, stringWriter.toString(), HTTPMETHOD.GET);