minor fix for uri resolver property (when it is missing)
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@139924 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
1bc3ae3673
commit
ad7fd86acc
|
@ -213,7 +213,8 @@ public class DataCatalogueRunningCluster {
|
|||
sysAdminToken = StringEncrypter.getEncrypter().decrypt(sysAdminToken);
|
||||
|
||||
// retrieve URL_RESOLVER
|
||||
urlResolver = accessPoint.propertyMap().get(URL_RESOLVER).value();
|
||||
if(accessPoint.propertyMap().containsKey(URL_RESOLVER))
|
||||
urlResolver = accessPoint.propertyMap().get(URL_RESOLVER).value();
|
||||
|
||||
// break now
|
||||
break;
|
||||
|
@ -250,7 +251,8 @@ public class DataCatalogueRunningCluster {
|
|||
}
|
||||
|
||||
// retrieve URL_RESOLVER
|
||||
urlResolver = accessPoint.propertyMap().get(URL_RESOLVER).value();
|
||||
if(accessPoint.propertyMap().containsKey(URL_RESOLVER))
|
||||
urlResolver = accessPoint.propertyMap().get(URL_RESOLVER).value();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue