camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acosent...@apache.org
Subject [camel] branch master updated (cf3a7ad -> df07962)
Date Fri, 06 Sep 2019 07:52:46 GMT
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git.


    from cf3a7ad  CAMEL-13919: Fix ArrayIndexOutOfBoundsException when generate readme on
empty file or less than 5 lines
     new abd39c1  Integrate camel-xj component
     new 1565c94  CAMEL-13851: Refactoring to reuse as much code as possible from the xslt
component
     new 8222a95  CAMEL-13851: checkstyle fixes and cleanups
     new 81cae5b  CAMEL-13851: move dependency version to parent/pom.xml
     new 90ae0e3  CAMEL-13851: XJ component documentation
     new 50649be  Add missing logger dependencies
     new 1f8f997  Fix link to xj component documentation
     new 9deb68c  CAMEL-13851 - Regen
     new df07962  Regen again

The 9 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:
 apache-camel/pom.xml                               |  10 +
 apache-camel/src/main/descriptors/common-bin.xml   |   2 +
 bom/camel-bom/pom.xml                              |  10 +
 .../main/docs/elasticsearch-rest-component.adoc    |   7 +-
 components/camel-xj/pom.xml                        |  85 +++
 .../camel-xj/src/main/docs/xj-component.adoc       | 521 +++++++++++++++
 .../camel/component/xj/JsonFileResultHandler.java  |  64 ++
 .../component/xj/JsonFileResultHandlerFactory.java |  50 ++
 .../component/xj/JsonSourceHandlerFactoryImpl.java | 102 +++
 .../component/xj/JsonStreamResultHandler.java      |  64 ++
 .../xj/JsonStreamResultHandlerFactory.java         |  46 ++
 .../component/xj/JsonStringResultHandler.java      |  63 ++
 .../xj/JsonStringResultHandlerFactory.java         |  47 ++
 .../camel/component/xj/JsonXmlStreamReader.java    | 619 +++++++++++++++++
 .../camel/component/xj/TransformDirection.java     |  25 +
 .../org/apache/camel/component/xj/XJComponent.java |  35 +
 .../org/apache/camel/component/xj/XJConstants.java |  96 +++
 .../org/apache/camel/component/xj/XJEndpoint.java  | 122 ++++
 .../camel/component/xj/XmlJsonStreamWriter.java    | 619 +++++++++++++++++
 .../org/apache/camel/component/xj/identity.xsl     |  24 +
 .../camel/component/xj/J2XInputStreamTest.java     |  52 ++
 .../camel/component/xj/J2XOutputBytesTest.java     |  49 ++
 .../camel/component/xj/J2XOutputFileTest.java      |  52 ++
 .../camel/component/xj/J2XOutputIdentityTest.java  |  52 ++
 .../camel/component/xj/J2XOutputStringTest.java    |  49 ++
 .../component/xj/JsonXmlStreamReaderTest.java      |  78 +++
 .../camel/component/xj/X2JInputStreamTest.java     |  52 ++
 .../camel/component/xj/X2JOutputBytesTest.java     |  49 ++
 .../camel/component/xj/X2JOutputFileTest.java      |  52 ++
 .../camel/component/xj/X2JOutputIdentityTest.java  |  49 ++
 .../camel/component/xj/X2JOutputStringTest.java    |  49 ++
 .../org/apache/camel/component/xj/XJTestUtils.java | 184 ++++++
 .../component/xj/XmlJsonStreamWriterTest.java      | 141 ++++
 .../camel-xj/src/test/resources/hellojson2xml.xsl  |  37 ++
 .../camel-xj/src/test/resources/helloxml2json.xsl  |  28 +
 .../src/test/resources/json2xml/test1.json         |  26 +
 .../camel-xj/src/test/resources/json2xml/test1.xml |  45 ++
 .../src/test/resources/json2xml/test10.json        |  10 +
 .../src/test/resources/json2xml/test10.xml         |  29 +
 .../src/test/resources/json2xml/test11.json        |   3 +
 .../src/test/resources/json2xml/test11.xml         | 731 +++++++++++++++++++++
 .../src/test/resources/json2xml/test2.json         |  26 +
 .../camel-xj/src/test/resources/json2xml/test2.xml |  45 ++
 .../src/test/resources/json2xml/test3.json         |  26 +
 .../camel-xj/src/test/resources/json2xml/test3.xml |  45 ++
 .../src/test/resources/json2xml/test4.json         |  26 +
 .../camel-xj/src/test/resources/json2xml/test4.xml |  45 ++
 .../src/test/resources/json2xml/test5.json         |  26 +
 .../camel-xj/src/test/resources/json2xml/test5.xml |  45 ++
 .../src/test/resources/json2xml/test6.json         |  26 +
 .../camel-xj/src/test/resources/json2xml/test6.xml |  45 ++
 .../src/test/resources/json2xml/test7.json         |  26 +
 .../camel-xj/src/test/resources/json2xml/test7.xml |  45 ++
 .../src/test/resources/json2xml/test8.json         |  33 +
 .../camel-xj/src/test/resources/json2xml/test8.xml |  52 ++
 .../src/test/resources/json2xml/test9.json         | 260 ++++++++
 .../camel-xj/src/test/resources/json2xml/test9.xml | 280 ++++++++
 .../camel-xj/src/test/resources/log4j2.properties  |  28 +
 .../src/test/resources/xml2json/test1.json         |  26 +
 .../camel-xj/src/test/resources/xml2json/test1.xml |  45 ++
 .../src/test/resources/xml2json/test10.json        |  10 +
 .../src/test/resources/xml2json/test10.xml         |  29 +
 .../src/test/resources/xml2json/test11.json        |  10 +
 .../src/test/resources/xml2json/test11.xml         |  29 +
 .../src/test/resources/xml2json/test12.json        |  12 +
 .../src/test/resources/xml2json/test12.xml         |  31 +
 .../src/test/resources/xml2json/test13.json        |  14 +
 .../src/test/resources/xml2json/test13.xml         |  31 +
 .../src/test/resources/xml2json/test14.json        |  20 +
 .../src/test/resources/xml2json/test14.xml         |  31 +
 .../src/test/resources/xml2json/test15.json        |  12 +
 .../src/test/resources/xml2json/test15.xml         |  31 +
 .../src/test/resources/xml2json/test16.json        |   3 +
 .../src/test/resources/xml2json/test16.xml         | 731 +++++++++++++++++++++
 .../src/test/resources/xml2json/test17.json        |  29 +
 .../src/test/resources/xml2json/test17.xml         |  34 +
 .../src/test/resources/xml2json/test18.json        |  22 +
 .../src/test/resources/xml2json/test18.xml         |  33 +
 .../src/test/resources/xml2json/test19.json        |   2 +
 .../src/test/resources/xml2json/test19.xml         |  21 +
 .../src/test/resources/xml2json/test2.json         |  26 +
 .../camel-xj/src/test/resources/xml2json/test2.xml |  45 ++
 .../src/test/resources/xml2json/test20.json        |   2 +
 .../src/test/resources/xml2json/test20.xml         |  21 +
 .../src/test/resources/xml2json/test21.json        |   2 +
 .../src/test/resources/xml2json/test21.xml         |  21 +
 .../src/test/resources/xml2json/test22.json        |   2 +
 .../src/test/resources/xml2json/test22.xml         |  20 +
 .../src/test/resources/xml2json/test23.json        |   5 +
 .../src/test/resources/xml2json/test23.xml         |  24 +
 .../src/test/resources/xml2json/test3.json         |  26 +
 .../camel-xj/src/test/resources/xml2json/test3.xml |  45 ++
 .../src/test/resources/xml2json/test4.json         |  26 +
 .../camel-xj/src/test/resources/xml2json/test4.xml |  45 ++
 .../src/test/resources/xml2json/test5.json         |  26 +
 .../camel-xj/src/test/resources/xml2json/test5.xml |  45 ++
 .../src/test/resources/xml2json/test6.json         |  28 +
 .../camel-xj/src/test/resources/xml2json/test6.xml |  45 ++
 .../src/test/resources/xml2json/test7.json         |  26 +
 .../camel-xj/src/test/resources/xml2json/test7.xml |  45 ++
 .../src/test/resources/xml2json/test8.json         |  33 +
 .../camel-xj/src/test/resources/xml2json/test8.xml |  52 ++
 .../src/test/resources/xml2json/test9.json         | 231 +++++++
 .../camel-xj/src/test/resources/xml2json/test9.xml | 250 +++++++
 .../camel/component/xslt/SourceHandlerFactory.java |  35 +
 .../xslt/XmlSourceHandlerFactoryImpl.java          | 186 ++++++
 .../apache/camel/component/xslt/XsltBuilder.java   | 137 +---
 .../apache/camel/component/xslt/XsltComponent.java |  19 +-
 .../apache/camel/component/xslt/XsltEndpoint.java  |  19 +-
 components/pom.xml                                 |   1 +
 components/readme.adoc                             |   5 +-
 .../endpoint/dsl/XJEndpointBuilderFactory.java     | 571 ++++++++++++++++
 docs/components/modules/ROOT/nav.adoc              |   3 +-
 .../ROOT/pages/elasticsearch-rest-component.adoc   |   7 +-
 .../modules/ROOT/pages/xj-component.adoc           | 522 +++++++++++++++
 parent/pom.xml                                     |  11 +
 .../karaf/features/src/main/resources/features.xml |   6 +
 .../components-starter/camel-xj-starter/pom.xml    |  53 ++
 .../springboot/XJComponentAutoConfiguration.java   | 128 ++++
 .../xj/springboot/XJComponentConfiguration.java    | 152 +++++
 .../src/main/resources/META-INF/LICENSE.txt        |   0
 .../src/main/resources/META-INF/NOTICE.txt         |   0
 .../src/main/resources/META-INF/spring.factories   |  19 +
 .../src/main/resources/META-INF/spring.provides    |  17 +
 platforms/spring-boot/components-starter/pom.xml   |   1 +
 .../camel-spring-boot-dependencies/pom.xml         |  10 +
 .../org/apache/camel/itest/karaf/CamelXjTest.java  |  33 +
 .../apache/camel/itest/springboot/CamelXjTest.java |  46 ++
 128 files changed, 9656 insertions(+), 129 deletions(-)
 create mode 100644 components/camel-xj/pom.xml
 create mode 100644 components/camel-xj/src/main/docs/xj-component.adoc
 create mode 100644 components/camel-xj/src/main/java/org/apache/camel/component/xj/JsonFileResultHandler.java
 create mode 100644 components/camel-xj/src/main/java/org/apache/camel/component/xj/JsonFileResultHandlerFactory.java
 create mode 100644 components/camel-xj/src/main/java/org/apache/camel/component/xj/JsonSourceHandlerFactoryImpl.java
 create mode 100644 components/camel-xj/src/main/java/org/apache/camel/component/xj/JsonStreamResultHandler.java
 create mode 100644 components/camel-xj/src/main/java/org/apache/camel/component/xj/JsonStreamResultHandlerFactory.java
 create mode 100644 components/camel-xj/src/main/java/org/apache/camel/component/xj/JsonStringResultHandler.java
 create mode 100644 components/camel-xj/src/main/java/org/apache/camel/component/xj/JsonStringResultHandlerFactory.java
 create mode 100644 components/camel-xj/src/main/java/org/apache/camel/component/xj/JsonXmlStreamReader.java
 create mode 100644 components/camel-xj/src/main/java/org/apache/camel/component/xj/TransformDirection.java
 create mode 100644 components/camel-xj/src/main/java/org/apache/camel/component/xj/XJComponent.java
 create mode 100644 components/camel-xj/src/main/java/org/apache/camel/component/xj/XJConstants.java
 create mode 100644 components/camel-xj/src/main/java/org/apache/camel/component/xj/XJEndpoint.java
 create mode 100644 components/camel-xj/src/main/java/org/apache/camel/component/xj/XmlJsonStreamWriter.java
 create mode 100644 components/camel-xj/src/main/resources/org/apache/camel/component/xj/identity.xsl
 create mode 100644 components/camel-xj/src/test/java/org/apache/camel/component/xj/J2XInputStreamTest.java
 create mode 100644 components/camel-xj/src/test/java/org/apache/camel/component/xj/J2XOutputBytesTest.java
 create mode 100644 components/camel-xj/src/test/java/org/apache/camel/component/xj/J2XOutputFileTest.java
 create mode 100644 components/camel-xj/src/test/java/org/apache/camel/component/xj/J2XOutputIdentityTest.java
 create mode 100644 components/camel-xj/src/test/java/org/apache/camel/component/xj/J2XOutputStringTest.java
 create mode 100644 components/camel-xj/src/test/java/org/apache/camel/component/xj/JsonXmlStreamReaderTest.java
 create mode 100644 components/camel-xj/src/test/java/org/apache/camel/component/xj/X2JInputStreamTest.java
 create mode 100644 components/camel-xj/src/test/java/org/apache/camel/component/xj/X2JOutputBytesTest.java
 create mode 100644 components/camel-xj/src/test/java/org/apache/camel/component/xj/X2JOutputFileTest.java
 create mode 100644 components/camel-xj/src/test/java/org/apache/camel/component/xj/X2JOutputIdentityTest.java
 create mode 100644 components/camel-xj/src/test/java/org/apache/camel/component/xj/X2JOutputStringTest.java
 create mode 100644 components/camel-xj/src/test/java/org/apache/camel/component/xj/XJTestUtils.java
 create mode 100644 components/camel-xj/src/test/java/org/apache/camel/component/xj/XmlJsonStreamWriterTest.java
 create mode 100644 components/camel-xj/src/test/resources/hellojson2xml.xsl
 create mode 100644 components/camel-xj/src/test/resources/helloxml2json.xsl
 create mode 100644 components/camel-xj/src/test/resources/json2xml/test1.json
 create mode 100644 components/camel-xj/src/test/resources/json2xml/test1.xml
 create mode 100644 components/camel-xj/src/test/resources/json2xml/test10.json
 create mode 100644 components/camel-xj/src/test/resources/json2xml/test10.xml
 create mode 100644 components/camel-xj/src/test/resources/json2xml/test11.json
 create mode 100644 components/camel-xj/src/test/resources/json2xml/test11.xml
 create mode 100644 components/camel-xj/src/test/resources/json2xml/test2.json
 create mode 100644 components/camel-xj/src/test/resources/json2xml/test2.xml
 create mode 100644 components/camel-xj/src/test/resources/json2xml/test3.json
 create mode 100644 components/camel-xj/src/test/resources/json2xml/test3.xml
 create mode 100644 components/camel-xj/src/test/resources/json2xml/test4.json
 create mode 100644 components/camel-xj/src/test/resources/json2xml/test4.xml
 create mode 100644 components/camel-xj/src/test/resources/json2xml/test5.json
 create mode 100644 components/camel-xj/src/test/resources/json2xml/test5.xml
 create mode 100644 components/camel-xj/src/test/resources/json2xml/test6.json
 create mode 100644 components/camel-xj/src/test/resources/json2xml/test6.xml
 create mode 100644 components/camel-xj/src/test/resources/json2xml/test7.json
 create mode 100644 components/camel-xj/src/test/resources/json2xml/test7.xml
 create mode 100644 components/camel-xj/src/test/resources/json2xml/test8.json
 create mode 100644 components/camel-xj/src/test/resources/json2xml/test8.xml
 create mode 100644 components/camel-xj/src/test/resources/json2xml/test9.json
 create mode 100644 components/camel-xj/src/test/resources/json2xml/test9.xml
 create mode 100644 components/camel-xj/src/test/resources/log4j2.properties
 create mode 100644 components/camel-xj/src/test/resources/xml2json/test1.json
 create mode 100644 components/camel-xj/src/test/resources/xml2json/test1.xml
 create mode 100644 components/camel-xj/src/test/resources/xml2json/test10.json
 create mode 100644 components/camel-xj/src/test/resources/xml2json/test10.xml
 create mode 100644 components/camel-xj/src/test/resources/xml2json/test11.json
 create mode 100644 components/camel-xj/src/test/resources/xml2json/test11.xml
 create mode 100644 components/camel-xj/src/test/resources/xml2json/test12.json
 create mode 100644 components/camel-xj/src/test/resources/xml2json/test12.xml
 create mode 100644 components/camel-xj/src/test/resources/xml2json/test13.json
 create mode 100644 components/camel-xj/src/test/resources/xml2json/test13.xml
 create mode 100644 components/camel-xj/src/test/resources/xml2json/test14.json
 create mode 100644 components/camel-xj/src/test/resources/xml2json/test14.xml
 create mode 100644 components/camel-xj/src/test/resources/xml2json/test15.json
 create mode 100644 components/camel-xj/src/test/resources/xml2json/test15.xml
 create mode 100644 components/camel-xj/src/test/resources/xml2json/test16.json
 create mode 100644 components/camel-xj/src/test/resources/xml2json/test16.xml
 create mode 100644 components/camel-xj/src/test/resources/xml2json/test17.json
 create mode 100644 components/camel-xj/src/test/resources/xml2json/test17.xml
 create mode 100644 components/camel-xj/src/test/resources/xml2json/test18.json
 create mode 100644 components/camel-xj/src/test/resources/xml2json/test18.xml
 create mode 100644 components/camel-xj/src/test/resources/xml2json/test19.json
 create mode 100644 components/camel-xj/src/test/resources/xml2json/test19.xml
 create mode 100644 components/camel-xj/src/test/resources/xml2json/test2.json
 create mode 100644 components/camel-xj/src/test/resources/xml2json/test2.xml
 create mode 100644 components/camel-xj/src/test/resources/xml2json/test20.json
 create mode 100644 components/camel-xj/src/test/resources/xml2json/test20.xml
 create mode 100644 components/camel-xj/src/test/resources/xml2json/test21.json
 create mode 100644 components/camel-xj/src/test/resources/xml2json/test21.xml
 create mode 100644 components/camel-xj/src/test/resources/xml2json/test22.json
 create mode 100644 components/camel-xj/src/test/resources/xml2json/test22.xml
 create mode 100644 components/camel-xj/src/test/resources/xml2json/test23.json
 create mode 100644 components/camel-xj/src/test/resources/xml2json/test23.xml
 create mode 100644 components/camel-xj/src/test/resources/xml2json/test3.json
 create mode 100644 components/camel-xj/src/test/resources/xml2json/test3.xml
 create mode 100644 components/camel-xj/src/test/resources/xml2json/test4.json
 create mode 100644 components/camel-xj/src/test/resources/xml2json/test4.xml
 create mode 100644 components/camel-xj/src/test/resources/xml2json/test5.json
 create mode 100644 components/camel-xj/src/test/resources/xml2json/test5.xml
 create mode 100644 components/camel-xj/src/test/resources/xml2json/test6.json
 create mode 100644 components/camel-xj/src/test/resources/xml2json/test6.xml
 create mode 100644 components/camel-xj/src/test/resources/xml2json/test7.json
 create mode 100644 components/camel-xj/src/test/resources/xml2json/test7.xml
 create mode 100644 components/camel-xj/src/test/resources/xml2json/test8.json
 create mode 100644 components/camel-xj/src/test/resources/xml2json/test8.xml
 create mode 100644 components/camel-xj/src/test/resources/xml2json/test9.json
 create mode 100644 components/camel-xj/src/test/resources/xml2json/test9.xml
 create mode 100644 components/camel-xslt/src/main/java/org/apache/camel/component/xslt/SourceHandlerFactory.java
 create mode 100644 components/camel-xslt/src/main/java/org/apache/camel/component/xslt/XmlSourceHandlerFactoryImpl.java
 create mode 100644 core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/XJEndpointBuilderFactory.java
 create mode 100644 docs/components/modules/ROOT/pages/xj-component.adoc
 create mode 100644 platforms/spring-boot/components-starter/camel-xj-starter/pom.xml
 create mode 100644 platforms/spring-boot/components-starter/camel-xj-starter/src/main/java/org/apache/camel/component/xj/springboot/XJComponentAutoConfiguration.java
 create mode 100644 platforms/spring-boot/components-starter/camel-xj-starter/src/main/java/org/apache/camel/component/xj/springboot/XJComponentConfiguration.java
 copy {tooling/maven/camel-package-maven-plugin => platforms/spring-boot/components-starter/camel-xj-starter}/src/main/resources/META-INF/LICENSE.txt
(100%)
 copy {tooling/maven/camel-package-maven-plugin => platforms/spring-boot/components-starter/camel-xj-starter}/src/main/resources/META-INF/NOTICE.txt
(100%)
 create mode 100644 platforms/spring-boot/components-starter/camel-xj-starter/src/main/resources/META-INF/spring.factories
 create mode 100644 platforms/spring-boot/components-starter/camel-xj-starter/src/main/resources/META-INF/spring.provides
 create mode 100644 tests/camel-itest-karaf/src/test/java/org/apache/camel/itest/karaf/CamelXjTest.java
 create mode 100644 tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelXjTest.java


Mime
View raw message