From 1ea16a59bc70cc6f65d1e182ae417dae1c79f2ba Mon Sep 17 00:00:00 2001 From: "luca.frosini" Date: Fri, 13 Jan 2017 17:16:41 +0000 Subject: [PATCH] Fixed REST path git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@141575 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../gcube/informationsystem/resourceregistry/rest/Access.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/gcube/informationsystem/resourceregistry/rest/Access.java b/src/main/java/org/gcube/informationsystem/resourceregistry/rest/Access.java index 051f186..a4f8874 100644 --- a/src/main/java/org/gcube/informationsystem/resourceregistry/rest/Access.java +++ b/src/main/java/org/gcube/informationsystem/resourceregistry/rest/Access.java @@ -110,7 +110,7 @@ public class Access { */ @SuppressWarnings({ "rawtypes" }) @GET - @Path(AccessPath.INSTANCE_PATH_PART + "s/" + "{" + TYPE_PATH_PARAM + "}") + @Path(AccessPath.INSTANCES_PATH_PART + "{" + TYPE_PATH_PARAM + "}") @Produces(MediaType.APPLICATION_JSON) public String getInstances(@PathParam(TYPE_PATH_PARAM) String type, @QueryParam(AccessPath.POLYMORPHIC_PARAM) Boolean polymorphic,