From 0e67832e24cf54dff8eee125ffce243a27f94918 Mon Sep 17 00:00:00 2001 From: Luca Frosini Date: Wed, 8 Jun 2022 16:04:35 +0200 Subject: [PATCH] Added a way to force add to context --- .../resourceregistry/api/rest/SharingPath.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/org/gcube/informationsystem/resourceregistry/api/rest/SharingPath.java b/src/main/java/org/gcube/informationsystem/resourceregistry/api/rest/SharingPath.java index 23b5cf4..a507202 100644 --- a/src/main/java/org/gcube/informationsystem/resourceregistry/api/rest/SharingPath.java +++ b/src/main/java/org/gcube/informationsystem/resourceregistry/api/rest/SharingPath.java @@ -14,5 +14,11 @@ public class SharingPath { } public static final String DRY_RUN_QUERY_PARAMETER = "dryRun"; + + /** + * Used to add a resource to a context independently from the source + * context. + */ + public static final String FORCE_ADD_TO_CONTEXT_QUERY_PARAMETER = "forceAddToContext"; }