Refs #11288: Made resource-registry more RESTful

Task-Url: https://support.d4science.org/issues/11288

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@168973 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2018-06-08 07:30:02 +00:00
parent 05f791deea
commit 825ba3adba
3 changed files with 7 additions and 13 deletions

View File

@ -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

View File

@ -4,5 +4,6 @@ public class InstancePath {
public static final String INSTANCES_PATH_PART = "instances";
public static final String POLYMORPHIC_PARAM = AccessPath.POLYMORPHIC_PARAM;
}

View File

@ -4,6 +4,4 @@ public class SharingPath {
public static final String SHARING_PATH_PART = "sharing";
}