Fixing REST path
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-api@131071 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
f9ed671a35
commit
bcc1283751
|
@ -1,26 +0,0 @@
|
||||||
/**
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
package org.gcube.informationsystem.resourceregistry;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
|
|
||||||
*/
|
|
||||||
public class AccessRESTPath {
|
|
||||||
|
|
||||||
public static final String ACCESS_PATH_PART = "access";
|
|
||||||
|
|
||||||
public static final String QUERY_PARAM = "query";
|
|
||||||
public static final String FETCH_PLAN_PARAM = "fetchPlan";
|
|
||||||
|
|
||||||
public static final String FACET_SCHEMA_PATH_PART = "facetSchema";
|
|
||||||
public static final String FACET_INSTANCE_PATH_PART = "facetInstance";
|
|
||||||
public static final String FACET_ID_PATH_PART = "facetId";
|
|
||||||
public static final String FACET_TYPE_PATH_PART = "facetType";
|
|
||||||
|
|
||||||
public static final String RESOURCE_SCHEMA_PATH_PART = "resourceSchema";
|
|
||||||
public static final String RESOURCE_INSTANCE_PATH_PART = "resourceInstance";
|
|
||||||
public static final String RESOURCE_ID_PATH_PART = "resourceId";
|
|
||||||
public static final String RESOURCE_TYPE_PATH_PART = "resourceType";
|
|
||||||
|
|
||||||
}
|
|
|
@ -0,0 +1,22 @@
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
package org.gcube.informationsystem.resourceregistry.api.rest;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
|
||||||
|
*/
|
||||||
|
public class AccessPath {
|
||||||
|
|
||||||
|
public static final String ACCESS_PATH_PART = "access";
|
||||||
|
|
||||||
|
public static final String QUERY_PARAM = "query";
|
||||||
|
public static final String FETCH_PLAN_PARAM = "fetchPlan";
|
||||||
|
|
||||||
|
public static final String FACET_PATH_PART = "facet";
|
||||||
|
public static final String RESOURCE_PATH_PART = "resource";
|
||||||
|
|
||||||
|
public static final String SCHEMA_PATH_PART = "schema";
|
||||||
|
public static final String INSTANCE_PATH_PART = "instance";
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,22 @@
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
package org.gcube.informationsystem.resourceregistry.api.rest;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
|
||||||
|
*/
|
||||||
|
public class ContextPath {
|
||||||
|
|
||||||
|
public static final String CONTEXT_PATH_PART = "context";
|
||||||
|
|
||||||
|
public static final String RENAME_PATH_PART = "rename";
|
||||||
|
public static final String MOVE_PATH_PART = "move";
|
||||||
|
|
||||||
|
|
||||||
|
public static final String PARENT_CONTEXT_ID_PARAM = "parentContextId";
|
||||||
|
public static final String CONTEXT_ID_PARAM = "contextId";
|
||||||
|
public static final String NAME_PARAM = "name";
|
||||||
|
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,24 @@
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
package org.gcube.informationsystem.resourceregistry.api.rest;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
|
||||||
|
*/
|
||||||
|
public class EntityPath {
|
||||||
|
|
||||||
|
public static final String ENTITY_PATH_PART = "entity";
|
||||||
|
|
||||||
|
public static final String FACET_PATH_PART = "facet";
|
||||||
|
public static final String RESOURCE_PATH_PART = "resource";
|
||||||
|
|
||||||
|
public static final String DEFINITION_PARAM = "definition";
|
||||||
|
|
||||||
|
public static final String CONSIST_OF_PATH_PART = "consistOf";
|
||||||
|
public static final String RELATED_TO_PATH_PART = "relatedTo";
|
||||||
|
|
||||||
|
public static final String SOURCE_PATH_PART = "source";
|
||||||
|
public static final String TARGET_PATH_PART = "target";
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,22 @@
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
package org.gcube.informationsystem.resourceregistry.api.rest;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Luca Frosini (ISTI - CNR) http://www.lucafrosini.com/
|
||||||
|
*/
|
||||||
|
public class SchemaPath {
|
||||||
|
|
||||||
|
public static final String SCHEMA_PATH_PART = "schema";
|
||||||
|
|
||||||
|
public static final String FACET_PATH_PART = "facet";
|
||||||
|
public static final String RESOURCE_PATH_PART = "resource";
|
||||||
|
|
||||||
|
public static final String EMBEDDED_PATH_PART = "embedded";
|
||||||
|
|
||||||
|
public static final String SCHEMA_PARAM = "schema";
|
||||||
|
|
||||||
|
public static final String CONSIST_OF_PATH_PART = "consistOf";
|
||||||
|
public static final String RELATED_TO_PATH_PART = "relatedTo";
|
||||||
|
}
|
Loading…
Reference in New Issue