From fd7948bd7c780690f3b6c367f9e9c6d72f928149 Mon Sep 17 00:00:00 2001 From: Luca Frosini Date: Mon, 15 May 2023 16:49:19 +0200 Subject: [PATCH] Fixed sent parameters --- .../publisher/ResourceRegistryPublisherImpl.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/org/gcube/informationsystem/resourceregistry/publisher/ResourceRegistryPublisherImpl.java b/src/main/java/org/gcube/informationsystem/resourceregistry/publisher/ResourceRegistryPublisherImpl.java index 94c1518..0e77fdc 100644 --- a/src/main/java/org/gcube/informationsystem/resourceregistry/publisher/ResourceRegistryPublisherImpl.java +++ b/src/main/java/org/gcube/informationsystem/resourceregistry/publisher/ResourceRegistryPublisherImpl.java @@ -235,7 +235,6 @@ public class ResourceRegistryPublisherImpl implements ResourceRegistryPublisher Map parameters = new HashMap<>(); addIncludeMeta(parameters); - addIncludeAllMeta(parameters); gxHTTPStringRequest.queryParams(parameters); HttpURLConnection httpURLConnection = gxHTTPStringRequest.get(); @@ -285,7 +284,6 @@ public class ResourceRegistryPublisherImpl implements ResourceRegistryPublisher Map parameters = new HashMap<>(); addIncludeMeta(parameters); - addIncludeAllMeta(parameters); gxHTTPStringRequest.queryParams(parameters); HttpURLConnection httpURLConnection = gxHTTPStringRequest.get(); @@ -313,7 +311,7 @@ public class ResourceRegistryPublisherImpl implements ResourceRegistryPublisher context = getContextFromServer(uuid.toString()); contextCache.cleanCache(); contextCache.refreshContextsIfNeeded(); - Context c = contextCache.getContextByUUID(context.getID()); + Context c = contextCache.getContextByUUID(uuid); if (c != null) { context = c; } else {