diff --git a/src/main/java/org/gcube/informationsystem/resourceregistry/client/proxy/ResourceRegistryClient.java b/src/main/java/org/gcube/informationsystem/resourceregistry/client/proxy/ResourceRegistryClient.java index 7a4279b..ad4bc80 100644 --- a/src/main/java/org/gcube/informationsystem/resourceregistry/client/proxy/ResourceRegistryClient.java +++ b/src/main/java/org/gcube/informationsystem/resourceregistry/client/proxy/ResourceRegistryClient.java @@ -18,8 +18,8 @@ import org.gcube.common.clients.GCubeEndpoint; import org.gcube.common.clients.delegates.AsyncProxyDelegate; import org.gcube.common.clients.delegates.ProxyDelegate; import org.gcube.common.clients.exceptions.ServiceException; -import org.gcube.informationsystem.resourceregistry.AccessRESTPath; import org.gcube.informationsystem.resourceregistry.api.exceptions.InvalidQueryException; +import org.gcube.informationsystem.resourceregistry.api.rest.AccessPath; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -63,14 +63,14 @@ public class ResourceRegistryClient { public String call(GCubeEndpoint endpoint) throws Exception { StringBuilder callUrl = new StringBuilder(endpoint.getAddress()); - callUrl.append("/").append(AccessRESTPath.ACCESS_PATH_PART) + callUrl.append("/").append(AccessPath.ACCESS_PATH_PART) .append("/"); - appendQueryParameter(callUrl, AccessRESTPath.QUERY_PARAM, query); + appendQueryParameter(callUrl, AccessPath.QUERY_PARAM, query); if (fetchPlan != null) { appendQueryParameter(callUrl, - AccessRESTPath.FETCH_PLAN_PARAM, fetchPlan); + AccessPath.FETCH_PLAN_PARAM, fetchPlan); } URL url = new URL(callUrl.toString());