fixed code

This commit is contained in:
Luca Frosini 2022-07-14 11:17:07 +02:00
parent 6d970281a4
commit 9f0d80b870
1 changed files with 2 additions and 2 deletions

View File

@ -207,7 +207,7 @@ public class UtilityResource {
+ "FROM (TRAVERSE outE('IsIdentifiedBy'),inV('"+identifiedFacet+"') FROM "+entity+")";
System.out.println("------------query----------->"+query);
String result=resourceRegistryClient.query(query, 1000, null);
String result=resourceRegistryClient.rawQuery(query, 1000, null);
JSONObject jsonObj = new JSONObject(result);
JSONArray jsonArray=jsonObj.getJSONArray("result");
@ -254,7 +254,7 @@ public class UtilityResource {
String name="";
String description="";
String result=resourceRegistryClient.query(query, 1000, null);
String result=resourceRegistryClient.rawQuery(query, 1000, null);
JSONObject jsonObj = new JSONObject(result);
JSONArray jsonArray=jsonObj.getJSONArray("result");