First attempt to add gremlin query support

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146774 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2017-04-11 17:22:05 +00:00
parent d4b69c2c1e
commit 533a4e128a
1 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,19 @@
package org.gcube.informationsystem.resourceregistry.query;
import org.gcube.informationsystem.resourceregistry.ScopedTest;
import org.gcube.informationsystem.resourceregistry.api.exceptions.query.InvalidQueryException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class QueryTest extends ScopedTest {
private static Logger logger = LoggerFactory.getLogger(QueryTest.class);
//@Test
public void testGremlinQuery() throws InvalidQueryException {
Query query = new QueryImpl();
String ret = query.gremlinQuery("g.V()");
logger.debug("Gremlin Query Result is : {}", ret);
}
}