fixed FALLBACK code
This commit is contained in:
parent
a716586b69
commit
4f6e62a7c6
|
@ -39,12 +39,14 @@ public class WsUtil {
|
||||||
|
|
||||||
if(applicationToken==null || applicationToken.isEmpty()) {
|
if(applicationToken==null || applicationToken.isEmpty()) {
|
||||||
String token = "9b397e7a-c683-44dc-b65b-53725b98f7e5-98187548";
|
String token = "9b397e7a-c683-44dc-b65b-53725b98f7e5-98187548";
|
||||||
|
applicationToken = token;
|
||||||
// TODO
|
// TODO
|
||||||
logger.warn("\n\n\nALERT!!!! FALLBACK DETECTED TO INSTANCE THE SHUB");
|
logger.warn("\n\n\nALERT!!!! FALLBACK DETECTED TO INSTANCE THE SHUB\n\n");
|
||||||
logger.warn("Calling the " + StorageHubWrapper.class.getSimpleName() +
|
logger.warn("Calling the " + StorageHubWrapper.class.getSimpleName() +
|
||||||
" by token: " + token.substring(0, 10) +" MASKED TOKEN" +
|
" by token: " + token.substring(0, 10) +" MASKED TOKEN" +
|
||||||
" by using the scope: " + scope);
|
" by using the scope: " + scope);
|
||||||
logger.warn("\n\n\n HAVE TO REMOVE THIS CODE!!!\n\n\n");
|
logger.warn("\n\n\n HAVE TO REMOVE THIS CODE!!!\n\n\n");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return new StorageHubWrapper(scope, applicationToken, false, false, true);
|
return new StorageHubWrapper(scope, applicationToken, false, false, true);
|
||||||
|
|
Loading…
Reference in New Issue