[jira] [Commented] (CAMEL-12677) Create FHIR spring boot quickstart

2018-07-24 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/CAMEL-12677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16554050#comment-16554050
 ] 

ASF GitHub Bot commented on CAMEL-12677:


oscerd commented on issue #2438: CAMEL-12677 Added missing sample output
URL: https://github.com/apache/camel/pull/2438#issuecomment-407355609
 
 
   Thanks @rkorytkowski. Merged on master.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Create FHIR spring boot quickstart
> --
>
> Key: CAMEL-12677
> URL: https://issues.apache.org/jira/browse/CAMEL-12677
> Project: Camel
>  Issue Type: Task
>  Components: examples
>Reporter: Rafal Korytkowski
>Assignee: Andrea Cosentino
>Priority: Major
> Fix For: 2.23.0
>
>
> Base the example on 
> https://github.com/apache/camel/tree/master/examples/camel-example-fhir



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAMEL-12677) Create FHIR spring boot quickstart

2018-07-24 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/CAMEL-12677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16554051#comment-16554051
 ] 

ASF GitHub Bot commented on CAMEL-12677:


oscerd closed pull request #2438: CAMEL-12677 Added missing sample output
URL: https://github.com/apache/camel/pull/2438
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/examples/camel-example-fhir-spring-boot/readme.adoc 
b/examples/camel-example-fhir-spring-boot/readme.adoc
index d682d9b68e0..a1b33be1972 100644
--- a/examples/camel-example-fhir-spring-boot/readme.adoc
+++ b/examples/camel-example-fhir-spring-boot/readme.adoc
@@ -36,7 +36,9 @@ $ mvn spring-boot:run
 When the Camel application runs, you should see a folder created under 
`target/work/fhir/input`. Copy the file `hl7v2.patient`
 located in the `src/main/data` folder into it. You should see the following 
output:
 ```
-
+2018-07-24 11:52:51.615  INFO 30666 --- [work/fhir/input] fhir-example: 
Converting hl7v2.patient
+2018-07-24 11:52:52.700  INFO 30666 --- [work/fhir/input] fhir-example: 
Inserting Patient: 
{"resourceType":"Patient","id":"15056","name":[{"family":"Freeman","given":["Vincent"]}]}
+2018-07-24 11:52:56.995  INFO 30666 --- [ #2 - CamelFhir] fhir-example: 
Patient created successfully: ca.uhn.fhir.rest.api.MethodOutcome@270f03f1
 ```
 
 The Camel application can be stopped pressing ctrl+c in 
the shell.


 


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Create FHIR spring boot quickstart
> --
>
> Key: CAMEL-12677
> URL: https://issues.apache.org/jira/browse/CAMEL-12677
> Project: Camel
>  Issue Type: Task
>  Components: examples
>Reporter: Rafal Korytkowski
>Assignee: Andrea Cosentino
>Priority: Major
> Fix For: 2.23.0
>
>
> Base the example on 
> https://github.com/apache/camel/tree/master/examples/camel-example-fhir



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAMEL-12677) Create FHIR spring boot quickstart

2018-07-24 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/CAMEL-12677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16554052#comment-16554052
 ] 

ASF GitHub Bot commented on CAMEL-12677:


Github user oscerd closed the pull request at:

https://github.com/apache/camel/pull/2438


> Create FHIR spring boot quickstart
> --
>
> Key: CAMEL-12677
> URL: https://issues.apache.org/jira/browse/CAMEL-12677
> Project: Camel
>  Issue Type: Task
>  Components: examples
>Reporter: Rafal Korytkowski
>Assignee: Andrea Cosentino
>Priority: Major
> Fix For: 2.23.0
>
>
> Base the example on 
> https://github.com/apache/camel/tree/master/examples/camel-example-fhir



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAMEL-12677) Create FHIR spring boot quickstart

2018-07-24 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/CAMEL-12677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16554028#comment-16554028
 ] 

ASF GitHub Bot commented on CAMEL-12677:


rkorytkowski opened a new pull request #2438: CAMEL-12677 Added missing sample 
output
URL: https://github.com/apache/camel/pull/2438
 
 
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Create FHIR spring boot quickstart
> --
>
> Key: CAMEL-12677
> URL: https://issues.apache.org/jira/browse/CAMEL-12677
> Project: Camel
>  Issue Type: Task
>  Components: examples
>Reporter: Rafal Korytkowski
>Assignee: Andrea Cosentino
>Priority: Major
> Fix For: 2.23.0
>
>
> Base the example on 
> https://github.com/apache/camel/tree/master/examples/camel-example-fhir



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAMEL-12677) Create FHIR spring boot quickstart

2018-07-24 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/CAMEL-12677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16554029#comment-16554029
 ] 

ASF GitHub Bot commented on CAMEL-12677:


GitHub user rkorytkowski opened a pull request:

https://github.com/apache/camel/pull/2438

CAMEL-12677 Added missing sample output



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/rkorytkowski/camel CAMEL-12677

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/camel/pull/2438.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #2438


