diff --git a/src/main/java/org/gcube/informationsystem/resourceregistry/api/rest/AccessPath.java b/src/main/java/org/gcube/informationsystem/resourceregistry/api/rest/AccessPath.java index ca4e1d8..86de130 100644 --- a/src/main/java/org/gcube/informationsystem/resourceregistry/api/rest/AccessPath.java +++ b/src/main/java/org/gcube/informationsystem/resourceregistry/api/rest/AccessPath.java @@ -1,6 +1,3 @@ -/** - * - */ package org.gcube.informationsystem.resourceregistry.api.rest; /** @@ -8,8 +5,11 @@ package org.gcube.informationsystem.resourceregistry.api.rest; */ public class AccessPath { - public static final String ACCESS_PATH_PART = "access"; + public static final String TYPE_PATH_PARAM = "TYPE_NAME"; + public static final String UUID_PATH_PARAM = "UUID"; + public static final String CONTEXT_UUID_PATH_PARAM = "CONTEXT_UUID"; + public static final String ACCESS_PATH_PART = "access"; public static final String CONTEXTS_PATH_PART = ContextPath.CONTEXTS_PATH_PART; public static final String TYPES_PATH_PART = TypePath.TYPES_PATH_PART; public static final String INSTANCES_PATH_PART = InstancePath.INSTANCES_PATH_PART; @@ -22,18 +22,13 @@ public class AccessPath { public static final int UNBOUNDED = -1; public static final int DEFAULT_LIMIT = 20; - - public static final String POLYMORPHIC_PARAM = "polymorphic"; - - @Deprecated - public static final String REFERENCE = "reference"; - public static final String DIRECTION = "direction"; + @Deprecated + public static final String REFERENCE = "reference"; @Deprecated public static final String RESOURCE_INSTANCES_PATH_PART = "resourceInstances"; - @Deprecated public static final String RELATION_TYPE_PATH_PART = "relationType"; @Deprecated diff --git a/src/main/java/org/gcube/informationsystem/resourceregistry/api/rest/InstancePath.java b/src/main/java/org/gcube/informationsystem/resourceregistry/api/rest/InstancePath.java index 056d2ca..17815bd 100644 --- a/src/main/java/org/gcube/informationsystem/resourceregistry/api/rest/InstancePath.java +++ b/src/main/java/org/gcube/informationsystem/resourceregistry/api/rest/InstancePath.java @@ -4,5 +4,6 @@ public class InstancePath { public static final String INSTANCES_PATH_PART = "instances"; + public static final String POLYMORPHIC_PARAM = AccessPath.POLYMORPHIC_PARAM; } 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 2d552c8..3af6888 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 @@ -4,6 +4,4 @@ public class SharingPath { public static final String SHARING_PATH_PART = "sharing"; - - }