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@169013 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
32b5499b2e
commit
2925ef950a
|
@ -315,13 +315,13 @@ public class Access {
|
||||||
public String getAllResourcesHavingFacet(@PathParam(AccessPath.RESOURCE_TYPE_PATH_PART) String resourcetype,
|
public String getAllResourcesHavingFacet(@PathParam(AccessPath.RESOURCE_TYPE_PATH_PART) String resourcetype,
|
||||||
@PathParam(AccessPath.RELATION_TYPE_PATH_PART) String relationType,
|
@PathParam(AccessPath.RELATION_TYPE_PATH_PART) String relationType,
|
||||||
@PathParam(AccessPath.REFERENCE_TYPE_PATH_PART) String referenceType,
|
@PathParam(AccessPath.REFERENCE_TYPE_PATH_PART) String referenceType,
|
||||||
@QueryParam(AccessPath.REFERENCE) String reference,
|
@QueryParam(AccessPath.REFERENCE_PARAM) String reference,
|
||||||
@QueryParam(AccessPath.POLYMORPHIC_PARAM) @DefaultValue("false") Boolean polymorphic,
|
@QueryParam(AccessPath.POLYMORPHIC_PARAM) @DefaultValue("false") Boolean polymorphic,
|
||||||
@QueryParam(AccessPath.DIRECTION) @DefaultValue("out") String direction,
|
@QueryParam(AccessPath.DIRECTION_PARAM) @DefaultValue("out") String direction,
|
||||||
@Context UriInfo uriInfo) throws ResourceRegistryException {
|
@Context UriInfo uriInfo) throws ResourceRegistryException {
|
||||||
|
|
||||||
logger.info("Requested {} instances having a(n) {} ({}={}} with {} ({}={})", resourcetype, relationType,
|
logger.info("Requested {} instances having a(n) {} ({}={}} with {} ({}={})", resourcetype, relationType,
|
||||||
AccessPath.DIRECTION, direction, referenceType, AccessPath.POLYMORPHIC_PARAM, polymorphic);
|
AccessPath.DIRECTION_PARAM, direction, referenceType, AccessPath.POLYMORPHIC_PARAM, polymorphic);
|
||||||
|
|
||||||
List<String> pathValues = new ArrayList<>();
|
List<String> pathValues = new ArrayList<>();
|
||||||
pathValues.add(AccessPath.QUERY_PATH_PART);
|
pathValues.add(AccessPath.QUERY_PATH_PART);
|
||||||
|
|
Loading…
Reference in New Issue