git-svn-id: https://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/Common/storagehub-client@169082 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
8b64aa678a
commit
88fd166407
|
@ -37,7 +37,6 @@ public class DefaultWorkspaceManager implements WorkspaceManagerClient {
|
|||
myManager = myManager.queryParam("exclude",excludeNodes);
|
||||
Invocation.Builder builder = myManager.request(MediaType.APPLICATION_JSON);
|
||||
ItemWrapper<T> response = builder.get(ItemWrapper.class);
|
||||
System.out.println(manager.getUri().toString());
|
||||
return response;
|
||||
}
|
||||
};
|
||||
|
@ -61,7 +60,6 @@ public class DefaultWorkspaceManager implements WorkspaceManagerClient {
|
|||
myManager = manager.queryParam("relPath", relativePath);
|
||||
Invocation.Builder builder = myManager.request(MediaType.APPLICATION_JSON);
|
||||
ItemWrapper<T> response = builder.get(ItemWrapper.class);
|
||||
System.out.println(manager.getUri().toString());
|
||||
return response;
|
||||
}
|
||||
};
|
||||
|
@ -107,7 +105,6 @@ public class DefaultWorkspaceManager implements WorkspaceManagerClient {
|
|||
|
||||
Invocation.Builder builder = myManager.request(MediaType.APPLICATION_JSON);
|
||||
ItemList response = builder.get(ItemList.class);
|
||||
System.out.println(manager.getUri().toString());
|
||||
return response;
|
||||
}
|
||||
};
|
||||
|
@ -190,12 +187,8 @@ public class DefaultWorkspaceManager implements WorkspaceManagerClient {
|
|||
ObjectMapper mapper = new ObjectMapper();
|
||||
String serializedJson = mapper.writeValueAsString(query.getExpression());
|
||||
|
||||
System.out.println("serialized json "+serializedJson);
|
||||
|
||||
myManager = myManager.queryParam("e", URLEncoder.encode(serializedJson));
|
||||
|
||||
System.out.println(myManager.getUri().toString());
|
||||
|
||||
Invocation.Builder builder = myManager.request(MediaType.APPLICATION_JSON);
|
||||
ItemList response = builder.get(ItemList.class);
|
||||
return response;
|
||||
|
|
Loading…
Reference in New Issue