diff --git a/src/test/java/org/gcube/informationsystem/resourceregistry/client/ResourceRegistryClientTestWikiExamples.java b/src/test/java/org/gcube/informationsystem/resourceregistry/client/ResourceRegistryClientTestWikiExamples.java index e9e15c7..eff80f1 100644 --- a/src/test/java/org/gcube/informationsystem/resourceregistry/client/ResourceRegistryClientTestWikiExamples.java +++ b/src/test/java/org/gcube/informationsystem/resourceregistry/client/ResourceRegistryClientTestWikiExamples.java @@ -190,4 +190,17 @@ public class ResourceRegistryClientTestWikiExamples extends ContextTest { logger.debug("{}", list); } + @Test + public void rawQueryExample1() throws ResourceRegistryException, Exception{ + String jsonString = resourceRegistryClient.query("SELECT FROM SoftwareFacet", 1, null, true); + logger.debug("{}", jsonString); + } + + @Test + public void rawQueryExample2() throws ResourceRegistryException, Exception{ + String jsonString = resourceRegistryClient.query("SELECT FROM SoftwareFacet", 1, null); + List list = ElementMapper.unmarshalList(SoftwareFacet.class, jsonString); + logger.debug("{}", list); + } + }