Added force to context facility
This commit is contained in:
parent
7ebebdda11
commit
824e2eabf3
|
@ -782,6 +782,8 @@ public class ResourceRegistryPublisherImpl implements ResourceRegistryPublisher
|
|||
Map<String, String> queryParams = new HashMap<>();
|
||||
queryParams.put(SharingPath.OPERATION_QUERY_PARAMETER, SharingOperation.ADD.name());
|
||||
queryParams.put(SharingPath.DRY_RUN_QUERY_PARAMETER, dryRun.toString());
|
||||
Boolean forceAddToContext = getCurrentContextUUID().compareTo(contextUUID)==0;
|
||||
queryParams.put(SharingPath.FORCE_ADD_TO_CONTEXT_QUERY_PARAMETER, forceAddToContext.toString());
|
||||
|
||||
includeAdditionalQueryParameters(gxHTTPStringRequest, queryParams);
|
||||
|
||||
|
|
Loading…
Reference in New Issue