ref 18964: Create a Generic Resource to record Dismissed VREs

https://support.d4science.org/issues/18964

Create a library to support the resource access
This commit is contained in:
Giancarlo Panichi 2020-04-01 17:55:46 +02:00
parent 02ee44074d
commit ac4486f7e2
1 changed files with 10 additions and 2 deletions

View File

@ -36,6 +36,15 @@ public class DetachedREsClient {
public DetachedREs getDetachedREs() throws Exception {
retrieveAuthInfo();
logger.debug("Use: [userName={}, scope={}, token={}]",userName,scope,token);
return DetachedREsBuilder.build(scope);
}
public DetachedREs getDetachedREsInScope(String scope) throws Exception {
retrieveAuthInfo();
this.scope=scope;
logger.debug("Use: [userName={}, scope={}, token={}]",userName,scope,token);
return DetachedREsBuilder.build(scope);
}
@ -66,7 +75,6 @@ public class DetachedREsClient {
}
logger.debug("Use: [userName={}, scope={}, token={}]",userName,scope,token);
}