num-codex / codex-processes-ap1

Business processes for the NUM CODEX project (AP1) as plugins for the HiGHmed Data Sharing Framework
Apache License 2.0
3 stars 6 forks source link

Add Throwable Catch to Connection Test Methods #43

Closed hhund closed 2 years ago

hhund commented 3 years ago

The connection test methods for the fTTP and local GECCO FHIR server should also catch Throwable and not have the JVM crash if for example a java.lang.NoClassDefFoundError: ca/uhn/fhir/rest/client/impl/RestfulClientFactory is caught in case the hapi-fhir-client-5.1.0.jar is missing.

hhund commented 3 years ago

Alternatively we should actively check if the RestfulClientFactory is available on the class path.

hhund commented 2 years ago

Issue is obsolete, see #56 and PR #58