diff --git a/src/main/java/org/folio/ncip/FolioRemoteServiceManager.java b/src/main/java/org/folio/ncip/FolioRemoteServiceManager.java index 1cd9445..62b1901 100644 --- a/src/main/java/org/folio/ncip/FolioRemoteServiceManager.java +++ b/src/main/java/org/folio/ncip/FolioRemoteServiceManager.java @@ -671,6 +671,9 @@ private void initProperties(String requesterAgencyId, String baseUrl) throws Exc String lookupValue = ncipProperties.getProperty(requesterAgencyId + "." + lookup); + //IF THERE IS A DEFAULT VALUE FOR THE TENANT USE IT + if (lookupValue == null) lookupValue = ncipProperties.getProperty(lookup); + if (lookupValue == null) throw new Exception("configuration value missing for " + requesterAgencyId + "." + lookup); logger.info("Initializing ");