This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
minikube start \ | |
--extra-config=apiserver.authorization-mode=Node,RBAC \ | |
--extra-config=apiserver.oidc-issuer-url=https://accounts.google.com \ | |
--extra-config=apiserver.oidc-username-claim=email \ | |
--extra-config=apiserver.oidc-client-id="XXX-XXX.apps.googleusercontent.com" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from("file:{{input}}").routeId("fhir-example") // (1) | |
.onException(ProtocolException.class) // (2) | |
.handled(true) | |
.log(LoggingLevel.ERROR, "Error connecting to FHIR server with URL:{{serverUrl}}, please check the application.properties file ${exception.message}") | |
.end() | |
.onException(HL7Exception.class) | |
.handled(true) | |
.log(LoggingLevel.ERROR, "Error unmarshalling ${file:name} ${exception.message}") | |
.end() | |
.log("Converting ${file:name}") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2018-07-04 16:22:52,189 [cdi.Main.main()] INFO DefaultCamelContext - Route: fhir-example started and consuming from: file://target/work/fhir/input | |
2018-07-04 16:22:52,189 [cdi.Main.main()] INFO DefaultCamelContext - Total 1 routes, of which 1 are started | |
2018-07-04 16:22:52,190 [cdi.Main.main()] INFO DefaultCamelContext - Apache Camel 2.22.0-SNAPSHOT (CamelContext: camel-example-fhir-cdi) started in 0.636 seconds | |
2018-07-04 16:22:52,203 [cdi.Main.main()] INFO Bootstrap - WELD-ENV-002003: Weld SE container 357a3776-d8cd-40be-abb4-ad91a43c9755 initialized | |
2018-07-04 16:22:57,705 [work/fhir/input] INFO fhir-example - Converting hl7v2.patient | |
2018-07-04 16:22:58,176 [work/fhir/input] INFO fhir-example - Inserting Patient: {"resourceType":"Patient","id":"100005056","name":[{"family":"Freeman","given":["Vincent"]}]} | |
2018-07-04 16:22:58,669 [ #3 - CamelFhir] INFO fhir-example - Patient creating successf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[jpoth@localhost ~/dev/git/apache/camel]$git bisect start HEAD camel-2.17.0 | |
Bisecting: a merge base must be tested | |
[95a7910f00bb42398acd1fbedc1bd88e0f53d475] Add setContentLengthLong() method defined in ServletResponse | |
[jpoth@localhost ~/dev/git/apache/camel]$git bisect run ./git-run.sh | |
running ./git-run.sh | |
..... COFFEE BREAK ~ 20 minutes later | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
mvn clean install -Dtest=FileConsumerPreMoveLastModifiedTest -f camel-core/pom.xml | |
test_exit_code=$? | |
git checkout -- . | |
exit "$test_exit_code" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- components/camel-spring/pom.xml (date 1511193500000) | |
+++ components/camel-spring/pom.xml (revision ) | |
@@ -650,6 +650,9 @@ | |
<configuration> | |
<target> | |
<echo>Copying XSD schema to be included in JAR</echo> | |
+ <replace file="${project.build.directory}/schema/schema1.xsd" | |
+ token="xmlns:xs="http://www.w3.org/2001/XMLSchema"" | |
+ value="xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema""/> | |
<move file="${project.build.directory}/schema/schema1.xsd" tofile="${project.build.directory}/schema/camel-spring.xsd" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<feature name='camel-olingo4' version='${project.version}' resolver='(obr)' start-level='50'> | |
<feature version='${project.version}'>camel-core</feature> | |
<feature>http</feature> | |
<bundle dependency='true'>mvn:commons-lang/commons-lang/${commons-lang-version}</bundle> | |
<bundle dependency='true'>mvn:commons-io/commons-io/${commons-io-version}</bundle> | |
<bundle dependency='true'>mvn:org.apache.httpcomponents/httpcore-osgi/${httpcore4-version}</bundle> | |
<bundle dependency='true'>mvn:org.apache.httpcomponents/httpclient-osgi/${httpclient4-version}</bundle> | |
<bundle dependency='true'>mvn:org.apache.httpcomponents/httpasyncclient-osgi/${httpasyncclient-version}</bundle> | |
<bundle dependency='true'>mvn:com.fasterxml.jackson.core/jackson-core/${jackson2-version}</bundle> | |
<bundle dependency='true'>mvn:com.fasterxml.jackson.core/jackson-annotations/${jackson2-version}</bundle> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make public final com.sun.xml.internal.bind.v2.runtime.JaxBeanInfo com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.getBeanInfo(java.lang.Class) accessible: | |
module java.xml.bind does not "exports com.sun.xml.internal.bind.v2.runtime" to unnamed module @b968a76 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
testMarshallList(org.apache.camel.dataformat.bindy.fixed.marshall.simple.BindySimpleFixedLengthObjectMarshallTest) Time elapsed: 0 sec <<< ERROR! | |
java.lang.IllegalStateException: Failed to load ApplicationContext | |
Caused by: java.lang.IllegalStateException: Cannot load configuration class: org.apache.camel.spring.boot.TypeConversionConfiguration | |
Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.sun.xml.bind.v2.runtime.reflect.opt.Injector | |
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.cglib.proxy.Enhancer | |
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) throws java.lang.ClassFormatError accessible: module java.base does not "opens java.lang" to unnamed module @5db4c359 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
testMarshallList(org.apache.camel.dataformat.bindy.fixed.marshall.simple.BindySimpleFixedLengthObjectMarshallTest) Time elapsed: 0 sec <<< ERROR! | |
java.lang.IllegalStateException: Failed to load ApplicationContext | |
Caused by: java.lang.IllegalStateException: Cannot load configuration class: org.apache.camel.spring.boot.TypeConversionConfiguration | |
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.springframework.cglib.proxy.Enhancer | |
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) throws java.lang.ClassFormatError accessible: module java.base does not "opens java.lang" to unnamed module @5db4c359 |