HARD-CABLING PARTHENOS_Registry scope to test PARTHENOS_REGISTRY Link in dev environment

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@176260 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2018-12-28 13:42:30 +00:00
parent e8585db175
commit 899bcc8ebd
1 changed files with 4 additions and 4 deletions

View File

@ -83,10 +83,10 @@ public class LoadingVREsScopeCache {
logger.info("Cache populated with: "+vresNameToScope.asMap().toString());
//logger.info("Pre-Loaded CatalogueApplicationProfiles cache is: "+catalogueApplicationProfiles.asMap().toString());
//TODO HARD-CODED TO TEST PARTHENOS_REGISTRY
logger.warn("REMOVE THE FOLLOWING HARD-CODE FOR PARTHENOS_REGISTRY");
vresNameToScope.asMap().put("PARTHENOS_Registry", "/d4science.research-infrastructures.eu/ParthenosVO/PARTHENOS_Registry");
if(UriResolverSmartGearManagerInit.getRootContextScope().compareTo("/gcube")==0){
logger.warn("HARD-CABLING PARTHENOS_Registry scope to test PARTHENOS_REGISTRY Link in dev environment");
vresNameToScope.asMap().put("PARTHENOS_Registry", "/d4science.research-infrastructures.eu/ParthenosVO/PARTHENOS_Registry");
}
}catch(Exception e){