Fixed sent parameters

This commit is contained in:
Luca Frosini 2023-05-15 16:49:19 +02:00
parent 64ec6c94d5
commit fd7948bd7c
1 changed files with 1 additions and 3 deletions

View File

@ -235,7 +235,6 @@ public class ResourceRegistryPublisherImpl implements ResourceRegistryPublisher
Map<String,String> parameters = new HashMap<>();
addIncludeMeta(parameters);
addIncludeAllMeta(parameters);
gxHTTPStringRequest.queryParams(parameters);
HttpURLConnection httpURLConnection = gxHTTPStringRequest.get();
@ -285,7 +284,6 @@ public class ResourceRegistryPublisherImpl implements ResourceRegistryPublisher
Map<String,String> 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 {