This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
from 0c2e3ae8411 Upgrade JsonApi to version 0.13 (#11364)
new ee7c4a56118 Initial commit of camel-thymeleaf
new 4eac38583a3 Initial commit of camel-thymeleaf
new 93fdb2e32f1 Initial commit of camel-thymeleaf
new 16152663d95 Working on unit tests
new 63f9f1f9090 Working on unit tests
new fcd852ac892 Working on unit tests
new f87e6c15527 Working on unit tests
new 117ccb9ad40 Added auto-generated new files and updated files due to
new Thymeleaf component
new 8afe42f713c Fixing PR build errors
new c64da1bec3b Camel-Thymeleaf: Log for tests only on file
The 10 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:
bom/camel-bom/pom.xml | 5 +
catalog/camel-allcomponents/pom.xml | 5 +
.../org/apache/camel/catalog/components.properties | 1 +
.../apache/camel/catalog/components/thymeleaf.json | 49 ++
components/camel-thymeleaf/pom.xml | 91 ++++
.../thymeleaf/ThymeleafComponentConfigurer.java | 55 ++
.../thymeleaf/ThymeleafEndpointConfigurer.java | 97 ++++
.../thymeleaf/ThymeleafEndpointUriFactory.java | 80 +++
.../services/org/apache/camel/component.properties | 7 +
.../services/org/apache/camel/component/thymeleaf | 2 +
.../apache/camel/configurer/thymeleaf-component | 2 +
.../org/apache/camel/configurer/thymeleaf-endpoint | 2 +
.../org/apache/camel/urifactory/thymeleaf-endpoint | 2 +
.../camel/component/thymeleaf/thymeleaf.json | 49 ++
.../src/main/docs/thymeleaf-component.adoc | 255 +++++++++
.../component/thymeleaf/ThymeleafComponent.java | 41 ++
.../component/thymeleaf/ThymeleafConstants.java | 43 ++
.../component/thymeleaf/ThymeleafEndpoint.java | 583 +++++++++++++++++++++
.../component/thymeleaf/ThymeleafResolverType.java | 27 +
.../camel/component/thymeleaf/FruitFilter.java | 31 ++
.../thymeleaf/ThymeleafAbstractBaseTest.java | 237 +++++++++
.../thymeleaf/ThymeleafBodyAsDomainObjectTest.java | 133 +++++
.../ThymeleafClassLoaderResolverAllParamsTest.java | 101 ++++
.../ThymeleafClassLoaderResolverTest.java | 101 ++++
.../thymeleaf/ThymeleafComponentTest.java | 102 ++++
.../thymeleaf/ThymeleafConcurrentTest.java | 79 +++
.../thymeleaf/ThymeleafContentCacheTest.java | 227 ++++++++
.../ThymeleafDefaultResolverAllParamsTest.java | 96 ++++
.../thymeleaf/ThymeleafDefaultResolverTest.java | 96 ++++
.../component/thymeleaf/ThymeleafEndpointTest.java | 108 ++++
.../ThymeleafFileResolverAllParamsTest.java | 100 ++++
.../thymeleaf/ThymeleafFileResolverTest.java | 101 ++++
.../thymeleaf/ThymeleafResourceUriTest.java | 55 ++
.../thymeleaf/ThymeleafSetHeaderTest.java | 59 +++
.../ThymeleafStringResolverAllParamsTest.java | 97 ++++
.../thymeleaf/ThymeleafStringResolverTest.java | 98 ++++
.../thymeleaf/ThymeleafTemplateAsHeaderTest.java | 56 ++
.../ThymeleafUrlResolverAllParamsTest.java | 114 ++++
.../thymeleaf/ThymeleafUrlResolverTest.java | 114 ++++
.../thymeleaf/ThymeleafVariableMapHeaderTest.java | 56 ++
...ymeleafWebApplicationResolverAllParamsTest.java | 161 ++++++
.../ThymeleafWebApplicationResolverTest.java | 153 ++++++
.../test/resources/WEB-INF/templates/letter.html | 24 +
.../src/test/resources/log4j2.properties | 29 +
.../apache/camel/component/thymeleaf/apple.html | 19 +
.../camel/component/thymeleaf/camel-context.xml | 44 ++
.../camel/component/thymeleaf/concurrent.txt} | 0
.../camel/component/thymeleaf/letter-domain.html | 24 +
.../apache/camel/component/thymeleaf/letter.html | 24 +
.../apache/camel/component/thymeleaf/letter.txt | 25 +
.../camel/component/thymeleaf/letterWithUrl.html | 26 +
.../apache/camel/component/thymeleaf/orange.html | 19 +
components/pom.xml | 1 +
.../org/apache/camel/main/components.properties | 1 +
.../modules/ROOT/examples/json/thymeleaf.json | 1 +
docs/components/modules/ROOT/nav.adoc | 1 +
.../modules/ROOT/pages/thymeleaf-component.adoc | 1 +
.../component/ComponentsBuilderFactory.java | 13 +
.../dsl/ThymeleafComponentBuilderFactory.java | 121 +++++
.../src/generated/resources/metadata.json | 22 +
.../builder/endpoint/EndpointBuilderFactory.java | 1 +
.../camel/builder/endpoint/EndpointBuilders.java | 1 +
.../builder/endpoint/StaticEndpointBuilders.java | 55 ++
.../dsl/ThymeleafEndpointBuilderFactory.java | 536 +++++++++++++++++++
.../camel-component-known-dependencies.properties | 1 +
parent/pom.xml | 5 +
66 files changed, 4865 insertions(+)
create mode 100644
catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/thymeleaf.json
create mode 100644 components/camel-thymeleaf/pom.xml
create mode 100644
components/camel-thymeleaf/src/generated/java/org/apache/camel/component/thymeleaf/ThymeleafComponentConfigurer.java
create mode 100644
components/camel-thymeleaf/src/generated/java/org/apache/camel/component/thymeleaf/ThymeleafEndpointConfigurer.java
create mode 100644
components/camel-thymeleaf/src/generated/java/org/apache/camel/component/thymeleaf/ThymeleafEndpointUriFactory.java
create mode 100644
components/camel-thymeleaf/src/generated/resources/META-INF/services/org/apache/camel/component.properties
create mode 100644
components/camel-thymeleaf/src/generated/resources/META-INF/services/org/apache/camel/component/thymeleaf
create mode 100644
components/camel-thymeleaf/src/generated/resources/META-INF/services/org/apache/camel/configurer/thymeleaf-component
create mode 100644
components/camel-thymeleaf/src/generated/resources/META-INF/services/org/apache/camel/configurer/thymeleaf-endpoint
create mode 100644
components/camel-thymeleaf/src/generated/resources/META-INF/services/org/apache/camel/urifactory/thymeleaf-endpoint
create mode 100644
components/camel-thymeleaf/src/generated/resources/org/apache/camel/component/thymeleaf/thymeleaf.json
create mode 100644
components/camel-thymeleaf/src/main/docs/thymeleaf-component.adoc
create mode 100644
components/camel-thymeleaf/src/main/java/org/apache/camel/component/thymeleaf/ThymeleafComponent.java
create mode 100644
components/camel-thymeleaf/src/main/java/org/apache/camel/component/thymeleaf/ThymeleafConstants.java
create mode 100644
components/camel-thymeleaf/src/main/java/org/apache/camel/component/thymeleaf/ThymeleafEndpoint.java
create mode 100644
components/camel-thymeleaf/src/main/java/org/apache/camel/component/thymeleaf/ThymeleafResolverType.java
create mode 100644
components/camel-thymeleaf/src/test/java/org/apache/camel/component/thymeleaf/FruitFilter.java
create mode 100644
components/camel-thymeleaf/src/test/java/org/apache/camel/component/thymeleaf/ThymeleafAbstractBaseTest.java
create mode 100644
components/camel-thymeleaf/src/test/java/org/apache/camel/component/thymeleaf/ThymeleafBodyAsDomainObjectTest.java
create mode 100644
components/camel-thymeleaf/src/test/java/org/apache/camel/component/thymeleaf/ThymeleafClassLoaderResolverAllParamsTest.java
create mode 100644
components/camel-thymeleaf/src/test/java/org/apache/camel/component/thymeleaf/ThymeleafClassLoaderResolverTest.java
create mode 100644
components/camel-thymeleaf/src/test/java/org/apache/camel/component/thymeleaf/ThymeleafComponentTest.java
create mode 100644
components/camel-thymeleaf/src/test/java/org/apache/camel/component/thymeleaf/ThymeleafConcurrentTest.java
create mode 100644
components/camel-thymeleaf/src/test/java/org/apache/camel/component/thymeleaf/ThymeleafContentCacheTest.java
create mode 100644
components/camel-thymeleaf/src/test/java/org/apache/camel/component/thymeleaf/ThymeleafDefaultResolverAllParamsTest.java
create mode 100644
components/camel-thymeleaf/src/test/java/org/apache/camel/component/thymeleaf/ThymeleafDefaultResolverTest.java
create mode 100644
components/camel-thymeleaf/src/test/java/org/apache/camel/component/thymeleaf/ThymeleafEndpointTest.java
create mode 100644
components/camel-thymeleaf/src/test/java/org/apache/camel/component/thymeleaf/ThymeleafFileResolverAllParamsTest.java
create mode 100644
components/camel-thymeleaf/src/test/java/org/apache/camel/component/thymeleaf/ThymeleafFileResolverTest.java
create mode 100644
components/camel-thymeleaf/src/test/java/org/apache/camel/component/thymeleaf/ThymeleafResourceUriTest.java
create mode 100644
components/camel-thymeleaf/src/test/java/org/apache/camel/component/thymeleaf/ThymeleafSetHeaderTest.java
create mode 100644
components/camel-thymeleaf/src/test/java/org/apache/camel/component/thymeleaf/ThymeleafStringResolverAllParamsTest.java
create mode 100644
components/camel-thymeleaf/src/test/java/org/apache/camel/component/thymeleaf/ThymeleafStringResolverTest.java
create mode 100644
components/camel-thymeleaf/src/test/java/org/apache/camel/component/thymeleaf/ThymeleafTemplateAsHeaderTest.java
create mode 100644
components/camel-thymeleaf/src/test/java/org/apache/camel/component/thymeleaf/ThymeleafUrlResolverAllParamsTest.java
create mode 100644
components/camel-thymeleaf/src/test/java/org/apache/camel/component/thymeleaf/ThymeleafUrlResolverTest.java
create mode 100644
components/camel-thymeleaf/src/test/java/org/apache/camel/component/thymeleaf/ThymeleafVariableMapHeaderTest.java
create mode 100644
components/camel-thymeleaf/src/test/java/org/apache/camel/component/thymeleaf/ThymeleafWebApplicationResolverAllParamsTest.java
create mode 100644
components/camel-thymeleaf/src/test/java/org/apache/camel/component/thymeleaf/ThymeleafWebApplicationResolverTest.java
create mode 100644
components/camel-thymeleaf/src/test/resources/WEB-INF/templates/letter.html
create mode 100644
components/camel-thymeleaf/src/test/resources/log4j2.properties
create mode 100644
components/camel-thymeleaf/src/test/resources/org/apache/camel/component/thymeleaf/apple.html
create mode 100644
components/camel-thymeleaf/src/test/resources/org/apache/camel/component/thymeleaf/camel-context.xml
copy
components/{camel-freemarker/src/test/resources/org/apache/camel/component/freemarker/Concurrent.ftl
=>
camel-thymeleaf/src/test/resources/org/apache/camel/component/thymeleaf/concurrent.txt}
(100%)
create mode 100644
components/camel-thymeleaf/src/test/resources/org/apache/camel/component/thymeleaf/letter-domain.html
create mode 100644
components/camel-thymeleaf/src/test/resources/org/apache/camel/component/thymeleaf/letter.html
create mode 100644
components/camel-thymeleaf/src/test/resources/org/apache/camel/component/thymeleaf/letter.txt
create mode 100644
components/camel-thymeleaf/src/test/resources/org/apache/camel/component/thymeleaf/letterWithUrl.html
create mode 100644
components/camel-thymeleaf/src/test/resources/org/apache/camel/component/thymeleaf/orange.html
create mode 120000 docs/components/modules/ROOT/examples/json/thymeleaf.json
create mode 120000 docs/components/modules/ROOT/pages/thymeleaf-component.adoc
create mode 100644
dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/ThymeleafComponentBuilderFactory.java
create mode 100644
dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ThymeleafEndpointBuilderFactory.java