Fixed access rest path
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@144258 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
26cde724ad
commit
4b89424f70
|
@ -109,7 +109,7 @@ public class Access {
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings({ "rawtypes" })
|
@SuppressWarnings({ "rawtypes" })
|
||||||
@GET
|
@GET
|
||||||
@Path(AccessPath.INSTANCES_PATH_PART + "{" + TYPE_PATH_PARAM + "}")
|
@Path(AccessPath.INSTANCES_PATH_PART + "/" + "{" + TYPE_PATH_PARAM + "}")
|
||||||
@Produces(MediaType.APPLICATION_JSON)
|
@Produces(MediaType.APPLICATION_JSON)
|
||||||
public String getInstances(@PathParam(TYPE_PATH_PARAM) String type,
|
public String getInstances(@PathParam(TYPE_PATH_PARAM) String type,
|
||||||
@QueryParam(AccessPath.POLYMORPHIC_PARAM) Boolean polymorphic,
|
@QueryParam(AccessPath.POLYMORPHIC_PARAM) Boolean polymorphic,
|
||||||
|
@ -166,7 +166,7 @@ public class Access {
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* e.g. GET /resource-registry/access/schema/ContactFacet? polymorphic=true
|
* e.g. GET /resource-registry/access/schema/ContactFacet?polymorphic=true
|
||||||
*/
|
*/
|
||||||
@GET
|
@GET
|
||||||
@Path(AccessPath.SCHEMA_PATH_PART + "/{" + TYPE_PATH_PARAM + "}")
|
@Path(AccessPath.SCHEMA_PATH_PART + "/{" + TYPE_PATH_PARAM + "}")
|
||||||
|
|
Loading…
Reference in New Issue