From 97535bbbae3849bdd810626285453cb6ca156b59 Mon Sep 17 00:00:00 2001 From: Luca Frosini Date: Thu, 1 Sep 2016 15:11:51 +0000 Subject: [PATCH] Fixing REST path git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-client@131073 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../client/proxy/ResourceRegistryClient.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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());