commit 8ad2cd1ee36fcc900e3281f5119d3cc8a4d03ad4
Author: Rafal Korytkowski 
Date:   2018-07-24T09:54:38Z

CAMEL-12677 Added missing sample output




> Create FHIR spring boot quickstart
> --
>
> Key: CAMEL-12677
> URL: https://issues.apache.org/jira/browse/CAMEL-12677
> Project: Camel
>  Issue Type: Task
>  Components: examples
>Reporter: Rafal Korytkowski
>Assignee: Andrea Cosentino
>Priority: Major
> Fix For: 2.23.0
>
>
> Base the example on 
> https://github.com/apache/camel/tree/master/examples/camel-example-fhir



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAMEL-12677) Create FHIR spring boot quickstart

2018-07-24 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/CAMEL-12677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16553851#comment-16553851
 ] 

ASF GitHub Bot commented on CAMEL-12677:


oscerd closed pull request #2435: CAMEL-12677 Create FHIR spring boot quickstart
URL: https://github.com/apache/camel/pull/2435
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/examples/README.adoc b/examples/README.adoc
index 524be57168b..8fbdafb8403 100644
--- a/examples/README.adoc
+++ b/examples/README.adoc
@@ -11,7 +11,7 @@ View the individual example READMEs for details.
 ### Examples
 
 // examples: START
-Number of Examples: 105 (8 deprecated)
+Number of Examples: 107 (8 deprecated)
 
 [width="100%",cols="4,2,4",options="header"]
 |===
@@ -29,6 +29,8 @@ Number of Examples: 105 (8 deprecated)
 
 | link:camel-example-console/README.md[Console] (camel-example-console) | 
Beginner | An example that reads input from the console
 
+| link:camel-example-fhir-spring-boot/readme.adoc[Fhir Spring Boot] 
(camel-example-fhir-spring-boot) | Beginner | An example showing how to work 
with Camel, Fhir and Spring Boot
+
 | link:camel-example-ftp/README.md[FTP] (camel-example-ftp) | Beginner | An 
example for showing Camel FTP integration
 
 | link:camel-example-java8/readme.adoc[Java8] (camel-example-java8) | Beginner 
| An example for showing Camel DSL for Java 8
@@ -169,6 +171,8 @@ Number of Examples: 105 (8 deprecated)
 
 | link:camel-example-cxf-blueprint/README.md[CXF Blueprint] 
(camel-example-cxf-blueprint) | OSGi | An example which use a CXF consumer and 
the OSGI HTTP Service
 
+| link:camel-example-fhir-osgi/README.md[Fhir Osgi] (camel-example-fhir-osgi) 
| OSGi | An example running Camel FHIR in Apache Karaf
+
 | link:camel-example-netty-http/README.md[Netty HTTP] 
(camel-example-netty-http) | OSGi | An example showing how to use a shared 
Netty HTTP server with multiple Camel applications in OSGi container
 
 | link:camel-example-olingo4-blueprint/README.md[Olingo4 Blueprint] 
(camel-example-olingo4-blueprint) | OSGi | An example which use the Olingo4 
component in Blueprint
diff --git a/examples/camel-example-fhir-spring-boot/pom.xml 
b/examples/camel-example-fhir-spring-boot/pom.xml
new file mode 100644
index 000..7c3477ee412
--- /dev/null
+++ b/examples/camel-example-fhir-spring-boot/pom.xml
@@ -0,0 +1,167 @@
+
+
+http://maven.apache.org/POM/4.0.0; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd;>
+
+  4.0.0
+
+  
+org.apache.camel.example
+examples
+2.23.0-SNAPSHOT
+  
+
+  camel-example-fhir-spring-boot
+  Camel :: Example :: Fhir :: Spring Boot
+  An example showing how to work with Camel, Fhir and Spring 
Boot
+
+  
+Beginner
+
+UTF-8
+UTF-8
+${spring-boot-version}
+  
+
+  
+
+  
+  
+org.springframework.boot
+spring-boot-dependencies
+${spring.boot-version}
+pom
+import
+  
+  
+  
+org.apache.camel
+camel-spring-boot-dependencies
+${project.version}
+pom
+import
+  
+
+  
+
+  
+
+
+
+  org.springframework.boot
+  spring-boot-starter-web
+  
+
+  org.springframework.boot
+  spring-boot-starter-tomcat
+
+  
+
+
+  org.springframework.boot
+  spring-boot-starter-undertow
+
+
+  org.springframework.boot
+  spring-boot-starter-actuator
+
+
+
+
+  org.apache.camel
+  camel-spring-boot-starter
+
+
+
+  org.apache.camel
+  camel-fhir
+
+
+  org.apache.camel
+  camel-hl7
+
+
+
+  ca.uhn.hapi
+  hapi-structures-v24
+
+
+
+
+  org.springframework.boot
+  spring-boot-starter-test
+  test
+
+
+  org.apache.camel
+  camel-test-spring
+  test
+
+
+  
+
+  
+
+  
+org.springframework.boot
+spring-boot-maven-plugin
+${spring-boot-version}
+
+  
+
+  repackage
+
+  
+
+  
+
+  
+org.apache.camel
+camel-maven-plugin
+${project.version}
+
+
+  
+
+  
+
+  
+
+  jdk9+-build
+  
+[9,)
+  
+  
+
+  
+maven-surefire-plugin
+
+  --add-modules java.xml.bind --add-opens 
java.base/java.lang=ALL-UNNAMED
+
+  
+
+  
+
+  
+
diff --git a/examples/camel-example-fhir-spring-boot/readme.adoc 

[jira] [Commented] (CAMEL-12677) Create FHIR spring boot quickstart

2018-07-24 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/CAMEL-12677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16553852#comment-16553852
 ] 

ASF GitHub Bot commented on CAMEL-12677:


Github user oscerd closed the pull request at:

https://github.com/apache/camel/pull/2435


> Create FHIR spring boot quickstart
> --
>
> Key: CAMEL-12677
> URL: https://issues.apache.org/jira/browse/CAMEL-12677
> Project: Camel
>  Issue Type: Task
>  Components: examples
>Reporter: Rafal Korytkowski
>Priority: Major
> Fix For: 2.23.0
>
>
> Base the example on 
> https://github.com/apache/camel/tree/master/examples/camel-example-fhir



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAMEL-12677) Create FHIR spring boot quickstart

2018-07-24 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/CAMEL-12677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16553850#comment-16553850
 ] 

ASF GitHub Bot commented on CAMEL-12677:


oscerd commented on issue #2435: CAMEL-12677 Create FHIR spring boot quickstart
URL: https://github.com/apache/camel/pull/2435#issuecomment-407292446
 
 
   Merged on master. Thanks @rkorytkowski 


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Create FHIR spring boot quickstart
> --
>
> Key: CAMEL-12677
> URL: https://issues.apache.org/jira/browse/CAMEL-12677
> Project: Camel
>  Issue Type: Task
>  Components: examples
>Reporter: Rafal Korytkowski
>Priority: Major
> Fix For: 2.23.0
>
>
> Base the example on 
> https://github.com/apache/camel/tree/master/examples/camel-example-fhir



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAMEL-12677) Create FHIR spring boot quickstart

2018-07-23 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/CAMEL-12677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16552990#comment-16552990
 ] 

ASF GitHub Bot commented on CAMEL-12677:


GitHub user rkorytkowski opened a pull request:

https://github.com/apache/camel/pull/2435

CAMEL-12677 Create FHIR spring boot quickstart

https://issues.apache.org/jira/browse/CAMEL-12677

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/rkorytkowski/camel CAMEL-12677

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/camel/pull/2435.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #2435


commit bc26d7111e346ade3674c0557e86b9162fffe76c
Author: Rafal Korytkowski 
Date:   2018-07-23T14:47:59Z

CAMEL-12677 Create FHIR spring boot quickstart




> Create FHIR spring boot quickstart
> --
>
> Key: CAMEL-12677
> URL: https://issues.apache.org/jira/browse/CAMEL-12677
> Project: Camel
>  Issue Type: Task
>  Components: examples
>Reporter: Rafal Korytkowski
>Priority: Major
>
> Base the example on 
> https://github.com/apache/camel/tree/master/examples/camel-example-fhir



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAMEL-12677) Create FHIR spring boot quickstart

2018-07-23 Thread Rafal Korytkowski (JIRA)


[ 
https://issues.apache.org/jira/browse/CAMEL-12677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16552991#comment-16552991
 ] 

Rafal Korytkowski commented on CAMEL-12677:
---

PR at https://github.com/apache/camel/pull/2435

> Create FHIR spring boot quickstart
> --
>
> Key: CAMEL-12677
> URL: https://issues.apache.org/jira/browse/CAMEL-12677
> Project: Camel
>  Issue Type: Task
>  Components: examples
>Reporter: Rafal Korytkowski
>Priority: Major
>
> Base the example on 
> https://github.com/apache/camel/tree/master/examples/camel-example-fhir



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CAMEL-12677) Create FHIR spring boot quickstart

2018-07-23 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/CAMEL-12677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16552989#comment-16552989
 ] 

ASF GitHub Bot commented on CAMEL-12677:


rkorytkowski opened a new pull request #2435: CAMEL-12677 Create FHIR spring 
boot quickstart
URL: https://github.com/apache/camel/pull/2435
 
 
   https://issues.apache.org/jira/browse/CAMEL-12677


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Create FHIR spring boot quickstart
> --
>
> Key: CAMEL-12677
> URL: https://issues.apache.org/jira/browse/CAMEL-12677
> Project: Camel
>  Issue Type: Task
>  Components: examples
>Reporter: Rafal Korytkowski
>Priority: Major
>
> Base the example on 
> https://github.com/apache/camel/tree/master/examples/camel-example-fhir



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)