Add some logging

This commit is contained in:
jamesagnew 2017-11-13 21:02:39 -05:00
parent 99320c3b96
commit aaed0c5876
3 changed files with 5 additions and 0 deletions

View File

@ -662,6 +662,9 @@ public class SearchCoordinatorSvcImpl implements ISearchCoordinatorSvc {
if (myDaoConfig.getCountSearchResultsUpTo() == null ||
myDaoConfig.getCountSearchResultsUpTo() <= 0 ||
myDaoConfig.getCountSearchResultsUpTo() <= numSynced) {
ourLog.trace("Have synced {} and want count <= {}", numSynced, myDaoConfig.getCountSearchResultsUpTo());
myInitialCollectionLatch.countDown();
}
}

View File

@ -66,6 +66,7 @@ public class TestDstu2Config extends BaseJavaConfigDstu2 {
retVal.setAllowExternalReferences(true);
retVal.getTreatBaseUrlsAsLocal().add("http://fhirtest.uhn.ca/baseDstu2");
retVal.getTreatBaseUrlsAsLocal().add("https://fhirtest.uhn.ca/baseDstu2");
retVal.setCountSearchResultsUpTo(TestR4Config.COUNT_SEARCH_RESULTS_UP_TO);
return retVal;
}

View File

@ -55,6 +55,7 @@ public class TestDstu3Config extends BaseJavaConfigDstu3 {
retVal.setAllowExternalReferences(true);
retVal.getTreatBaseUrlsAsLocal().add("http://fhirtest.uhn.ca/baseDstu3");
retVal.getTreatBaseUrlsAsLocal().add("https://fhirtest.uhn.ca/baseDstu3");
retVal.setCountSearchResultsUpTo(TestR4Config.COUNT_SEARCH_RESULTS_UP_TO);
return retVal;
}