Skip to content

Commit

Permalink
use default
Browse files Browse the repository at this point in the history
  • Loading branch information
mis306lu committed Nov 28, 2022
1 parent 4e262d1 commit 24dfec5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/org/folio/ncip/FolioRemoteServiceManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -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 ");
Expand Down

0 comments on commit 24dfec5

Please sign in to comment.