From a2c4b858516b1ae0c8d27613f0466e7591e9edfb Mon Sep 17 00:00:00 2001 From: "luca.frosini" Date: Fri, 8 Jun 2018 13:39:04 +0000 Subject: [PATCH] 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@168987 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../er/entity/EntityManagement.java | 15 ++++------- .../resourceregistry/rest/Access.java | 25 +++++++++++++++++-- 2 files changed, 28 insertions(+), 12 deletions(-) diff --git a/src/main/java/org/gcube/informationsystem/resourceregistry/er/entity/EntityManagement.java b/src/main/java/org/gcube/informationsystem/resourceregistry/er/entity/EntityManagement.java index b82e89b..b1b1169 100644 --- a/src/main/java/org/gcube/informationsystem/resourceregistry/er/entity/EntityManagement.java +++ b/src/main/java/org/gcube/informationsystem/resourceregistry/er/entity/EntityManagement.java @@ -234,14 +234,10 @@ public abstract class EntityManagement extends ERManagement constraint) throws ResourceRegistryException { + public String reallyQuery(String relationType, String referenceType, Direction direction, boolean polymorphic, + Map constraint) throws ResourceRegistryException { JSONArray jsonArray = new JSONArray(); - - // TODO check types /* @@ -251,8 +247,6 @@ public abstract class EntityManagement extends ERManagement extends ERManagement extends ERManagement(); } @@ -388,7 +383,7 @@ public abstract class EntityManagement extends ERManagement