You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2021/02/04 15:01:03 UTC

[GitHub] [camel-quarkus] llowinge opened a new issue #2201: FHIR tests don't work with all possible options

llowinge opened a new issue #2201:
URL: https://github.com/apache/camel-quarkus/issues/2201


   Running
   `mvn clean verify -Dformatter.skip -Dimpsort.skip -Denforcer.skip -pl :camel-quarkus-integration-test-fhir -Dquarkus.camel.fhir.enable-dstu2=true -Dquarkus.camel.fhir.enable-r4=true -Dquarkus.camel.fhir.enable-r5=true` gives these errors:
   
   <details> 
     <summary>Logs</summary>
   [INFO] Scanning for projects...
   [WARNING] 
   [WARNING] Some problems were encountered while building the effective model for org.apache.camel.quarkus:camel-quarkus-integration-test-debezium:jar:1.7.0-SNAPSHOT
   [WARNING] 'profiles.profile[mysqlDriver].dependencies.dependency.systemPath' for mysql:mysql-connector-java:jar should not point at files within the project directory, ${project.basedir}/${mysql.driver.file} will be unresolvable by dependent projects @ line 187, column 33
   [WARNING] 
   [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
   [WARNING] 
   [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
   [WARNING] 
   [INFO] 
   [INFO] ----< org.apache.camel.quarkus:camel-quarkus-integration-test-fhir >----
   [INFO] Building Camel Quarkus :: Integration Tests :: FHIR 1.7.0-SNAPSHOT
   [INFO] --------------------------------[ jar ]---------------------------------
   [INFO] 
   [INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ camel-quarkus-integration-test-fhir ---
   [INFO] Deleting /Users/llowinge/Redhat/quarkus/camel-quarkus/integration-tests/fhir/target
   [INFO] 
   [INFO] --- maven-enforcer-plugin:1.4.1:enforce (camel-quarkus-enforcer-rules) @ camel-quarkus-integration-test-fhir ---
   [INFO] Skipping Rule Enforcement.
   [INFO] 
   [INFO] --- groovy-maven-plugin:2.1.1:execute (sanity-checks) @ camel-quarkus-integration-test-fhir ---
   [INFO] 
   [INFO] --- formatter-maven-plugin:2.11.0:format (format) @ camel-quarkus-integration-test-fhir ---
   [INFO] Using 'UTF-8' encoding to format source files.
   [INFO] Number of files to be formatted: 13
   [INFO] Successfully formatted:          0 file(s)
   [INFO] Fail to format:                  0 file(s)
   [INFO] Skipped:                         13 file(s)
   [INFO] Read only skipped:               0 file(s)
   [INFO] Approximate time taken:          0s
   [INFO] 
   [INFO] --- impsort-maven-plugin:1.3.2:sort (sort-imports) @ camel-quarkus-integration-test-fhir ---
   [INFO]  Total Files Processed: 13 in 00:00.577
   [INFO]         Already Sorted: 13
   [INFO]         Needed Sorting:  0
   [INFO] 
   [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ camel-quarkus-integration-test-fhir ---
   [INFO] Using 'UTF-8' encoding to copy filtered resources.
   [INFO] Copying 1 resource
   [INFO] 
   [INFO] --- build-helper-maven-plugin:3.1.0:reserve-network-port (reserve-network-port) @ camel-quarkus-integration-test-fhir ---
   [INFO] Reserved port 63657 for test.http.port.jvm
   [INFO] Reserved port 63658 for test.https.port.jvm
   [INFO] Reserved port 63659 for test.http.port.native
   [INFO] Reserved port 63660 for test.https.port.native
   [INFO] 
   [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ camel-quarkus-integration-test-fhir ---
   [INFO] Changes detected - recompiling the module!
   [INFO] Compiling 8 source files to /Users/llowinge/Redhat/quarkus/camel-quarkus/integration-tests/fhir/target/classes
   [INFO] 
   [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ camel-quarkus-integration-test-fhir ---
   [INFO] Using 'UTF-8' encoding to copy filtered resources.
   [INFO] skip non existing resourceDirectory /Users/llowinge/Redhat/quarkus/camel-quarkus/integration-tests/fhir/src/test/resources
   [INFO] 
   [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ camel-quarkus-integration-test-fhir ---
   [INFO] Changes detected - recompiling the module!
   [INFO] Compiling 5 source files to /Users/llowinge/Redhat/quarkus/camel-quarkus/integration-tests/fhir/target/test-classes
   [INFO] 
   [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ camel-quarkus-integration-test-fhir ---
   [INFO] 
   [INFO] -------------------------------------------------------
   [INFO]  T E S T S
   [INFO] -------------------------------------------------------
   [INFO] Running org.apache.camel.quarkus.component.fhir.it.FhirClientTest
   2021-02-04 15:54:51,062 WARN  [io.qua.dep.QuarkusAugmentor] (main) Using Java versions older than 11 to build Quarkus applications is deprecated and will be disallowed in a future release!
   2021-02-04 15:54:55,181 INFO  [org.apa.cam.qua.com.fhi.it.FhirTestResource] (main) TestcontainersConfiguration(userProperties={docker.client.strategy=org.testcontainers.dockerclient.UnixSocketClientProviderStrategy}, classpathProperties={pull.pause.timeout=120}, environment={PATH=/Users/llowinge/.sdkman/candidates/maven/current/bin:/Users/llowinge/.sdkman/candidates/java/current/bin:/usr/local/opt/curl/bin:/usr/local/opt/openssl/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/llowinge/Go/bin:/usr/local/opt/go/libexec/bin:/Users/llowinge/Redhat/red-hat-notes/shell/bin, OS_REGION_NAME=regionOne, SDKMAN_VERSION=5.10.0+617, OS_IDENTITY_API_VERSION=3, LC_TERMINAL=iTerm2, LESS_TERMCAP_se=, LESS_TERMCAP_so=, OS_PROJECT_NAME=fuseqe-lab, MAVEN_HOME=/Users/llowinge/.sdkman/candidates/maven/current, COLORTERM=truecolor, SDKMAN_DIR=/Users/llowinge/.sdkman, LOGNAME=llowinge, CHECKSTYLE_LOCATION=/Users/llowinge/Redhat/qa-conventions-support/checkstyle-configuration/check
 style-6.15-all.jar, CHECKSTYLE_JAVA_CONFIG=/Users/llowinge/Redhat/qa-conventions-support/checkstyle-configuration/java-checkstyle.xml, PWD=/Users/llowinge/Redhat/quarkus/camel-quarkus/integration-tests/fhir, TERM_PROGRAM_VERSION=3.4.3, OS_PROJECT_DOMAIN_ID=62cf1b5ec006489db99e2b0ebfb55f57, JAVA_MAIN_CLASS_34990=org.codehaus.plexus.classworlds.launcher.Launcher, SHELL=/bin/zsh, FZF_CTRL_T_OPTS=--preview '(highlight -O ansi -l {} 2> /dev/null || cat {} || tree -C {}) 2> /dev/null | head -200', PAGER=less, SDKMAN_CANDIDATES_API=https://api.sdkman.io/2, OLDPWD=/Users/llowinge/Redhat/quarkus/camel-quarkus/integration-tests/fhir, SECURITYSESSIONID=186a6, GOPATH=/Users/llowinge/Go, VISUAL=vim, FZF_CTRL_T_COMMAND=, ITERM_PROFILE=Default, TMPDIR=/var/folders/8k/drn1gvj91n19p98fqtssfqv00000gn/T/, XPC_FLAGS=0x0, TERM_SESSION_ID=w0t0p0:90EBEEBC-BAE4-4193-B559-122D5CACD92D, OS_INTERFACE=public, __CF_USER_TEXT_ENCODING=0x1F5:0x0:0x0, LESS=-F -g -i -M -R -S -w -X -z-4, LC_CTYPE=UTF-8, COLORFGBG=7;
 0, LS_COLORS=di=34:ln=35:so=32:pi=33:ex=31:bd=36;01:cd=33;01:su=31;40;07:sg=36;40;07:tw=32;40;07:ow=33;40;07:, SHLVL=2, LESS_TERMCAP_md=, LESS_TERMCAP_me=, BROWSER=open, LESS_TERMCAP_mb=, JAVA_MAIN_CLASS_35032=org.apache.maven.surefire.booter.ForkedBooter, FZF_DEFAULT_OPTS= --height 30% --reverse --inline-info --color light,fg:-1,bg:-1,hl:#268bd2,fg+:#586e75,bg+:#eee8d5,hl+:#268bd2,info:#b58900,prompt:#b58900,pointer:#2aa198,marker:#2aa198,spinner:#b58900, GREP_COLOR=37;45, OS_USERNAME=llowinge, JAVA_HOME=/Users/llowinge/.sdkman/candidates/java/current, LESS_TERMCAP_us=, TERM=xterm-256color, LANG=en_US.UTF-8, COMMAND_MODE=unix2003, FZF_TMUX=0, GROOVY_HOME=/usr/local/opt/groovy/libexec, OS_AUTH_URL=https://rhos-d.infra.prod.upshift.rdu2.redhat.com:13000/v3, ITERM_SESSION_ID=w0t0p0:90EBEEBC-BAE4-4193-B559-122D5CACD92D, LESS_TERMCAP_ue=, XPC_SERVICE_NAME=0, MAVEN_CMD_LINE_ARGS= clean verify -Dformatter.skip -Dimpsort.skip -Denforcer.skip -pl :camel-quarkus-integration-test-fhir -Dquark
 us.camel.fhir.enable-dstu2=true -Dquarkus.camel.fhir.enable-r4=true -Dquarkus.camel.fhir.enable-r5=true, OS_USER_DOMAIN_NAME=redhat.com, _=/Users/llowinge/.sdkman/candidates/java/8.0.272-zulu/zulu-8.jdk/Contents/Home/jre/bin/java, SDKMAN_CANDIDATES_DIR=/Users/llowinge/.sdkman/candidates, OS_PASSWORD=redh@tKB1, LC_TERMINAL_VERSION=3.4.3, TERM_PROGRAM=iTerm.app, LSCOLORS=exfxcxdxbxGxDxabagacad, MAVEN_PROJECTBASEDIR=/Users/llowinge/Redhat/quarkus/camel-quarkus, SDKMAN_PLATFORM=DarwinX64, USER=llowinge, GOROOT=/usr/local/opt/go/libexec, LaunchInstanceID=9C20F781-EE24-4276-A472-2B7AD0C064EC, GO111MODULE=on, SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.fk72E0y8lR/Listeners, EDITOR=vim, GREP_COLORS=mt=37;45, HOME=/Users/llowinge})
   2021-02-04 15:54:55,220 INFO  [org.tes.uti.ImageNameSubstitutor] (main) Image name substitution will be performed by: DefaultImageNameSubstitutor (ConfigurationFileImageNameSubstitutor)
   2021-02-04 15:54:55,244 INFO  [org.tes.doc.DockerClientProviderStrategy] (main) Loaded org.testcontainers.dockerclient.UnixSocketClientProviderStrategy from ~/.testcontainers.properties, will try it first
   2021-02-04 15:54:56,304 INFO  [org.tes.doc.DockerClientProviderStrategy] (main) Found Docker environment with local Unix socket (unix:///var/run/docker.sock)
   2021-02-04 15:54:56,305 INFO  [org.tes.DockerClientFactory] (main) Docker host IP address is localhost
   2021-02-04 15:54:56,345 INFO  [org.tes.DockerClientFactory] (main) Connected to docker: 
     Server Version: 20.10.2
     API Version: 1.41
     Operating System: Docker Desktop
     Total Memory: 8960 MB
   2021-02-04 15:54:57,452 INFO  [org.tes.DockerClientFactory] (main) Ryuk started - will monitor and terminate Testcontainers containers on JVM exit
   2021-02-04 15:54:57,452 INFO  [org.tes.DockerClientFactory] (main) Checking the system...
   2021-02-04 15:54:57,452 INFO  [org.tes.DockerClientFactory] (main) ✔︎ Docker server version should be at least 1.6.0
   2021-02-04 15:54:57,526 INFO  [org.tes.DockerClientFactory] (main) ✔︎ Docker environment should have more than 2GB free disk space
   2021-02-04 15:54:57,535 INFO  [🐳 .io/.1.0]] (main) Creating container for image: quay.io/lburgazzoli/hapi-fhir-jpaserver-starter:4.1.0
   2021-02-04 15:54:57,634 INFO  [org.tes.uti.RegistryAuthLocator] (main) Credential helper/store (docker-credential-desktop) does not have credentials for quay.io
   2021-02-04 15:54:57,692 INFO  [🐳 .io/.1.0]] (main) Starting container with ID: 87ae872fe7ed759b0cab7927bc1d26f4b7d41e1b7423da0a5649328c0fe6e256
   2021-02-04 15:54:58,006 INFO  [🐳 .io/.1.0]] (main) Container quay.io/lburgazzoli/hapi-fhir-jpaserver-starter:4.1.0 is starting: 87ae872fe7ed759b0cab7927bc1d26f4b7d41e1b7423da0a5649328c0fe6e256
   2021-02-04 15:55:23,437 INFO  [🐳 .io/.1.0]] (main) Container quay.io/lburgazzoli/hapi-fhir-jpaserver-starter:4.1.0 started in PT28.219S
   2021-02-04 15:55:23,739 INFO  [ca.uhn.fhi.uti.VersionUtil] (main) HAPI FHIR version 4.1.0 - Rev 03163c2cf5
   2021-02-04 15:55:23,741 INFO  [ca.uhn.fhi.con.FhirContext] (main) Creating new FHIR context for FHIR version [DSTU3]
   2021-02-04 15:55:24,835 INFO  [ca.uhn.fhi.con.FhirContext] (main) Creating new FHIR context for FHIR version [DSTU2]
   2021-02-04 15:55:25,888 INFO  [ca.uhn.fhi.con.FhirContext] (main) Creating new FHIR context for FHIR version [R5]
   2021-02-04 15:55:26,983 INFO  [ca.uhn.fhi.con.FhirContext] (main) Creating new FHIR context for FHIR version [R4]
   2021-02-04 15:55:29,142 INFO  [org.apa.cam.qua.cor.CamelBootstrapRecorder] (main) bootstrap runtime: org.apache.camel.quarkus.main.CamelMainRuntime
   2021-02-04 15:55:29,186 INFO  [org.apa.cam.mai.BaseMainSupport] (main) Auto-configuration summary:
   2021-02-04 15:55:29,187 INFO  [org.apa.cam.mai.BaseMainSupport] (main) 	camel.component.fhir.serverUrl={{camel.fhir.test-url}}
   2021-02-04 15:55:29,187 INFO  [org.apa.cam.mai.BaseMainSupport] (main) 	camel.component.fhir.fhirContext=#bean:DSTU3
   2021-02-04 15:55:29,188 INFO  [org.apa.cam.mai.BaseMainSupport] (main) 	camel.component.fhir.log=false
   2021-02-04 15:55:29,391 INFO  [ca.uhn.fhi.uti.XmlUtil] (main) FHIR XML procesing will use StAX implementation 'Java Runtime Environment' version '1.8.0_272'
   2021-02-04 15:55:29,429 INFO  [org.apa.cam.imp.eng.AbstractCamelContext] (main) Apache Camel 3.7.1 (camel-1) is starting
   2021-02-04 15:55:29,431 INFO  [org.apa.cam.imp.eng.AbstractCamelContext] (main) StreamCaching is not in use. If using streams then it's recommended to enable stream caching. See more details at http://camel.apache.org/stream-caching.html
   2021-02-04 15:55:29,438 INFO  [org.apa.cam.imp.eng.InternalRouteStartupManager] (main) Route: route1 started and consuming from: direct://json-to-r4
   2021-02-04 15:55:29,439 INFO  [org.apa.cam.imp.eng.InternalRouteStartupManager] (main) Route: route2 started and consuming from: direct://xml-to-r4
   2021-02-04 15:55:29,439 INFO  [org.apa.cam.imp.eng.InternalRouteStartupManager] (main) Route: route3 started and consuming from: direct://create-r4
   2021-02-04 15:55:29,440 INFO  [org.apa.cam.imp.eng.InternalRouteStartupManager] (main) Route: route4 started and consuming from: direct://json-to-dstu3
   2021-02-04 15:55:29,440 INFO  [org.apa.cam.imp.eng.InternalRouteStartupManager] (main) Route: route5 started and consuming from: direct://xml-to-dstu3
   2021-02-04 15:55:29,440 INFO  [org.apa.cam.imp.eng.InternalRouteStartupManager] (main) Route: route6 started and consuming from: direct://create-dstu3
   2021-02-04 15:55:29,440 INFO  [org.apa.cam.imp.eng.InternalRouteStartupManager] (main) Route: route7 started and consuming from: direct://json-to-r5
   2021-02-04 15:55:29,441 INFO  [org.apa.cam.imp.eng.InternalRouteStartupManager] (main) Route: route8 started and consuming from: direct://xml-to-r5
   2021-02-04 15:55:29,441 INFO  [org.apa.cam.imp.eng.InternalRouteStartupManager] (main) Route: route9 started and consuming from: direct://create-r5
   2021-02-04 15:55:29,441 INFO  [org.apa.cam.imp.eng.InternalRouteStartupManager] (main) Route: route10 started and consuming from: direct://json-to-dstu2
   2021-02-04 15:55:29,441 INFO  [org.apa.cam.imp.eng.InternalRouteStartupManager] (main) Route: route11 started and consuming from: direct://xml-to-dstu2
   2021-02-04 15:55:29,441 INFO  [org.apa.cam.imp.eng.InternalRouteStartupManager] (main) Route: route12 started and consuming from: direct://create-dstu2
   2021-02-04 15:55:29,442 INFO  [org.apa.cam.imp.eng.AbstractCamelContext] (main) Total 12 routes, of which 12 are started
   2021-02-04 15:55:29,442 INFO  [org.apa.cam.imp.eng.AbstractCamelContext] (main) Apache Camel 3.7.1 (camel-1) started in 12ms
   2021-02-04 15:55:29,565 INFO  [io.quarkus] (main) Quarkus 1.11.1.Final on JVM started in 38.797s. Listening on: http://localhost:63657
   2021-02-04 15:55:29,566 INFO  [io.quarkus] (main) Profile test activated. 
   2021-02-04 15:55:29,566 INFO  [io.quarkus] (main) Installed features: [camel-core, camel-direct, camel-fhir, camel-main, camel-support-common, camel-support-commons-logging, cdi, resteasy, resteasy-jsonb]
   2021-02-04 15:55:29,863 INFO  [org.apa.cam.qua.com.fhi.it.FhirClientTest] (main) Running R4 Client test
   2021-02-04 15:55:29,866 INFO  [ca.uhn.fhi.con.FhirContext] (main) Creating new FHIR context for FHIR version [R4]
   2021-02-04 15:55:31,165 ERROR [org.apa.cam.pro.err.DefaultErrorHandler] (Camel (camel-1) thread #0 - CamelFhir) Failed delivery for (MessageId: 5A5DA27443E0706-0000000000000000 on ExchangeId: 5A5DA27443E0706-0000000000000000). Exhausted after delivery attempt: 1 caught: org.apache.camel.RuntimeCamelException: Error invoking resource with {resourceAsString={"resourceType":"Patient","name":[{"family":"Holmes","given":["Sherlock"]}],"address":[{"line":["221b Baker St, Marylebone, London NW1 6XE, UK"]}]}, extraParameters={}}: Failed to retrieve the server metadata statement during client initialization. URL used was http://localhost:55005/hapi-fhir-jpaserver/fhir/metadata
   
   Message History (complete message history is disabled)
   ---------------------------------------------------------------------------------------------------------------------------------------
   RouteId              ProcessorId          Processor                                                                        Elapsed (ms)
   [route3            ] [route3            ] [from[direct://create-r4]                                                      ] [       544]
   	...
   [route3            ] [to1               ] [fhir://create/resource?inBody=resourceAsString&fhirContext=#R4                ] [         0]
   
   Stacktrace
   ---------------------------------------------------------------------------------------------------------------------------------------
   : org.apache.camel.RuntimeCamelException: Error invoking resource with {resourceAsString={"resourceType":"Patient","name":[{"family":"Holmes","given":["Sherlock"]}],"address":[{"line":["221b Baker St, Marylebone, London NW1 6XE, UK"]}]}, extraParameters={}}: Failed to retrieve the server metadata statement during client initialization. URL used was http://localhost:55005/hapi-fhir-jpaserver/fhir/metadata
   	at org.apache.camel.support.component.ApiMethodHelper.invokeMethod(ApiMethodHelper.java:530)
   	at org.apache.camel.support.component.AbstractApiProducer.doInvokeMethod(AbstractApiProducer.java:121)
   	at org.apache.camel.support.component.AbstractApiProducer$1.run(AbstractApiProducer.java:88)
   	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
   	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
   	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
   	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
   	at java.lang.Thread.run(Thread.java:748)
   Caused by: ca.uhn.fhir.rest.client.exceptions.FhirClientConnectionException: Failed to retrieve the server metadata statement during client initialization. URL used was http://localhost:55005/hapi-fhir-jpaserver/fhir/metadata
   	at ca.uhn.fhir.rest.client.impl.RestfulClientFactory.validateServerBase(RestfulClientFactory.java:312)
   	at ca.uhn.fhir.rest.client.impl.RestfulClientFactory.validateServerBaseIfConfiguredToDoSo(RestfulClientFactory.java:264)
   	at ca.uhn.fhir.rest.client.impl.BaseClient.invokeClient(BaseClient.java:226)
   	at ca.uhn.fhir.rest.client.impl.GenericClient$BaseClientExecutable.invoke(GenericClient.java:434)
   	at ca.uhn.fhir.rest.client.impl.GenericClient$CreateInternal.execute(GenericClient.java:581)
   	at ca.uhn.fhir.rest.client.impl.GenericClient$CreateInternal.execute(GenericClient.java:536)
   	at org.apache.camel.component.fhir.api.FhirCreate.resource(FhirCreate.java:80)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.lang.reflect.Method.invoke(Method.java:498)
   	at org.apache.camel.support.component.ApiMethodHelper.invokeMethod(ApiMethodHelper.java:522)
   	... 9 more
   Caused by: ca.uhn.fhir.rest.client.exceptions.FhirClientConnectionException: Failed to parse response from server when performing GET to URL http://localhost:55005/hapi-fhir-jpaserver/fhir/metadata - ca.uhn.fhir.parser.DataFormatException: Unknown element 'acceptUnknown' found during parse
   	at ca.uhn.fhir.rest.client.impl.BaseClient.invokeClient(BaseClient.java:390)
   	at ca.uhn.fhir.rest.client.impl.GenericClient$BaseClientExecutable.invoke(GenericClient.java:434)
   	at ca.uhn.fhir.rest.client.impl.GenericClient$FetchConformanceInternal.execute(GenericClient.java:701)
   	at ca.uhn.fhir.rest.client.impl.RestfulClientFactory.validateServerBase(RestfulClientFactory.java:305)
   	... 20 more
   Caused by: ca.uhn.fhir.parser.DataFormatException: Unknown element 'acceptUnknown' found during parse
   	at ca.uhn.fhir.parser.StrictErrorHandler.unknownElement(StrictErrorHandler.java:78)
   	at ca.uhn.fhir.parser.ParserState$ElementCompositeState.enteringNewElement(ParserState.java:484)
   	at ca.uhn.fhir.parser.ParserState.enteringNewElement(ParserState.java:91)
   	at ca.uhn.fhir.parser.JsonParser.parseChildren(JsonParser.java:1096)
   	at ca.uhn.fhir.parser.JsonParser.parseChildren(JsonParser.java:1002)
   	at ca.uhn.fhir.parser.JsonParser.doParseResource(JsonParser.java:196)
   	at ca.uhn.fhir.parser.JsonParser.doParseResource(JsonParser.java:178)
   	at ca.uhn.fhir.parser.BaseParser.parseResource(BaseParser.java:703)
   	at ca.uhn.fhir.parser.BaseParser.parseResource(BaseParser.java:688)
   	at ca.uhn.fhir.rest.client.impl.BaseClient$ResourceResponseHandler.invokeClient(BaseClient.java:578)
   	at ca.uhn.fhir.rest.client.impl.BaseClient$ResourceResponseHandler.invokeClient(BaseClient.java:530)
   	at ca.uhn.fhir.rest.client.impl.BaseClient.invokeClient(BaseClient.java:380)
   	... 23 more
   
   2021-02-04 15:55:31,171 ERROR [io.qua.ver.htt.run.QuarkusErrorHandler] (executor-thread-1) HTTP Request to /r4/createPatient failed, error id: 509f5c33-0a3a-42ac-8672-1b22e8f8374c-1: org.jboss.resteasy.spi.UnhandledException: org.apache.camel.CamelExecutionException: Exception occurred during execution on the exchange: Exchange[5A5DA27443E0706-0000000000000000]
   	at org.jboss.resteasy.core.ExceptionHandler.handleApplicationException(ExceptionHandler.java:106)
   	at org.jboss.resteasy.core.ExceptionHandler.handleException(ExceptionHandler.java:372)
   	at org.jboss.resteasy.core.SynchronousDispatcher.writeException(SynchronousDispatcher.java:218)
   	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:519)
   	at org.jboss.resteasy.core.SynchronousDispatcher.lambda$invoke$4(SynchronousDispatcher.java:261)
   	at org.jboss.resteasy.core.SynchronousDispatcher.lambda$preprocess$0(SynchronousDispatcher.java:161)
   	at org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:364)
   	at org.jboss.resteasy.core.SynchronousDispatcher.preprocess(SynchronousDispatcher.java:164)
   	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:247)
   	at io.quarkus.resteasy.runtime.standalone.RequestDispatcher.service(RequestDispatcher.java:73)
   	at io.quarkus.resteasy.runtime.standalone.VertxRequestHandler.dispatch(VertxRequestHandler.java:138)
   	at io.quarkus.resteasy.runtime.standalone.VertxRequestHandler.access$000(VertxRequestHandler.java:41)
   	at io.quarkus.resteasy.runtime.standalone.VertxRequestHandler$1.run(VertxRequestHandler.java:93)
   	at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2415)
   	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1452)
   	at org.jboss.threads.DelegatingRunnable.run(DelegatingRunnable.java:29)
   	at org.jboss.threads.ThreadLocalResettingRunnable.run(ThreadLocalResettingRunnable.java:29)
   	at java.lang.Thread.run(Thread.java:748)
   	at org.jboss.threads.JBossThread.run(JBossThread.java:501)
   Caused by: org.apache.camel.CamelExecutionException: Exception occurred during execution on the exchange: Exchange[5A5DA27443E0706-0000000000000000]
   	at org.apache.camel.CamelExecutionException.wrapCamelExecutionException(CamelExecutionException.java:45)
   	at org.apache.camel.support.ExchangeHelper.extractResultBody(ExchangeHelper.java:692)
   	at org.apache.camel.impl.engine.DefaultProducerTemplate.extractResultBody(DefaultProducerTemplate.java:591)
   	at org.apache.camel.impl.engine.DefaultProducerTemplate.extractResultBody(DefaultProducerTemplate.java:587)
   	at org.apache.camel.impl.engine.DefaultProducerTemplate.requestBody(DefaultProducerTemplate.java:414)
   	at org.apache.camel.quarkus.component.fhir.it.FhirR4Resource.createPatient(FhirR4Resource.java:72)
   	at org.apache.camel.quarkus.component.fhir.it.FhirR4Resource_ClientProxy.createPatient(FhirR4Resource_ClientProxy.zig:238)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.lang.reflect.Method.invoke(Method.java:498)
   	at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:170)
   	at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:130)
   	at org.jboss.resteasy.core.ResourceMethodInvoker.internalInvokeOnTarget(ResourceMethodInvoker.java:643)
   	at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTargetAfterFilter(ResourceMethodInvoker.java:507)
   	at org.jboss.resteasy.core.ResourceMethodInvoker.lambda$invokeOnTarget$2(ResourceMethodInvoker.java:457)
   	at org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:364)
   	at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:459)
   	at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:419)
   	at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:393)
   	at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:68)
   	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:492)
   	... 15 more
   Caused by: org.apache.camel.RuntimeCamelException: Error invoking resource with {resourceAsString={"resourceType":"Patient","name":[{"family":"Holmes","given":["Sherlock"]}],"address":[{"line":["221b Baker St, Marylebone, London NW1 6XE, UK"]}]}, extraParameters={}}: Failed to retrieve the server metadata statement during client initialization. URL used was http://localhost:55005/hapi-fhir-jpaserver/fhir/metadata
   	at org.apache.camel.support.component.ApiMethodHelper.invokeMethod(ApiMethodHelper.java:530)
   	at org.apache.camel.support.component.AbstractApiProducer.doInvokeMethod(AbstractApiProducer.java:121)
   	at org.apache.camel.support.component.AbstractApiProducer$1.run(AbstractApiProducer.java:88)
   	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
   	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
   	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
   	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
   	at java.lang.Thread.run(Thread.java:748)
   Caused by: ca.uhn.fhir.rest.client.exceptions.FhirClientConnectionException: Failed to retrieve the server metadata statement during client initialization. URL used was http://localhost:55005/hapi-fhir-jpaserver/fhir/metadata
   	at ca.uhn.fhir.rest.client.impl.RestfulClientFactory.validateServerBase(RestfulClientFactory.java:312)
   	at ca.uhn.fhir.rest.client.impl.RestfulClientFactory.validateServerBaseIfConfiguredToDoSo(RestfulClientFactory.java:264)
   	at ca.uhn.fhir.rest.client.impl.BaseClient.invokeClient(BaseClient.java:226)
   	at ca.uhn.fhir.rest.client.impl.GenericClient$BaseClientExecutable.invoke(GenericClient.java:434)
   	at ca.uhn.fhir.rest.client.impl.GenericClient$CreateInternal.execute(GenericClient.java:581)
   	at ca.uhn.fhir.rest.client.impl.GenericClient$CreateInternal.execute(GenericClient.java:536)
   	at org.apache.camel.component.fhir.api.FhirCreate.resource(FhirCreate.java:80)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.lang.reflect.Method.invoke(Method.java:498)
   	at org.apache.camel.support.component.ApiMethodHelper.invokeMethod(ApiMethodHelper.java:522)
   	... 9 more
   Caused by: ca.uhn.fhir.rest.client.exceptions.FhirClientConnectionException: Failed to parse response from server when performing GET to URL http://localhost:55005/hapi-fhir-jpaserver/fhir/metadata - ca.uhn.fhir.parser.DataFormatException: Unknown element 'acceptUnknown' found during parse
   	at ca.uhn.fhir.rest.client.impl.BaseClient.invokeClient(BaseClient.java:390)
   	at ca.uhn.fhir.rest.client.impl.GenericClient$BaseClientExecutable.invoke(GenericClient.java:434)
   	at ca.uhn.fhir.rest.client.impl.GenericClient$FetchConformanceInternal.execute(GenericClient.java:701)
   	at ca.uhn.fhir.rest.client.impl.RestfulClientFactory.validateServerBase(RestfulClientFactory.java:305)
   	... 20 more
   Caused by: ca.uhn.fhir.parser.DataFormatException: Unknown element 'acceptUnknown' found during parse
   	at ca.uhn.fhir.parser.StrictErrorHandler.unknownElement(StrictErrorHandler.java:78)
   	at ca.uhn.fhir.parser.ParserState$ElementCompositeState.enteringNewElement(ParserState.java:484)
   	at ca.uhn.fhir.parser.ParserState.enteringNewElement(ParserState.java:91)
   	at ca.uhn.fhir.parser.JsonParser.parseChildren(JsonParser.java:1096)
   	at ca.uhn.fhir.parser.JsonParser.parseChildren(JsonParser.java:1002)
   	at ca.uhn.fhir.parser.JsonParser.doParseResource(JsonParser.java:196)
   	at ca.uhn.fhir.parser.JsonParser.doParseResource(JsonParser.java:178)
   	at ca.uhn.fhir.parser.BaseParser.parseResource(BaseParser.java:703)
   	at ca.uhn.fhir.parser.BaseParser.parseResource(BaseParser.java:688)
   	at ca.uhn.fhir.rest.client.impl.BaseClient$ResourceResponseHandler.invokeClient(BaseClient.java:578)
   	at ca.uhn.fhir.rest.client.impl.BaseClient$ResourceResponseHandler.invokeClient(BaseClient.java:530)
   	at ca.uhn.fhir.rest.client.impl.BaseClient.invokeClient(BaseClient.java:380)
   	... 23 more
   
   2021-02-04 15:55:31,288 INFO  [org.apa.cam.qua.com.fhi.it.FhirClientTest] (main) Running R5 Client test
   2021-02-04 15:55:31,288 INFO  [ca.uhn.fhi.con.FhirContext] (main) Creating new FHIR context for FHIR version [R5]
   2021-02-04 15:55:31,510 ERROR [org.apa.cam.pro.err.DefaultErrorHandler] (Camel (camel-1) thread #0 - CamelFhir) Failed delivery for (MessageId: 5A5DA27443E0706-0000000000000001 on ExchangeId: 5A5DA27443E0706-0000000000000001). Exhausted after delivery attempt: 1 caught: org.apache.camel.RuntimeCamelException: Error invoking resource with {resourceAsString={"resourceType":"Patient","name":[{"family":"Holmes","given":["Sherlock"]}],"address":[{"line":["221b Baker St, Marylebone, London NW1 6XE, UK"]}]}, extraParameters={}}: Failed to retrieve the server metadata statement during client initialization. URL used was http://localhost:55005/hapi-fhir-jpaserver/fhir/metadata
   
   Message History (complete message history is disabled)
   ---------------------------------------------------------------------------------------------------------------------------------------
   RouteId              ProcessorId          Processor                                                                        Elapsed (ms)
   [route9            ] [route9            ] [from[direct://create-r5]                                                      ] [       174]
   	...
   [route9            ] [to3               ] [fhir://create/resource?inBody=resourceAsString&fhirContext=#R5                ] [         0]
   
   Stacktrace
   ---------------------------------------------------------------------------------------------------------------------------------------
   : org.apache.camel.RuntimeCamelException: Error invoking resource with {resourceAsString={"resourceType":"Patient","name":[{"family":"Holmes","given":["Sherlock"]}],"address":[{"line":["221b Baker St, Marylebone, London NW1 6XE, UK"]}]}, extraParameters={}}: Failed to retrieve the server metadata statement during client initialization. URL used was http://localhost:55005/hapi-fhir-jpaserver/fhir/metadata
   	at org.apache.camel.support.component.ApiMethodHelper.invokeMethod(ApiMethodHelper.java:530)
   	at org.apache.camel.support.component.AbstractApiProducer.doInvokeMethod(AbstractApiProducer.java:121)
   	at org.apache.camel.support.component.AbstractApiProducer$1.run(AbstractApiProducer.java:88)
   	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
   	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
   	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
   	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
   	at java.lang.Thread.run(Thread.java:748)
   Caused by: ca.uhn.fhir.rest.client.exceptions.FhirClientConnectionException: Failed to retrieve the server metadata statement during client initialization. URL used was http://localhost:55005/hapi-fhir-jpaserver/fhir/metadata
   	at ca.uhn.fhir.rest.client.impl.RestfulClientFactory.validateServerBase(RestfulClientFactory.java:312)
   	at ca.uhn.fhir.rest.client.impl.RestfulClientFactory.validateServerBaseIfConfiguredToDoSo(RestfulClientFactory.java:264)
   	at ca.uhn.fhir.rest.client.impl.BaseClient.invokeClient(BaseClient.java:226)
   	at ca.uhn.fhir.rest.client.impl.GenericClient$BaseClientExecutable.invoke(GenericClient.java:434)
   	at ca.uhn.fhir.rest.client.impl.GenericClient$CreateInternal.execute(GenericClient.java:581)
   	at ca.uhn.fhir.rest.client.impl.GenericClient$CreateInternal.execute(GenericClient.java:536)
   	at org.apache.camel.component.fhir.api.FhirCreate.resource(FhirCreate.java:80)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.lang.reflect.Method.invoke(Method.java:498)
   	at org.apache.camel.support.component.ApiMethodHelper.invokeMethod(ApiMethodHelper.java:522)
   	... 9 more
   Caused by: ca.uhn.fhir.rest.client.exceptions.FhirClientConnectionException: Failed to parse response from server when performing GET to URL http://localhost:55005/hapi-fhir-jpaserver/fhir/metadata - ca.uhn.fhir.parser.DataFormatException: Unknown element 'acceptUnknown' found during parse
   	at ca.uhn.fhir.rest.client.impl.BaseClient.invokeClient(BaseClient.java:390)
   	at ca.uhn.fhir.rest.client.impl.GenericClient$BaseClientExecutable.invoke(GenericClient.java:434)
   	at ca.uhn.fhir.rest.client.impl.GenericClient$FetchConformanceInternal.execute(GenericClient.java:701)
   	at ca.uhn.fhir.rest.client.impl.RestfulClientFactory.validateServerBase(RestfulClientFactory.java:305)
   	... 20 more
   Caused by: ca.uhn.fhir.parser.DataFormatException: Unknown element 'acceptUnknown' found during parse
   	at ca.uhn.fhir.parser.StrictErrorHandler.unknownElement(StrictErrorHandler.java:78)
   	at ca.uhn.fhir.parser.ParserState$ElementCompositeState.enteringNewElement(ParserState.java:484)
   	at ca.uhn.fhir.parser.ParserState.enteringNewElement(ParserState.java:91)
   	at ca.uhn.fhir.parser.JsonParser.parseChildren(JsonParser.java:1096)
   	at ca.uhn.fhir.parser.JsonParser.parseChildren(JsonParser.java:1002)
   	at ca.uhn.fhir.parser.JsonParser.doParseResource(JsonParser.java:196)
   	at ca.uhn.fhir.parser.JsonParser.doParseResource(JsonParser.java:178)
   	at ca.uhn.fhir.parser.BaseParser.parseResource(BaseParser.java:703)
   	at ca.uhn.fhir.parser.BaseParser.parseResource(BaseParser.java:688)
   	at ca.uhn.fhir.rest.client.impl.BaseClient$ResourceResponseHandler.invokeClient(BaseClient.java:578)
   	at ca.uhn.fhir.rest.client.impl.BaseClient$ResourceResponseHandler.invokeClient(BaseClient.java:530)
   	at ca.uhn.fhir.rest.client.impl.BaseClient.invokeClient(BaseClient.java:380)
   	... 23 more
   
   2021-02-04 15:55:31,512 ERROR [io.qua.ver.htt.run.QuarkusErrorHandler] (executor-thread-1) HTTP Request to /r5/createPatient failed, error id: 509f5c33-0a3a-42ac-8672-1b22e8f8374c-2: org.jboss.resteasy.spi.UnhandledException: org.apache.camel.CamelExecutionException: Exception occurred during execution on the exchange: Exchange[5A5DA27443E0706-0000000000000001]
   	at org.jboss.resteasy.core.ExceptionHandler.handleApplicationException(ExceptionHandler.java:106)
   	at org.jboss.resteasy.core.ExceptionHandler.handleException(ExceptionHandler.java:372)
   	at org.jboss.resteasy.core.SynchronousDispatcher.writeException(SynchronousDispatcher.java:218)
   	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:519)
   	at org.jboss.resteasy.core.SynchronousDispatcher.lambda$invoke$4(SynchronousDispatcher.java:261)
   	at org.jboss.resteasy.core.SynchronousDispatcher.lambda$preprocess$0(SynchronousDispatcher.java:161)
   	at org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:364)
   	at org.jboss.resteasy.core.SynchronousDispatcher.preprocess(SynchronousDispatcher.java:164)
   	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:247)
   	at io.quarkus.resteasy.runtime.standalone.RequestDispatcher.service(RequestDispatcher.java:73)
   	at io.quarkus.resteasy.runtime.standalone.VertxRequestHandler.dispatch(VertxRequestHandler.java:138)
   	at io.quarkus.resteasy.runtime.standalone.VertxRequestHandler.access$000(VertxRequestHandler.java:41)
   	at io.quarkus.resteasy.runtime.standalone.VertxRequestHandler$1.run(VertxRequestHandler.java:93)
   	at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2415)
   	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1452)
   	at org.jboss.threads.DelegatingRunnable.run(DelegatingRunnable.java:29)
   	at org.jboss.threads.ThreadLocalResettingRunnable.run(ThreadLocalResettingRunnable.java:29)
   	at java.lang.Thread.run(Thread.java:748)
   	at org.jboss.threads.JBossThread.run(JBossThread.java:501)
   Caused by: org.apache.camel.CamelExecutionException: Exception occurred during execution on the exchange: Exchange[5A5DA27443E0706-0000000000000001]
   	at org.apache.camel.CamelExecutionException.wrapCamelExecutionException(CamelExecutionException.java:45)
   	at org.apache.camel.support.ExchangeHelper.extractResultBody(ExchangeHelper.java:692)
   	at org.apache.camel.impl.engine.DefaultProducerTemplate.extractResultBody(DefaultProducerTemplate.java:591)
   	at org.apache.camel.impl.engine.DefaultProducerTemplate.extractResultBody(DefaultProducerTemplate.java:587)
   	at org.apache.camel.impl.engine.DefaultProducerTemplate.requestBody(DefaultProducerTemplate.java:414)
   	at org.apache.camel.quarkus.component.fhir.it.FhirR5Resource.createPatient(FhirR5Resource.java:72)
   	at org.apache.camel.quarkus.component.fhir.it.FhirR5Resource_ClientProxy.createPatient(FhirR5Resource_ClientProxy.zig:238)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.lang.reflect.Method.invoke(Method.java:498)
   	at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:170)
   	at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:130)
   	at org.jboss.resteasy.core.ResourceMethodInvoker.internalInvokeOnTarget(ResourceMethodInvoker.java:643)
   	at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTargetAfterFilter(ResourceMethodInvoker.java:507)
   	at org.jboss.resteasy.core.ResourceMethodInvoker.lambda$invokeOnTarget$2(ResourceMethodInvoker.java:457)
   	at org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:364)
   	at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:459)
   	at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:419)
   	at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:393)
   	at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:68)
   	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:492)
   	... 15 more
   Caused by: org.apache.camel.RuntimeCamelException: Error invoking resource with {resourceAsString={"resourceType":"Patient","name":[{"family":"Holmes","given":["Sherlock"]}],"address":[{"line":["221b Baker St, Marylebone, London NW1 6XE, UK"]}]}, extraParameters={}}: Failed to retrieve the server metadata statement during client initialization. URL used was http://localhost:55005/hapi-fhir-jpaserver/fhir/metadata
   	at org.apache.camel.support.component.ApiMethodHelper.invokeMethod(ApiMethodHelper.java:530)
   	at org.apache.camel.support.component.AbstractApiProducer.doInvokeMethod(AbstractApiProducer.java:121)
   	at org.apache.camel.support.component.AbstractApiProducer$1.run(AbstractApiProducer.java:88)
   	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
   	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
   	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
   	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
   	at java.lang.Thread.run(Thread.java:748)
   Caused by: ca.uhn.fhir.rest.client.exceptions.FhirClientConnectionException: Failed to retrieve the server metadata statement during client initialization. URL used was http://localhost:55005/hapi-fhir-jpaserver/fhir/metadata
   	at ca.uhn.fhir.rest.client.impl.RestfulClientFactory.validateServerBase(RestfulClientFactory.java:312)
   	at ca.uhn.fhir.rest.client.impl.RestfulClientFactory.validateServerBaseIfConfiguredToDoSo(RestfulClientFactory.java:264)
   	at ca.uhn.fhir.rest.client.impl.BaseClient.invokeClient(BaseClient.java:226)
   	at ca.uhn.fhir.rest.client.impl.GenericClient$BaseClientExecutable.invoke(GenericClient.java:434)
   	at ca.uhn.fhir.rest.client.impl.GenericClient$CreateInternal.execute(GenericClient.java:581)
   	at ca.uhn.fhir.rest.client.impl.GenericClient$CreateInternal.execute(GenericClient.java:536)
   	at org.apache.camel.component.fhir.api.FhirCreate.resource(FhirCreate.java:80)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.lang.reflect.Method.invoke(Method.java:498)
   	at org.apache.camel.support.component.ApiMethodHelper.invokeMethod(ApiMethodHelper.java:522)
   	... 9 more
   Caused by: ca.uhn.fhir.rest.client.exceptions.FhirClientConnectionException: Failed to parse response from server when performing GET to URL http://localhost:55005/hapi-fhir-jpaserver/fhir/metadata - ca.uhn.fhir.parser.DataFormatException: Unknown element 'acceptUnknown' found during parse
   	at ca.uhn.fhir.rest.client.impl.BaseClient.invokeClient(BaseClient.java:390)
   	at ca.uhn.fhir.rest.client.impl.GenericClient$BaseClientExecutable.invoke(GenericClient.java:434)
   	at ca.uhn.fhir.rest.client.impl.GenericClient$FetchConformanceInternal.execute(GenericClient.java:701)
   	at ca.uhn.fhir.rest.client.impl.RestfulClientFactory.validateServerBase(RestfulClientFactory.java:305)
   	... 20 more
   Caused by: ca.uhn.fhir.parser.DataFormatException: Unknown element 'acceptUnknown' found during parse
   	at ca.uhn.fhir.parser.StrictErrorHandler.unknownElement(StrictErrorHandler.java:78)
   	at ca.uhn.fhir.parser.ParserState$ElementCompositeState.enteringNewElement(ParserState.java:484)
   	at ca.uhn.fhir.parser.ParserState.enteringNewElement(ParserState.java:91)
   	at ca.uhn.fhir.parser.JsonParser.parseChildren(JsonParser.java:1096)
   	at ca.uhn.fhir.parser.JsonParser.parseChildren(JsonParser.java:1002)
   	at ca.uhn.fhir.parser.JsonParser.doParseResource(JsonParser.java:196)
   	at ca.uhn.fhir.parser.JsonParser.doParseResource(JsonParser.java:178)
   	at ca.uhn.fhir.parser.BaseParser.parseResource(BaseParser.java:703)
   	at ca.uhn.fhir.parser.BaseParser.parseResource(BaseParser.java:688)
   	at ca.uhn.fhir.rest.client.impl.BaseClient$ResourceResponseHandler.invokeClient(BaseClient.java:578)
   	at ca.uhn.fhir.rest.client.impl.BaseClient$ResourceResponseHandler.invokeClient(BaseClient.java:530)
   	at ca.uhn.fhir.rest.client.impl.BaseClient.invokeClient(BaseClient.java:380)
   	... 23 more
   
   2021-02-04 15:55:31,519 INFO  [org.apa.cam.qua.com.fhi.it.FhirClientTest] (main) Running DSTU2 CLIENT test
   2021-02-04 15:55:31,520 INFO  [ca.uhn.fhi.con.FhirContext] (main) Creating new FHIR context for FHIR version [DSTU2]
   2021-02-04 15:55:31,645 ERROR [org.apa.cam.pro.err.DefaultErrorHandler] (Camel (camel-1) thread #1 - CamelFhir) Failed delivery for (MessageId: 5A5DA27443E0706-0000000000000002 on ExchangeId: 5A5DA27443E0706-0000000000000002). Exhausted after delivery attempt: 1 caught: org.apache.camel.RuntimeCamelException: Error invoking resource with {resourceAsString={"resourceType":"Patient","name":[{"family":["Holmes"],"given":["Sherlock"]}],"address":[{"line":["221b Baker St, Marylebone, London NW1 6XE, UK"]}]}, extraParameters={}}: Failed to retrieve the server metadata statement during client initialization. URL used was http://localhost:55005/hapi-fhir-jpaserver/fhir/metadata
   
   Message History (complete message history is disabled)
   ---------------------------------------------------------------------------------------------------------------------------------------
   RouteId              ProcessorId          Processor                                                                        Elapsed (ms)
   [route12           ] [route12           ] [from[direct://create-dstu2]                                                   ] [        81]
   	...
   [route12           ] [to4               ] [fhir://create/resource?inBody=resourceAsString&fhirContext=#DSTU2             ] [         0]
   
   Stacktrace
   ---------------------------------------------------------------------------------------------------------------------------------------
   : org.apache.camel.RuntimeCamelException: Error invoking resource with {resourceAsString={"resourceType":"Patient","name":[{"family":["Holmes"],"given":["Sherlock"]}],"address":[{"line":["221b Baker St, Marylebone, London NW1 6XE, UK"]}]}, extraParameters={}}: Failed to retrieve the server metadata statement during client initialization. URL used was http://localhost:55005/hapi-fhir-jpaserver/fhir/metadata
   	at org.apache.camel.support.component.ApiMethodHelper.invokeMethod(ApiMethodHelper.java:530)
   	at org.apache.camel.support.component.AbstractApiProducer.doInvokeMethod(AbstractApiProducer.java:121)
   	at org.apache.camel.support.component.AbstractApiProducer$1.run(AbstractApiProducer.java:88)
   	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
   	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
   	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
   	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
   	at java.lang.Thread.run(Thread.java:748)
   Caused by: ca.uhn.fhir.rest.client.exceptions.FhirClientConnectionException: Failed to retrieve the server metadata statement during client initialization. URL used was http://localhost:55005/hapi-fhir-jpaserver/fhir/metadata
   	at ca.uhn.fhir.rest.client.impl.RestfulClientFactory.validateServerBase(RestfulClientFactory.java:312)
   	at ca.uhn.fhir.rest.client.impl.RestfulClientFactory.validateServerBaseIfConfiguredToDoSo(RestfulClientFactory.java:264)
   	at ca.uhn.fhir.rest.client.impl.BaseClient.invokeClient(BaseClient.java:226)
   	at ca.uhn.fhir.rest.client.impl.GenericClient$BaseClientExecutable.invoke(GenericClient.java:434)
   	at ca.uhn.fhir.rest.client.impl.GenericClient$CreateInternal.execute(GenericClient.java:581)
   	at ca.uhn.fhir.rest.client.impl.GenericClient$CreateInternal.execute(GenericClient.java:536)
   	at org.apache.camel.component.fhir.api.FhirCreate.resource(FhirCreate.java:80)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.lang.reflect.Method.invoke(Method.java:498)
   	at org.apache.camel.support.component.ApiMethodHelper.invokeMethod(ApiMethodHelper.java:522)
   	... 9 more
   Caused by: ca.uhn.fhir.rest.client.exceptions.FhirClientConnectionException: Failed to parse response from server when performing GET to URL http://localhost:55005/hapi-fhir-jpaserver/fhir/metadata - ca.uhn.fhir.parser.DataFormatException: Incorrect resource type found, expected "Conformance" but found "CapabilityStatement"
   	at ca.uhn.fhir.rest.client.impl.BaseClient.invokeClient(BaseClient.java:390)
   	at ca.uhn.fhir.rest.client.impl.GenericClient$BaseClientExecutable.invoke(GenericClient.java:434)
   	at ca.uhn.fhir.rest.client.impl.GenericClient$FetchConformanceInternal.execute(GenericClient.java:701)
   	at ca.uhn.fhir.rest.client.impl.RestfulClientFactory.validateServerBase(RestfulClientFactory.java:300)
   	... 20 more
   Caused by: ca.uhn.fhir.parser.DataFormatException: Incorrect resource type found, expected "Conformance" but found "CapabilityStatement"
   	at ca.uhn.fhir.parser.ParserState$PreResourceState.enteringNewElement(ParserState.java:900)
   	at ca.uhn.fhir.parser.ParserState.enteringNewElement(ParserState.java:91)
   	at ca.uhn.fhir.parser.JsonParser.doParseResource(JsonParser.java:194)
   	at ca.uhn.fhir.parser.JsonParser.doParseResource(JsonParser.java:178)
   	at ca.uhn.fhir.parser.BaseParser.parseResource(BaseParser.java:703)
   	at ca.uhn.fhir.parser.BaseParser.parseResource(BaseParser.java:688)
   	at ca.uhn.fhir.rest.client.impl.BaseClient$ResourceResponseHandler.invokeClient(BaseClient.java:578)
   	at ca.uhn.fhir.rest.client.impl.BaseClient$ResourceResponseHandler.invokeClient(BaseClient.java:530)
   	at ca.uhn.fhir.rest.client.impl.BaseClient.invokeClient(BaseClient.java:380)
   	... 23 more
   
   2021-02-04 15:55:31,647 ERROR [io.qua.ver.htt.run.QuarkusErrorHandler] (executor-thread-1) HTTP Request to /dstu2/createPatient failed, error id: 509f5c33-0a3a-42ac-8672-1b22e8f8374c-3: org.jboss.resteasy.spi.UnhandledException: org.apache.camel.CamelExecutionException: Exception occurred during execution on the exchange: Exchange[5A5DA27443E0706-0000000000000002]
   	at org.jboss.resteasy.core.ExceptionHandler.handleApplicationException(ExceptionHandler.java:106)
   	at org.jboss.resteasy.core.ExceptionHandler.handleException(ExceptionHandler.java:372)
   	at org.jboss.resteasy.core.SynchronousDispatcher.writeException(SynchronousDispatcher.java:218)
   	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:519)
   	at org.jboss.resteasy.core.SynchronousDispatcher.lambda$invoke$4(SynchronousDispatcher.java:261)
   	at org.jboss.resteasy.core.SynchronousDispatcher.lambda$preprocess$0(SynchronousDispatcher.java:161)
   	at org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:364)
   	at org.jboss.resteasy.core.SynchronousDispatcher.preprocess(SynchronousDispatcher.java:164)
   	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:247)
   	at io.quarkus.resteasy.runtime.standalone.RequestDispatcher.service(RequestDispatcher.java:73)
   	at io.quarkus.resteasy.runtime.standalone.VertxRequestHandler.dispatch(VertxRequestHandler.java:138)
   	at io.quarkus.resteasy.runtime.standalone.VertxRequestHandler.access$000(VertxRequestHandler.java:41)
   	at io.quarkus.resteasy.runtime.standalone.VertxRequestHandler$1.run(VertxRequestHandler.java:93)
   	at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2415)
   	at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1452)
   	at org.jboss.threads.DelegatingRunnable.run(DelegatingRunnable.java:29)
   	at org.jboss.threads.ThreadLocalResettingRunnable.run(ThreadLocalResettingRunnable.java:29)
   	at java.lang.Thread.run(Thread.java:748)
   	at org.jboss.threads.JBossThread.run(JBossThread.java:501)
   Caused by: org.apache.camel.CamelExecutionException: Exception occurred during execution on the exchange: Exchange[5A5DA27443E0706-0000000000000002]
   	at org.apache.camel.CamelExecutionException.wrapCamelExecutionException(CamelExecutionException.java:45)
   	at org.apache.camel.support.ExchangeHelper.extractResultBody(ExchangeHelper.java:692)
   	at org.apache.camel.impl.engine.DefaultProducerTemplate.extractResultBody(DefaultProducerTemplate.java:591)
   	at org.apache.camel.impl.engine.DefaultProducerTemplate.extractResultBody(DefaultProducerTemplate.java:587)
   	at org.apache.camel.impl.engine.DefaultProducerTemplate.requestBody(DefaultProducerTemplate.java:414)
   	at org.apache.camel.quarkus.component.fhir.it.FhirDstu2Resource.createPatient(FhirDstu2Resource.java:72)
   	at org.apache.camel.quarkus.component.fhir.it.FhirDstu2Resource_ClientProxy.createPatient(FhirDstu2Resource_ClientProxy.zig:238)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.lang.reflect.Method.invoke(Method.java:498)
   	at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:170)
   	at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:130)
   	at org.jboss.resteasy.core.ResourceMethodInvoker.internalInvokeOnTarget(ResourceMethodInvoker.java:643)
   	at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTargetAfterFilter(ResourceMethodInvoker.java:507)
   	at org.jboss.resteasy.core.ResourceMethodInvoker.lambda$invokeOnTarget$2(ResourceMethodInvoker.java:457)
   	at org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:364)
   	at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:459)
   	at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:419)
   	at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:393)
   	at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:68)
   	at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:492)
   	... 15 more
   Caused by: org.apache.camel.RuntimeCamelException: Error invoking resource with {resourceAsString={"resourceType":"Patient","name":[{"family":["Holmes"],"given":["Sherlock"]}],"address":[{"line":["221b Baker St, Marylebone, London NW1 6XE, UK"]}]}, extraParameters={}}: Failed to retrieve the server metadata statement during client initialization. URL used was http://localhost:55005/hapi-fhir-jpaserver/fhir/metadata
   	at org.apache.camel.support.component.ApiMethodHelper.invokeMethod(ApiMethodHelper.java:530)
   	at org.apache.camel.support.component.AbstractApiProducer.doInvokeMethod(AbstractApiProducer.java:121)
   	at org.apache.camel.support.component.AbstractApiProducer$1.run(AbstractApiProducer.java:88)
   	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
   	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
   	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
   	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
   	at java.lang.Thread.run(Thread.java:748)
   Caused by: ca.uhn.fhir.rest.client.exceptions.FhirClientConnectionException: Failed to retrieve the server metadata statement during client initialization. URL used was http://localhost:55005/hapi-fhir-jpaserver/fhir/metadata
   	at ca.uhn.fhir.rest.client.impl.RestfulClientFactory.validateServerBase(RestfulClientFactory.java:312)
   	at ca.uhn.fhir.rest.client.impl.RestfulClientFactory.validateServerBaseIfConfiguredToDoSo(RestfulClientFactory.java:264)
   	at ca.uhn.fhir.rest.client.impl.BaseClient.invokeClient(BaseClient.java:226)
   	at ca.uhn.fhir.rest.client.impl.GenericClient$BaseClientExecutable.invoke(GenericClient.java:434)
   	at ca.uhn.fhir.rest.client.impl.GenericClient$CreateInternal.execute(GenericClient.java:581)
   	at ca.uhn.fhir.rest.client.impl.GenericClient$CreateInternal.execute(GenericClient.java:536)
   	at org.apache.camel.component.fhir.api.FhirCreate.resource(FhirCreate.java:80)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.lang.reflect.Method.invoke(Method.java:498)
   	at org.apache.camel.support.component.ApiMethodHelper.invokeMethod(ApiMethodHelper.java:522)
   	... 9 more
   Caused by: ca.uhn.fhir.rest.client.exceptions.FhirClientConnectionException: Failed to parse response from server when performing GET to URL http://localhost:55005/hapi-fhir-jpaserver/fhir/metadata - ca.uhn.fhir.parser.DataFormatException: Incorrect resource type found, expected "Conformance" but found "CapabilityStatement"
   	at ca.uhn.fhir.rest.client.impl.BaseClient.invokeClient(BaseClient.java:390)
   	at ca.uhn.fhir.rest.client.impl.GenericClient$BaseClientExecutable.invoke(GenericClient.java:434)
   	at ca.uhn.fhir.rest.client.impl.GenericClient$FetchConformanceInternal.execute(GenericClient.java:701)
   	at ca.uhn.fhir.rest.client.impl.RestfulClientFactory.validateServerBase(RestfulClientFactory.java:300)
   	... 20 more
   Caused by: ca.uhn.fhir.parser.DataFormatException: Incorrect resource type found, expected "Conformance" but found "CapabilityStatement"
   	at ca.uhn.fhir.parser.ParserState$PreResourceState.enteringNewElement(ParserState.java:900)
   	at ca.uhn.fhir.parser.ParserState.enteringNewElement(ParserState.java:91)
   	at ca.uhn.fhir.parser.JsonParser.doParseResource(JsonParser.java:194)
   	at ca.uhn.fhir.parser.JsonParser.doParseResource(JsonParser.java:178)
   	at ca.uhn.fhir.parser.BaseParser.parseResource(BaseParser.java:703)
   	at ca.uhn.fhir.parser.BaseParser.parseResource(BaseParser.java:688)
   	at ca.uhn.fhir.rest.client.impl.BaseClient$ResourceResponseHandler.invokeClient(BaseClient.java:578)
   	at ca.uhn.fhir.rest.client.impl.BaseClient$ResourceResponseHandler.invokeClient(BaseClient.java:530)
   	at ca.uhn.fhir.rest.client.impl.BaseClient.invokeClient(BaseClient.java:380)
   	... 23 more
   
   2021-02-04 15:55:31,655 INFO  [org.apa.cam.qua.com.fhi.it.FhirClientTest] (main) Running DSTU3 Client test
   2021-02-04 15:55:31,655 INFO  [ca.uhn.fhi.con.FhirContext] (main) Creating new FHIR context for FHIR version [DSTU3]
   [ERROR] Tests run: 4, Failures: 3, Errors: 0, Skipped: 0, Time elapsed: 46.689 s <<< FAILURE! - in org.apache.camel.quarkus.component.fhir.it.FhirClientTest
   [ERROR] fhirClientR4  Time elapsed: 1.705 s  <<< FAILURE!
   java.lang.AssertionError: 
   1 expectation failed.
   Expected status code <201> but was <500>.
   
   	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
   	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
   	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:72)
   	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:59)
   	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
   	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:59)
   	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:263)
   	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:277)
   	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:493)
   	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
   	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
   	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
   	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:139)
   	at io.restassured.internal.ResponseSpecificationImpl.validateResponseIfRequired(ResponseSpecificationImpl.groovy:674)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.lang.reflect.Method.invoke(Method.java:498)
   	at org.codehaus.groovy.runtime.callsite.PlainObjectMetaMethodSite.doInvoke(PlainObjectMetaMethodSite.java:43)
   	at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:193)
   	at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:61)
   	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:51)
   	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:171)
   	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
   	at io.restassured.internal.ResponseSpecificationImpl.statusCode(ResponseSpecificationImpl.groovy:126)
   	at io.restassured.specification.ResponseSpecification$statusCode$0.callCurrent(Unknown Source)
   	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:51)
   	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:171)
   	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
   	at io.restassured.internal.ResponseSpecificationImpl.statusCode(ResponseSpecificationImpl.groovy:134)
   	at io.restassured.internal.ValidatableResponseOptionsImpl.statusCode(ValidatableResponseOptionsImpl.java:89)
   	at io.restassured.internal.ValidatableResponseImpl.super$2$statusCode(ValidatableResponseImpl.groovy)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.lang.reflect.Method.invoke(Method.java:498)
   	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:107)
   	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323)
   	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1259)
   	at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuperN(ScriptBytecodeAdapter.java:144)
   	at io.restassured.internal.ValidatableResponseImpl.statusCode(ValidatableResponseImpl.groovy:142)
   	at io.restassured.internal.ValidatableResponseImpl.statusCode(ValidatableResponseImpl.groovy)
   	at org.apache.camel.quarkus.component.fhir.it.FhirClientTest.fhirClientR4(FhirClientTest.java:57)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.lang.reflect.Method.invoke(Method.java:498)
   	at io.quarkus.test.junit.QuarkusTestExtension.runExtensionMethod(QuarkusTestExtension.java:840)
   	at io.quarkus.test.junit.QuarkusTestExtension.interceptTestMethod(QuarkusTestExtension.java:747)
   	at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115)
   	at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105)
   	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
   	at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149)
   	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140)
   	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84)
   	at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115)
   	at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105)
   	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
   	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
   	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
   	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
   	at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104)
   	at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98)
   	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210)
   	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
   	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206)
   	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131)
   	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139)
   	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129)
   	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127)
   	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84)
   	at java.util.ArrayList.forEach(ArrayList.java:1259)
   	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143)
   	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129)
   	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127)
   	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84)
   	at java.util.ArrayList.forEach(ArrayList.java:1259)
   	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143)
   	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129)
   	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127)
   	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84)
   	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32)
   	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
   	at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51)
   	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220)
   	at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188)
   	at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202)
   	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181)
   	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128)
   	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:150)
   	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:124)
   	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
   	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
   	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
   	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
   
   [ERROR] fhirClientR5  Time elapsed: 0.299 s  <<< FAILURE!
   java.lang.AssertionError: 
   1 expectation failed.
   Expected status code <201> but was <500>.
   
   	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
   	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
   	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:72)
   	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:59)
   	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
   	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:277)
   	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:493)
   	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
   	at io.restassured.internal.ResponseSpecificationImpl.validateResponseIfRequired(ResponseSpecificationImpl.groovy:674)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.lang.reflect.Method.invoke(Method.java:498)
   	at org.codehaus.groovy.runtime.callsite.PlainObjectMetaMethodSite.doInvoke(PlainObjectMetaMethodSite.java:43)
   	at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:193)
   	at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:61)
   	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
   	at io.restassured.internal.ResponseSpecificationImpl.statusCode(ResponseSpecificationImpl.groovy:126)
   	at io.restassured.specification.ResponseSpecification$statusCode$0.callCurrent(Unknown Source)
   	at io.restassured.internal.ResponseSpecificationImpl.statusCode(ResponseSpecificationImpl.groovy:134)
   	at io.restassured.internal.ValidatableResponseOptionsImpl.statusCode(ValidatableResponseOptionsImpl.java:89)
   	at io.restassured.internal.ValidatableResponseImpl.super$2$statusCode(ValidatableResponseImpl.groovy)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.lang.reflect.Method.invoke(Method.java:498)
   	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:107)
   	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323)
   	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1259)
   	at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuperN(ScriptBytecodeAdapter.java:144)
   	at io.restassured.internal.ValidatableResponseImpl.statusCode(ValidatableResponseImpl.groovy:142)
   	at io.restassured.internal.ValidatableResponseImpl.statusCode(ValidatableResponseImpl.groovy)
   	at org.apache.camel.quarkus.component.fhir.it.FhirClientTest.fhirClientR5(FhirClientTest.java:44)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.lang.reflect.Method.invoke(Method.java:498)
   	at io.quarkus.test.junit.QuarkusTestExtension.runExtensionMethod(QuarkusTestExtension.java:840)
   	at io.quarkus.test.junit.QuarkusTestExtension.interceptTestMethod(QuarkusTestExtension.java:747)
   	at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115)
   	at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105)
   	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
   	at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149)
   	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140)
   	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84)
   	at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115)
   	at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105)
   	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
   	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
   	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
   	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
   	at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104)
   	at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98)
   	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210)
   	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
   	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206)
   	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131)
   	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139)
   	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129)
   	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127)
   	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84)
   	at java.util.ArrayList.forEach(ArrayList.java:1259)
   	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143)
   	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129)
   	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127)
   	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84)
   	at java.util.ArrayList.forEach(ArrayList.java:1259)
   	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143)
   	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129)
   	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127)
   	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84)
   	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32)
   	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
   	at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51)
   	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220)
   	at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188)
   	at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202)
   	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181)
   	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128)
   	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:150)
   	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:124)
   	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
   	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
   	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
   	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
   
   [ERROR] fhirClientDstu2  Time elapsed: 0.111 s  <<< FAILURE!
   java.lang.AssertionError: 
   1 expectation failed.
   Expected status code <201> but was <500>.
   
   	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
   	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
   	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:72)
   	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:59)
   	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
   	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:277)
   	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:493)
   	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
   	at io.restassured.internal.ResponseSpecificationImpl.validateResponseIfRequired(ResponseSpecificationImpl.groovy:674)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.lang.reflect.Method.invoke(Method.java:498)
   	at org.codehaus.groovy.runtime.callsite.PlainObjectMetaMethodSite.doInvoke(PlainObjectMetaMethodSite.java:43)
   	at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:193)
   	at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:61)
   	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
   	at io.restassured.internal.ResponseSpecificationImpl.statusCode(ResponseSpecificationImpl.groovy:126)
   	at io.restassured.specification.ResponseSpecification$statusCode$0.callCurrent(Unknown Source)
   	at io.restassured.internal.ResponseSpecificationImpl.statusCode(ResponseSpecificationImpl.groovy:134)
   	at io.restassured.internal.ValidatableResponseOptionsImpl.statusCode(ValidatableResponseOptionsImpl.java:89)
   	at io.restassured.internal.ValidatableResponseImpl.super$2$statusCode(ValidatableResponseImpl.groovy)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.lang.reflect.Method.invoke(Method.java:498)
   	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:107)
   	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:323)
   	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1259)
   	at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuperN(ScriptBytecodeAdapter.java:144)
   	at io.restassured.internal.ValidatableResponseImpl.statusCode(ValidatableResponseImpl.groovy:142)
   	at io.restassured.internal.ValidatableResponseImpl.statusCode(ValidatableResponseImpl.groovy)
   	at org.apache.camel.quarkus.component.fhir.it.FhirClientTest.fhirClientDstu2(FhirClientTest.java:83)
   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.lang.reflect.Method.invoke(Method.java:498)
   	at io.quarkus.test.junit.QuarkusTestExtension.runExtensionMethod(QuarkusTestExtension.java:840)
   	at io.quarkus.test.junit.QuarkusTestExtension.interceptTestMethod(QuarkusTestExtension.java:747)
   	at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115)
   	at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105)
   	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
   	at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149)
   	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140)
   	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84)
   	at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115)
   	at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105)
   	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
   	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
   	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
   	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
   	at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104)
   	at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98)
   	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210)
   	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
   	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206)
   	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131)
   	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139)
   	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129)
   	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127)
   	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84)
   	at java.util.ArrayList.forEach(ArrayList.java:1259)
   	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143)
   	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129)
   	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127)
   	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84)
   	at java.util.ArrayList.forEach(ArrayList.java:1259)
   	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143)
   	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129)
   	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127)
   	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84)
   	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32)
   	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
   	at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51)
   	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:220)
   	at org.junit.platform.launcher.core.DefaultLauncher.lambda$execute$6(DefaultLauncher.java:188)
   	at org.junit.platform.launcher.core.DefaultLauncher.withInterceptedStreams(DefaultLauncher.java:202)
   	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:181)
   	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:128)
   	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:150)
   	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:124)
   	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
   	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
   	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
   	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
   
   [INFO] Running org.apache.camel.quarkus.component.fhir.it.FhirDataformatTest
   2021-02-04 15:55:34,467 INFO  [org.apa.cam.qua.com.fhi.it.FhirDataformatTest] (main) Running R4 JSON test
   2021-02-04 15:55:34,467 INFO  [ca.uhn.fhi.con.FhirContext] (main) Creating new FHIR context for FHIR version [R4]
   2021-02-04 15:55:34,508 INFO  [org.apa.cam.qua.com.fhi.it.FhirDataformatTest] (main) Running R5 JSON test
   2021-02-04 15:55:34,508 INFO  [ca.uhn.fhi.con.FhirContext] (main) Creating new FHIR context for FHIR version [R5]
   2021-02-04 15:55:34,541 INFO  [org.apa.cam.qua.com.fhi.it.FhirDataformatTest] (main) Running DSTU2 JSON test
   2021-02-04 15:55:34,542 INFO  [ca.uhn.fhi.con.FhirContext] (main) Creating new FHIR context for FHIR version [DSTU2]
   2021-02-04 15:55:34,568 INFO  [org.apa.cam.qua.com.fhi.it.FhirDataformatTest] (main) Running DSTU3 JSON test
   2021-02-04 15:55:34,568 INFO  [ca.uhn.fhi.con.FhirContext] (main) Creating new FHIR context for FHIR version [DSTU3]
   2021-02-04 15:55:34,594 INFO  [org.apa.cam.qua.com.fhi.it.FhirDataformatTest] (main) Running DSTU2 XML test
   2021-02-04 15:55:34,594 INFO  [ca.uhn.fhi.con.FhirContext] (main) Creating new FHIR context for FHIR version [DSTU2]
   2021-02-04 15:55:34,628 INFO  [org.apa.cam.qua.com.fhi.it.FhirDataformatTest] (main) Running DSTU3 XML test
   2021-02-04 15:55:34,628 INFO  [ca.uhn.fhi.con.FhirContext] (main) Creating new FHIR context for FHIR version [DSTU3]
   2021-02-04 15:55:34,649 INFO  [org.apa.cam.qua.com.fhi.it.FhirDataformatTest] (main) Running R4 XML test
   2021-02-04 15:55:34,649 INFO  [ca.uhn.fhi.con.FhirContext] (main) Creating new FHIR context for FHIR version [R4]
   2021-02-04 15:55:34,679 INFO  [org.apa.cam.qua.com.fhi.it.FhirDataformatTest] (main) Running R5 XML test
   2021-02-04 15:55:34,679 INFO  [ca.uhn.fhi.con.FhirContext] (main) Creating new FHIR context for FHIR version [R5]
   [INFO] Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.08 s - in org.apache.camel.quarkus.component.fhir.it.FhirDataformatTest
   2021-02-04 15:55:34,730 INFO  [org.apa.cam.mai.MainLifecycleStrategy] (main) CamelContext: camel-1 has been shutdown, triggering shutdown of the JVM.
   2021-02-04 15:55:34,730 INFO  [org.apa.cam.imp.eng.AbstractCamelContext] (main) Apache Camel 3.7.1 (camel-1) is shutting down
   2021-02-04 15:55:34,739 INFO  [org.apa.cam.imp.eng.AbstractCamelContext] (main) Apache Camel 3.7.1 (camel-1) uptime 5s309ms
   2021-02-04 15:55:34,740 INFO  [org.apa.cam.imp.eng.AbstractCamelContext] (main) Apache Camel 3.7.1 (camel-1) is shutdown in 10ms
   2021-02-04 15:55:34,753 INFO  [io.quarkus] (main) Quarkus stopped in 0.043s
   [INFO] 
   [INFO] Results:
   [INFO] 
   [ERROR] Failures: 
   [ERROR]   FhirClientTest.fhirClientDstu2:83 1 expectation failed.
   Expected status code <201> but was <500>.
   
   [ERROR]   FhirClientTest.fhirClientR4:57 1 expectation failed.
   Expected status code <201> but was <500>.
   
   [ERROR]   FhirClientTest.fhirClientR5:44 1 expectation failed.
   Expected status code <201> but was <500>.
   
   [INFO] 
   [ERROR] Tests run: 12, Failures: 3, Errors: 0, Skipped: 0
   [INFO] 
   [INFO] ------------------------------------------------------------------------
   [INFO] BUILD FAILURE
   [INFO] ------------------------------------------------------------------------
   [INFO] Total time:  01:06 min
   [INFO] Finished at: 2021-02-04T15:55:35+01:00
   [INFO] ------------------------------------------------------------------------
   [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.22.2:test (default-test) on project camel-quarkus-integration-test-fhir: There are test failures.
   [ERROR] 
   [ERROR] Please refer to /Users/llowinge/Redhat/quarkus/camel-quarkus/integration-tests/fhir/target/surefire-reports for the individual test results.
   [ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
   [ERROR] -> [Help 1]
   [ERROR] 
   [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
   [ERROR] Re-run Maven using the -X switch to enable full debug logging.
   [ERROR] 
   [ERROR] For more information about the errors and possible solutions, please read the following articles:
   [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
   
   </details>


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-quarkus] llowinge commented on issue #2201: FHIR tests don't work with all possible options

Posted by GitBox <gi...@apache.org>.
llowinge commented on issue #2201:
URL: https://github.com/apache/camel-quarkus/issues/2201#issuecomment-773385712


   @johnpoth Thanks for the info ! I'm closing this as explained.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-quarkus] johnpoth commented on issue #2201: FHIR tests don't work with all possible options

Posted by GitBox <gi...@apache.org>.
johnpoth commented on issue #2201:
URL: https://github.com/apache/camel-quarkus/issues/2201#issuecomment-773379086


   The FHIR test server is setup to use [DSTU3](https://github.com/apache/camel-quarkus/blob/master/integration-tests/fhir/src/test/java/org/apache/camel/quarkus/component/fhir/it/FhirTestResource.java#L44). 
   You have to change it manually to test out other versions. There is a issue upstream for an [enhancement](https://github.com/hapifhir/hapi-fhir-jpaserver-starter/issues/70) to run the server on multiple versions. Thanks ! 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-quarkus] llowinge closed issue #2201: FHIR tests don't work with all possible options

Posted by GitBox <gi...@apache.org>.
llowinge closed issue #2201:
URL: https://github.com/apache/camel-quarkus/issues/2201


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-quarkus] llowinge closed issue #2201: FHIR tests don't work with all possible options

Posted by GitBox <gi...@apache.org>.
llowinge closed issue #2201:
URL: https://github.com/apache/camel-quarkus/issues/2201


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-quarkus] johnpoth commented on issue #2201: FHIR tests don't work with all possible options

Posted by GitBox <gi...@apache.org>.
johnpoth commented on issue #2201:
URL: https://github.com/apache/camel-quarkus/issues/2201#issuecomment-773379086


   The FHIR test server is setup to use [DSTU3](https://github.com/apache/camel-quarkus/blob/master/integration-tests/fhir/src/test/java/org/apache/camel/quarkus/component/fhir/it/FhirTestResource.java#L44). 
   You have to change it manually to test out other versions. There is a issue upstream for an [enhancement](https://github.com/hapifhir/hapi-fhir-jpaserver-starter/issues/70) to run the server on multiple versions. Thanks ! 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-quarkus] llowinge commented on issue #2201: FHIR tests don't work with all possible options

Posted by GitBox <gi...@apache.org>.
llowinge commented on issue #2201:
URL: https://github.com/apache/camel-quarkus/issues/2201#issuecomment-773373743


   @jamesnetherton FYI


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel-quarkus] llowinge commented on issue #2201: FHIR tests don't work with all possible options

Posted by GitBox <gi...@apache.org>.
llowinge commented on issue #2201:
URL: https://github.com/apache/camel-quarkus/issues/2201#issuecomment-773373743






----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org