diff --git a/src/main/java/org/gcube/informationsystem/resourceregistry/client/proxy/ResourceRegistryCall.java b/src/main/java/org/gcube/informationsystem/resourceregistry/client/proxy/ResourceRegistryClientCall.java similarity index 86% rename from src/main/java/org/gcube/informationsystem/resourceregistry/client/proxy/ResourceRegistryCall.java rename to src/main/java/org/gcube/informationsystem/resourceregistry/client/proxy/ResourceRegistryClientCall.java index 95ea9b2..75c599a 100644 --- a/src/main/java/org/gcube/informationsystem/resourceregistry/client/proxy/ResourceRegistryCall.java +++ b/src/main/java/org/gcube/informationsystem/resourceregistry/client/proxy/ResourceRegistryClientCall.java @@ -8,12 +8,12 @@ import javax.xml.ws.EndpointReference; import org.gcube.common.clients.Call; import org.gcube.informationsystem.resourceregistry.api.rest.httputils.HTTPCall; -public class ResourceRegistryCall implements Call { +public class ResourceRegistryClientCall implements Call { protected final Class clazz; protected final HTTPCall httpCall; - public ResourceRegistryCall(Class clazz, HTTPCall httpCall) { + public ResourceRegistryClientCall(Class clazz, HTTPCall httpCall) { this.clazz = clazz; this.httpCall = httpCall; } diff --git a/src/main/java/org/gcube/informationsystem/resourceregistry/client/proxy/ResourceRegistryClientImpl.java b/src/main/java/org/gcube/informationsystem/resourceregistry/client/proxy/ResourceRegistryClientImpl.java index 8a9dca5..b64702a 100644 --- a/src/main/java/org/gcube/informationsystem/resourceregistry/client/proxy/ResourceRegistryClientImpl.java +++ b/src/main/java/org/gcube/informationsystem/resourceregistry/client/proxy/ResourceRegistryClientImpl.java @@ -67,7 +67,7 @@ public class ResourceRegistryClientImpl implements ResourceRegistryClient { HTTPCall httpCall = new HTTPCall<>(stringWriter.toString(), HTTPMETHOD.GET, null); - ResourceRegistryCall call = new ResourceRegistryCall<>( + ResourceRegistryClientCall call = new ResourceRegistryClientCall<>( clazz, httpCall); ERType erType = delegate.make(call); @@ -100,7 +100,7 @@ public class ResourceRegistryClientImpl implements ResourceRegistryClient { HTTPCall httpCall = new HTTPCall<>(stringWriter.toString(), HTTPMETHOD.GET, parameters); - ResourceRegistryCall call = new ResourceRegistryCall<>( + ResourceRegistryClientCall call = new ResourceRegistryClientCall<>( String.class, httpCall); String ret = delegate.make(call); @@ -138,7 +138,7 @@ public class ResourceRegistryClientImpl implements ResourceRegistryClient { HTTPCall httpCall = new HTTPCall<>(stringWriter.toString(), HTTPMETHOD.GET, parameters); - ResourceRegistryCall call = new ResourceRegistryCall<>( + ResourceRegistryClientCall call = new ResourceRegistryClientCall<>( String.class, httpCall); String ret = delegate.make(call); @@ -175,7 +175,7 @@ public class ResourceRegistryClientImpl implements ResourceRegistryClient { HTTPCall httpCall = new HTTPCall<>(stringWriter.toString(), HTTPMETHOD.GET, parameters); - ResourceRegistryCall call = new ResourceRegistryCall<>( + ResourceRegistryClientCall call = new ResourceRegistryClientCall<>( String.class, httpCall); String schema = delegate.make(call); logger.info("Got schema for {} is {}", type, schema);