[camel] branch camel-2.x updated: CAMEL-17327: Upgrade to log4j 2.16.0
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-2.x in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/camel-2.x by this push: new 7452486 CAMEL-17327: Upgrade to log4j 2.16.0 7452486 is described below commit 745248674e39575f97f698c27bfb3645d5be3ee1 Author: Claus Ibsen AuthorDate: Tue Dec 14 07:37:59 2021 +0100 CAMEL-17327: Upgrade to log4j 2.16.0 --- parent/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parent/pom.xml b/parent/pom.xml index 670607b..8330e89 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -461,7 +461,7 @@ 1.0.0 1.2.17 -2.11.1 +2.16.0 3.6.0_1 3.6.0 7.5.0_1
[camel] branch regen_bot updated (e0aaf26 -> 8705e19)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot in repository https://gitbox.apache.org/repos/asf/camel.git. from e0aaf26 Regen add acbe788 Upgrade AWS SDK v2 to version 2.17.100 add 8705e19 Sync deps No new revisions were added by this update. Summary of changes: camel-dependencies/pom.xml | 2 +- parent/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
[camel-website] branch asf-site updated (3176b73 -> 8e44b89)
This is an automated email from the ASF dual-hosted git repository. git-site-role pushed a change to branch asf-site in repository https://gitbox.apache.org/repos/asf/camel-website.git. discard 3176b73 Website updated to 1bb9b8ed2602e197485771d600b876552bd44c61 discard 3e0884e Website updated to 325e929157412b27394080f4d4dba3d821476ddf new d52832d Website updated to 325e929157412b27394080f4d4dba3d821476ddf new 8e44b89 Website updated to dfd93db0647f608506e59abab7a84b6d8811defd 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 (3176b73) \ N -- N -- N refs/heads/asf-site (8e44b89) 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: .htaccess |4 +- blog/2021/12/log4j2/index.html |2 +- components/next/rest-swagger-component.html|2 +- ...-3_14.html => camel-3x-upgrade-guide-3_15.html} |2 +- manual/camel-3x-upgrade-guide.html |2 +- sitemap-camel-k.xml| 822 +-- sitemap-camel-kafka-connector.xml | 2218 +++ sitemap-camel-kamelets.xml | 578 +- sitemap-camel-karaf.xml| 70 +- sitemap-camel-quarkus.xml | 2078 +++--- sitemap-camel-spring-boot.xml | 54 +- sitemap-components.xml | 6712 ++-- sitemap-manual.xml | 386 +- 13 files changed, 6467 insertions(+), 6463 deletions(-) copy manual/{camel-3x-upgrade-guide-3_14.html => camel-3x-upgrade-guide-3_15.html} (78%)
[GitHub] [camel-quarkus] JiriOndrusek edited a comment on pull request #3272: Sql doc update because of the failure with external oracle database #…
JiriOndrusek edited a comment on pull request #3272: URL: https://github.com/apache/camel-quarkus/pull/3272#issuecomment-992632149 @aldettinger Yes you are right, only small fixes (mainly doc) is need to be done. ~~Unfortunately I'm not sure when I'll be able to fix it (maybe end of this week). But feel free to fix those small issues if you have a free capacity.~~ edited: I should fix it today. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] ppalaga commented on issue #3342: Run integration tests on Windows
ppalaga commented on issue #3342: URL: https://github.com/apache/camel-quarkus/issues/3342#issuecomment-993237325 Yes, I'd say jvm mode tests on Java 11 could be enough initially. Feel free to pick this if you like. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch regen_bot updated (f477092 -> e0aaf26)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot in repository https://gitbox.apache.org/repos/asf/camel.git. from f477092 CAMEL-17310: Reload routes should match resources that are the same when loaded via classpath or file scheme. Added getScheme to Resource API. mvn camel:dev now works. add 3683f77 CAMEL-17326: Resolve swagger references (#6536) add 32c0605 CAMEL-17327: Upgrade to log4j 2.16.0 add e0aaf26 Regen No new revisions were added by this update. Summary of changes: camel-dependencies/pom.xml |2 +- .../camel/catalog/components/rest-swagger.json |2 + .../swagger/RestSwaggerComponentConfigurer.java|6 + .../swagger/RestSwaggerEndpointConfigurer.java |6 + .../swagger/RestSwaggerEndpointUriFactory.java |3 +- .../camel/component/rest/swagger/rest-swagger.json |2 + .../rest/swagger/RestSwaggerComponent.java | 11 + .../rest/swagger/RestSwaggerEndpoint.java | 54 +- .../rest/swagger/RestSwaggerEndpointTest.java | 24 +- .../src/test/resources/swagger.json| 1050 +++- .../dsl/RestSwaggerComponentBuilderFactory.java| 17 + .../dsl/RestSwaggerEndpointBuilderFactory.java | 31 + parent/pom.xml |2 +- 13 files changed, 1189 insertions(+), 21 deletions(-)
[camel] branch regen_bot updated (b89ec38 -> f477092)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot in repository https://gitbox.apache.org/repos/asf/camel.git. omit b89ec38 Regen for commit 3683f770b7b9a31e1778b3d347cc0dbe047da63e omit 3683f77 CAMEL-17326: Resolve swagger references (#6536) This update removed existing revisions from the reference, leaving the reference pointing at a previous point in the repository history. * -- * -- N refs/heads/regen_bot (f477092) \ O -- O -- O (b89ec38) Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. No new revisions were added by this update. Summary of changes: .../camel/catalog/components/rest-swagger.json |2 - .../swagger/RestSwaggerComponentConfigurer.java|6 - .../swagger/RestSwaggerEndpointConfigurer.java |6 - .../swagger/RestSwaggerEndpointUriFactory.java |3 +- .../camel/component/rest/swagger/rest-swagger.json |2 - .../rest/swagger/RestSwaggerComponent.java | 11 - .../rest/swagger/RestSwaggerEndpoint.java | 54 +- .../rest/swagger/RestSwaggerEndpointTest.java | 24 +- .../src/test/resources/swagger.json| 1050 +--- .../dsl/RestSwaggerComponentBuilderFactory.java| 17 - .../dsl/RestSwaggerEndpointBuilderFactory.java | 31 - 11 files changed, 19 insertions(+), 1187 deletions(-)
[camel] branch main created (now 8705e19)
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. at 8705e19 Sync deps No new revisions were added by this update.
[GitHub] [camel] oscerd merged pull request #6537: Generated sources regen
oscerd merged pull request #6537: URL: https://github.com/apache/camel/pull/6537 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch regen_bot updated (146baa2 -> b89ec38)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot in repository https://gitbox.apache.org/repos/asf/camel.git. from 146baa2 Polished add f477092 CAMEL-17310: Reload routes should match resources that are the same when loaded via classpath or file scheme. Added getScheme to Resource API. mvn camel:dev now works. add 3683f77 CAMEL-17326: Resolve swagger references (#6536) add b89ec38 Regen for commit 3683f770b7b9a31e1778b3d347cc0dbe047da63e No new revisions were added by this update. Summary of changes: .../camel/catalog/components/rest-swagger.json |2 + .../camel/language/bean/BeanResourceResolver.java | 12 +- .../org/apache/camel/github/GitHubResource.java|2 +- .../swagger/RestSwaggerComponentConfigurer.java|6 + .../swagger/RestSwaggerEndpointConfigurer.java |6 + .../swagger/RestSwaggerEndpointUriFactory.java |3 +- .../camel/component/rest/swagger/rest-swagger.json |2 + .../rest/swagger/RestSwaggerComponent.java | 11 + .../rest/swagger/RestSwaggerEndpoint.java | 54 +- .../rest/swagger/RestSwaggerEndpointTest.java | 24 +- .../src/test/resources/swagger.json| 1050 +++- .../main/java/org/apache/camel/spi/Resource.java |5 + .../impl/engine/DefaultResourceResolvers.java | 18 +- .../dsl/RestSwaggerComponentBuilderFactory.java| 17 + .../apache/camel/urlhandler/custom/Handler.java|8 +- .../org/apache/camel/urlhandler/pd/Handler.java|8 +- .../dsl/RestSwaggerEndpointBuilderFactory.java | 31 + .../support/FileWatcherResourceReloadStrategy.java |4 + .../org/apache/camel/support/ResourceHelper.java |7 +- .../org/apache/camel/support/ResourceSupport.java | 13 +- .../camel/support/RouteWatcherReloadStrategy.java | 26 +- .../ROOT/pages/camel-3x-upgrade-guide-3_15.adoc| 11 + .../modules/ROOT/pages/camel-3x-upgrade-guide.adoc |1 + .../camel/dsl/yaml/support/YamlTestSupport.groovy |6 + .../main/java/org/apache/camel/maven/DevMojo.java |5 + 25 files changed, 1271 insertions(+), 61 deletions(-) create mode 100644 docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_15.adoc
[GitHub] [camel] github-actions[bot] opened a new pull request #6537: Generated sources regen
github-actions[bot] opened a new pull request #6537: URL: https://github.com/apache/camel/pull/6537 Regen bot :robot: found some uncommited changes after running build on :camel: main. Please do not delete `regen_bot` branch after merge/rebase. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] TCke83 commented on pull request #6531: CAMEL-17307: camel-support - Added ThrowingPredicate interface to cre…
TCke83 commented on pull request #6531: URL: https://github.com/apache/camel/pull/6531#issuecomment-993226910 What also could be a possible approach is to refactor the PredicateValidationException into a factory, it gets the predicate as an argument. That factory checks on a seperate interface of the supplied predicate, not extending from Predicate, e.g. HasCustomException or something like that. And if it implements the interface throw that exception, otherwise throw the default PredicateValidationException -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-website] branch asf-site updated (f51329d -> 3176b73)
This is an automated email from the ASF dual-hosted git repository. git-site-role pushed a change to branch asf-site in repository https://gitbox.apache.org/repos/asf/camel-website.git. discard f51329d Website updated to ab97b5e6932dd0fd80b5427c967bad1ce1b08865 discard 3d1f3da Website updated to 325e929157412b27394080f4d4dba3d821476ddf new 3e0884e Website updated to 325e929157412b27394080f4d4dba3d821476ddf new 3176b73 Website updated to 1bb9b8ed2602e197485771d600b876552bd44c61 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 (f51329d) \ N -- N -- N refs/heads/asf-site (3176b73) 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: sitemap-camel-k.xml | 822 ++--- sitemap-camel-kafka-connector.xml | 2218 ++-- sitemap-camel-kamelets.xml| 578 ++-- sitemap-camel-karaf.xml | 70 +- sitemap-camel-quarkus.xml | 2078 ++-- sitemap-camel-spring-boot.xml | 54 +- sitemap-components.xml| 6712 ++--- sitemap-manual.xml| 382 +-- 8 files changed, 6457 insertions(+), 6457 deletions(-)
[camel] branch regen_bot updated (1089053 -> 146baa2)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot in repository https://gitbox.apache.org/repos/asf/camel.git. from 1089053 Bump mybatis 3.5.8 (#6534) add 146baa2 Polished No new revisions were added by this update. Summary of changes: .../src/main/java/org/apache/camel/maven/DevMojo.java | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-)
[camel-kamelets] branch regen_bot updated (61ce65e -> e01a263)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git. omit 61ce65e Regen for commit 283de1a6397a0d83ada8015201b1911928264e2d add e01a263 Regen 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 (61ce65e) \ N -- N -- N refs/heads/regen_bot (e01a263) 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. No new revisions were added by this update. Summary of changes:
[GitHub] [camel-kamelets] oscerd merged pull request #625: Generated sources regen
oscerd merged pull request #625: URL: https://github.com/apache/camel-kamelets/pull/625 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-kamelets] branch main created (now e01a263)
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-kamelets.git. at e01a263 Regen This branch includes the following new commits: new e01a263 Regen The 1 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.
[camel-kamelets] 01/01: Regen
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git commit e01a26311dc7dadedd4caaccb1a5ea3bd1ce133f Author: Andrea Cosentino AuthorDate: Tue Dec 14 07:58:47 2021 +0100 Regen --- .../resources/kamelets/pulsar-sink.kamelet.yaml| 171 + 1 file changed, 171 insertions(+) diff --git a/library/camel-kamelets/src/main/resources/kamelets/pulsar-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/pulsar-sink.kamelet.yaml new file mode 100644 index 000..77016c7 --- /dev/null +++ b/library/camel-kamelets/src/main/resources/kamelets/pulsar-sink.kamelet.yaml @@ -0,0 +1,171 @@ +# --- +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# --- +apiVersion: camel.apache.org/v1alpha1 +kind: Kamelet +metadata: + name: pulsar-sink + annotations: +camel.apache.org/kamelet.support.level: "Preview" +camel.apache.org/catalog.version: "main-SNAPSHOT" +camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgdmlld0JveD0iMCAwIDYwLjk3Mzk5OSA0My4wOSIKICAgdmVyc2lvbj0iMS4xIgogICBpZD0ic3ZnMjQiCiAgIHNvZGlwb2RpOmRvY25hbWU9InB1bHNhci1sb2dvLnN2ZyIKICAgd2lkdGg9IjYwLjk3Mzk5OSIKICAgaGVpZ2h0PSI0My4wOSIKICAgaW5rc2NhcGU6dmVyc2lvbj0iMS4xLjEgKDNiZjVhZTBkMjUsIDIwMjEtMDktMjApIgogICB4bWxuczppbmtzY2FwZT0iaHR0cDovL3d3dy5pbmtzY2FwZS5vcmcvbmFtZXNwYWNlcy9pbmtzY2FwZSIKICAgeG [...] +camel.apache.org/provider: "Apache Software Foundation" +camel.apache.org/kamelet.group: "Pulsar" + labels: +camel.apache.org/kamelet.type: "sink" +spec: + dependencies: +- "camel:pulsar" +- "camel:kamelet" +- "camel:core" + definition: +title: "Pulsar Sink" +description: "Send documents to Pulsar." +required: + - topicType + - topic + - namespaceName + - tenant + - serviceUrl +properties: + topic: +title: Topic Name +description: The topic name or regexp +type: string + tenant: +title: Tenant Name +description: The Tenant Name +type: string + topicType: +title: Topic Type +description: "The topic type. Possible values are: persistent or non-persistent" +type: string + namespaceName: +title: Pulsar Namespace Name +description: The Pulsar Namespace Name +type: string + serviceUrl: +title: Service URL +description: The Pulsar Service URL to point while creating the client from URI. +type: string + authenticationClass: +title: Authentication Class +description: The Authentication FQCN to be used while creating the client from URI. +type: string + authenticationParams: +title: Authentication Params +description: The Authentication Parameters to be used while creating the client from URI. +type: string +x-descriptors: + - 'urn:alm:descriptor:com.tectonic.ui:text' + batchingEnabled: +title: Enable Batching +description: Control whether automatic batching of messages is enabled for the producer. +type: boolean +default: true +x-descriptors: + - 'urn:alm:descriptor:com.tectonic.ui:checkbox' + batchingMaxMessages: +title: Batching Maximum Messages +description: "The maximum size to batch messages." +type: int +default: 1000 + batchingMaxPublishDelayMicros: +title: Batching Maximum Publish Delay in Microsecond +description: "The maximum time period within which the messages sent will be batched if batchingEnabled is true." +type: long +default: 1000 + blockIfQueueFull: +title: Block If Queue Full +description: "Whether to block the producing thread if pending messages queue is full or to throw a ProducerQueueIsFullError." +type: boolean +default: false +x-descriptors:
[camel-kamelets] branch main updated: Regen
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git The following commit(s) were added to refs/heads/main by this push: new e01a263 Regen e01a263 is described below commit e01a26311dc7dadedd4caaccb1a5ea3bd1ce133f Author: Andrea Cosentino AuthorDate: Tue Dec 14 07:58:47 2021 +0100 Regen --- .../resources/kamelets/pulsar-sink.kamelet.yaml| 171 + 1 file changed, 171 insertions(+) diff --git a/library/camel-kamelets/src/main/resources/kamelets/pulsar-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/pulsar-sink.kamelet.yaml new file mode 100644 index 000..77016c7 --- /dev/null +++ b/library/camel-kamelets/src/main/resources/kamelets/pulsar-sink.kamelet.yaml @@ -0,0 +1,171 @@ +# --- +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# --- +apiVersion: camel.apache.org/v1alpha1 +kind: Kamelet +metadata: + name: pulsar-sink + annotations: +camel.apache.org/kamelet.support.level: "Preview" +camel.apache.org/catalog.version: "main-SNAPSHOT" +camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgdmlld0JveD0iMCAwIDYwLjk3Mzk5OSA0My4wOSIKICAgdmVyc2lvbj0iMS4xIgogICBpZD0ic3ZnMjQiCiAgIHNvZGlwb2RpOmRvY25hbWU9InB1bHNhci1sb2dvLnN2ZyIKICAgd2lkdGg9IjYwLjk3Mzk5OSIKICAgaGVpZ2h0PSI0My4wOSIKICAgaW5rc2NhcGU6dmVyc2lvbj0iMS4xLjEgKDNiZjVhZTBkMjUsIDIwMjEtMDktMjApIgogICB4bWxuczppbmtzY2FwZT0iaHR0cDovL3d3dy5pbmtzY2FwZS5vcmcvbmFtZXNwYWNlcy9pbmtzY2FwZSIKICAgeG [...] +camel.apache.org/provider: "Apache Software Foundation" +camel.apache.org/kamelet.group: "Pulsar" + labels: +camel.apache.org/kamelet.type: "sink" +spec: + dependencies: +- "camel:pulsar" +- "camel:kamelet" +- "camel:core" + definition: +title: "Pulsar Sink" +description: "Send documents to Pulsar." +required: + - topicType + - topic + - namespaceName + - tenant + - serviceUrl +properties: + topic: +title: Topic Name +description: The topic name or regexp +type: string + tenant: +title: Tenant Name +description: The Tenant Name +type: string + topicType: +title: Topic Type +description: "The topic type. Possible values are: persistent or non-persistent" +type: string + namespaceName: +title: Pulsar Namespace Name +description: The Pulsar Namespace Name +type: string + serviceUrl: +title: Service URL +description: The Pulsar Service URL to point while creating the client from URI. +type: string + authenticationClass: +title: Authentication Class +description: The Authentication FQCN to be used while creating the client from URI. +type: string + authenticationParams: +title: Authentication Params +description: The Authentication Parameters to be used while creating the client from URI. +type: string +x-descriptors: + - 'urn:alm:descriptor:com.tectonic.ui:text' + batchingEnabled: +title: Enable Batching +description: Control whether automatic batching of messages is enabled for the producer. +type: boolean +default: true +x-descriptors: + - 'urn:alm:descriptor:com.tectonic.ui:checkbox' + batchingMaxMessages: +title: Batching Maximum Messages +description: "The maximum size to batch messages." +type: int +default: 1000 + batchingMaxPublishDelayMicros: +title: Batching Maximum Publish Delay in Microsecond +description: "The maximum time period within which the messages sent will be batched if batchingEnabled is true." +type: long +default: 1000 + blockIfQueueFull: +title: Block If Queue Full +description: "Whether to block the producing thread if pending messages queue
[GitHub] [camel-kamelets] github-actions[bot] opened a new pull request #625: Generated sources regen
github-actions[bot] opened a new pull request #625: URL: https://github.com/apache/camel-kamelets/pull/625 Regen bot :robot: found some uncommited changes after running build on :camel: kamelets main. Please do not delete `regen_bot` branch after merge/rebase. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-kamelets] branch regen_bot updated (cd588c5 -> 61ce65e)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git. from cd588c5 Regen websocket source add 283de1a #397: Add Pulsar sink Kamelet add 61ce65e Regen for commit 283de1a6397a0d83ada8015201b1911928264e2d No new revisions were added by this update. Summary of changes: .../{pulsar-source.svg => pulsar-sink.svg} | 0 docs/modules/ROOT/nav.adoc | 1 + docs/modules/ROOT/pages/pulsar-sink.adoc | 173 + .../pulsar-sink.kamelet.yaml | 170 ++-- ...ource.kamelet.yaml => pulsar-sink.kamelet.yaml} | 170 ++-- ...ource-binding.yaml => pulsar-sink-binding.yaml} | 14 +- templates/bindings/core/pulsar-sink-binding.yaml | 16 ++ 7 files changed, 369 insertions(+), 175 deletions(-) copy docs/modules/ROOT/assets/images/kamelets/{pulsar-source.svg => pulsar-sink.svg} (100%) create mode 100644 docs/modules/ROOT/pages/pulsar-sink.adoc copy library/camel-kamelets/src/main/resources/kamelets/pulsar-source.kamelet.yaml => kamelets/pulsar-sink.kamelet.yaml (65%) mode change 100644 => 100755 copy library/camel-kamelets/src/main/resources/kamelets/{pulsar-source.kamelet.yaml => pulsar-sink.kamelet.yaml} (65%) copy templates/bindings/camel-k/{pulsar-source-binding.yaml => pulsar-sink-binding.yaml} (88%) create mode 100644 templates/bindings/core/pulsar-sink-binding.yaml
[GitHub] [camel-kamelets] oscerd commented on pull request #624: #397: Add Pulsar sink Kamelet
oscerd commented on pull request #624: URL: https://github.com/apache/camel-kamelets/pull/624#issuecomment-993215826 Thanks. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-kamelets] oscerd merged pull request #624: #397: Add Pulsar sink Kamelet
oscerd merged pull request #624: URL: https://github.com/apache/camel-kamelets/pull/624 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-kamelets] branch main updated: #397: Add Pulsar sink Kamelet
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git The following commit(s) were added to refs/heads/main by this push: new 283de1a #397: Add Pulsar sink Kamelet 283de1a is described below commit 283de1a6397a0d83ada8015201b1911928264e2d Author: Luigi De Masi AuthorDate: Fri Dec 10 18:29:02 2021 +0100 #397: Add Pulsar sink Kamelet --- .../ROOT/assets/images/kamelets/pulsar-sink.svg| 100 docs/modules/ROOT/nav.adoc | 1 + docs/modules/ROOT/pages/pulsar-sink.adoc | 173 + kamelets/pulsar-sink.kamelet.yaml | 171 .../bindings/camel-k/pulsar-sink-binding.yaml | 22 +++ templates/bindings/core/pulsar-sink-binding.yaml | 16 ++ 6 files changed, 483 insertions(+) diff --git a/docs/modules/ROOT/assets/images/kamelets/pulsar-sink.svg b/docs/modules/ROOT/assets/images/kamelets/pulsar-sink.svg new file mode 100644 index 000..3fc97fc --- /dev/null +++ b/docs/modules/ROOT/assets/images/kamelets/pulsar-sink.svg @@ -0,0 +1,100 @@ + +http://www.inkscape.org/namespaces/inkscape"; + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"; + xmlns="http://www.w3.org/2000/svg"; + xmlns:svg="http://www.w3.org/2000/svg"; + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"; + xmlns:cc="http://creativecommons.org/ns#"; + xmlns:dc="http://purl.org/dc/elements/1.1/";> + + +.cls-1{fill:#188fff;}.cls-2{fill:#464e56;} + + + + + Asset 2 + + + + + + + + + + + + + + +Asset 2 + + + + diff --git a/docs/modules/ROOT/nav.adoc b/docs/modules/ROOT/nav.adoc index 019ac58..b8c4dab 100644 --- a/docs/modules/ROOT/nav.adoc +++ b/docs/modules/ROOT/nav.adoc @@ -116,6 +116,7 @@ * xref:ROOT:predicate-filter-action.adoc[image:kamelets/predicate-filter-action.svg[] Predicate Filter Action] * xref:ROOT:protobuf-deserialize-action.adoc[image:kamelets/protobuf-deserialize-action.svg[] Protobuf Deserialize Action] * xref:ROOT:protobuf-serialize-action.adoc[image:kamelets/protobuf-serialize-action.svg[] Protobuf Serialize Action] +* xref:ROOT:pulsar-sink.adoc[image:kamelets/pulsar-sink.svg[] Pulsar Sink] * xref:ROOT:pulsar-source.adoc[image:kamelets/pulsar-source.svg[] Pulsar Source] * xref:ROOT:rabbitmq-source.adoc[image:kamelets/rabbitmq-source.svg[] RabbitMQ Source] * xref:ROOT:redis-sink.adoc[image:kamelets/redis-sink.svg[] Redis Sink] diff --git a/docs/modules/ROOT/pages/pulsar-sink.adoc b/docs/modules/ROOT/pages/pulsar-sink.adoc new file mode 100644 index 000..605a662 --- /dev/null +++ b/docs/modules/ROOT/pages/pulsar-sink.adoc @@ -0,0 +1,173 @@ +// THIS FILE IS AUTOMATICALLY GENERATED: DO NOT EDIT + += image:kamelets/pulsar-sink.svg[] Pulsar Sink + +*Provided by: "Apache Software Foundation"* + +*Support Level for this Kamelet is: "Preview"* + +Send documents to Pulsar. + +== Configuration Options + +The following table summarizes the configuration options available for the `pulsar-sink` Kamelet: +[width="100%",cols="2,^2,3,^2,^2,^3",options="header"] +|=== +| Property| Name| Description| Type| Default| Example +| *namespaceName {empty}* *| Pulsar Namespace Name| The Pulsar Namespace Name| string| | +| *serviceUrl {empty}* *| Service URL| The Pulsar Service URL to point while creating the client from URI.| string| | +| *tenant {empty}* *| Tenant Name| The Tenant Name| string| | +| *topic {empty}* *| Topic Name| The topic name or regexp| string| | +| *topicType {empty}* *| Topic Type| The topic type. Possible values are: persistent or non-persistent| string| | +| authenticationClass| Authentication Class| The Authentication FQCN to be used while creating the client from URI.| string| | +| authenticationParams| Authentication Params| The Authentication Parameters to be used while creating the client from URI.| string| | +| batchingEnabled| Enable Batching| Control whether automatic batching of messages is enabled for the producer.| boolean| `true`| +| batchingMaxMessages| Batching Maximum Messages| The maximum size to batch messages.| int| `1000`| +| batchingMaxPublishDelayMicros| Batching Maximum Publish Delay in Microsecond| The maximum time period within which the messages sent will be batched if batchingEnabled is true.| long| `1000`| +| blockIfQueueFull| Block If Queue Full| Whether to block the producing thread if pending messages queue is full or to throw a ProducerQueueIsFullError.| boolean| `false`| +| compressionType| Compression Type| Compression type to use. Possible values are: NONE, LZ4, ZLIB, ZSTD, SNAPPY| string| `"NONE"`| +| initialSequenceId| Initial SequenceId| The first message published will have a sequence Id of initialSequenceId 1.| long| `-1`| +| lazyStartProducer| Number Of Consumer
[camel-website] branch main updated (1bb9b8e -> dfd93db)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel-website.git. from 1bb9b8e Remove PR template as its from core project and NOT needed for website PRs add dfd93db Add update about log4j 2.16.0 to blog No new revisions were added by this update. Summary of changes: content/blog/2021/12/log4j2/index.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
[camel] 01/02: Upgrade AWS SDK v2 to version 2.17.100
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit acbe788cae4c3ee51c44abfaee9cad0f2eddaf4f Author: Andrea Cosentino AuthorDate: Tue Dec 14 06:47:54 2021 +0100 Upgrade AWS SDK v2 to version 2.17.100 --- parent/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parent/pom.xml b/parent/pom.xml index cdd756f..766adea 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -80,7 +80,7 @@ 1.10.2 1.10.2 4.1.1 -2.17.99 +2.17.100 2.6.1 1.2.14 2.11.3
[camel] 02/02: Sync deps
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit 8705e19cd9968cbd1f6082b590bb535736a19b5b Author: Andrea Cosentino AuthorDate: Tue Dec 14 07:42:59 2021 +0100 Sync deps --- camel-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/camel-dependencies/pom.xml b/camel-dependencies/pom.xml index 190d2e7..2e650f5 100644 --- a/camel-dependencies/pom.xml +++ b/camel-dependencies/pom.xml @@ -65,7 +65,7 @@ 1.10.2 1.10.2 4.1.1 -2.17.99 +2.17.100 2.6.1 1.2.14 4.20.0
[camel] branch main updated (e0aaf26 -> 8705e19)
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 e0aaf26 Regen new acbe788 Upgrade AWS SDK v2 to version 2.17.100 new 8705e19 Sync deps 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: camel-dependencies/pom.xml | 2 +- parent/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
[camel] branch camel-3.14.x updated: CAMEL-17310: Reload routes should match resources that are the same when loaded via classpath or file scheme. mvn camel:dev now works.
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-3.14.x in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/camel-3.14.x by this push: new 0694e50 CAMEL-17310: Reload routes should match resources that are the same when loaded via classpath or file scheme. mvn camel:dev now works. 0694e50 is described below commit 0694e504967d17dbbb32c64688377b6f27ad0df7 Author: Claus Ibsen AuthorDate: Tue Dec 14 07:42:17 2021 +0100 CAMEL-17310: Reload routes should match resources that are the same when loaded via classpath or file scheme. mvn camel:dev now works. --- .../camel/support/RouteWatcherReloadStrategy.java | 26 +- .../main/java/org/apache/camel/maven/DevMojo.java | 18 ++- 2 files changed, 37 insertions(+), 7 deletions(-) diff --git a/core/camel-support/src/main/java/org/apache/camel/support/RouteWatcherReloadStrategy.java b/core/camel-support/src/main/java/org/apache/camel/support/RouteWatcherReloadStrategy.java index f2d84be..0b1b204 100644 --- a/core/camel-support/src/main/java/org/apache/camel/support/RouteWatcherReloadStrategy.java +++ b/core/camel-support/src/main/java/org/apache/camel/support/RouteWatcherReloadStrategy.java @@ -17,6 +17,7 @@ package org.apache.camel.support; import java.io.File; +import java.net.URI; import java.nio.file.Files; import java.nio.file.Paths; import java.util.ArrayList; @@ -156,7 +157,7 @@ public class RouteWatcherReloadStrategy extends FileWatcherResourceReloadStrateg // remember all the sources of the current routes (except the updated) getCamelContext().getRoutes().forEach(r -> { Resource rs = r.getSourceResource(); -if (rs != null && (resource == null || !rs.getLocation().equals(resource.getLocation( { +if (rs != null && !equalResourceLocation(resource, rs)) { sources.add(rs); } }); @@ -230,4 +231,27 @@ public class RouteWatcherReloadStrategy extends FileWatcherResourceReloadStrateg } } +/** + * Whether the two resources are loading the same resource + */ +private static boolean equalResourceLocation(Resource source, Resource target) { +if (source == null || target == null) { +return false; +} + +// use URI to match as file/classpath resources may refer to the same uri +URI u1 = source.getURI(); +URI u2 = target.getURI(); +boolean answer = u1.equals(u2); +if (!answer) { +// file and classpath may refer to the same when they have src/main/resources && target/classes +String s1 = u1.toString().replace("src/main/resources/", "").replace("src/test/resources/", "") +.replace("target/classes/", ""); +String s2 = u2.toString().replace("src/main/resources/", "").replace("src/test/resources/", "") +.replace("target/classes/", ""); +answer = s1.equals(s2); +} +return answer; +} + } diff --git a/tooling/maven/camel-maven-plugin/src/main/java/org/apache/camel/maven/DevMojo.java b/tooling/maven/camel-maven-plugin/src/main/java/org/apache/camel/maven/DevMojo.java index e34613a..ffa8086 100644 --- a/tooling/maven/camel-maven-plugin/src/main/java/org/apache/camel/maven/DevMojo.java +++ b/tooling/maven/camel-maven-plugin/src/main/java/org/apache/camel/maven/DevMojo.java @@ -16,6 +16,8 @@ */ package org.apache.camel.maven; +import java.io.File; + import org.apache.maven.plugins.annotations.LifecyclePhase; import org.apache.maven.plugins.annotations.Mojo; import org.apache.maven.plugins.annotations.Parameter; @@ -38,16 +40,20 @@ public class DevMojo extends RunMojo { */ @Override protected void beforeBootstrapCamel() throws Exception { -String routesReloadDirectory = "src/main/resources"; - +String dir; if (routesDirectory != null) { -routesReloadDirectory = routesDirectory; -} else if (routesDirectory == null && project.getResources().size() == 1) { -routesReloadDirectory = project.getResources().get(0).getDirectory(); +dir = routesDirectory; +} else if (project.getResources().size() == 1) { +dir = project.getResources().get(0).getDirectory(); +} else { +dir = "src/main/resources"; } +// use absolute path for dir +dir = new File(dir).getAbsolutePath(); + System.setProperty("camel.main.routesReloadEnabled", "true"); -System.setProperty("camel.main.routesReloadDirectory", routesReloadDirectory); +System.setProperty("camel.main.routesReloadDirectory", dir); System.setProperty("camel.main.routesReloadDirectoryRecursive", "true");
[camel] branch camel-3.14.x updated: CAMEL-17327: Upgrade to log4j 2.16.0
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-3.14.x in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/camel-3.14.x by this push: new 35df88d CAMEL-17327: Upgrade to log4j 2.16.0 35df88d is described below commit 35df88d9b162f2104d205174738b0567576330d2 Author: Claus Ibsen AuthorDate: Tue Dec 14 07:28:11 2021 +0100 CAMEL-17327: Upgrade to log4j 2.16.0 --- camel-dependencies/pom.xml | 2 +- parent/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/camel-dependencies/pom.xml b/camel-dependencies/pom.xml index 3987856..721de3b 100644 --- a/camel-dependencies/pom.xml +++ b/camel-dependencies/pom.xml @@ -381,7 +381,7 @@ 0.14.1 1.0.0 0.2.0 -2.15.0 +2.16.0 1.2.7 8.11.0 [8,9) diff --git a/parent/pom.xml b/parent/pom.xml index a38242e..a86517c 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -363,7 +363,7 @@ 1.0.0 5.1.0.RELEASE -2.15.0 +2.16.0 1.2.7 8.11.0 [8,9)
[camel] branch camel-3.7.x updated: CAMEL-17327: Upgrade to log4j 2.16.0
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-3.7.x in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/camel-3.7.x by this push: new 7b13ef2 CAMEL-17327: Upgrade to log4j 2.16.0 7b13ef2 is described below commit 7b13ef28fa3aca926d4a63be068989b7ce9ed629 Author: Claus Ibsen AuthorDate: Tue Dec 14 07:28:11 2021 +0100 CAMEL-17327: Upgrade to log4j 2.16.0 --- camel-dependencies/pom.xml | 2 +- parent/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/camel-dependencies/pom.xml b/camel-dependencies/pom.xml index 2aa4102..a734d4a 100644 --- a/camel-dependencies/pom.xml +++ b/camel-dependencies/pom.xml @@ -383,7 +383,7 @@ 0.12.0 1.0.0 0.2.0 -2.15.0 +2.16.0 1.2.7 8.6.1 [8,9) diff --git a/parent/pom.xml b/parent/pom.xml index 8858356..2d2ae93 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -365,7 +365,7 @@ 1.0.0 5.1.0.RELEASE -2.15.0 +2.16.0 1.2.7 3.6.0 8.6.1
[camel] branch camel-3.11.x updated: CAMEL-17327: Upgrade to log4j 2.16.0
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-3.11.x in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/camel-3.11.x by this push: new 6451d70 CAMEL-17327: Upgrade to log4j 2.16.0 6451d70 is described below commit 6451d7029018d34fc76b3d086619e7de8ac74f8e Author: Claus Ibsen AuthorDate: Tue Dec 14 07:28:11 2021 +0100 CAMEL-17327: Upgrade to log4j 2.16.0 --- camel-dependencies/pom.xml | 2 +- parent/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/camel-dependencies/pom.xml b/camel-dependencies/pom.xml index efe39c7..fc2a8bc 100644 --- a/camel-dependencies/pom.xml +++ b/camel-dependencies/pom.xml @@ -373,7 +373,7 @@ 0.12.0 1.0.0 0.2.0 -2.15.0 +2.16.0 1.2.7 8.8.2 [8,9) diff --git a/parent/pom.xml b/parent/pom.xml index 060eda3..67f1129 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -354,7 +354,7 @@ 1.0.0 5.1.0.RELEASE -2.15.0 +2.16.0 1.2.7 3.6.0 8.8.2
[camel] 02/02: Regen
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit e0aaf26f7fef199d020c84d15613a350571e8bf0 Author: Claus Ibsen AuthorDate: Tue Dec 14 07:30:54 2021 +0100 Regen --- .../resources/org/apache/camel/catalog/components/rest-swagger.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/rest-swagger.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/rest-swagger.json index 57f5167..f3593a7 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/rest-swagger.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/rest-swagger.json @@ -28,6 +28,7 @@ "host": { "kind": "property", "displayName": "Host", "group": "producer", "label": "producer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Scheme hostname and port to direct the HTTP requests to in the form of https:\/\/hostname:port. Can be configured at the endpoint, component or in the corresponding REST configuration in the Camel Context. If you give this component a name (e.g. pets [...] "lazyStartProducer": { "kind": "property", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during star [...] "produces": { "kind": "property", "displayName": "Produces", "group": "producer", "label": "producer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "What payload type this component is producing. For example application\/json according to the RFC7231. This equates to the value of Content-Type HTTP header. If set overrides any value present in the Swagger specification. Can be overridden i [...] +"resolveReferences": { "kind": "property", "displayName": "Resolve References", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "false", "description": "Resolve references in Swagger specification." }, "specificationUri": { "kind": "property", "displayName": "Specification Uri", "group": "producer", "label": "producer", "required": false, "type": "string", "javaType": "java.net.URI", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "swagger.json", "description": "Path to the Swagger specification file. The scheme, host base path are taken from this specification, but these can be overridden with properties on the component or endpoint level. If not given th [...] "autowiredEnabled": { "kind": "property", "displayName": "Autowired Enabled", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which t [...] "sslContextParameters": { "kind": "property", "displayName": "Ssl Context Parameters", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "org.apache.camel.support.jsse.SSLContextParameters", "deprecated": false, "autowired": false, "secret": false, "description": "Customize TLS parameters used by the component. If not set defaults to the TLS parameters set in the Camel context" }, @@ -42,6 +43,7 @@ "host": { "kind": "parameter", "displayName": "Host", "group": "producer", "label": "producer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Scheme hostname and port to direct the HTTP requests to in the form of https:\/\/hostname:port. Can be configured at the endpoint, component or in the corresponding REST configuration in the Camel Context. If you give this component a name (e.g. pet [...] "lazyStartProducer": { "kind": "parameter", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue":
[camel] branch main updated (3683f77 -> e0aaf26)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel.git. from 3683f77 CAMEL-17326: Resolve swagger references (#6536) new 32c0605 CAMEL-17327: Upgrade to log4j 2.16.0 new e0aaf26 Regen 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: camel-dependencies/pom.xml | 2 +- .../resources/org/apache/camel/catalog/components/rest-swagger.json | 2 ++ parent/pom.xml | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-)
[camel] 01/02: CAMEL-17327: Upgrade to log4j 2.16.0
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit 32c0605c248ce2c659289dc00e50539407b5a261 Author: Claus Ibsen AuthorDate: Tue Dec 14 07:28:11 2021 +0100 CAMEL-17327: Upgrade to log4j 2.16.0 --- camel-dependencies/pom.xml | 2 +- parent/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/camel-dependencies/pom.xml b/camel-dependencies/pom.xml index edf4d69..190d2e7 100644 --- a/camel-dependencies/pom.xml +++ b/camel-dependencies/pom.xml @@ -381,7 +381,7 @@ 0.14.1 1.0.0 0.2.0 -2.15.0 +2.16.0 1.2.7 8.11.0 [8,9) diff --git a/parent/pom.xml b/parent/pom.xml index 1766630..cdd756f 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -363,7 +363,7 @@ 1.0.0 5.1.0.RELEASE -2.15.0 +2.16.0 1.2.7 8.11.0 [8,9)
[camel] branch main updated: CAMEL-17326: Resolve swagger references (#6536)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/main by this push: new 3683f77 CAMEL-17326: Resolve swagger references (#6536) 3683f77 is described below commit 3683f770b7b9a31e1778b3d347cc0dbe047da63e Author: Jeremy Ross AuthorDate: Tue Dec 14 00:27:02 2021 -0600 CAMEL-17326: Resolve swagger references (#6536) --- .../swagger/RestSwaggerComponentConfigurer.java|6 + .../swagger/RestSwaggerEndpointConfigurer.java |6 + .../swagger/RestSwaggerEndpointUriFactory.java |3 +- .../camel/component/rest/swagger/rest-swagger.json |2 + .../rest/swagger/RestSwaggerComponent.java | 11 + .../rest/swagger/RestSwaggerEndpoint.java | 54 +- .../rest/swagger/RestSwaggerEndpointTest.java | 24 +- .../src/test/resources/swagger.json| 1050 +++- .../dsl/RestSwaggerComponentBuilderFactory.java| 17 + .../dsl/RestSwaggerEndpointBuilderFactory.java | 31 + 10 files changed, 1185 insertions(+), 19 deletions(-) diff --git a/components/camel-rest-swagger/src/generated/java/org/apache/camel/component/rest/swagger/RestSwaggerComponentConfigurer.java b/components/camel-rest-swagger/src/generated/java/org/apache/camel/component/rest/swagger/RestSwaggerComponentConfigurer.java index ba877d6..301a9af 100644 --- a/components/camel-rest-swagger/src/generated/java/org/apache/camel/component/rest/swagger/RestSwaggerComponentConfigurer.java +++ b/components/camel-rest-swagger/src/generated/java/org/apache/camel/component/rest/swagger/RestSwaggerComponentConfigurer.java @@ -32,6 +32,8 @@ public class RestSwaggerComponentConfigurer extends PropertyConfigurerSupport im case "lazystartproducer": case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true; case "produces": target.setProduces(property(camelContext, java.lang.String.class, value)); return true; +case "resolvereferences": +case "resolveReferences": target.setResolveReferences(property(camelContext, java.lang.Boolean.class, value)); return true; case "specificationuri": case "specificationUri": target.setSpecificationUri(property(camelContext, java.net.URI.class, value)); return true; case "sslcontextparameters": @@ -56,6 +58,8 @@ public class RestSwaggerComponentConfigurer extends PropertyConfigurerSupport im case "lazystartproducer": case "lazyStartProducer": return boolean.class; case "produces": return java.lang.String.class; +case "resolvereferences": +case "resolveReferences": return java.lang.Boolean.class; case "specificationuri": case "specificationUri": return java.net.URI.class; case "sslcontextparameters": @@ -81,6 +85,8 @@ public class RestSwaggerComponentConfigurer extends PropertyConfigurerSupport im case "lazystartproducer": case "lazyStartProducer": return target.isLazyStartProducer(); case "produces": return target.getProduces(); +case "resolvereferences": +case "resolveReferences": return target.getResolveReferences(); case "specificationuri": case "specificationUri": return target.getSpecificationUri(); case "sslcontextparameters": diff --git a/components/camel-rest-swagger/src/generated/java/org/apache/camel/component/rest/swagger/RestSwaggerEndpointConfigurer.java b/components/camel-rest-swagger/src/generated/java/org/apache/camel/component/rest/swagger/RestSwaggerEndpointConfigurer.java index a201c5b..f8e5b65 100644 --- a/components/camel-rest-swagger/src/generated/java/org/apache/camel/component/rest/swagger/RestSwaggerEndpointConfigurer.java +++ b/components/camel-rest-swagger/src/generated/java/org/apache/camel/component/rest/swagger/RestSwaggerEndpointConfigurer.java @@ -30,6 +30,8 @@ public class RestSwaggerEndpointConfigurer extends PropertyConfigurerSupport imp case "lazystartproducer": case "lazyStartProducer": target.setLazyStartProducer(property(camelContext, boolean.class, value)); return true; case "produces": target.setProduces(property(camelContext, java.lang.String.class, value)); return true; +case "resolvereferences": +case "resolveReferences": target.setResolveReferences(property(camelContext, java.lang.Boolean.class, value)); return true; case "sslcontextparameters": case "sslContextParameters": target.setSslContextParameters(property(camelContext, org.apache.camel.support.jsse.SSLContextParameters.class, value)); return true; default: return false; @@ -48,6 +50,8 @@ public class RestSwaggerEndpointConfigurer extends PropertyConfigurerSupport imp case "lazystartproducer": case "lazySta
[GitHub] [camel] davsclaus merged pull request #6536: CAMEL-17326: Resolve swagger references
davsclaus merged pull request #6536: URL: https://github.com/apache/camel/pull/6536 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch main updated: CAMEL-17310: Reload routes should match resources that are the same when loaded via classpath or file scheme. Added getScheme to Resource API. mvn camel:dev now works.
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/main by this push: new f477092 CAMEL-17310: Reload routes should match resources that are the same when loaded via classpath or file scheme. Added getScheme to Resource API. mvn camel:dev now works. f477092 is described below commit f4770921a344f26dacdccebd41577b222e62fc13 Author: Claus Ibsen AuthorDate: Tue Dec 14 07:10:13 2021 +0100 CAMEL-17310: Reload routes should match resources that are the same when loaded via classpath or file scheme. Added getScheme to Resource API. mvn camel:dev now works. --- .../camel/language/bean/BeanResourceResolver.java | 12 -- .../org/apache/camel/github/GitHubResource.java| 2 +- .../main/java/org/apache/camel/spi/Resource.java | 5 + .../impl/engine/DefaultResourceResolvers.java | 18 +++ .../apache/camel/urlhandler/custom/Handler.java| 8 ++- .../org/apache/camel/urlhandler/pd/Handler.java| 8 ++- .../support/FileWatcherResourceReloadStrategy.java | 4 .../org/apache/camel/support/ResourceHelper.java | 7 +- .../org/apache/camel/support/ResourceSupport.java | 13 +++ .../camel/support/RouteWatcherReloadStrategy.java | 26 +- .../ROOT/pages/camel-3x-upgrade-guide-3_15.adoc| 11 + .../modules/ROOT/pages/camel-3x-upgrade-guide.adoc | 1 + .../camel/dsl/yaml/support/YamlTestSupport.groovy | 6 + .../main/java/org/apache/camel/maven/DevMojo.java | 5 + 14 files changed, 84 insertions(+), 42 deletions(-) diff --git a/components/camel-bean/src/main/java/org/apache/camel/language/bean/BeanResourceResolver.java b/components/camel-bean/src/main/java/org/apache/camel/language/bean/BeanResourceResolver.java index cb72f23..216c9ae 100644 --- a/components/camel-bean/src/main/java/org/apache/camel/language/bean/BeanResourceResolver.java +++ b/components/camel-bean/src/main/java/org/apache/camel/language/bean/BeanResourceResolver.java @@ -26,13 +26,14 @@ import org.apache.camel.spi.Resource; import org.apache.camel.spi.annotations.ResourceResolver; import org.apache.camel.support.DefaultExchange; import org.apache.camel.support.ResourceResolverSupport; +import org.apache.camel.support.ResourceSupport; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @ResourceResolver(BeanResourceResolver.SCHEME) public class BeanResourceResolver extends ResourceResolverSupport { public static final String SCHEME = "bean"; -private static final Logger LOGGER = LoggerFactory.getLogger(BeanResourceResolver.class); +private static final Logger LOG = LoggerFactory.getLogger(BeanResourceResolver.class); public BeanResourceResolver() { super(SCHEME); @@ -40,14 +41,9 @@ public class BeanResourceResolver extends ResourceResolverSupport { @Override public Resource createResource(String location, String remaining) { -LOGGER.trace("Creating resource from expression {}", remaining); - -return new Resource() { -@Override -public String getLocation() { -return location; -} +LOG.trace("Creating resource from calling bean: {}", remaining); +return new ResourceSupport(SCHEME, location) { @Override public boolean exists() { return false; diff --git a/components/camel-resourceresolver-github/src/main/java/org/apache/camel/github/GitHubResource.java b/components/camel-resourceresolver-github/src/main/java/org/apache/camel/github/GitHubResource.java index 25b44ba..2b76e71 100644 --- a/components/camel-resourceresolver-github/src/main/java/org/apache/camel/github/GitHubResource.java +++ b/components/camel-resourceresolver-github/src/main/java/org/apache/camel/github/GitHubResource.java @@ -31,7 +31,7 @@ public final class GitHubResource extends ResourceSupport { private boolean init; public GitHubResource(CamelContext camelContext, String location) { -super(location); +super("github", location); this.camelContext = camelContext; } diff --git a/core/camel-api/src/main/java/org/apache/camel/spi/Resource.java b/core/camel-api/src/main/java/org/apache/camel/spi/Resource.java index feac689..b5c04bb 100644 --- a/core/camel-api/src/main/java/org/apache/camel/spi/Resource.java +++ b/core/camel-api/src/main/java/org/apache/camel/spi/Resource.java @@ -32,6 +32,11 @@ import java.nio.charset.StandardCharsets; public interface Resource { /** + * The scheme of the resource such as file, classpath, http + */ +String getScheme(); + +/** * The location of the resource. */ String getLocation(); diff --git a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultResourceResolvers.java
[GitHub] [camel] davsclaus closed pull request #6532: Reload dev
davsclaus closed pull request #6532: URL: https://github.com/apache/camel/pull/6532 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-website] branch main updated (ab97b5e -> 1bb9b8e)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel-website.git. from ab97b5e Blog about Apache Camel and the log4j security issue (#714) add 1bb9b8e Remove PR template as its from core project and NOT needed for website PRs No new revisions were added by this update. Summary of changes: .github/pull_request_template.md | 7 --- 1 file changed, 7 deletions(-) delete mode 100644 .github/pull_request_template.md
[camel] branch main updated: Polished
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/main by this push: new 146baa2 Polished 146baa2 is described below commit 146baa2ebd8762898352a33fe718a821051279f3 Author: Claus Ibsen AuthorDate: Sun Dec 12 10:24:47 2021 +0100 Polished --- .../src/main/java/org/apache/camel/maven/DevMojo.java | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/tooling/maven/camel-maven-plugin/src/main/java/org/apache/camel/maven/DevMojo.java b/tooling/maven/camel-maven-plugin/src/main/java/org/apache/camel/maven/DevMojo.java index e34613a..b4316d4 100644 --- a/tooling/maven/camel-maven-plugin/src/main/java/org/apache/camel/maven/DevMojo.java +++ b/tooling/maven/camel-maven-plugin/src/main/java/org/apache/camel/maven/DevMojo.java @@ -38,16 +38,17 @@ public class DevMojo extends RunMojo { */ @Override protected void beforeBootstrapCamel() throws Exception { -String routesReloadDirectory = "src/main/resources"; - +String dir; if (routesDirectory != null) { -routesReloadDirectory = routesDirectory; -} else if (routesDirectory == null && project.getResources().size() == 1) { -routesReloadDirectory = project.getResources().get(0).getDirectory(); +dir = routesDirectory; +} else if (project.getResources().size() == 1) { +dir = project.getResources().get(0).getDirectory(); +} else { +dir = "src/main/resources"; } System.setProperty("camel.main.routesReloadEnabled", "true"); -System.setProperty("camel.main.routesReloadDirectory", routesReloadDirectory); +System.setProperty("camel.main.routesReloadDirectory", dir); System.setProperty("camel.main.routesReloadDirectoryRecursive", "true"); System.setProperty("camel.main.durationMaxAction", "stop"); System.setProperty("camel.main.routesReloadPattern",
[GitHub] [camel] davsclaus commented on pull request #6526: CAMEL-17319: Camel Milo: Browsing functionality
davsclaus commented on pull request #6526: URL: https://github.com/apache/camel/pull/6526#issuecomment-993189058 I think its a good idea to keep this in a new component to avoid making the existing too complex too -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] davsclaus commented on a change in pull request #6526: CAMEL-17319: Camel Milo: Browsing functionality
davsclaus commented on a change in pull request #6526: URL: https://github.com/apache/camel/pull/6526#discussion_r768338741 ## File path: components/camel-milo/src/main/java/org/apache/camel/component/milo/browse/MiloBrowseEndpoint.java ## @@ -0,0 +1,294 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.camel.component.milo.browse; + +import java.util.Objects; + +import org.apache.camel.Category; +import org.apache.camel.Consumer; +import org.apache.camel.Processor; +import org.apache.camel.Producer; +import org.apache.camel.component.milo.client.MiloClientConfiguration; +import org.apache.camel.component.milo.client.MiloClientConnection; +import org.apache.camel.component.milo.client.MiloClientConnectionManager; +import org.apache.camel.spi.Metadata; +import org.apache.camel.spi.UriEndpoint; +import org.apache.camel.spi.UriParam; +import org.apache.camel.spi.UriPath; +import org.apache.camel.support.DefaultEndpoint; +import org.eclipse.milo.opcua.stack.core.Identifiers; +import org.eclipse.milo.opcua.stack.core.types.builtin.NodeId; +import org.eclipse.milo.opcua.stack.core.types.enumerated.BrowseDirection; +import org.eclipse.milo.opcua.stack.core.types.enumerated.NodeClass; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +/** + * Connect to OPC UA servers using the binary protocol for browsing the node tree. + */ +@UriEndpoint(firstVersion = "3.13.0", scheme = "milo-browse", syntax = "milo-browse:endpointUri", title = "OPC UA Browser", + category = { Category.IOT }) +public class MiloBrowseEndpoint extends DefaultEndpoint { + +private static final Logger LOG = LoggerFactory.getLogger(MiloBrowseEndpoint.class); + +private final MiloClientConnectionManager connectionManager; + +/** + * The OPC UA server endpoint + */ +@UriPath +@Metadata(required = true) +private final String endpointUri; + +/** + * The node definition (see Node ID) + */ +@UriParam(defaultValue = "ns=0;id=84", defaultValueNote = "Root folder as per OPC-UA spec") +private String node = Identifiers.RootFolder.toParseableString(); + +/** + * The direction to browse (forward, inverse, ...) + */ +@UriParam(defaultValue = "Forward", + defaultValueNote = "The direction to browse; See org.eclipse.milo.opcua.stack.core.types.enumerated.BrowseDirection") +private BrowseDirection direction = BrowseDirection.Forward; + +/** + * Whether to include sub-types for browsing; only applicable for non-recursive browsing + */ +@UriParam(defaultValue = "true") +private boolean includeSubTypes = true; + +/** + * The mask indicating the node classes of interest in browsing + */ +@UriParam(defaultValue = "Variable,Object,DataType", + defaultValueNote = "Comma-separated node class list; see org.eclipse.milo.opcua.stack.core.types.enumerated.NodeClass") +private String nodeClasses = NodeClass.Variable + "," + NodeClass.Object + "," + NodeClass.DataType; + +private int nodeClassMask = NodeClass.Variable.getValue() | NodeClass.Object.getValue() | NodeClass.DataType.getValue(); + +/** + * Whether to browse recursively into sub-types, ignores includeSubTypes setting as it's implied to be set to true + */ +@UriParam(defaultValue = "false", + defaultValueNote = "Whether to recursively browse sub-types: true|false") +private boolean recursive; + +/** + * When browsing recursively into sub-types, what's the maximum search depth for diving into the tree + */ +@UriParam(defaultValue = "3", defaultValueNote = "Maximum depth for browsing recursively (only if recursive = true)") +private int depth = 3; + +/** + * Filter out node ids to limit browsing + */ +@UriParam(defaultValue = "None", defaultValueNote = "Regular filter expression matching node ids") +private String filter; + +/** + * The maximum number node ids requested per server call + */ +@UriParam(defaultValue = "10", + defaultValueNote = "Maximum number of node ids requested per browse call (applies to browsing sub-types only; only if recurs
[GitHub] [camel] davsclaus commented on a change in pull request #6535: BacklogDebugger API enhancements
davsclaus commented on a change in pull request #6535: URL: https://github.com/apache/camel/pull/6535#discussion_r768335264 ## File path: core/camel-management/pom.xml ## @@ -85,6 +85,13 @@ log4j-slf4j-impl test + Review comment: We do NOT want this dependency ## File path: core/camel-management-api/pom.xml ## @@ -43,7 +43,10 @@ org.slf4j slf4j-api - + Review comment: Remove this added dependency -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-website] djencks opened a new pull request #717: Resolves #716: Main antora 3 rc.2
djencks opened a new pull request #717: URL: https://github.com/apache/camel-website/pull/717 Upgrade Antora to 3.0.0-rc.2 and upgrade antora extensions to compatible versions. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-website] djencks opened a new issue #716: Upgrade Antora to 3.0.0-rc.2
djencks opened a new issue #716: URL: https://github.com/apache/camel-website/issues/716 There are some breaking changes to the newest Antora rc, requiring updating some of the extensions. This will pave the way for a POC of quick partial local builds. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] github-actions[bot] commented on issue #2926: [CI] - Quarkus Main Branch Build Failure
github-actions[bot] commented on issue #2926: URL: https://github.com/apache/camel-quarkus/issues/2926#issuecomment-993155344 The [quarkus-main](https://github.com/apache/camel-quarkus/tree/quarkus-main) branch build has failed: * Build ID: 1575856052-600-fe15b719-087e-49e9-b79c-4cb2a0bc854e * Camel Quarkus Commit: 71e434bea1b0349733e4a16df01204a0df79bd0a * Quarkus Main Commit: a8a1c289ae04b043422f9b1f329e39cadd526ef4 * Link to build: https://github.com/apache/camel-quarkus/actions/runs/1575856052 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-quarkus] branch main updated: Updated CHANGELOG.md
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git The following commit(s) were added to refs/heads/main by this push: new 5f83427 Updated CHANGELOG.md 5f83427 is described below commit 5f83427d3c0330c7ed0db0cf3ffcea8c687669b4 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Tue Dec 14 03:11:10 2021 + Updated CHANGELOG.md --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a8efbc7..73f9f31 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ **Closed issues:** +- Use the Quarkiverse Artemis BOM and upgrade to 1.0.2 [\#3381](https://github.com/apache/camel-quarkus/issues/3381) - Testing transacted routes with Quarkus and CamelTestSupport fails [\#3379](https://github.com/apache/camel-quarkus/issues/3379) - Ban log4j-core and log4j-slf4j-impl [\#3377](https://github.com/apache/camel-quarkus/issues/3377) - Remove com.amazonaws:aws-java-sdk-swf-libraries from the BOM [\#3375](https://github.com/apache/camel-quarkus/issues/3375) @@ -36,6 +37,7 @@ **Merged pull requests:** +- ⬆️ Use the Quarkus Artemis BOM and upgrade to 1.0.2 [\#3383](https://github.com/apache/camel-quarkus/pull/3383) ([zbendhiba](https://github.com/zbendhiba)) - Fix \#3374 to use File.separatorChar when get fqcn from generated … [\#3380](https://github.com/apache/camel-quarkus/pull/3380) ([zhfeng](https://github.com/zhfeng)) - Ban log4j-core and log4j-slf4j-impl [\#3378](https://github.com/apache/camel-quarkus/pull/3378) ([ppalaga](https://github.com/ppalaga)) - Remove com.amazonaws:aws-java-sdk-swf-libraries from the BOM [\#3376](https://github.com/apache/camel-quarkus/pull/3376) ([ppalaga](https://github.com/ppalaga))
[camel-k] branch main updated: Updated CHANGELOG.md
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k.git The following commit(s) were added to refs/heads/main by this push: new a69269b Updated CHANGELOG.md a69269b is described below commit a69269b699f4416d07cfbdfaa0425384ebe66162 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Tue Dec 14 03:07:36 2021 + Updated CHANGELOG.md --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1bc7e47..7a83c0b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ **Closed issues:** +- Log4j Security Issue [\#2830](https://github.com/apache/camel-k/issues/2830) - Outdated `ca-cert` path for Jolokia trait [\#2827](https://github.com/apache/camel-k/issues/2827) - Kafka component propagating headers is supported? [\#2825](https://github.com/apache/camel-k/issues/2825) - Integration with To-D can't find Kamelet [\#2819](https://github.com/apache/camel-k/issues/2819) @@ -23,6 +24,7 @@ - Cannot deploy XML integration with undertow [\#2746](https://github.com/apache/camel-k/issues/2746) - Release 1.7.0 [\#2743](https://github.com/apache/camel-k/issues/2743) - Camel K SEDA Queue full Issue [\#2725](https://github.com/apache/camel-k/issues/2725) +- How to set map properties in the kamelet parameters via the yaml definition? [\#2608](https://github.com/apache/camel-k/issues/2608) - Google storage component doesn't work [\#2576](https://github.com/apache/camel-k/issues/2576) - topicName [\#2567](https://github.com/apache/camel-k/issues/2567) - Kamelet: default KameletBindings configuration settings [\#2558](https://github.com/apache/camel-k/issues/2558)
[camel-k-runtime] branch main updated: Updated CHANGELOG.md
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git The following commit(s) were added to refs/heads/main by this push: new 86de12f Updated CHANGELOG.md 86de12f is described below commit 86de12f6fa0d4601d9e5a7f95b5daf5f18f7cd81 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Tue Dec 14 03:04:42 2021 + Updated CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f86e5b8..98f82f2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ **Merged pull requests:** +- deps: remove log4j as it is not needed [\#757](https://github.com/apache/camel-k-runtime/pull/757) ([lburgazzoli](https://github.com/lburgazzoli)) - chore: remove staging maven repo [\#756](https://github.com/apache/camel-k-runtime/pull/756) ([lburgazzoli](https://github.com/lburgazzoli)) - cq 2.5.0 [\#755](https://github.com/apache/camel-k-runtime/pull/755) ([lburgazzoli](https://github.com/lburgazzoli))
[camel-kafka-connector] branch main updated: Updated CHANGELOG.md
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git The following commit(s) were added to refs/heads/main by this push: new 4d9287c Updated CHANGELOG.md 4d9287c is described below commit 4d9287c1474800eee3e6387d5322f18d9f2973f2 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Tue Dec 14 03:04:11 2021 + Updated CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7060964..3a88116 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ **Closed issues:** - Fails to create CamelAws2sqsSourceConnector [\#1293](https://github.com/apache/camel-kafka-connector/issues/1293) +- Problem with line breaks kafka-hdfs sink connector [\#1291](https://github.com/apache/camel-kafka-connector/issues/1291) - The pre-release salesforce source connector, how does the query field work? [\#1289](https://github.com/apache/camel-kafka-connector/issues/1289) - Cannot findr camel-salesforce-source-kafka-connector in maven repository [\#1284](https://github.com/apache/camel-kafka-connector/issues/1284) - Using kinesis sink with STS assumeRole credentials? [\#1272](https://github.com/apache/camel-kafka-connector/issues/1272)
[GitHub] [camel-quarkus] github-actions[bot] commented on issue #2927: [CI] - Camel Main Branch Build Failure
github-actions[bot] commented on issue #2927: URL: https://github.com/apache/camel-quarkus/issues/2927#issuecomment-993105025 The [camel-main](https://github.com/apache/camel-quarkus/tree/camel-main) branch build has failed: * Build ID: 1575494032-496-0aec51c7-508f-4283-bae3-353a74a76976 * Camel Quarkus Commit: 5d0762e31f31c1dfe6f262424510084bd59fd35a * Camel Main Commit: a8a1c289ae04b043422f9b1f329e39cadd526ef4 * Link to build: https://github.com/apache/camel-quarkus/actions/runs/1575494032 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-website] tadayosi commented on a change in pull request #715: Blog post: A high-security API management infrastructure using Apache…
tadayosi commented on a change in pull request #715: URL: https://github.com/apache/camel-website/pull/715#discussion_r768275944 ## File path: content/blog/2021/12/api-management-infra/index.md ## @@ -0,0 +1,224 @@ +--- +title: "A high-security API management infrastructure using Apache Camel" +date: 2021-12-13 +authors: [Yang-Xie-OSS] +categories: ["Usecases"] +preview: "How a high-security API management infrastructure is implemented using Camel and Keycloak" +--- + +I'm an engineer working at the OSS solution center of Hitachi, Ltd. Hitachi, Ltd. is a company that provides IT services & platforms in Japan and other countries. In our organization, OSS solution center, we are working on providing the IT services with the OSS. In my case, I'm working on Keycloak, 3scale and Camel, providing the technical support and considering the use cases of them. And I'm also an open source contributor for Keycloak. + +## API management infrastructure + +When being used as an API Gateway, Apache Camel (hereinafter called "Camel") can use its various functions like protocol conversion and mash-up to support complex requirements flexibly. By adding Keycloak as an OAuth 2.0 authorization server, we can obtain an API management infrastructure which can also perform API authentication. + +### What is Keycloak? + +Keycloak is an identity and access management OSS. As an OAuth 2.0 authorization server, Keycloak supports OAuth 2.0 and a part of related standards, that will play a big role in a later chapter. + +### Architecture Overview + +As shown in the picture below, the API management infrastructure can perform reverse proxy, protocol conversion, data conversion, mash-up, flow control, API documentation publishing and metrics. Besides, it also can perform simple API authorization by token issuance & management that is provided by Keycloak. + +{{< image "API-management-infrastructure.png" "API management infrastructure" >}} + +## Drawbacks of security + +Although the existing API management infrastructure has taken a security measure as token issuance & management, there are also three drawbacks of its security: + +1. Inadequate token validation. +1. No API access management for each API. +1. No prevention for token stealing. + +All drawbacks will cause API abuse. I'll explain them in detail in the following. + +### Drawback 1: Inadequate token validation + +The existing API management infrastructure only does minimal validations such as checking signature and expiration time after receiving an access token. Because an access token can be invalidated before its expiration time (as an "inactive" access token), only doing the minimal validations may incorrectly determine an inactive access token as valid. Attackers can use such inactive access tokens to access the API. + +### Drawback2: No access management for each API + +The existing API management infrastructure have no access management for each API. As a result, anyone can access an arbitrary API with full authority. It will lead to many security issues, as well as a large risk for data breaches. + +### Drawback3: No prevention for token stealing + +The existing API management infrastructure have no prevention for access token stealing. Attackers can use a stolen access token to access the API. + +## Security enhancement with Keycloak + +For overcoming the security drawbacks, we can use three mechanisms defined in OAuth 2.0 and its related standards. They're token introspection, scope check and OAuth MTLS. All of them are supported by Keycloak. I'll explain them in detail in the following, and show you how to implement them by developing Camel applications with the support of Keycloak. + +### Token introspection + +{{< image "Token-introspection.png" "Token introspection" >}} + +Token introspection is a mechanism for validating access token by requesting an authorization server. It is defined in [RFC7662](https://datatracker.ietf.org/doc/html/rfc7662), a related standard of OAuth 2.0. + +In token introspection, API gateway sends an introspection request that includes the access token to validate to the authorization server. Introspection request uses POST method and "application/x-www-form-urlencoded" content type, and includes the access token in the request body as a parameter called token. + +The following is an example introspection request. + +``` + POST /introspect HTTP/1.1 + Host: server.example.com + Accept: application/json + Content-Type: application/x-www-form-urlencoded + + token=2YotnFZFEjr1zCsicMWpAA +``` +Usually, the introspection response includes a set of information about the access token if it is active. + +```json +{ + "active": true, + "client_id": "l238j323ds-23ij4", + "username": "jdoe", + "scope": "read write dolphin", + "sub": "Z5O3upPC88QrAjx00dis", + "aud": "https://protected.example.net/resource";, + "iss": "https://server.example.com/";, + "exp": 1419356238, + "iat":
[GitHub] [camel-website] tadayosi commented on a change in pull request #715: Blog post: A high-security API management infrastructure using Apache…
tadayosi commented on a change in pull request #715: URL: https://github.com/apache/camel-website/pull/715#discussion_r768275944 ## File path: content/blog/2021/12/api-management-infra/index.md ## @@ -0,0 +1,224 @@ +--- +title: "A high-security API management infrastructure using Apache Camel" +date: 2021-12-13 +authors: [Yang-Xie-OSS] +categories: ["Usecases"] +preview: "How a high-security API management infrastructure is implemented using Camel and Keycloak" +--- + +I'm an engineer working at the OSS solution center of Hitachi, Ltd. Hitachi, Ltd. is a company that provides IT services & platforms in Japan and other countries. In our organization, OSS solution center, we are working on providing the IT services with the OSS. In my case, I'm working on Keycloak, 3scale and Camel, providing the technical support and considering the use cases of them. And I'm also an open source contributor for Keycloak. + +## API management infrastructure + +When being used as an API Gateway, Apache Camel (hereinafter called "Camel") can use its various functions like protocol conversion and mash-up to support complex requirements flexibly. By adding Keycloak as an OAuth 2.0 authorization server, we can obtain an API management infrastructure which can also perform API authentication. + +### What is Keycloak? + +Keycloak is an identity and access management OSS. As an OAuth 2.0 authorization server, Keycloak supports OAuth 2.0 and a part of related standards, that will play a big role in a later chapter. + +### Architecture Overview + +As shown in the picture below, the API management infrastructure can perform reverse proxy, protocol conversion, data conversion, mash-up, flow control, API documentation publishing and metrics. Besides, it also can perform simple API authorization by token issuance & management that is provided by Keycloak. + +{{< image "API-management-infrastructure.png" "API management infrastructure" >}} + +## Drawbacks of security + +Although the existing API management infrastructure has taken a security measure as token issuance & management, there are also three drawbacks of its security: + +1. Inadequate token validation. +1. No API access management for each API. +1. No prevention for token stealing. + +All drawbacks will cause API abuse. I'll explain them in detail in the following. + +### Drawback 1: Inadequate token validation + +The existing API management infrastructure only does minimal validations such as checking signature and expiration time after receiving an access token. Because an access token can be invalidated before its expiration time (as an "inactive" access token), only doing the minimal validations may incorrectly determine an inactive access token as valid. Attackers can use such inactive access tokens to access the API. + +### Drawback2: No access management for each API + +The existing API management infrastructure have no access management for each API. As a result, anyone can access an arbitrary API with full authority. It will lead to many security issues, as well as a large risk for data breaches. + +### Drawback3: No prevention for token stealing + +The existing API management infrastructure have no prevention for access token stealing. Attackers can use a stolen access token to access the API. + +## Security enhancement with Keycloak + +For overcoming the security drawbacks, we can use three mechanisms defined in OAuth 2.0 and its related standards. They're token introspection, scope check and OAuth MTLS. All of them are supported by Keycloak. I'll explain them in detail in the following, and show you how to implement them by developing Camel applications with the support of Keycloak. + +### Token introspection + +{{< image "Token-introspection.png" "Token introspection" >}} + +Token introspection is a mechanism for validating access token by requesting an authorization server. It is defined in [RFC7662](https://datatracker.ietf.org/doc/html/rfc7662), a related standard of OAuth 2.0. + +In token introspection, API gateway sends an introspection request that includes the access token to validate to the authorization server. Introspection request uses POST method and "application/x-www-form-urlencoded" content type, and includes the access token in the request body as a parameter called token. + +The following is an example introspection request. + +``` + POST /introspect HTTP/1.1 + Host: server.example.com + Accept: application/json + Content-Type: application/x-www-form-urlencoded + + token=2YotnFZFEjr1zCsicMWpAA +``` +Usually, the introspection response includes a set of information about the access token if it is active. + +```json +{ + "active": true, + "client_id": "l238j323ds-23ij4", + "username": "jdoe", + "scope": "read write dolphin", + "sub": "Z5O3upPC88QrAjx00dis", + "aud": "https://protected.example.net/resource";, + "iss": "https://server.example.com/";, + "exp": 1419356238, + "iat":
[GitHub] [camel-website] tadayosi commented on a change in pull request #715: Blog post: A high-security API management infrastructure using Apache…
tadayosi commented on a change in pull request #715: URL: https://github.com/apache/camel-website/pull/715#discussion_r768274979 ## File path: content/blog/2021/12/api-management-infra/index.md ## @@ -0,0 +1,224 @@ +--- +title: "A high-security API management infrastructure using Apache Camel" +date: 2021-12-13 +authors: [Yang-Xie-OSS] +categories: ["Usecases"] +preview: "How a high-security API management infrastructure is implemented using Camel and Keycloak" +--- + +I'm an engineer working at the OSS solution center of Hitachi, Ltd. Hitachi, Ltd. is a company that provides IT services & platforms in Japan and other countries. In our organization, OSS solution center, we are working on providing the IT services with the OSS. In my case, I'm working on Keycloak, 3scale and Camel, providing the technical support and considering the use cases of them. And I'm also an open source contributor for Keycloak. + +## API management infrastructure + +When being used as an API Gateway, Apache Camel (hereinafter called "Camel") can use its various functions like protocol conversion and mash-up to support complex requirements flexibly. By adding Keycloak as an OAuth 2.0 authorization server, we can obtain an API management infrastructure which can also perform API authentication. + +### What is Keycloak? + +Keycloak is an identity and access management OSS. As an OAuth 2.0 authorization server, Keycloak supports OAuth 2.0 and a part of related standards, that will play a big role in a later chapter. + +### Architecture Overview + +As shown in the picture below, the API management infrastructure can perform reverse proxy, protocol conversion, data conversion, mash-up, flow control, API documentation publishing and metrics. Besides, it also can perform simple API authorization by token issuance & management that is provided by Keycloak. + +{{< image "API-management-infrastructure.png" "API management infrastructure" >}} + +## Drawbacks of security + +Although the existing API management infrastructure has taken a security measure as token issuance & management, there are also three drawbacks of its security: + +1. Inadequate token validation. +1. No API access management for each API. +1. No prevention for token stealing. + +All drawbacks will cause API abuse. I'll explain them in detail in the following. + +### Drawback 1: Inadequate token validation + +The existing API management infrastructure only does minimal validations such as checking signature and expiration time after receiving an access token. Because an access token can be invalidated before its expiration time (as an "inactive" access token), only doing the minimal validations may incorrectly determine an inactive access token as valid. Attackers can use such inactive access tokens to access the API. + +### Drawback2: No access management for each API + +The existing API management infrastructure have no access management for each API. As a result, anyone can access an arbitrary API with full authority. It will lead to many security issues, as well as a large risk for data breaches. + +### Drawback3: No prevention for token stealing + +The existing API management infrastructure have no prevention for access token stealing. Attackers can use a stolen access token to access the API. + +## Security enhancement with Keycloak + +For overcoming the security drawbacks, we can use three mechanisms defined in OAuth 2.0 and its related standards. They're token introspection, scope check and OAuth MTLS. All of them are supported by Keycloak. I'll explain them in detail in the following, and show you how to implement them by developing Camel applications with the support of Keycloak. + +### Token introspection + +{{< image "Token-introspection.png" "Token introspection" >}} + +Token introspection is a mechanism for validating access token by requesting an authorization server. It is defined in [RFC7662](https://datatracker.ietf.org/doc/html/rfc7662), a related standard of OAuth 2.0. + +In token introspection, API gateway sends an introspection request that includes the access token to validate to the authorization server. Introspection request uses POST method and "application/x-www-form-urlencoded" content type, and includes the access token in the request body as a parameter called token. + +The following is an example introspection request. + +``` + POST /introspect HTTP/1.1 + Host: server.example.com + Accept: application/json + Content-Type: application/x-www-form-urlencoded + + token=2YotnFZFEjr1zCsicMWpAA +``` +Usually, the introspection response includes a set of information about the access token if it is active. + +```json +{ + "active": true, + "client_id": "l238j323ds-23ij4", + "username": "jdoe", + "scope": "read write dolphin", + "sub": "Z5O3upPC88QrAjx00dis", + "aud": "https://protected.example.net/resource";, + "iss": "https://server.example.com/";, + "exp": 1419356238, + "iat":
[GitHub] [camel-website] Yang-Xie-OSS commented on pull request #715: Blog post: A high-security API management infrastructure using Apache…
Yang-Xie-OSS commented on pull request #715: URL: https://github.com/apache/camel-website/pull/715#issuecomment-993100251 Hello @zregvart, This is the blog post you invited. I'm sorry it's a bit late because we should do some examination procedures in our organization before publishing. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-website] Yang-Xie-OSS commented on pull request #715: Blog post: A high-security API management infrastructure using Apache…
Yang-Xie-OSS commented on pull request #715: URL: https://github.com/apache/camel-website/pull/715#issuecomment-993099252 I noticed that I should create a JIRA before the pull request? But I find there is no JIRA about creating a blog post in [1]. So I haven't created it yet. If I must create it, please tell me. [1] https://issues.apache.org/jira/browse/CAMEL-17326?jql=project%20%3D%20CAMEL -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-website] Yang-Xie-OSS opened a new pull request #715: Blog post: A high-security API management infrastructure using Apache…
Yang-Xie-OSS opened a new pull request #715: URL: https://github.com/apache/camel-website/pull/715 … Camel Here is a blog post that introduces a high-security API management infrastructure using Camel and Keycloak. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-k] github-actions[bot] closed issue #2608: How to set map properties in the kamelet parameters via the yaml definition?
github-actions[bot] closed issue #2608: URL: https://github.com/apache/camel-k/issues/2608 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-quarkus] branch main updated (e9705eb -> a8a1c28)
This is an automated email from the ASF dual-hosted git repository. aldettinger pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git. from e9705eb Updated CHANGELOG.md add a8a1c28 ⬆️ Use the Quarkus Artemis BOM and upgrade to 1.0.2 Fixes #3381 No new revisions were added by this update. Summary of changes: pom.xml | 2 +- poms/bom-test/pom.xml | 29 +++-- 2 files changed, 8 insertions(+), 23 deletions(-)
[GitHub] [camel-quarkus] aldettinger closed issue #3381: Use the Quarkiverse Artemis BOM and upgrade to 1.0.2
aldettinger closed issue #3381: URL: https://github.com/apache/camel-quarkus/issues/3381 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] aldettinger merged pull request #3383: ⬆️ Use the Quarkus Artemis BOM and upgrade to 1.0.2
aldettinger merged pull request #3383: URL: https://github.com/apache/camel-quarkus/pull/3383 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] jeremyross opened a new pull request #6536: CAMEL-17326: Resolve swagger references
jeremyross opened a new pull request #6536: URL: https://github.com/apache/camel/pull/6536 Added component option and endpoint option for resolving references in swagger spec. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-website] branch asf-site updated (6cbb8ee -> f51329d)
This is an automated email from the ASF dual-hosted git repository. git-site-role pushed a change to branch asf-site in repository https://gitbox.apache.org/repos/asf/camel-website.git. discard 6cbb8ee Website updated to ebfd276dac4e77b5779a002bccb1a763a63bc049 discard 243863a Website updated to 325e929157412b27394080f4d4dba3d821476ddf new 3d1f3da Website updated to 325e929157412b27394080f4d4dba3d821476ddf new f51329d Website updated to ab97b5e6932dd0fd80b5427c967bad1ce1b08865 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 (6cbb8ee) \ N -- N -- N refs/heads/asf-site (f51329d) 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: blog/2021/12/log4j2/index.html |1 + blog/2021/12/yamlTagSupportInVSCode/index.html |2 +- blog/index.html|2 +- blog/index.xml | 13 +- blog/page/10/index.html|2 +- blog/page/11/index.html|2 +- blog/page/12/index.html|2 +- blog/page/13/index.html|2 +- blog/page/14/index.html|2 +- blog/page/15/index.html|2 +- blog/page/16/index.html|2 +- blog/page/17/index.html|2 +- blog/page/18/index.html|2 +- blog/page/19/index.html|2 +- blog/page/2/index.html |2 +- blog/page/20/index.html|2 +- blog/page/21/index.html|2 +- blog/page/22/index.html|2 +- blog/page/23/index.html|2 +- blog/page/24/index.html|2 +- blog/page/25/index.html|2 +- blog/page/26/index.html|2 +- blog/page/27/index.html|2 +- blog/page/28/index.html|2 +- blog/page/29/index.html|2 +- blog/page/3/index.html |2 +- blog/page/30/index.html|2 +- blog/page/31/index.html|2 +- blog/page/32/index.html|2 +- blog/page/33/index.html|2 +- blog/page/34/index.html|2 +- blog/page/35/index.html|2 +- blog/page/36/index.html|2 +- blog/page/37/index.html|2 +- blog/page/38/index.html|2 +- blog/page/39/index.html|2 +- blog/page/4/index.html |2 +- blog/page/40/index.html|2 +- blog/page/41/index.html|2 +- blog/page/42/index.html|2 +- blog/page/43/index.html|2 +- blog/page/44/index.html|2 +- blog/page/45/index.html|2 +- blog/page/46/index.html|2 +- blog/page/47/index.html|2 +- blog/page/48/index.html|2 +- blog/page/49/index.html|2 +- blog/page/5/index.html |2 +- blog/page/{20 => 50}/index.html|2 +- blog/page/6/index.html |2 +- blog/page/7/index.html |2 +- blog/page/8/index.html |2 +- blog/page/9/index.html |2 +- categories/AWS/index.html |2 +- categories/Apache/index.html |2 +- categories/Camel-K/index.html |2 +- categories/Camel-Kafka-Connector/index.html|2 +- categories/Camel-Quarkus/index.html|2 +- categories/Camel/index.html|2 +- categories/Committers/index.html |2 +- categories/Events/index.html |2 +- categories/F
[GitHub] [camel] javaduke opened a new pull request #6535: BacklogDebugger API enhancements
javaduke opened a new pull request #6535: URL: https://github.com/apache/camel/pull/6535 This PR adds the following functionality to the BacklogDebugger MBean: - Exchange Properties are now exposed via JMX as XML; - An ability to evaluate an expression and return result. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-website] davsclaus merged pull request #714: Blog about Apache Camel and the log4j security issue
davsclaus merged pull request #714: URL: https://github.com/apache/camel-website/pull/714 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-website] branch main updated: Blog about Apache Camel and the log4j security issue (#714)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-website.git The following commit(s) were added to refs/heads/main by this push: new ab97b5e Blog about Apache Camel and the log4j security issue (#714) ab97b5e is described below commit ab97b5e6932dd0fd80b5427c967bad1ce1b08865 Author: Claus Ibsen AuthorDate: Mon Dec 13 18:54:03 2021 +0100 Blog about Apache Camel and the log4j security issue (#714) * Blog about Apache Camel and the log4j security issue * Suggested fixes for typos * Fixed a typo on the previous edit Co-authored-by: Otavio Rodolfo Piske --- content/blog/2021/12/log4j2/index.md | 84 1 file changed, 84 insertions(+) diff --git a/content/blog/2021/12/log4j2/index.md b/content/blog/2021/12/log4j2/index.md new file mode 100644 index 000..0b25db4 --- /dev/null +++ b/content/blog/2021/12/log4j2/index.md @@ -0,0 +1,84 @@ +--- +title: "Apache Camel and CVE-2021-44228 (log4j)" +date: 2021-12-13 +draft: false +authors: [davsclaus] +categories: ["security"] +preview: "Apache Camel and CVE-2021-44228 (log4j)" +--- + +### Apache Camel is NOT using log4j for production + +Apache Camel does not directly depend on Log4j 2, +so we are not affected by CVE-2021-44228. + +If you explicitly added the Log4j 2 dependency to your own applications, +make sure to upgrade. + +### Apache Camel is using log4j for testing itself + +Apache Camel does use log4j during testing itself, and therefore you +can find that we have been using log4j v2.13.3 release in our latest LTS releases +Camel 3.7.6, 3.11.4. + +In the `camel-dependencies` BOM we extract all the 3rd party dependency +version that was used for building and testing the release: + +2.13.3 + +In the upcoming LTS releases 3.14.0, 3.11.5, and 3.7.7 we have upgraded to +log4j 2.15.0. For future releases then we plan to filter out testing +dependencies in the `camel-dependencies` BOM, meaning that `log4j2-version` +will no longer be included. + +### 3rd party components with transitive dependency on log4j-core + +There are two Camel components, camel-nsq and camel-corda which have a +dependency on log4j-core by their 3rd party library. Those libraries +do not actively use log4j-core, but rely only on log4j-api. Therefore the maintainers +of those projects should correct this in their projects. + +At Apache Camel we have corrected this by excluding log4j-core and only depend on log4-api +for these two components. This change will be in all upcoming LTS releases. + +This should not be a security issue as you are only vulnerable if log4j-core +is active in use as the logging framework. Having log4j-core on the classpath +and using another logging framework such as logback or jboss-logging is not a problem. + +### What about other Apache Camel projects? + + Camel Quarkus and Camel K + +Apache Camel Quarkus and Camel K uses Quarkus as the runtime, and Quarkus does not use log4j, and +they are therefore not affected, [according to the Quarkus team](https://twitter.com/QuarkusIO/status/1469279468829265922). + + Camel Spring Boot + +Camel Spring Boot uses Spring Boot as the runtime, and Spring Boot is only +affected if you have chosen to use log4j instead of the default logback logger. +See more details from the [Spring Boot team announcement](https://spring.io/blog/2021/12/10/log4j2-vulnerability-and-spring-boot). + + Camel Kafka Connector + +Apache Kafka Connectors runs on Apache Kafka and Kafka uses the older log4 v1 which is not affected. + + Camel Karaf + +Camel Karaf uses Apache Karaf as the runtime, and **Apache Karaf is affected**. +The latest Karaf release 4.3.3 comes with several versions of log4j such as 2.14.1, 2.13.3 and 2.9.1 +The Karaf team is aware of this and are working on a [new Karaf 4.3.4 release with updated log4j](https://mail-archives.apache.org/mod_mbox/karaf-dev/202112.mbox/browser). + + Camel JBang + +The `camel-jbang` module is a new developer tool that was first shipped in Camel 3.12. +In Camel 3.13.0 then `camel-jbang` uses log4j 2.13.3 for logging output. This tool +cannot be used for production, as `camel-jbang` is not a regular Camel component - only a developer tool. + +In Camel 3.14.0 then `camel-jbang` comes with updated log4j v2.15.0. +However, in Camel 3.15.0 we will [switch to another logger system](https://issues.apache.org/jira/browse/CAMEL-17325) to avoid log4j at all. + +### What about Apache Camel 2? + +Apache Camel 2 is not affected. The camel-core from Camel 2 uses slf4j-api +as the logging facade, and log4j is only used during testing Camel itself. +
[GitHub] [camel-kafka-connector] FernandoDorado commented on issue #1291: Problem with line breaks kafka-hdfs sink connector
FernandoDorado commented on issue #1291: URL: https://github.com/apache/camel-kafka-connector/issues/1291#issuecomment-992709187 I have been testing the 10.0 connector version, and I got a line break between messages. I have had some problems with later versions, but I don't know what could be the cause. I will keep testing to give you more details -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-kafka-connector] FernandoDorado closed issue #1291: Problem with line breaks kafka-hdfs sink connector
FernandoDorado closed issue #1291: URL: https://github.com/apache/camel-kafka-connector/issues/1291 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-k] phantomjinx removed a comment on pull request #2711: E2E development allowing injection of secrets denoting testing on custom clusters
phantomjinx removed a comment on pull request #2711: URL: https://github.com/apache/camel-k/pull/2711#issuecomment-950934727 @christophd Are you able to give some steerage on why the one yaks test is consistently failing please? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch regen_bot updated (8f1aec2 -> 1089053)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot in repository https://gitbox.apache.org/repos/asf/camel.git. from 8f1aec2 Regen for commit d0ad5dfe4ce3a95840650484849ba7f64889fe30 add 1089053 Bump mybatis 3.5.8 (#6534) No new revisions were added by this update. Summary of changes: camel-dependencies/pom.xml | 2 +- parent/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
[GitHub] [camel-website] davsclaus commented on pull request #714: Blog about Apache Camel and the log4j security issue
davsclaus commented on pull request #714: URL: https://github.com/apache/camel-website/pull/714#issuecomment-992667374 Added note about camel jbang, and also link to karaf about their work on next release with fix -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-website] branch log4j updated (f185200 -> 339e3dc)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch log4j in repository https://gitbox.apache.org/repos/asf/camel-website.git. from f185200 Blog about Apache Camel and the log4j security issue add 339e3dc Blog about Apache Camel and the log4j security issue No new revisions were added by this update. Summary of changes: content/blog/2021/12/log4j2/index.md | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-)
[GitHub] [camel-quarkus] aldettinger commented on a change in pull request #3383: ⬆️ Use the Quarkus Artemis BOM and upgrade to 1.0.2
aldettinger commented on a change in pull request #3383: URL: https://github.com/apache/camel-quarkus/pull/3383#discussion_r767923271 ## File path: poms/bom-test/pom.xml ## @@ -54,6 +54,13 @@ pom import + +io.quarkiverse.artemis +quarkus-artemis-bom Review comment: ok, thanks. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] aldettinger commented on pull request #3383: ⬆️ Use the Quarkus Artemis BOM and upgrade to 1.0.2
aldettinger commented on pull request #3383: URL: https://github.com/apache/camel-quarkus/pull/3383#issuecomment-992654169 > https://repository.jboss.org used to be flaky in the past. The CI failure is most probably unrelated. > > > transfer failed for [https://repository.jboss.org/nexus/service/local/repositories/thirdparty-releases/content/io/nessus/nessus-ipfs-client/1.0.0.Beta4/nessus-ipfs-client-1.0.0.Beta4.pom`](https://repository.jboss.org/nexus/service/local/repositories/thirdparty-releases/content/io/nessus/nessus-ipfs-client/1.0.0.Beta4/nessus-ipfs-client-1.0.0.Beta4.pom%60) I agree, we are suffering the same kind of issue in another non related PR. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] zbendhiba commented on a change in pull request #3383: ⬆️ Use the Quarkus Artemis BOM and upgrade to 1.0.2
zbendhiba commented on a change in pull request #3383: URL: https://github.com/apache/camel-quarkus/pull/3383#discussion_r767921662 ## File path: pom.xml ## @@ -49,7 +49,7 @@ 1.6.1.Final 8.9.1.Final 1.0.0 -1.0.1 +1.0.2 Review comment: Maybe rename it to quarkus artemis. I'll push later the fix. Waiting for the nexus and artifacts to be available. The Artemis parent, includes now the quarkus bom and quarkus-artemis-bom. We don't refer to it in the code. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] oscerd commented on pull request #3383: ⬆️ Use the Quarkus Artemis BOM and upgrade to 1.0.2
oscerd commented on pull request #3383: URL: https://github.com/apache/camel-quarkus/pull/3383#issuecomment-992646629 Mvnrepository is not synched with the same timing of maven central. The source of Truth is always maven central -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] ppalaga commented on a change in pull request #3383: ⬆️ Use the Quarkus Artemis BOM and upgrade to 1.0.2
ppalaga commented on a change in pull request #3383: URL: https://github.com/apache/camel-quarkus/pull/3383#discussion_r767917242 ## File path: poms/bom-test/pom.xml ## @@ -54,6 +54,13 @@ pom import + +io.quarkiverse.artemis +quarkus-artemis-bom Review comment: https://mvnrepository.com is a bit delayed. It is there in the Central https://repo1.maven.org/maven2/io/quarkiverse/artemis/quarkus-artemis-bom/1.0.2/quarkus-artemis-bom-1.0.2.pom -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] zbendhiba commented on a change in pull request #3383: ⬆️ Use the Quarkus Artemis BOM and upgrade to 1.0.2
zbendhiba commented on a change in pull request #3383: URL: https://github.com/apache/camel-quarkus/pull/3383#discussion_r767913668 ## File path: poms/bom-test/pom.xml ## @@ -54,6 +54,13 @@ pom import + +io.quarkiverse.artemis +quarkus-artemis-bom Review comment: I don't know why it doesn't show yet on website. Maybe it's just a matter of time. It has been released 2 hours ago. I've uploaded the artifacts locally. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] aldettinger commented on a change in pull request #3383: ⬆️ Use the Quarkus Artemis BOM and upgrade to 1.0.2
aldettinger commented on a change in pull request #3383: URL: https://github.com/apache/camel-quarkus/pull/3383#discussion_r767910738 ## File path: poms/bom-test/pom.xml ## @@ -54,6 +54,13 @@ pom import + +io.quarkiverse.artemis +quarkus-artemis-bom Review comment: I did not try to build @zbendhiba . I was just looking for the pom on sites like https://mvnrepository.com/search?q=quarkus-artemis-bom. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] zbendhiba commented on a change in pull request #3383: ⬆️ Use the Quarkus Artemis BOM and upgrade to 1.0.2
zbendhiba commented on a change in pull request #3383: URL: https://github.com/apache/camel-quarkus/pull/3383#discussion_r767908019 ## File path: poms/bom-test/pom.xml ## @@ -54,6 +54,13 @@ pom import + +io.quarkiverse.artemis +quarkus-artemis-bom Review comment: Oh wait, why did worked for me ? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] JiriOndrusek commented on pull request #3272: Sql doc update because of the failure with external oracle database #…
JiriOndrusek commented on pull request #3272: URL: https://github.com/apache/camel-quarkus/pull/3272#issuecomment-992632149 @aldetinger Yes you are right, only small fixes (mainly doc) is need to be done. Unfortunately I'm not sure when I'll be able to fix it (maybe end of this week). But feel free to fix those small issues if you have a free capacity. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] aldettinger commented on a change in pull request #3383: ⬆️ Use the Quarkus Artemis BOM and upgrade to 1.0.2
aldettinger commented on a change in pull request #3383: URL: https://github.com/apache/camel-quarkus/pull/3383#discussion_r767902532 ## File path: poms/bom-test/pom.xml ## @@ -54,6 +54,13 @@ pom import + +io.quarkiverse.artemis +quarkus-artemis-bom Review comment: I was not able to find this in a maven repo. Could you please provide a link to have a look ? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] aldettinger commented on a change in pull request #3383: ⬆️ Use the Quarkus Artemis BOM and upgrade to 1.0.2
aldettinger commented on a change in pull request #3383: URL: https://github.com/apache/camel-quarkus/pull/3383#discussion_r767902002 ## File path: pom.xml ## @@ -49,7 +49,7 @@ 1.6.1.Final 8.9.1.Final 1.0.0 -1.0.1 +1.0.2 Review comment: The comment here refers to quarkus-artemis-parent. Are we using it anymore ? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] aldettinger opened a new pull request #3384: protobuf: Missing method "getName" when using contentTypeFormat=json …
aldettinger opened a new pull request #3384: URL: https://github.com/apache/camel-quarkus/pull/3384 …in native mode #3382 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-quarkus] 01/01: protobuf: Missing method "getName" when using contentTypeFormat=json in native mode #3382
This is an automated email from the ASF dual-hosted git repository. aldettinger pushed a commit to branch CAMEL-QUARKUS-3382 in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git commit a34214f690d924471c2360174cbb576966838da6 Author: aldettinger AuthorDate: Mon Dec 13 16:23:22 2021 +0100 protobuf: Missing method "getName" when using contentTypeFormat=json in native mode #3382 --- .../ROOT/pages/reference/extensions/protobuf.adoc | 24 +-- .../runtime/src/main/doc/configuration.adoc| 24 +-- .../component/protobuf/it/ProtobufResource.java| 22 +- .../component/protobuf/it/ProtobufRoute.java | 14 +++ .../component/protobuf/it/ProtobufTest.java| 27 ++ 5 files changed, 106 insertions(+), 5 deletions(-) diff --git a/docs/modules/ROOT/pages/reference/extensions/protobuf.adoc b/docs/modules/ROOT/pages/reference/extensions/protobuf.adoc index eba2417..a9b0fff 100644 --- a/docs/modules/ROOT/pages/reference/extensions/protobuf.adoc +++ b/docs/modules/ROOT/pages/reference/extensions/protobuf.adoc @@ -41,6 +41,7 @@ Check the xref:user-guide/index.adoc[User guide] for more information about writ == Additional Camel Quarkus configuration +=== Generate classes from protobuf `.proto` files Use the `generate-code` goal of `quarkus-maven-plugin` to generate Java classes from your `*.proto` service and message definitions stored in the `src/main/proto` directory: @@ -64,6 +65,25 @@ service and message definitions stored in the `src/main/proto` directory: -You may want to check the https://github.com/apache/camel-quarkus/tree/main/integration-tests/protobuf[integration test] -in our source tree as an example. +The https://github.com/apache/camel-quarkus/tree/main/integration-tests/protobuf[camel-quarkus-protobuf integration test] is a good way to learn more. + +=== Serialize/Deserialize Java beans using JSON fields representation +Please note that some additional configurations might be needed when using `contentTypeFormat=json`. +Indeed, in such a case, the generated `Builder` class needs to be registered for reflection. + +For instance, let's examine the `ProtobufDataFormat` below: + +[source,java] + +ProtobufDataFormat protobufJsonDataFormat = new ProtobufDataFormat(Person.getDefaultInstance(), ProtobufDataFormat.CONTENT_TYPE_FORMAT_JSON); + + +In such a case, the `Person.Builder` class should be xref:user-guide/native-mode.adoc#reflection[registered for reflection], for instance as below: + +[source,java] + +@RegisterForReflection(targets = { org.apache.camel.quarkus.component.protobuf.it.model.AddressBookProtos.Person.Builder.class }) + + +A concrete implementation of such a scenario is present in the https://github.com/apache/camel-quarkus/tree/main/integration-tests/protobuf[camel-quarkus-protobuf integration test]. diff --git a/extensions/protobuf/runtime/src/main/doc/configuration.adoc b/extensions/protobuf/runtime/src/main/doc/configuration.adoc index 068cfbe..b23eacc 100644 --- a/extensions/protobuf/runtime/src/main/doc/configuration.adoc +++ b/extensions/protobuf/runtime/src/main/doc/configuration.adoc @@ -1,3 +1,4 @@ +=== Generate classes from protobuf `.proto` files Use the `generate-code` goal of `quarkus-maven-plugin` to generate Java classes from your `*.proto` service and message definitions stored in the `src/main/proto` directory: @@ -21,5 +22,24 @@ service and message definitions stored in the `src/main/proto` directory: -You may want to check the https://github.com/apache/camel-quarkus/tree/main/integration-tests/protobuf[integration test] -in our source tree as an example. +The https://github.com/apache/camel-quarkus/tree/main/integration-tests/protobuf[camel-quarkus-protobuf integration test] is a good way to learn more. + +=== Serialize/Deserialize Java beans using JSON fields representation +Please note that some additional configurations might be needed when using `contentTypeFormat=json`. +Indeed, in such a case, the generated `Builder` class needs to be registered for reflection. + +For instance, let's examine the `ProtobufDataFormat` below: + +[source,java] + +ProtobufDataFormat protobufJsonDataFormat = new ProtobufDataFormat(Person.getDefaultInstance(), ProtobufDataFormat.CONTENT_TYPE_FORMAT_JSON); + + +In such a case, the `Person.Builder` class should be xref:user-guide/native-mode.adoc#reflection[registered for reflection], for instance as below: + +[source,java] + +@RegisterForReflection(targets = { org.apache.camel.quarkus.component.protobuf.it.model.AddressBookProtos.Person.Builder.class }) + + +A concrete implementation of such a scenario is present in the https://github.com/apache/camel-quarkus/tree/main/integration-tests/protobuf[camel-quarkus-protobuf integration test]. diff --git a/integration-tests/protobuf/src/main/java/org/apache/camel/quarkus/component
[camel-quarkus] branch CAMEL-QUARKUS-3382 updated (32c6810 -> a34214f)
This is an automated email from the ASF dual-hosted git repository. aldettinger pushed a change to branch CAMEL-QUARKUS-3382 in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git. discard 32c6810 protobuf: Missing method "getName" when using contentTypeFormat=json in native mode #3382 new a34214f protobuf: Missing method "getName" when using contentTypeFormat=json in native mode #3382 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 (32c6810) \ N -- N -- N refs/heads/CAMEL-QUARKUS-3382 (a34214f) 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 1 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: docs/modules/ROOT/pages/reference/extensions/protobuf.adoc | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-)
[GitHub] [camel-quarkus] zbendhiba opened a new pull request #3383: ⬆️ Use the Quarkus Artemis BOM and upgrade to 1.0.2
zbendhiba opened a new pull request #3383: URL: https://github.com/apache/camel-quarkus/pull/3383 Fixes #3381 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-quarkus] 01/01: protobuf: Missing method "getName" when using contentTypeFormat=json in native mode #3382
This is an automated email from the ASF dual-hosted git repository. aldettinger pushed a commit to branch CAMEL-QUARKUS-3382 in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git commit 32c68100831178c3bedc00f6c4d740a5572a7703 Author: aldettinger AuthorDate: Mon Dec 13 16:23:22 2021 +0100 protobuf: Missing method "getName" when using contentTypeFormat=json in native mode #3382 --- .../ROOT/pages/reference/extensions/protobuf.adoc | 20 ++-- .../runtime/src/main/doc/configuration.adoc| 24 +-- .../component/protobuf/it/ProtobufResource.java| 22 +- .../component/protobuf/it/ProtobufRoute.java | 14 +++ .../component/protobuf/it/ProtobufTest.java| 27 ++ 5 files changed, 102 insertions(+), 5 deletions(-) diff --git a/docs/modules/ROOT/pages/reference/extensions/protobuf.adoc b/docs/modules/ROOT/pages/reference/extensions/protobuf.adoc index eba2417..7bd6910 100644 --- a/docs/modules/ROOT/pages/reference/extensions/protobuf.adoc +++ b/docs/modules/ROOT/pages/reference/extensions/protobuf.adoc @@ -64,6 +64,22 @@ service and message definitions stored in the `src/main/proto` directory: -You may want to check the https://github.com/apache/camel-quarkus/tree/main/integration-tests/protobuf[integration test] -in our source tree as an example. +Moreover, please note that some additional configurations might be needed when using `contentTypeFormat=json`. +Indeed, in such a case, the generated `Builder` class needs to be registered for reflection. + +For instance, let's examine the `ProtobufDataFormat` below: + +[source,java] + +ProtobufDataFormat protobufJsonDataFormat = new ProtobufDataFormat(Person.getDefaultInstance(), ProtobufDataFormat.CONTENT_TYPE_FORMAT_JSON); + + +In such a case, the `Person.Builder` class should be xref:user-guide/native-mode.adoc#reflection[registered for reflection], for instance as below: + +[source,java] + +@RegisterForReflection(targets = { org.apache.camel.quarkus.component.protobuf.it.model.AddressBookProtos.Person.Builder.class }) + + +The https://github.com/apache/camel-quarkus/tree/main/integration-tests/protobuf[camel-quarkus-protobuf integration test] is a good way to learn more. diff --git a/extensions/protobuf/runtime/src/main/doc/configuration.adoc b/extensions/protobuf/runtime/src/main/doc/configuration.adoc index 068cfbe..b23eacc 100644 --- a/extensions/protobuf/runtime/src/main/doc/configuration.adoc +++ b/extensions/protobuf/runtime/src/main/doc/configuration.adoc @@ -1,3 +1,4 @@ +=== Generate classes from protobuf `.proto` files Use the `generate-code` goal of `quarkus-maven-plugin` to generate Java classes from your `*.proto` service and message definitions stored in the `src/main/proto` directory: @@ -21,5 +22,24 @@ service and message definitions stored in the `src/main/proto` directory: -You may want to check the https://github.com/apache/camel-quarkus/tree/main/integration-tests/protobuf[integration test] -in our source tree as an example. +The https://github.com/apache/camel-quarkus/tree/main/integration-tests/protobuf[camel-quarkus-protobuf integration test] is a good way to learn more. + +=== Serialize/Deserialize Java beans using JSON fields representation +Please note that some additional configurations might be needed when using `contentTypeFormat=json`. +Indeed, in such a case, the generated `Builder` class needs to be registered for reflection. + +For instance, let's examine the `ProtobufDataFormat` below: + +[source,java] + +ProtobufDataFormat protobufJsonDataFormat = new ProtobufDataFormat(Person.getDefaultInstance(), ProtobufDataFormat.CONTENT_TYPE_FORMAT_JSON); + + +In such a case, the `Person.Builder` class should be xref:user-guide/native-mode.adoc#reflection[registered for reflection], for instance as below: + +[source,java] + +@RegisterForReflection(targets = { org.apache.camel.quarkus.component.protobuf.it.model.AddressBookProtos.Person.Builder.class }) + + +A concrete implementation of such a scenario is present in the https://github.com/apache/camel-quarkus/tree/main/integration-tests/protobuf[camel-quarkus-protobuf integration test]. diff --git a/integration-tests/protobuf/src/main/java/org/apache/camel/quarkus/component/protobuf/it/ProtobufResource.java b/integration-tests/protobuf/src/main/java/org/apache/camel/quarkus/component/protobuf/it/ProtobufResource.java index 3cc02a5..1b7d92d 100644 --- a/integration-tests/protobuf/src/main/java/org/apache/camel/quarkus/component/protobuf/it/ProtobufResource.java +++ b/integration-tests/protobuf/src/main/java/org/apache/camel/quarkus/component/protobuf/it/ProtobufResource.java @@ -39,7 +39,7 @@ public class ProtobufResource { @Path("/marshal") @GET @Produces(MediaType.APPLICATION_OCTET_STREAM) -public byte[] xstreamXmlMarshal(@QueryParam("id") int id, @QueryParam("name
[camel-quarkus] branch CAMEL-QUARKUS-3382 updated (b81bb76 -> 32c6810)
This is an automated email from the ASF dual-hosted git repository. aldettinger pushed a change to branch CAMEL-QUARKUS-3382 in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git. discard b81bb76 protobuf: Missing method "getName" when using contentTypeFormat=json in native mode #3382 new 32c6810 protobuf: Missing method "getName" when using contentTypeFormat=json in native mode #3382 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 (b81bb76) \ N -- N -- N refs/heads/CAMEL-QUARKUS-3382 (32c6810) 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 1 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: extensions/protobuf/runtime/src/main/doc/configuration.adoc | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-)
[camel] branch main updated: Bump mybatis 3.5.8 (#6534)
This is an automated email from the ASF dual-hosted git repository. zhfeng pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/main by this push: new 1089053 Bump mybatis 3.5.8 (#6534) 1089053 is described below commit 1089053d4aff256518799a1c960c0bffe2f85638 Author: Amos Feng AuthorDate: Mon Dec 13 23:56:00 2021 +0800 Bump mybatis 3.5.8 (#6534) --- camel-dependencies/pom.xml | 2 +- parent/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/camel-dependencies/pom.xml b/camel-dependencies/pom.xml index dfd6f2a..edf4d69 100644 --- a/camel-dependencies/pom.xml +++ b/camel-dependencies/pom.xml @@ -426,7 +426,7 @@ 2013.6.1 0.9.10 2.4.13.Final -3.5.7 +3.5.8 5.12.1.Final 0.4.0 1.0.0.Beta4 diff --git a/parent/pom.xml b/parent/pom.xml index 7119925..1766630 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -412,7 +412,7 @@ 2013.6.1 0.9.10 2.4.13.Final -3.5.7 +3.5.8 5.12.1.Final 1.0.0.Beta4 1.0.1
[GitHub] [camel] zhfeng merged pull request #6534: Bump mybatis 3.5.8
zhfeng merged pull request #6534: URL: https://github.com/apache/camel/pull/6534 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] aldettinger commented on pull request #3272: Sql doc update because of the failure with external oracle database #…
aldettinger commented on pull request #3272: URL: https://github.com/apache/camel-quarkus/pull/3272#issuecomment-992617932 @JiriOndrusek A small up on this PR. My understanding is that it just needs few fixes ? Or am I missing some context ? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-website] branch asf-site updated (c675ef7 -> 6cbb8ee)
This is an automated email from the ASF dual-hosted git repository. git-site-role pushed a change to branch asf-site in repository https://gitbox.apache.org/repos/asf/camel-website.git. discard c675ef7 Website updated to ebfd276dac4e77b5779a002bccb1a763a63bc049 discard bef0a39 Website updated to 325e929157412b27394080f4d4dba3d821476ddf new 243863a Website updated to 325e929157412b27394080f4d4dba3d821476ddf new 6cbb8ee Website updated to ebfd276dac4e77b5779a002bccb1a763a63bc049 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 (c675ef7) \ N -- N -- N refs/heads/asf-site (6cbb8ee) 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: components/3.11.x/languages/jsonpath-language.html |2 +- manual/camel-maven-plugin.html |3 +- sitemap-camel-k.xml| 822 +-- sitemap-camel-kafka-connector.xml | 2218 +++ sitemap-camel-kamelets.xml | 578 +- sitemap-camel-karaf.xml| 70 +- sitemap-camel-quarkus.xml | 2078 +++--- sitemap-camel-spring-boot.xml | 54 +- sitemap-components.xml | 6712 ++-- sitemap-manual.xml | 382 +- 10 files changed, 6459 insertions(+), 6460 deletions(-)
[GitHub] [camel-website] davsclaus commented on pull request #714: Blog about Apache Camel and the log4j security issue
davsclaus commented on pull request #714: URL: https://github.com/apache/camel-website/pull/714#issuecomment-992605217 No they are independent projects. We only uses karaf for testing camel-karaf, not as a required runtime version, or that we ship apache karaf as part of a camel release -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-website] bvn13 commented on pull request #714: Blog about Apache Camel and the log4j security issue
bvn13 commented on pull request #714: URL: https://github.com/apache/camel-website/pull/714#issuecomment-992602106 > Added a note about Apache Karaf because its affected Will new release of Camel 3.14.0 wait until Karaf be fixed by its maintainers? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-quarkus] branch CAMEL-QUARKUS-3382 updated (fc2778d -> b81bb76)
This is an automated email from the ASF dual-hosted git repository. aldettinger pushed a change to branch CAMEL-QUARKUS-3382 in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git. discard fc2778d protobuf: Missing method "getName" when using contentTypeFormat=json in native mode #3382 new b81bb76 protobuf: Missing method "getName" when using contentTypeFormat=json in native mode #3382 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 (fc2778d) \ N -- N -- N refs/heads/CAMEL-QUARKUS-3382 (b81bb76) 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 1 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: .../ROOT/pages/reference/extensions/protobuf.adoc| 20 ++-- 1 file changed, 18 insertions(+), 2 deletions(-)
[camel-quarkus] 01/01: protobuf: Missing method "getName" when using contentTypeFormat=json in native mode #3382
This is an automated email from the ASF dual-hosted git repository. aldettinger pushed a commit to branch CAMEL-QUARKUS-3382 in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git commit b81bb7695f96078bfda9dd7eb178cc3563044198 Author: aldettinger AuthorDate: Mon Dec 13 16:23:22 2021 +0100 protobuf: Missing method "getName" when using contentTypeFormat=json in native mode #3382 --- .../ROOT/pages/reference/extensions/protobuf.adoc | 20 ++-- .../runtime/src/main/doc/configuration.adoc| 20 ++-- .../component/protobuf/it/ProtobufResource.java| 22 +- .../component/protobuf/it/ProtobufRoute.java | 14 +++ .../component/protobuf/it/ProtobufTest.java| 27 ++ 5 files changed, 98 insertions(+), 5 deletions(-) diff --git a/docs/modules/ROOT/pages/reference/extensions/protobuf.adoc b/docs/modules/ROOT/pages/reference/extensions/protobuf.adoc index eba2417..7bd6910 100644 --- a/docs/modules/ROOT/pages/reference/extensions/protobuf.adoc +++ b/docs/modules/ROOT/pages/reference/extensions/protobuf.adoc @@ -64,6 +64,22 @@ service and message definitions stored in the `src/main/proto` directory: -You may want to check the https://github.com/apache/camel-quarkus/tree/main/integration-tests/protobuf[integration test] -in our source tree as an example. +Moreover, please note that some additional configurations might be needed when using `contentTypeFormat=json`. +Indeed, in such a case, the generated `Builder` class needs to be registered for reflection. + +For instance, let's examine the `ProtobufDataFormat` below: + +[source,java] + +ProtobufDataFormat protobufJsonDataFormat = new ProtobufDataFormat(Person.getDefaultInstance(), ProtobufDataFormat.CONTENT_TYPE_FORMAT_JSON); + + +In such a case, the `Person.Builder` class should be xref:user-guide/native-mode.adoc#reflection[registered for reflection], for instance as below: + +[source,java] + +@RegisterForReflection(targets = { org.apache.camel.quarkus.component.protobuf.it.model.AddressBookProtos.Person.Builder.class }) + + +The https://github.com/apache/camel-quarkus/tree/main/integration-tests/protobuf[camel-quarkus-protobuf integration test] is a good way to learn more. diff --git a/extensions/protobuf/runtime/src/main/doc/configuration.adoc b/extensions/protobuf/runtime/src/main/doc/configuration.adoc index 068cfbe..e33d89a 100644 --- a/extensions/protobuf/runtime/src/main/doc/configuration.adoc +++ b/extensions/protobuf/runtime/src/main/doc/configuration.adoc @@ -21,5 +21,21 @@ service and message definitions stored in the `src/main/proto` directory: -You may want to check the https://github.com/apache/camel-quarkus/tree/main/integration-tests/protobuf[integration test] -in our source tree as an example. +Moreover, please note that some additional configurations might be needed when using `contentTypeFormat=json`. +Indeed, in such a case, the generated `Builder` class needs to be registered for reflection. + +For instance, let's examine the `ProtobufDataFormat` below: + +[source,java] + +ProtobufDataFormat protobufJsonDataFormat = new ProtobufDataFormat(Person.getDefaultInstance(), ProtobufDataFormat.CONTENT_TYPE_FORMAT_JSON); + + +In such a case, the `Person.Builder` class should be xref:user-guide/native-mode.adoc#reflection[registered for reflection], for instance as below: + +[source,java] + +@RegisterForReflection(targets = { org.apache.camel.quarkus.component.protobuf.it.model.AddressBookProtos.Person.Builder.class }) + + +The https://github.com/apache/camel-quarkus/tree/main/integration-tests/protobuf[camel-quarkus-protobuf integration test] is a good way to learn more. diff --git a/integration-tests/protobuf/src/main/java/org/apache/camel/quarkus/component/protobuf/it/ProtobufResource.java b/integration-tests/protobuf/src/main/java/org/apache/camel/quarkus/component/protobuf/it/ProtobufResource.java index 3cc02a5..1b7d92d 100644 --- a/integration-tests/protobuf/src/main/java/org/apache/camel/quarkus/component/protobuf/it/ProtobufResource.java +++ b/integration-tests/protobuf/src/main/java/org/apache/camel/quarkus/component/protobuf/it/ProtobufResource.java @@ -39,7 +39,7 @@ public class ProtobufResource { @Path("/marshal") @GET @Produces(MediaType.APPLICATION_OCTET_STREAM) -public byte[] xstreamXmlMarshal(@QueryParam("id") int id, @QueryParam("name") String name) { +public byte[] marshal(@QueryParam("id") int id, @QueryParam("name") String name) { final Person person = Person.newBuilder() .setId(id) .setName(name) @@ -56,4 +56,24 @@ public class ProtobufResource { return "{\"name\": \"" + person.getName() + "\",\"id\": " + person.getId() + "}"; } +@Path("/marshal-json") +@GET +@Produces(MediaType.APPLICATION_JSON) +public String marshalJson(@QueryParam("id"
[GitHub] [camel-website] davsclaus commented on pull request #714: Blog about Apache Camel and the log4j security issue
davsclaus commented on pull request #714: URL: https://github.com/apache/camel-website/pull/714#issuecomment-992599632 Added a note about Apache Karaf because its affected -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-website] branch log4j updated (0e74218 -> f185200)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch log4j in repository https://gitbox.apache.org/repos/asf/camel-website.git. from 0e74218 Fixed a typo on the previous edit add f185200 Blog about Apache Camel and the log4j security issue No new revisions were added by this update. Summary of changes: content/blog/2021/12/log4j2/index.md | 4 1 file changed, 4 insertions(+)