git-svn-id: https://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/Common/storagehub-client@171724 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
2fd18396ce
commit
3ec9a982e0
|
@ -151,7 +151,7 @@ public class DefaultItemManager implements ItemManagerClient {
|
|||
|
||||
@Override
|
||||
public Integer childrenCount(String id) {
|
||||
return childrenCount(null);
|
||||
return childrenCount(id, null);
|
||||
}
|
||||
|
||||
private String resolveNodeType(Class<? extends Item> itemClass){
|
||||
|
|
|
@ -51,7 +51,7 @@ public class TestCall {
|
|||
|
||||
//SecurityTokenProvider.instance.set("0e2c7963-8d3e-4ea6-a56d-ffda530dd0fa-98187548");
|
||||
//token costantino 9ca79556-54b0-4bbf-ab0f-151ae326f4cf-98187548
|
||||
SecurityTokenProvider.instance.set("ae1208f0-210d-47c9-9b24-d3f2dfcce05f-98187548");
|
||||
SecurityTokenProvider.instance.set("d9431600-9fef-41a7-946d-a5b402de30d6-98187548");
|
||||
ScopeProvider.instance.set("/gcube");
|
||||
}
|
||||
|
||||
|
@ -199,7 +199,7 @@ public class TestCall {
|
|||
public void getCount() throws Exception{
|
||||
final ItemManagerClient client = AbstractPlugin.item().build();
|
||||
long start = System.currentTimeMillis();
|
||||
System.out.println("found "+client.childrenCount("07cd8d55-a35b-4445-9680-c98f158c55de")+" children");
|
||||
System.out.println("found "+client.childrenCount("bc1c9525-43f7-4565-b5ea-0a0f9d7853a0")+" children");
|
||||
|
||||
System.out.println("count took: "+(System.currentTimeMillis()-start) );
|
||||
|
||||
|
|
Loading…
Reference in New Issue