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:
parent
02ee44074d
commit
ac4486f7e2
|
@ -36,10 +36,19 @@ 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);
|
||||
|
||||
}
|
||||
|
||||
private void retrieveAuthInfo() throws Exception {
|
||||
if (Constants.DEBUG_MODE) {
|
||||
logger.debug("Debug Mode");
|
||||
|
@ -66,8 +75,7 @@ public class DetachedREsClient {
|
|||
|
||||
}
|
||||
|
||||
logger.debug("Use: [userName={}, scope={}, token={}]",userName,scope,token);
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue