You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zr...@apache.org on 2018/02/19 11:43:41 UTC

[camel] branch jenkins-pipeline updated (d0ca4be -> b295b78)

This is an automated email from the ASF dual-hosted git repository.

zregvart pushed a change to branch jenkins-pipeline
in repository https://gitbox.apache.org/repos/asf/camel.git.


 discard d0ca4be  CAMEL-11930: pipeline e-mail support
 discard 824ae93  CAMEL-11930: don't fail if no JUnit results found
     add 5cd8391  Upgrade AWS Xray SDK to version 1.3.1
     add cf6b8da  Added unit test based on user forum issue
     add f3517a7  [CAMEL-12221] Let's create a camel-fhir component
     add faf2d75  CAMEL-12221: Polished camel-fhir dataformat.
     add 5bf30d8  CAMEL-12221: Polished camel-fhir dataformat.
     add 8653468  Upgrade Chronicle Bytes to version 1.10.20
     add 0d4d3ca  CAMEL-12221: Add camel-fhir to kit
     add 4e73c4a  CAMEL-11930: reversed order of Checks and Build...
     new 985a347  CAMEL-11930: don't fail if no JUnit results found
     new b295b78  CAMEL-11930: pipeline e-mail support

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (d0ca4be)
            \
             N -- N -- N   refs/heads/jenkins-pipeline (b295b78)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 Jenkinsfile                                        |  12 +-
 apache-camel/pom.xml                               |   9 ++
 apache-camel/src/main/descriptors/common-bin.xml   |   2 +
 bom/camel-bom/pom.xml                              |   5 +
 .../org/apache/camel/builder/DataFormatClause.java |  30 +++++
 .../org/apache/camel/model/MarshalDefinition.java  |   4 +
 .../apache/camel/model/UnmarshalDefinition.java    |   4 +
 .../model/dataformat/DataFormatsDefinition.java    |   2 +
 .../camel/model/dataformat/FhirJsonDataFormat.java |  79 ++++++++++++
 .../camel/model/dataformat/FhirXmlDataFormat.java  |  81 +++++++++++++
 .../DataFormatTransformerDefinition.java           |   4 +
 .../org/apache/camel/model/dataformat/jaxb.index   |   2 +
 .../component/amqp/AMQPRouteTraceFrameTest.java    |  90 ++++++++++++++
 components/camel-fhir/pom.xml                      | 133 +++++++++++++++++++++
 .../src/main/docs/fhirJson-dataformat.adoc         |  26 ++++
 .../src/main/docs/fhirXml-dataformat.adoc          |  24 ++++
 .../camel/component/fhir/FhirJsonDataFormat.java   | 102 ++++++++++++++++
 .../camel/component/fhir/FhirXmlDataFormat.java    | 102 ++++++++++++++++
 .../services/org/apache/camel/dataformat/fhirJson  |  18 +++
 .../services/org/apache/camel/dataformat/fhirXml   |  18 +++
 .../fhir/FhirJsonDataFormatSpringTest.java         |  81 +++++++++++++
 .../component/fhir/FhirJsonDataFormatTest.java     |  92 ++++++++++++++
 .../fhir/FhirXmlDataFormatSpringTest.java          |  83 +++++++++++++
 .../component/fhir/FhirXmlDataFormatTest.java      |  93 ++++++++++++++
 .../fhir/Hl7v2PatientToFhirPatientIT.java          |  93 ++++++++++++++
 .../camel/component/fhir/PatientProcessor.java     |  78 ++++++++++++
 .../src/test/resources/log4j2.properties           |  60 +++-------
 .../fhir/json/FhirJsonDataFormatSpringTest.xml     |  43 +++++++
 .../fhir/xml/FhirXmlDataFormatSpringTest.xml       |  42 +++++++
 components/pom.xml                                 |   1 +
 parent/pom.xml                                     |  15 ++-
 .../components-starter/camel-fhir-starter/pom.xml  |  53 ++++++++
 .../FhirJsonDataFormatAutoConfiguration.java       | 129 ++++++++++++++++++++
 .../FhirJsonDataFormatConfiguration.java           |  63 ++++++++++
 .../FhirXmlDataFormatAutoConfiguration.java        | 129 ++++++++++++++++++++
 .../springboot/FhirXmlDataFormatConfiguration.java |  63 ++++++++++
 .../src/main/resources/META-INF/LICENSE.txt        |   0
 .../src/main/resources/META-INF/NOTICE.txt         |   0
 .../src/main/resources/META-INF/spring.factories   |  53 ++------
 .../src/main/resources/META-INF/spring.provides    |  49 +-------
 platforms/spring-boot/components-starter/pom.xml   |   1 +
 .../camel-spring-boot-dependencies/pom.xml         |   5 +
 42 files changed, 1830 insertions(+), 143 deletions(-)
 create mode 100644 camel-core/src/main/java/org/apache/camel/model/dataformat/FhirJsonDataFormat.java
 create mode 100644 camel-core/src/main/java/org/apache/camel/model/dataformat/FhirXmlDataFormat.java
 create mode 100644 components/camel-amqp/src/test/java/org/apache/camel/component/amqp/AMQPRouteTraceFrameTest.java
 create mode 100644 components/camel-fhir/pom.xml
 create mode 100644 components/camel-fhir/src/main/docs/fhirJson-dataformat.adoc
 create mode 100644 components/camel-fhir/src/main/docs/fhirXml-dataformat.adoc
 create mode 100644 components/camel-fhir/src/main/java/org/apache/camel/component/fhir/FhirJsonDataFormat.java
 create mode 100644 components/camel-fhir/src/main/java/org/apache/camel/component/fhir/FhirXmlDataFormat.java
 create mode 100644 components/camel-fhir/src/main/resources/META-INF/services/org/apache/camel/dataformat/fhirJson
 create mode 100644 components/camel-fhir/src/main/resources/META-INF/services/org/apache/camel/dataformat/fhirXml
 create mode 100644 components/camel-fhir/src/test/java/org/apache/camel/component/fhir/FhirJsonDataFormatSpringTest.java
 create mode 100644 components/camel-fhir/src/test/java/org/apache/camel/component/fhir/FhirJsonDataFormatTest.java
 create mode 100644 components/camel-fhir/src/test/java/org/apache/camel/component/fhir/FhirXmlDataFormatSpringTest.java
 create mode 100644 components/camel-fhir/src/test/java/org/apache/camel/component/fhir/FhirXmlDataFormatTest.java
 create mode 100644 components/camel-fhir/src/test/java/org/apache/camel/component/fhir/Hl7v2PatientToFhirPatientIT.java
 create mode 100644 components/camel-fhir/src/test/java/org/apache/camel/component/fhir/PatientProcessor.java
 copy camel-core/src/main/resources/org/apache/camel/model/dataformat/jaxb.index => components/camel-fhir/src/test/resources/log4j2.properties (52%)
 create mode 100644 components/camel-fhir/src/test/resources/org/apache/camel/dataformat/fhir/json/FhirJsonDataFormatSpringTest.xml
 create mode 100644 components/camel-fhir/src/test/resources/org/apache/camel/dataformat/fhir/xml/FhirXmlDataFormatSpringTest.xml
 create mode 100644 platforms/spring-boot/components-starter/camel-fhir-starter/pom.xml
 create mode 100644 platforms/spring-boot/components-starter/camel-fhir-starter/src/main/java/org/apache/camel/component/fhir/springboot/FhirJsonDataFormatAutoConfiguration.java
 create mode 100644 platforms/spring-boot/components-starter/camel-fhir-starter/src/main/java/org/apache/camel/component/fhir/springboot/FhirJsonDataFormatConfiguration.java
 create mode 100644 platforms/spring-boot/components-starter/camel-fhir-starter/src/main/java/org/apache/camel/component/fhir/springboot/FhirXmlDataFormatAutoConfiguration.java
 create mode 100644 platforms/spring-boot/components-starter/camel-fhir-starter/src/main/java/org/apache/camel/component/fhir/springboot/FhirXmlDataFormatConfiguration.java
 copy {tooling/maven/guice-maven-plugin => platforms/spring-boot/components-starter/camel-fhir-starter}/src/main/resources/META-INF/LICENSE.txt (100%)
 copy {tooling/maven/guice-maven-plugin => platforms/spring-boot/components-starter/camel-fhir-starter}/src/main/resources/META-INF/NOTICE.txt (100%)
 copy camel-core/src/main/resources/org/apache/camel/model/dataformat/jaxb.index => platforms/spring-boot/components-starter/camel-fhir-starter/src/main/resources/META-INF/spring.factories (52%)
 copy camel-core/src/main/resources/org/apache/camel/model/dataformat/jaxb.index => platforms/spring-boot/components-starter/camel-fhir-starter/src/main/resources/META-INF/spring.provides (52%)

-- 
To stop receiving notification emails like this one, please contact
zregvart@apache.org.

[camel] 01/02: CAMEL-11930: don't fail if no JUnit results found

Posted by zr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

zregvart pushed a commit to branch jenkins-pipeline
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 985a347b7b25c8942b070cda26ba7b85c50738a1
Author: Zoran Regvart <zr...@apache.org>
AuthorDate: Mon Feb 19 12:35:26 2018 +0100

    CAMEL-11930: don't fail if no JUnit results found
    
    Allowed JUnit test result archiver to proceed even if no test reports
    were created (i.e. if no modules have been changed and they were all
    skipped).
---
 Jenkinsfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 9fe5deb..91d19a0 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -60,8 +60,8 @@ pipeline {
             }
             post {
                 always {
-                    junit '**/target/surefire-reports/*.xml'
-                    junit '**/target/failsafe-reports/*.xml'
+                    junit allowEmptyResults: true, testResults: '**/target/surefire-reports/*.xml'
+                    junit allowEmptyResults: true, testResults: '**/target/failsafe-reports/*.xml'
                 }
             }
         }

-- 
To stop receiving notification emails like this one, please contact
zregvart@apache.org.

[camel] 02/02: CAMEL-11930: pipeline e-mail support

Posted by zr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

zregvart pushed a commit to branch jenkins-pipeline
in repository https://gitbox.apache.org/repos/asf/camel.git

commit b295b7880fe8bd48d4d954121bc7120ac62ba972
Author: Zoran Regvart <zr...@apache.org>
AuthorDate: Mon Feb 19 12:33:37 2018 +0100

    CAMEL-11930: pipeline e-mail support
    
    Pipeline build should now send e-mail notifications.
---
 Jenkinsfile | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/Jenkinsfile b/Jenkinsfile
index 91d19a0..7e4b22d 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -72,5 +72,16 @@ pipeline {
             }
         }
     }
+
+    post {
+        changed {
+            emailext(
+                subject: '${DEFAULT_SUBJECT}',
+                to: 'zoran+cameldev@regvart.com',
+                body: '${DEFAULT_CONTENT}',
+                recipientProviders: [[$class: 'CulpritsRecipientProvider']]
+            )
+        }
+    }
 }
 

-- 
To stop receiving notification emails like this one, please contact
zregvart@apache.org.