work around THO 6.0.0 problem (hack, to be reversed later)
This commit is contained in:
parent
14652e6e25
commit
f5af20acad
|
@ -564,6 +564,7 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte
|
|||
public Map<String, NamingSystem> getNSUrlMap() {
|
||||
if (systemUrlMap == null) {
|
||||
systemUrlMap = new HashMap<>();
|
||||
try {
|
||||
List<NamingSystem> nsl = systems.getList();
|
||||
for (NamingSystem ns : nsl) {
|
||||
for (NamingSystemUniqueIdComponent uid : ns.getUniqueId()) {
|
||||
|
@ -572,6 +573,12 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte
|
|||
}
|
||||
}
|
||||
}
|
||||
} catch (Exception e) {
|
||||
if (!nsFailHasFailed) {
|
||||
e.printStackTrace();
|
||||
nsFailHasFailed = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
return systemUrlMap;
|
||||
}
|
||||
|
@ -2530,6 +2537,7 @@ public abstract class BaseWorkerContext extends I18nBase implements IWorkerConte
|
|||
protected IWorkerContextManager.IPackageLoadingTracker packageTracker;
|
||||
private boolean forPublication;
|
||||
private boolean cachingAllowed = true;
|
||||
private static boolean nsFailHasFailed;
|
||||
|
||||
public Resource fetchResourceById(String type, String uri, FhirPublication fhirVersion) {
|
||||
return fetchResourceById(type, uri);
|
||||
|
|
2
pom.xml
2
pom.xml
|
@ -21,7 +21,7 @@
|
|||
<commons_compress_version>1.26.0</commons_compress_version>
|
||||
<guava_version>32.0.1-jre</guava_version>
|
||||
<hapi_fhir_version>6.4.1</hapi_fhir_version>
|
||||
<validator_test_case_version>1.5.15</validator_test_case_version>
|
||||
<validator_test_case_version>1.5.16-SNAPSHOT</validator_test_case_version>
|
||||
<jackson_version>2.17.0</jackson_version>
|
||||
<junit_jupiter_version>5.9.2</junit_jupiter_version>
|
||||
<junit_platform_launcher_version>1.8.2</junit_platform_launcher_version>
|
||||
|
|
Loading…
Reference in New Issue