merge
This commit is contained in:
parent
6d970281a4
commit
54f4f26990
|
@ -180,7 +180,7 @@ public class UtilityResource {
|
|||
|
||||
|
||||
|
||||
public static ArrayList<String> getSubResourcesTreeQuery(String entity, String scope) throws Exception{
|
||||
public static ArrayList<String> getSubResourcesTreeQuery(String entity) throws Exception{
|
||||
|
||||
ArrayList<String> list = new ArrayList<>();
|
||||
String field = null;
|
||||
|
@ -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");
|
||||
|
||||
|
@ -340,8 +340,7 @@ public class UtilityResource {
|
|||
* @return
|
||||
* @throws Exception
|
||||
*/
|
||||
public static List<String> CreateListEservice(String scope,String typeC,String subTypeC) throws Exception {
|
||||
ScopeProvider.instance.set(scope);
|
||||
public static List<String> CreateListEservice(String typeC,String subTypeC) throws Exception {
|
||||
JAXBContext context = JAXBContext.newInstance(GcoreEndPointObject.class);
|
||||
Marshaller m = context.createMarshaller();
|
||||
m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE);
|
||||
|
|
Loading…
Reference in New Issue