fixing bug

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@174934 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2018-12-17 14:18:20 +00:00
parent 3320431805
commit e02272d874
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ public class AnalyticsCreateResolver {
tempInvocationFile = createTempFile(uniqueName, ".xml", xmlByteArray.toByteArray());
logger.info("Created StorageHubClient Instance, uploading file: "+tempInvocationFile.getName());
String infra = ScopeUtil.getInfrastructureNameFromScope(contextToken);
String infra = ScopeUtil.getInfrastructureNameFromScope(ScopeProvider.instance.get());
String theAppToken = readApplicationTokenFromSE(req, infra);
ApplicationMode applicationMode = new ApplicationMode(theAppToken);
applicationMode.start();