[GitHub] [camel-quarkus] jamesnetherton opened a new issue #2926: [CI] - Quarkus Main Branch Build Failure
jamesnetherton opened a new issue #2926: URL: https://github.com/apache/camel-quarkus/issues/2926 This is a placeholder issue used by the [nightly sync workflow](https://github.com/apache/camel-quarkus/actions/workflows/quarkus-master-cron.yaml) for the [`quarkus-main`](https://github.com/apache/camel-quarkus/tree/quarkus-main) branch. -- 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-1008231632 The [quarkus-main](https://github.com/apache/camel-quarkus/tree/quarkus-main) branch build has failed: * Build ID: 1672806568-626-7ee12a59-099c-4afd-b43c-09fc32bd24a6 * Camel Quarkus Commit: d9cf37293aa6b249e1f47cf27f886456b66d0f6a * Quarkus Main Commit: 18896ef19aa344a926839635dcc9747bcc43b7e0 * Link to build: https://github.com/apache/camel-quarkus/actions/runs/1672806568 -- 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 #2927: [CI] - Camel Main Branch Build Failure
github-actions[bot] commented on issue #2927: URL: https://github.com/apache/camel-quarkus/issues/2927#issuecomment-1008221093 The [camel-main](https://github.com/apache/camel-quarkus/tree/camel-main) branch build has failed: * Build ID: 1672552573-522-b01f2272-bbd2-48cb-8e5d-98c9955a0bbf * Camel Quarkus Commit: d5dd30a7c21efebd304ff65290d5a58a2b69f68d * Camel Main Commit: 18896ef19aa344a926839635dcc9747bcc43b7e0 * Link to build: https://github.com/apache/camel-quarkus/actions/runs/1672552573 -- 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 (f3c34d6 -> 416fcf1)
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 f3c34d6 Regen for commit 9126045b6f10a797b474f0d5a38834a5f60f6dfe add 416fcf1 Regen for commit 9126045b6f10a797b474f0d5a38834a5f60f6dfe 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 (f3c34d6) \ N -- N -- N refs/heads/regen_bot (416fcf1) 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] lburgazzoli edited a comment on issue #673: Kamelet for ElasticSearch Sink provides no mechanism to set indexId or ce-indexId
lburgazzoli edited a comment on issue #673: URL: https://github.com/apache/camel-kamelets/issues/673#issuecomment-1008088423 > > Does the Camel DSL or some subset extend to KameletBindings or is it limited to Kamelets? How much room for configuration do people have if all they want to do is blend existing Kamelets into a solution? > No, the goal of KameletBinding (which should be renamed to Binding) is to abstract the underlying engine so we do not expect to add any Camel DSL capability directly to the Binding, if you need such flexibility then you should think about using an Integration where you can use any Camel DSL. > > I see a need for a generic CloudEvent payload processor Action at some point in the future that gives the ability to read and manipulate any payload not just ones that are JSON encoded. Maybe it is limited to payloads defined with a json schema or protocol buffer or some such to make accessing the contents more predictable. It might involve introducing a block of user defined code (groovy or python script block?) added to the kameletbinding yaml that executes in some sort of sandbox. > Adding scripting capabilities through a Kamelet is pretty simple. But I want to point you that this has almost nothing to do with CloudEvents as a CloudEventn is nothing more than an envelope that matches what in Camel is a Message (as Andrea pointed out, there is an issue about a better CliudEvent support in Camel). Camel offers already a way to manipulate Messages (of course) by using a scripting language. -- 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: Regen for commit 9126045b6f10a797b474f0d5a38834a5f60f6dfe
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 The following commit(s) were added to refs/heads/main by this push: new 416fcf1 Regen for commit 9126045b6f10a797b474f0d5a38834a5f60f6dfe 416fcf1 is described below commit 416fcf1dece92da71fd1b8dd3b36e59328c7a93f Author: davsclaus AuthorDate: Sat Jan 8 21:28:22 2022 + Regen for commit 9126045b6f10a797b474f0d5a38834a5f60f6dfe Signed-off-by: GitHub --- .../resources/org/apache/camel/catalog/schemas/camel-spring.xsd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd index adeda42..e1608a5 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/schemas/camel-spring.xsd @@ -92,8 +92,8 @@ BeanPostProcessor to post process beans.
[GitHub] [camel] oscerd merged pull request #6694: Generated sources regen
oscerd merged pull request #6694: URL: https://github.com/apache/camel/pull/6694 -- 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 (de757e2 -> f3c34d6)
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 de757e2 (chores) java-17: fixes invalid Qname add 34d3d5f CAMEL-17354: camel-beanio - Deprecate add f253610 CAMEL-17354: camel-beanio is now deprecated. add 9126045 Polished add f3c34d6 Regen for commit 9126045b6f10a797b474f0d5a38834a5f60f6dfe No new revisions were added by this update. Summary of changes: .../resources/org/apache/camel/catalog/dataformats/beanio.json | 2 +- .../generated/resources/org/apache/camel/catalog/models/beanio.json | 2 +- .../resources/org/apache/camel/catalog/schemas/camel-spring.xsd | 4 ++-- components/camel-beanio/pom.xml | 6 +- .../META-INF/services/org/apache/camel/dataformat.properties| 2 +- .../resources/org/apache/camel/dataformat/beanio/beanio.json| 2 +- components/camel-beanio/src/main/docs/beanio-dataformat.adoc| 5 +++-- .../resources/org/apache/camel/model/dataformat/beanio.json | 2 +- .../java/org/apache/camel/model/dataformat/BeanioDataFormat.java| 1 + .../java/org/apache/camel/dsl/yaml/YamlRoutesBuilderLoader.java | 2 +- 10 files changed, 13 insertions(+), 15 deletions(-)
[GitHub] [camel] github-actions[bot] opened a new pull request #6694: Generated sources regen
github-actions[bot] opened a new pull request #6694: URL: https://github.com/apache/camel/pull/6694 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
[camel] branch regen_bot updated (54f46bc -> de757e2)
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. discard 54f46bc Regen for commit f253610bdedcc978475943d143029655eb7bcdf8 omit f253610 CAMEL-17354: camel-beanio is now deprecated. omit 34d3d5f CAMEL-17354: camel-beanio - Deprecate 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 (de757e2) \ O -- O -- O (54f46bc) 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: .../resources/org/apache/camel/catalog/dataformats/beanio.json | 2 +- .../generated/resources/org/apache/camel/catalog/models/beanio.json | 2 +- .../resources/org/apache/camel/catalog/schemas/camel-spring.xsd | 4 ++-- components/camel-beanio/pom.xml | 6 +- .../META-INF/services/org/apache/camel/dataformat.properties| 2 +- .../resources/org/apache/camel/dataformat/beanio/beanio.json| 2 +- components/camel-beanio/src/main/docs/beanio-dataformat.adoc| 5 ++--- .../resources/org/apache/camel/model/dataformat/beanio.json | 2 +- .../java/org/apache/camel/model/dataformat/BeanioDataFormat.java| 1 - 9 files changed, 14 insertions(+), 12 deletions(-)
[GitHub] [camel] github-actions[bot] closed pull request #6693: Generated sources regen
github-actions[bot] closed pull request #6693: URL: https://github.com/apache/camel/pull/6693 -- 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 (eeb8487 -> 54f46bc)
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 eeb8487 CAMEL-17435: updated migration documentation to include a note about the modified/removed dependencies add b7316e5 (chores) java-17: Upgrade saaj-impl to a version that supports Java modules add de757e2 (chores) java-17: fixes invalid Qname add 34d3d5f CAMEL-17354: camel-beanio - Deprecate add f253610 CAMEL-17354: camel-beanio is now deprecated. add 54f46bc Regen for commit f253610bdedcc978475943d143029655eb7bcdf8 No new revisions were added by this update. Summary of changes: .../resources/org/apache/camel/catalog/dataformats/beanio.json | 2 +- .../generated/resources/org/apache/camel/catalog/models/beanio.json | 2 +- .../resources/org/apache/camel/catalog/schemas/camel-spring.xsd | 4 ++-- components/camel-beanio/pom.xml | 6 +- .../META-INF/services/org/apache/camel/dataformat.properties| 2 +- .../resources/org/apache/camel/dataformat/beanio/beanio.json| 2 +- components/camel-beanio/src/main/docs/beanio-dataformat.adoc| 5 +++-- .../component/spring/ws/filter/impl/BasicMessageFilterTest.java | 4 ++-- .../resources/org/apache/camel/model/dataformat/beanio.json | 2 +- .../java/org/apache/camel/model/dataformat/BeanioDataFormat.java| 1 + parent/pom.xml | 2 +- 11 files changed, 15 insertions(+), 17 deletions(-)
[GitHub] [camel] github-actions[bot] opened a new pull request #6693: Generated sources regen
github-actions[bot] opened a new pull request #6693: URL: https://github.com/apache/camel/pull/6693 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
[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 9126045 Polished 9126045 is described below commit 9126045b6f10a797b474f0d5a38834a5f60f6dfe Author: Claus Ibsen AuthorDate: Sat Jan 8 21:23:17 2022 +0100 Polished --- .../main/java/org/apache/camel/dsl/yaml/YamlRoutesBuilderLoader.java| 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/main/java/org/apache/camel/dsl/yaml/YamlRoutesBuilderLoader.java b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/main/java/org/apache/camel/dsl/yaml/YamlRoutesBuilderLoader.java index e34c08c..de5750e 100644 --- a/dsl/camel-yaml-dsl/camel-yaml-dsl/src/main/java/org/apache/camel/dsl/yaml/YamlRoutesBuilderLoader.java +++ b/dsl/camel-yaml-dsl/camel-yaml-dsl/src/main/java/org/apache/camel/dsl/yaml/YamlRoutesBuilderLoader.java @@ -293,7 +293,7 @@ public class YamlRoutesBuilderLoader extends YamlRoutesBuilderLoaderSupport { line = node.getStartMark().get().getLine(); } -ProcessorDefinition out; +ProcessorDefinition out; // if kamelet then use kamelet eip instead of to boolean kamelet = uri.startsWith("kamelet:"); if (kamelet) {
[camel] branch main updated (de757e2 -> f253610)
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 de757e2 (chores) java-17: fixes invalid Qname new 34d3d5f CAMEL-17354: camel-beanio - Deprecate new f253610 CAMEL-17354: camel-beanio is now deprecated. 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: .../resources/org/apache/camel/catalog/dataformats/beanio.json | 2 +- .../generated/resources/org/apache/camel/catalog/models/beanio.json | 2 +- components/camel-beanio/pom.xml | 6 +- .../META-INF/services/org/apache/camel/dataformat.properties| 2 +- .../resources/org/apache/camel/dataformat/beanio/beanio.json| 2 +- components/camel-beanio/src/main/docs/beanio-dataformat.adoc| 5 +++-- .../resources/org/apache/camel/model/dataformat/beanio.json | 2 +- .../java/org/apache/camel/model/dataformat/BeanioDataFormat.java| 1 + 8 files changed, 10 insertions(+), 12 deletions(-)
[camel] 02/02: CAMEL-17354: camel-beanio is now deprecated.
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 f253610bdedcc978475943d143029655eb7bcdf8 Author: Claus Ibsen AuthorDate: Sat Jan 8 21:14:53 2022 +0100 CAMEL-17354: camel-beanio is now deprecated. --- .../resources/org/apache/camel/catalog/dataformats/beanio.json | 2 +- .../generated/resources/org/apache/camel/catalog/models/beanio.json | 2 +- .../META-INF/services/org/apache/camel/dataformat.properties | 2 +- .../resources/org/apache/camel/dataformat/beanio/beanio.json | 2 +- components/camel-beanio/src/main/docs/beanio-dataformat.adoc | 5 +++-- .../resources/org/apache/camel/model/dataformat/beanio.json | 2 +- .../java/org/apache/camel/model/dataformat/BeanioDataFormat.java | 1 + 7 files changed, 9 insertions(+), 7 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/beanio.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/beanio.json index 9ed3b9f..48b869e 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/beanio.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/beanio.json @@ -4,7 +4,7 @@ "name": "beanio", "title": "BeanIO", "description": "Marshal and unmarshal Java beans to and from flat files (such as CSV, delimited, or fixed length formats).", -"deprecated": false, +"deprecated": true, "firstVersion": "2.10.0", "label": "dataformat,transformation,csv", "javaType": "org.apache.camel.dataformat.beanio.BeanIODataFormat", diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/beanio.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/beanio.json index 6ceffc8..076e8f0 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/beanio.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/beanio.json @@ -4,7 +4,7 @@ "name": "beanio", "title": "BeanIO", "description": "Marshal and unmarshal Java beans to and from flat files (such as CSV, delimited, or fixed length formats).", -"deprecated": false, +"deprecated": true, "firstVersion": "2.10.0", "label": "dataformat,transformation,csv", "javaType": "org.apache.camel.model.dataformat.BeanioDataFormat", diff --git a/components/camel-beanio/src/generated/resources/META-INF/services/org/apache/camel/dataformat.properties b/components/camel-beanio/src/generated/resources/META-INF/services/org/apache/camel/dataformat.properties index aadd516..d9459ad 100644 --- a/components/camel-beanio/src/generated/resources/META-INF/services/org/apache/camel/dataformat.properties +++ b/components/camel-beanio/src/generated/resources/META-INF/services/org/apache/camel/dataformat.properties @@ -3,5 +3,5 @@ dataFormats=beanio groupId=org.apache.camel artifactId=camel-beanio version=3.15.0-SNAPSHOT -projectName=Camel :: BeanIO +projectName=Camel :: BeanIO (deprecated) projectDescription=Camel BeanIO data format support diff --git a/components/camel-beanio/src/generated/resources/org/apache/camel/dataformat/beanio/beanio.json b/components/camel-beanio/src/generated/resources/org/apache/camel/dataformat/beanio/beanio.json index 9ed3b9f..48b869e 100644 --- a/components/camel-beanio/src/generated/resources/org/apache/camel/dataformat/beanio/beanio.json +++ b/components/camel-beanio/src/generated/resources/org/apache/camel/dataformat/beanio/beanio.json @@ -4,7 +4,7 @@ "name": "beanio", "title": "BeanIO", "description": "Marshal and unmarshal Java beans to and from flat files (such as CSV, delimited, or fixed length formats).", -"deprecated": false, +"deprecated": true, "firstVersion": "2.10.0", "label": "dataformat,transformation,csv", "javaType": "org.apache.camel.dataformat.beanio.BeanIODataFormat", diff --git a/components/camel-beanio/src/main/docs/beanio-dataformat.adoc b/components/camel-beanio/src/main/docs/beanio-dataformat.adoc index 4d02b1b..30352b7 100644 --- a/components/camel-beanio/src/main/docs/beanio-dataformat.adoc +++ b/components/camel-beanio/src/main/docs/beanio-dataformat.adoc @@ -1,10 +1,11 @@ -= BeanIO DataFormat += BeanIO DataFormat (deprecated) :doctitle: BeanIO :shortname: beanio :artifactid: camel-beanio :description: Marshal and unmarshal Java beans to and from flat files (such as CSV, delimited, or fixed length formats). :since: 2.10 -:supportlevel: Stable +:supportlevel: Stable-deprecated +:deprecated: *deprecated* //Manually maintained attributes :camel-spring-boot-name: beanio diff --git a/core/camel-core-model/src/generated/resources/org/apache/camel/model/dataformat/beanio.json b/core/camel-core-model/s
[camel] 01/02: CAMEL-17354: camel-beanio - Deprecate
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 34d3d5f266a4f41d58371d323dffd7250446aa04 Author: Claus Ibsen AuthorDate: Sat Jan 8 21:00:22 2022 +0100 CAMEL-17354: camel-beanio - Deprecate --- components/camel-beanio/pom.xml | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/components/camel-beanio/pom.xml b/components/camel-beanio/pom.xml index de5f883..1284060 100644 --- a/components/camel-beanio/pom.xml +++ b/components/camel-beanio/pom.xml @@ -29,12 +29,8 @@ camel-beanio jar -Camel :: BeanIO +Camel :: BeanIO (deprecated) Camel BeanIO data format support -http://www.beanio.org - - -
[camel] 01/02: (chores) java-17: Upgrade saaj-impl to a version that supports Java modules
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit b7316e547bd5fe530f43f635f5e7a2cc10f71bcc Author: Otavio Rodolfo Piske AuthorDate: Sat Jan 8 19:02:21 2022 +0100 (chores) java-17: Upgrade saaj-impl to a version that supports Java modules --- parent/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parent/pom.xml b/parent/pom.xml index 08f0070..51ea4dd 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -4073,7 +4073,7 @@ com.sun.xml.messaging.saaj saaj-impl -1.3.28 +1.5.3 javax.xml.soap
[camel] 02/02: (chores) java-17: fixes invalid Qname
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit de757e285c96633189e41ad0fc3a28e860e4ade9 Author: Otavio Rodolfo Piske AuthorDate: Fri Jan 7 19:25:12 2022 +0100 (chores) java-17: fixes invalid Qname The local part was causing DomExceptions to be thrown due to invalid characters --- .../camel/component/spring/ws/filter/impl/BasicMessageFilterTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/camel-spring-ws/src/test/java/org/apache/camel/component/spring/ws/filter/impl/BasicMessageFilterTest.java b/components/camel-spring-ws/src/test/java/org/apache/camel/component/spring/ws/filter/impl/BasicMessageFilterTest.java index 7be90a5..b3038ad 100644 --- a/components/camel-spring-ws/src/test/java/org/apache/camel/component/spring/ws/filter/impl/BasicMessageFilterTest.java +++ b/components/camel-spring-ws/src/test/java/org/apache/camel/component/spring/ws/filter/impl/BasicMessageFilterTest.java @@ -109,7 +109,7 @@ public class BasicMessageFilterTest extends ExchangeTestSupport { @Test public void consumerWithHeader() throws Exception { exchange.getOut().getHeaders().put("headerAttributeKey", "testAttributeValue"); -exchange.getOut().getHeaders().put("headerAttributeElement", new QName("http://shouldBeInHeader";, "")); +exchange.getOut().getHeaders().put("headerAttributeElement", new QName("http://shouldBeInHeader";, "myElement")); filter.filterConsumer(exchange, message); Assertions.assertThat(message.getAttachments()).isEmpty(); @@ -124,7 +124,7 @@ public class BasicMessageFilterTest extends ExchangeTestSupport { public void producerWithHeader() throws Exception { // foo is already in the header.in from the parent ExchangeTestSupport exchange.getIn().getHeaders().put("headerAttributeKey", "testAttributeValue"); -exchange.getIn().getHeaders().put("headerAttributeElement", new QName("http://shouldBeInHeader";, "")); +exchange.getIn().getHeaders().put("headerAttributeElement", new QName("http://shouldBeInHeader";, "myElement")); filter.filterProducer(exchange, message);
[camel] branch main updated (eeb8487 -> de757e2)
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel.git. from eeb8487 CAMEL-17435: updated migration documentation to include a note about the modified/removed dependencies new b7316e5 (chores) java-17: Upgrade saaj-impl to a version that supports Java modules new de757e2 (chores) java-17: fixes invalid Qname 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/component/spring/ws/filter/impl/BasicMessageFilterTest.java | 4 ++-- parent/pom.xml| 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
[GitHub] [camel] orpiske merged pull request #6692: Java 17 test fixes for Spring
orpiske merged pull request #6692: URL: https://github.com/apache/camel/pull/6692 -- 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 (e94fae1 -> eeb8487)
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 e94fae1 CAMEL-11001: camel-salesforce: Add getting started add ba8ec22 CAMEL-17435: added support for reviewing the unused dependencies add e3d00b3 CAMEL-17435: removed javax.xml.ws:jaxws-api as a default dependency for the whole Camel project add 0ea969a CAMEL-17435: removed javax.annotation:javax.annotation-api as a default dependency for the whole Camel project add 4839e42 CAMEL-17435: removed jakarta.xml.bind:jakarta.xml.bind-api as a default dependency for the whole Camel project add d0fe461 CAMEL-17435: removed org.apache.geronimo.specs:geronimo-ws-metadata_2.0_spec as a default dependency for the whole Camel project add df096f9 CAMEL-17435: removed com.sun.xml.messaging.saaj:saaj-impl as a default dependency for the whole Camel project add 56e9df7 CAMEL-17435: removed org.apache.geronimo.specs:geronimo-jta_1.1_spec as a default dependency for the whole Camel project add 2b17c5c CAMEL-17435: removed org.glassfish.jaxb:jaxb-runtime as a default dependency for the whole Camel project add 7bcb588 CAMEL-17435: removed javax.xml.soap:javax.xml.soap-api as a default dependency for the whole Camel project add 338fe89 CAMEL-17435: removed duplicated org.apache.geronimo.specs:geronimo-jta_1.1_spec from dependency management add 8b06665 CAMEL-17435: added the moved dependencies declarations to the modules that depend on them add eeb8487 CAMEL-17435: updated migration documentation to include a note about the modified/removed dependencies No new revisions were added by this update. Summary of changes: components/camel-dozer/pom.xml | 5 + components/camel-grpc/pom.xml | 5 + components/camel-jetty/pom.xml | 5 + components/camel-jmx/pom.xml | 10 ++ components/camel-jta/pom.xml | 5 +- .../camel-microprofile-metrics/pom.xml | 6 + components/camel-netty-http/pom.xml| 5 + .../camel-salesforce-component/pom.xml | 4 + components/camel-soap/pom.xml | 9 +- components/camel-spring-redis/pom.xml | 5 + components/camel-spring-ws/pom.xml | 14 +++ components/camel-spring-xml/pom.xml| 4 + core/camel-api/pom.xml | 7 ++ core/camel-core/pom.xml| 7 ++ .../ROOT/pages/camel-3x-upgrade-guide-3_15.adoc| 17 +++ parent/pom.xml | 131 +++-- tooling/openapi-rest-dsl-generator/pom.xml | 5 + tooling/swagger-rest-dsl-generator/pom.xml | 5 + 18 files changed, 187 insertions(+), 62 deletions(-)
[camel] branch regen_bot updated (f5dfbbc -> e94fae1)
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 f5dfbbc Regen add e94fae1 CAMEL-11001: camel-salesforce: Add getting started No new revisions were added by this update. Summary of changes: .../camel-salesforce-component/README.md | 66 +- .../src/main/docs/salesforce-component.adoc| 65 ++--- 2 files changed, 34 insertions(+), 97 deletions(-)
[GitHub] [camel-kamelets] lburgazzoli commented on issue #673: Kamelet for ElasticSearch Sink provides no mechanism to set indexId or ce-indexId
lburgazzoli commented on issue #673: URL: https://github.com/apache/camel-kamelets/issues/673#issuecomment-1008088423 > > Does the Camel DSL or some subset extend to KameletBindings or is it limited to Kamelets? How much room for configuration do people have if all they want to do is blend existing Kamelets into a solution? > No, the goal of KameletBinding (which should be renamed to Binding) is to abstract the underlying engine so we do not expect to add any Camel DSL capability directly to the Binding, if you need such flexibility then you should think about using an Integration where you can use any Camel DSL. > > I see a need for a generic CloudEvent payload processor Action at some point in the future that gives the ability to read and manipulate any payload not just ones that are JSON encoded. Maybe it is limited to payloads defined with a json schema or protocol buffer or some such to make accessing the contents more predictable. It might involve introducing a block of user defined code (groovy or python script block?) added to the kameletbinding yaml that executes in some sort of sandbox. > Adding scripting capabilities is not an issue through a Kamelet is pretty simple. But I want to point you that this has almost nothing to do with CloudEvents as a CloudEventn is nothing more than an envelope that matches what in Camel is a Message (as Andrea pointed out, there is an issue about a better CliudEvent support in Camel). Camel offers already a way to manipulate Messages (of course) by using a scripting language. -- 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] orpiske opened a new pull request #6692: Java 17 test fixes for Spring
orpiske opened a new pull request #6692: URL: https://github.com/apache/camel/pull/6692 -- 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] 11/12: CAMEL-17435: added the moved dependencies declarations to the modules that depend on them
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit 8b06665856013a3b205c93f3b95dfa9acc86e85c Author: Otavio Rodolfo Piske AuthorDate: Thu Jan 6 16:39:53 2022 +0100 CAMEL-17435: added the moved dependencies declarations to the modules that depend on them --- components/camel-dozer/pom.xml | 5 + components/camel-grpc/pom.xml | 5 + components/camel-jetty/pom.xml | 5 + components/camel-jmx/pom.xml | 10 ++ components/camel-jta/pom.xml | 5 - .../camel-microprofile/camel-microprofile-metrics/pom.xml | 6 ++ components/camel-netty-http/pom.xml| 5 + .../camel-salesforce/camel-salesforce-component/pom.xml| 4 components/camel-soap/pom.xml | 9 - components/camel-spring-redis/pom.xml | 5 + components/camel-spring-ws/pom.xml | 14 ++ components/camel-spring-xml/pom.xml| 4 core/camel-api/pom.xml | 7 +++ core/camel-core/pom.xml| 7 +++ parent/pom.xml | 3 ++- tooling/openapi-rest-dsl-generator/pom.xml | 5 + tooling/swagger-rest-dsl-generator/pom.xml | 5 + 17 files changed, 101 insertions(+), 3 deletions(-) diff --git a/components/camel-dozer/pom.xml b/components/camel-dozer/pom.xml index ca87683..8781e93 100644 --- a/components/camel-dozer/pom.xml +++ b/components/camel-dozer/pom.xml @@ -79,6 +79,11 @@ camel-jackson test + +javax.annotation +javax.annotation-api +test + diff --git a/components/camel-grpc/pom.xml b/components/camel-grpc/pom.xml index 8446d7d..c678152 100644 --- a/components/camel-grpc/pom.xml +++ b/components/camel-grpc/pom.xml @@ -132,6 +132,11 @@ + +javax.annotation +javax.annotation-api +test + diff --git a/components/camel-jetty/pom.xml b/components/camel-jetty/pom.xml index 7ef48d3..6b1f33a 100644 --- a/components/camel-jetty/pom.xml +++ b/components/camel-jetty/pom.xml @@ -173,6 +173,11 @@ httpmime test + +javax.annotation +javax.annotation-api +test + org.awaitility diff --git a/components/camel-jmx/pom.xml b/components/camel-jmx/pom.xml index c060581..5a4c0e2 100644 --- a/components/camel-jmx/pom.xml +++ b/components/camel-jmx/pom.xml @@ -48,6 +48,16 @@ camel-management + +jakarta.xml.bind +jakarta.xml.bind-api + + + +com.sun.xml.bind +jaxb-impl + + org.apache.camel diff --git a/components/camel-jta/pom.xml b/components/camel-jta/pom.xml index ba41f5a..f6514f0 100644 --- a/components/camel-jta/pom.xml +++ b/components/camel-jta/pom.xml @@ -48,6 +48,9 @@ org.apache.camel camel-core-engine - + +org.apache.geronimo.specs +geronimo-jta_1.1_spec + diff --git a/components/camel-microprofile/camel-microprofile-metrics/pom.xml b/components/camel-microprofile/camel-microprofile-metrics/pom.xml index 67d3d46..2651045 100644 --- a/components/camel-microprofile/camel-microprofile-metrics/pom.xml +++ b/components/camel-microprofile/camel-microprofile-metrics/pom.xml @@ -47,6 +47,12 @@ ${microprofile-metrics-version} + +javax.annotation +javax.annotation-api +${javax-annotation-api-version} + + org.apache.camel diff --git a/components/camel-netty-http/pom.xml b/components/camel-netty-http/pom.xml index 755e4f7..6649d88 100644 --- a/components/camel-netty-http/pom.xml +++ b/components/camel-netty-http/pom.xml @@ -156,6 +156,11 @@ camel-jetty test + +javax.annotation +javax.annotation-api +test + diff --git a/components/camel-salesforce/camel-salesforce-component/pom.xml b/components/camel-salesforce/camel-salesforce-component/pom.xml index 555afba..69c2908 100644 --- a/components/camel-salesforce/camel-salesforce-component/pom.xml +++ b/components/camel-salesforce/camel-salesforce-component/pom.xml @@ -132,6 +132,10 @@ commons-lang3 ${commons-lang3-version} +
[camel] 08/12: CAMEL-17435: removed org.glassfish.jaxb:jaxb-runtime as a default dependency for the whole Camel project
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit 2b17c5c0ca79fea94d97c6dce2d35be6c6f27772 Author: Otavio Rodolfo Piske AuthorDate: Thu Jan 6 14:10:32 2022 +0100 CAMEL-17435: removed org.glassfish.jaxb:jaxb-runtime as a default dependency for the whole Camel project --- parent/pom.xml | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/parent/pom.xml b/parent/pom.xml index fb06464..36b688c 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -4089,15 +4089,17 @@ org.apache.geronimo.specs geronimo-jta_1.1_spec + + +org.glassfish.jaxb +jaxb-runtime +${glassfish-jaxb-runtime-version} + - -org.glassfish.jaxb -jaxb-runtime -${glassfish-jaxb-runtime-version} - + javax.xml.soap javax.xml.soap-api
[camel] 12/12: CAMEL-17435: updated migration documentation to include a note about the modified/removed dependencies
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit eeb84877429aa3a8ca970f6646ce355bde1403bc Author: Otavio Rodolfo Piske AuthorDate: Fri Jan 7 15:54:47 2022 +0100 CAMEL-17435: updated migration documentation to include a note about the modified/removed dependencies --- .../modules/ROOT/pages/camel-3x-upgrade-guide-3_15.adoc | 17 + 1 file changed, 17 insertions(+) diff --git a/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_15.adoc b/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_15.adoc index 011e4d2..1a59ecb 100644 --- a/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_15.adoc +++ b/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_15.adoc @@ -16,6 +16,23 @@ The `camel-kamelet-reify` has been removed. Added `getScheme` method to `org.apache.camel.spi.Resource`. + +=== Core Dependency changes + +As part of CAMEL-17429 and CAMEL-17435, the following dependencies are no longer included by default on all of the Camel modules: + + * com.sun.xml.messaging.saaj:saaj-impl + * jakarta.xml.bind:jakarta.xml.bind-api + * javax.annotation:javax.annotation-api + * javax.xml.soap:javax.xml.soap-api + * javax.xml.ws:jaxws-api + * org.apache.geronimo.specs:geronimo-jta_1.1_spec + * org.apache.geronimo.specs:geronimo-ws-metadata_2.0_spec + * org.glassfish.jaxb:jaxb-runtime + +These dependencies were included on the specific modules and components that required them on a per case basis. + Applications with dependency on any of those, but using them transitively, should be modified to include them. + === camel-core Removed the deprecated `Classic` value from `startupSummaryLevel` enums.
[camel] 09/12: CAMEL-17435: removed javax.xml.soap:javax.xml.soap-api as a default dependency for the whole Camel project
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit 7bcb5882b9e42f22eec36795fd13957f7ff99209 Author: Otavio Rodolfo Piske AuthorDate: Thu Jan 6 14:26:43 2022 +0100 CAMEL-17435: removed javax.xml.soap:javax.xml.soap-api as a default dependency for the whole Camel project --- parent/pom.xml | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/parent/pom.xml b/parent/pom.xml index 36b688c..e056ec7 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -289,6 +289,7 @@ 2.1.5 3.0.3 2.3.3 +1.4.0 1.0.4 2.3.3 2.5.0 @@ -4095,18 +4096,15 @@ jaxb-runtime ${glassfish-jaxb-runtime-version} + + +javax.xml.soap +javax.xml.soap-api +${javax-soap-api-version} + - - - -javax.xml.soap -javax.xml.soap-api -1.4.0 - - - install
[camel] 10/12: CAMEL-17435: removed duplicated org.apache.geronimo.specs:geronimo-jta_1.1_spec from dependency management
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit 338fe899d6370e10f050e8698446955246ce6c87 Author: Otavio Rodolfo Piske AuthorDate: Thu Jan 6 14:30:04 2022 +0100 CAMEL-17435: removed duplicated org.apache.geronimo.specs:geronimo-jta_1.1_spec from dependency management --- parent/pom.xml | 5 - 1 file changed, 5 deletions(-) diff --git a/parent/pom.xml b/parent/pom.xml index e056ec7..153fc0b 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -4087,11 +4087,6 @@ -org.apache.geronimo.specs -geronimo-jta_1.1_spec - - - org.glassfish.jaxb jaxb-runtime ${glassfish-jaxb-runtime-version}
[camel] 06/12: CAMEL-17435: removed com.sun.xml.messaging.saaj:saaj-impl as a default dependency for the whole Camel project
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit df096f9aad84fe5a1d8f9cb891d47433aa93bfff Author: Otavio Rodolfo Piske AuthorDate: Thu Jan 6 14:04:21 2022 +0100 CAMEL-17435: removed com.sun.xml.messaging.saaj:saaj-impl as a default dependency for the whole Camel project --- parent/pom.xml | 34 +- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/parent/pom.xml b/parent/pom.xml index bb2f8eb..e98af99 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -4067,27 +4067,27 @@ geronimo-ws-metadata_2.0_spec ${geronimo-ws-metadata-spec-version} + + +com.sun.xml.messaging.saaj +saaj-impl +1.3.28 + + +javax.xml.soap +javax.xml.soap-api + + + +org.jvnet.staxex +stax-ex + + + - - -com.sun.xml.messaging.saaj -saaj-impl -1.3.28 - - -javax.xml.soap -javax.xml.soap-api - - - -org.jvnet.staxex -stax-ex - - - org.apache.geronimo.specs geronimo-jta_1.1_spec
[camel] 03/12: CAMEL-17435: removed javax.annotation:javax.annotation-api as a default dependency for the whole Camel project
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit 0ea969a7344fb9493b26d9f25a985369219e603e Author: Otavio Rodolfo Piske AuthorDate: Thu Jan 6 13:56:48 2022 +0100 CAMEL-17435: removed javax.annotation:javax.annotation-api as a default dependency for the whole Camel project --- parent/pom.xml | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/parent/pom.xml b/parent/pom.xml index 701a0b0..af050df 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -4049,15 +4049,17 @@ + + +javax.annotation +javax.annotation-api +${javax-annotation-api-version} + - -javax.annotation -javax.annotation-api -${javax-annotation-api-version} - + jakarta.xml.bind
[camel] 07/12: CAMEL-17435: removed org.apache.geronimo.specs:geronimo-jta_1.1_spec as a default dependency for the whole Camel project
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit 56e9df79958c69898789315202fe76314b2d692a Author: Otavio Rodolfo Piske AuthorDate: Thu Jan 6 14:06:39 2022 +0100 CAMEL-17435: removed org.apache.geronimo.specs:geronimo-jta_1.1_spec as a default dependency for the whole Camel project --- parent/pom.xml | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/parent/pom.xml b/parent/pom.xml index e98af99..fb06464 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -4084,15 +4084,16 @@ + + +org.apache.geronimo.specs +geronimo-jta_1.1_spec + -org.apache.geronimo.specs -geronimo-jta_1.1_spec - - org.glassfish.jaxb jaxb-runtime ${glassfish-jaxb-runtime-version}
[camel] 05/12: CAMEL-17435: removed org.apache.geronimo.specs:geronimo-ws-metadata_2.0_spec as a default dependency for the whole Camel project
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit d0fe46185bf3c1776d3541089ed0f6252f6b2726 Author: Otavio Rodolfo Piske AuthorDate: Thu Jan 6 14:01:35 2022 +0100 CAMEL-17435: removed org.apache.geronimo.specs:geronimo-ws-metadata_2.0_spec as a default dependency for the whole Camel project --- parent/pom.xml | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/parent/pom.xml b/parent/pom.xml index dd1a52e..bb2f8eb 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -4061,15 +4061,17 @@ jakarta.xml.bind-api ${jakarta-jaxb-version} + + +org.apache.geronimo.specs +geronimo-ws-metadata_2.0_spec +${geronimo-ws-metadata-spec-version} + - -org.apache.geronimo.specs -geronimo-ws-metadata_2.0_spec -${geronimo-ws-metadata-spec-version} - + com.sun.xml.messaging.saaj saaj-impl
[camel] 04/12: CAMEL-17435: removed jakarta.xml.bind:jakarta.xml.bind-api as a default dependency for the whole Camel project
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit 4839e429382a9c08fcd48e44e8ff72e28b1ec2b2 Author: Otavio Rodolfo Piske AuthorDate: Thu Jan 6 13:59:25 2022 +0100 CAMEL-17435: removed jakarta.xml.bind:jakarta.xml.bind-api as a default dependency for the whole Camel project --- parent/pom.xml | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/parent/pom.xml b/parent/pom.xml index af050df..dd1a52e 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -4055,18 +4055,16 @@ javax.annotation-api ${javax-annotation-api-version} + + +jakarta.xml.bind +jakarta.xml.bind-api +${jakarta-jaxb-version} + - - - -jakarta.xml.bind -jakarta.xml.bind-api -${jakarta-jaxb-version} - - org.apache.geronimo.specs geronimo-ws-metadata_2.0_spec
[camel] 02/12: CAMEL-17435: removed javax.xml.ws:jaxws-api as a default dependency for the whole Camel project
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit e3d00b394f735c23cf649ab2495fa621daad5290 Author: Otavio Rodolfo Piske AuthorDate: Thu Jan 6 13:52:15 2022 +0100 CAMEL-17435: removed javax.xml.ws:jaxws-api as a default dependency for the whole Camel project --- parent/pom.xml | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/parent/pom.xml b/parent/pom.xml index 763ba56..701a0b0 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -4037,6 +4037,18 @@ import + + +javax.xml.ws +jaxws-api +2.3.0 + + +javax.xml.bind +jaxb-api + + + @@ -4048,18 +4060,6 @@ -javax.xml.ws -jaxws-api -2.3.0 - - -javax.xml.bind -jaxb-api - - - - - jakarta.xml.bind jakarta.xml.bind-api ${jakarta-jaxb-version}
[camel] 01/12: CAMEL-17435: added support for reviewing the unused dependencies
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit ba8ec2230c9dfe2be54d2e1f12f6341578cd5b00 Author: Otavio Rodolfo Piske AuthorDate: Thu Jan 6 13:45:21 2022 +0100 CAMEL-17435: added support for reviewing the unused dependencies --- parent/pom.xml | 12 1 file changed, 12 insertions(+) diff --git a/parent/pom.xml b/parent/pom.xml index c8b6b42..763ba56 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -4810,6 +4810,18 @@ +dependencyReview + + + +org.apache.maven.plugins +maven-dependency-plugin + + + + + + errorprone
[camel] branch main updated (e94fae1 -> eeb8487)
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel.git. from e94fae1 CAMEL-11001: camel-salesforce: Add getting started new ba8ec22 CAMEL-17435: added support for reviewing the unused dependencies new e3d00b3 CAMEL-17435: removed javax.xml.ws:jaxws-api as a default dependency for the whole Camel project new 0ea969a CAMEL-17435: removed javax.annotation:javax.annotation-api as a default dependency for the whole Camel project new 4839e42 CAMEL-17435: removed jakarta.xml.bind:jakarta.xml.bind-api as a default dependency for the whole Camel project new d0fe461 CAMEL-17435: removed org.apache.geronimo.specs:geronimo-ws-metadata_2.0_spec as a default dependency for the whole Camel project new df096f9 CAMEL-17435: removed com.sun.xml.messaging.saaj:saaj-impl as a default dependency for the whole Camel project new 56e9df7 CAMEL-17435: removed org.apache.geronimo.specs:geronimo-jta_1.1_spec as a default dependency for the whole Camel project new 2b17c5c CAMEL-17435: removed org.glassfish.jaxb:jaxb-runtime as a default dependency for the whole Camel project new 7bcb588 CAMEL-17435: removed javax.xml.soap:javax.xml.soap-api as a default dependency for the whole Camel project new 338fe89 CAMEL-17435: removed duplicated org.apache.geronimo.specs:geronimo-jta_1.1_spec from dependency management new 8b06665 CAMEL-17435: added the moved dependencies declarations to the modules that depend on them new eeb8487 CAMEL-17435: updated migration documentation to include a note about the modified/removed dependencies The 12 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/camel-dozer/pom.xml | 5 + components/camel-grpc/pom.xml | 5 + components/camel-jetty/pom.xml | 5 + components/camel-jmx/pom.xml | 10 ++ components/camel-jta/pom.xml | 5 +- .../camel-microprofile-metrics/pom.xml | 6 + components/camel-netty-http/pom.xml| 5 + .../camel-salesforce-component/pom.xml | 4 + components/camel-soap/pom.xml | 9 +- components/camel-spring-redis/pom.xml | 5 + components/camel-spring-ws/pom.xml | 14 +++ components/camel-spring-xml/pom.xml| 4 + core/camel-api/pom.xml | 7 ++ core/camel-core/pom.xml| 7 ++ .../ROOT/pages/camel-3x-upgrade-guide-3_15.adoc| 17 +++ parent/pom.xml | 131 +++-- tooling/openapi-rest-dsl-generator/pom.xml | 5 + tooling/swagger-rest-dsl-generator/pom.xml | 5 + 18 files changed, 187 insertions(+), 62 deletions(-)
[GitHub] [camel] orpiske merged pull request #6669: CAMEL-17435: dependency cleanup
orpiske merged pull request #6669: URL: https://github.com/apache/camel/pull/6669 -- 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-11001: camel-salesforce: Add getting started
This is an automated email from the ASF dual-hosted git repository. jeremyross 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 e94fae1 CAMEL-11001: camel-salesforce: Add getting started e94fae1 is described below commit e94fae17fee1be571cc9d74a9ad1cf1ffcdd8e3b Author: Jeremy Ross AuthorDate: Sat Jan 8 11:34:04 2022 -0600 CAMEL-11001: camel-salesforce: Add getting started Also remove redundant information in README.md that's already in the component doc. --- .../camel-salesforce-component/README.md | 66 +- .../src/main/docs/salesforce-component.adoc| 65 ++--- 2 files changed, 34 insertions(+), 97 deletions(-) diff --git a/components/camel-salesforce/camel-salesforce-component/README.md b/components/camel-salesforce/camel-salesforce-component/README.md index 3409020..c158667 100644 --- a/components/camel-salesforce/camel-salesforce-component/README.md +++ b/components/camel-salesforce/camel-salesforce-component/README.md @@ -1,71 +1,7 @@ # Camel Salesforce component # This component supports producer and consumer endpoints to communicate with Salesforce using Java DTOs. -There is a companion maven plugin [camel-salesforce-plugin](https://github.com/apache/camel/tree/main/components/camel-salesforce/camel-salesforce-maven-plugin) that generates these DTOs. - -The component supports the following Salesforce APIs - -## REST API ## - -Producer endpoints can use the following APIs. Most of the APIs process one record at a time, the Query API can retrieve multiple Records. - -* getVersions - Gets supported Salesforce REST API versions -* getResources - Gets available Salesforce REST Resource endpoints -* getGlobalObjects - Gets metadata for all available SObject types -* getBasicInfo - Gets basic metadata for a specific SObject type -* getDescription - Gets comprehensive metadata for a specific SObject type -* getSObject - Gets an SObject using its Salesforce Id -* createSObject - Creates an SObject -* updateSObject - Updates an SObject using Id -* deleteSObject - Deletes an SObject using Id -* getSObjectWithId - Gets an SObject using an external (user defined) id field -* upsertSObject - Updates or inserts an SObject using an external id -* deleteSObjectWithId - Deletes an SObject using an external id -* query - Runs a Salesforce SOQL query -* queryMore - Retrieves more results (in case of large number of results) using result link returned from the 'query' API -* search - Runs a Salesforce SOSL query - -For example, the following producer endpoint uses the upsertSObject API, with the sObjectIdName parameter specifying 'Name' as the external id field. -The request message body should be an SObject DTO generated using the maven plugin. -The response message will either be NULL if an existing record was updated, or [CreateSObjectResult] with an id of the new record, or a list of errors while creating the new object. - - ...to("salesforce:upsertSObject?sObjectIdName=Name")... - -## Bulk API ## - -Producer endpoints can use the following APIs. All Job data formats, i.e. xml, csv, zip/xml, and zip/csv are supported. -The request and response have to be marshalled/unmarshalled by the route. Usually the request will be some stream source like a CSV file, -and the response may also be saved to a file to be correlated with the request. - -* createJob - Creates a Salesforce Bulk Job -* getJob - Gets a Job using its Salesforce Id -* closeJob - Closes a Job -* abortJob - Aborts a Job -* createBatch - Submits a Batch within a Bulk Job -* getBatch - Gets a Batch using Id -* getAllBatches - Gets all Batches for a Bulk Job Id -* getRequest - Gets Request data (XML/CSV) for a Batch -* getResults - Gets the results of the Batch when its complete -* createBatchQuery - Creates a Batch from an SOQL query -* getQueryResultIds - Gets a list of Result Ids for a Batch Query -* getQueryResult - Gets results for a Result Id - -For example, the following producer endpoint uses the createBatch API to create a Job Batch. -The in message must contain a body that can be converted into an InputStream (usually UTF-8 CSV or XML content from a file, etc.) and header fields 'jobId' for the Job and 'contentType' for the Job content type, which can be XML, CSV, ZIP\_XML or ZIP\_CSV. The put message body will contain [BatchInfo] on success, or throw a [SalesforceException] on error. - - ...to("salesforce:createBatchJob").. - -## Streaming API ## - -Consumer endpoints can use the following syntax for streaming endpoints to receive Salesforce notifications on create/update. - -To create and subscribe to a topic - - from("salesforce:CamelTestTopic?notifyForFields=ALL¬ifyForOperations=ALL&sObjectName=Merchandise__c&updateTopic=true&sObjectQuery=SELECT Id, Name FROM Merchandise__c")... - -To subscribe to an
[camel] branch regen_bot updated (19a7b3f -> f5dfbbc)
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 19a7b3f (chores) Avoid re-running the checkstyle checks twice add c11bab3 CAMEL-17455: camel-core - RouteBuilder deprecate endpoint methods as they resolve endpoint to eager add 018cf22 CAMEL-17451: caml-kamelet - Line numbers missing for sink kamelets add f5dfbbc Regen No new revisions were added by this update. Summary of changes: .../apache/camel/component/kamelet/Kamelet.java| 11 ++--- .../org/apache/camel/builder/BuilderSupport.java | 27 ++ 2 files changed, 25 insertions(+), 13 deletions(-)
[camel] branch main updated: 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 The following commit(s) were added to refs/heads/main by this push: new f5dfbbc Regen f5dfbbc is described below commit f5dfbbc87877cd235057c77661485cf0951c502a Author: Claus Ibsen AuthorDate: Sat Jan 8 17:18:36 2022 +0100 Regen --- .../org/apache/camel/builder/BuilderSupport.java | 26 +++--- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/core/camel-core-model/src/main/java/org/apache/camel/builder/BuilderSupport.java b/core/camel-core-model/src/main/java/org/apache/camel/builder/BuilderSupport.java index d89de0d..a317a8e 100644 --- a/core/camel-core-model/src/main/java/org/apache/camel/builder/BuilderSupport.java +++ b/core/camel-core-model/src/main/java/org/apache/camel/builder/BuilderSupport.java @@ -347,10 +347,10 @@ public abstract class BuilderSupport implements CamelContextAware { /** * Resolves the given URI to an endpoint * - * @param uri the uri to resolve - * @throws NoSuchEndpointException if the endpoint URI could not be resolved - * @return the endpoint - * @deprecated use {@link CamelContext#getEndpoint(String)} instead + * @param uri the uri to resolve + * @throws NoSuchEndpointException if the endpoint URI could not be resolved + * @return the endpoint + * @deprecated use {@link CamelContext#getEndpoint(String)} instead */ @Deprecated public Endpoint endpoint(String uri) throws NoSuchEndpointException { @@ -365,11 +365,11 @@ public abstract class BuilderSupport implements CamelContextAware { /** * Resolves the given URI to an endpoint of the specified type * - * @param uri the uri to resolve - * @param typethe excepted type of the endpoint - * @throws NoSuchEndpointException if the endpoint URI could not be resolved - * @return the endpoint - * @deprecated use {@link CamelContext#getEndpoint(String, Class)} instead + * @param uri the uri to resolve + * @param typethe excepted type of the endpoint + * @throws NoSuchEndpointException if the endpoint URI could not be resolved + * @return the endpoint + * @deprecated use {@link CamelContext#getEndpoint(String, Class)} instead */ @Deprecated public T endpoint(String uri, Class type) throws NoSuchEndpointException { @@ -384,10 +384,10 @@ public abstract class BuilderSupport implements CamelContextAware { /** * Resolves the list of URIs into a list of {@link Endpoint} instances * - * @param urislist of endpoints to resolve - * @throws NoSuchEndpointException if an endpoint URI could not be resolved - * @return list of endpoints - * @deprecated use {@link CamelContext#getEndpoint(String)} instead + * @param urislist of endpoints to resolve + * @throws NoSuchEndpointException if an endpoint URI could not be resolved + * @return list of endpoints + * @deprecated use {@link CamelContext#getEndpoint(String)} instead */ @Deprecated public List endpoints(String... uris) throws NoSuchEndpointException {
[camel] branch main updated (c11bab3 -> 018cf22)
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 c11bab3 CAMEL-17455: camel-core - RouteBuilder deprecate endpoint methods as they resolve endpoint to eager add 018cf22 CAMEL-17451: caml-kamelet - Line numbers missing for sink kamelets No new revisions were added by this update. Summary of changes: .../main/java/org/apache/camel/component/kamelet/Kamelet.java | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-)
[camel] branch main updated: CAMEL-17455: camel-core - RouteBuilder deprecate endpoint methods as they resolve endpoint to eager
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 c11bab3 CAMEL-17455: camel-core - RouteBuilder deprecate endpoint methods as they resolve endpoint to eager c11bab3 is described below commit c11bab35c8b14df96086786cb8afab4376b9d0f5 Author: Claus Ibsen AuthorDate: Sat Jan 8 16:38:19 2022 +0100 CAMEL-17455: camel-core - RouteBuilder deprecate endpoint methods as they resolve endpoint to eager --- .../src/main/java/org/apache/camel/builder/BuilderSupport.java | 7 +++ 1 file changed, 7 insertions(+) diff --git a/core/camel-core-model/src/main/java/org/apache/camel/builder/BuilderSupport.java b/core/camel-core-model/src/main/java/org/apache/camel/builder/BuilderSupport.java index 91244f0..d89de0d 100644 --- a/core/camel-core-model/src/main/java/org/apache/camel/builder/BuilderSupport.java +++ b/core/camel-core-model/src/main/java/org/apache/camel/builder/BuilderSupport.java @@ -350,7 +350,9 @@ public abstract class BuilderSupport implements CamelContextAware { * @param uri the uri to resolve * @throws NoSuchEndpointException if the endpoint URI could not be resolved * @return the endpoint + * @deprecated use {@link CamelContext#getEndpoint(String)} instead */ +@Deprecated public Endpoint endpoint(String uri) throws NoSuchEndpointException { ObjectHelper.notNull(uri, "uri"); Endpoint endpoint = getContext().getEndpoint(uri); @@ -367,7 +369,9 @@ public abstract class BuilderSupport implements CamelContextAware { * @param typethe excepted type of the endpoint * @throws NoSuchEndpointException if the endpoint URI could not be resolved * @return the endpoint + * @deprecated use {@link CamelContext#getEndpoint(String, Class)} instead */ +@Deprecated public T endpoint(String uri, Class type) throws NoSuchEndpointException { ObjectHelper.notNull(uri, "uri"); T endpoint = getContext().getEndpoint(uri, type); @@ -383,7 +387,9 @@ public abstract class BuilderSupport implements CamelContextAware { * @param urislist of endpoints to resolve * @throws NoSuchEndpointException if an endpoint URI could not be resolved * @return list of endpoints + * @deprecated use {@link CamelContext#getEndpoint(String)} instead */ +@Deprecated public List endpoints(String... uris) throws NoSuchEndpointException { List endpoints = new ArrayList<>(); for (String uri : uris) { @@ -398,6 +404,7 @@ public abstract class BuilderSupport implements CamelContextAware { * @param endpoints endpoints * @return list of the given endpoints */ +@Deprecated public List endpoints(Endpoint... endpoints) { List answer = new ArrayList<>(); answer.addAll(Arrays.asList(endpoints));
[GitHub] [camel-kamelets] oscerd commented on pull request #681: Extract Field Action: Make it possible to set if the extracted field should be in the body or in a particular header
oscerd commented on pull request #681: URL: https://github.com/apache/camel-kamelets/pull/681#issuecomment-1008016738 I found some time to answer now with a bit more lucidity than yesterday. I answered on the issue related to ES Index Sink Kamelet. Hope this clarifies some stuff, but lets continue the discussion there. Cheers. -- 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 (233477f -> 7f09768)
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 233477f Regen for commit 92373036160fb239d4d8f8211086a777a0d36b25 add 7f09768 Regen for commit 92373036160fb239d4d8f8211086a777a0d36b25 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 (233477f) \ N -- N -- N refs/heads/regen_bot (7f09768) 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 #687: Generated sources regen
oscerd merged pull request #687: URL: https://github.com/apache/camel-kamelets/pull/687 -- 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: Regen for commit 92373036160fb239d4d8f8211086a777a0d36b25
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 7f09768 Regen for commit 92373036160fb239d4d8f8211086a777a0d36b25 7f09768 is described below commit 7f0976870b8f2ae94d99159ed90071a03b2ad0d1 Author: oscerd AuthorDate: Sat Jan 8 14:45:08 2022 + Regen for commit 92373036160fb239d4d8f8211086a777a0d36b25 Signed-off-by: GitHub --- .../src/main/resources/kamelets/extract-field-action.kamelet.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/camel-kamelets/src/main/resources/kamelets/extract-field-action.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/extract-field-action.kamelet.yaml index 06daa2f..416bcb3 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/extract-field-action.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/extract-field-action.kamelet.yaml @@ -34,7 +34,7 @@ spec: The extract field action expects an application/json content type. - The field parameter allows to specify which field of the json the user wants to extract. By default the message body will be overriden with the extracted field. + The field parameter allows you to specify which field of the json the user wants to extract. By default the message body will be overriden with the extracted field. The optional parameter headerOutput allows the user to specify wheter the extracted field should be stored in a message header named 'CamelKameletsExtractFieldName', leaving the message body untouched.
[GitHub] [camel-kamelets] oscerd commented on issue #673: Kamelet for ElasticSearch Sink provides no mechanism to set indexId or ce-indexId
oscerd commented on issue #673: URL: https://github.com/apache/camel-kamelets/issues/673#issuecomment-1008015965 > @oscerd Thanks for all of the effort, I think this mod adds a huge amount of capability. > > But lots of questions and some suggestions: > > I'm curious about what it implies to use "Simple" and not Constant for the value parameter binding. This would be very handy in the docs. At a high level, I think it allows for strings with embedded expansions "${some_variable}" but that's just an assumption on my part. Could you add into the documentation what variables we have access to in this expansion and their types (Map, Array, Object, etc.) , e.g. `header` as in "${header[ce-source]}", "${header.ce-source}". > You could have an idea of how simple works and what is supported from here: https://camel.apache.org/components/3.14.x/languages/simple-language.html I can add a link in the description about simple language and maybe add some examples somewhere. Yeah. > I see a potential problem down the road with using a single fixed header (CamelKameletsExtractFieldName). What happens when I need to extract more than one thing to be placed in the header? > For the header name it makes sense, need to think about a possibile good way of sanitizing. I'd probably also make the sanitize logic optional, like having headerExistenceCheck true or false. Not sure. I think you're meaning to concatenate more extract-field-action steps and then concatenate the headers when you've done in a new header to use down the route. In that case, yes, it's not a good design what I've done, because you'll end up to have the same header overriden. Ok, I'll check this scenario too. > Could you do something like this? Note the "field" as well as alternate use of "headerOutput". If we know the payload is JSON, then "field" needs to be interpreted to identify any entry in that json. Ideally this would use a common syntax such as that used by [JQ](https://stedolan.github.io/jq/) > > B.T.W. what happens if the thing requested in "field" is not a simple type (string, boolean, number)? Well, if you have something like a complex type, what you'll get will always be a JSON (just a subset of the original one), with that, you could for example use deserialize-action and transform the JSON into a POJO instance. But in the original design, what is going through actions is always a JSON. By the way maybe adding some examples will be better. > > ``` > - route: > from: > uri: "kamelet:kafka-source" > ... > steps: > - to: > uri: "kamelet:extract-field-action" > parameters: > field: "endUser[3].familyName" > headerOutput: "FAMILY_NAME" > - to: > uri: "kamelet:extract-field-action" > parameters: > field: "endUser[3].givenName" > headerOutput: "GIVEN_NAME" > - to: > uri: "kamelet:insert-header-action" > parameters: > name: "ce-indexId" > value: "${header.FAMILY_NAME}_${header.GIVEN_NAME}" > or > value: "${header[FAMILY_NAME]}_${header[GIVEN_NAME]}" > - to: > uri: "kamelet:elasticsearch-index-sink" > ... > ``` > > If my understanding of "Simple" is correct, then in a **KameletBinding** one could establish the headerOutputs in steps A and B and then combine the headers in a subsequent step C as per `value: "${header.FAMILY_NAME}_${header.GIVEN_NAME}"`. Am I understanding the intent properly? Yes, you could do something like that, but first we need to sanitize the headerName in some way. > > Does the Camel DSL or some subset extend to KameletBindings or is it limited to Kamelets? How much room for configuration do people have if all they want to do is blend existing Kamelets into a solution? > In the beginning Kamelet were only part of camel-k, so you could use the kameletBinding as part of a camel-k integration. Later we started to support Kamelet as a plain Camel component and you could do something like from(kamelet:aws-s3).to(kamelet:kafka-sink) even outside camel-k and cloud. Later we added the support of kamelet into a Jbang extension, still experimental. So you can use both camel-k, through KameletBinding yaml or you can use camel-kamelet-main through a Camel yaml route using the camel-kamelet component or you could even use the camel-jbang extension for a fast feedback about the yaml route based on kamelets from catalog you're using. But this needs to be defined in the documentation of catalog, camel-kamelets, camel-kamelet-main and camel-jbang a bit better. > SPECULATION: I see a need for a generic CloudEvent payload processor Action at some point in the future that give
[GitHub] [camel-kamelets] github-actions[bot] opened a new pull request #687: Generated sources regen
github-actions[bot] opened a new pull request #687: URL: https://github.com/apache/camel-kamelets/pull/687 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 (d6c7477 -> 233477f)
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 d6c7477 Regen for commit bcc88a39673b18c5b7a3300be7f86e64e56e6a8d add 6bb2ec0 Extract Field Action: Fixed description thank to Reginald Carey add 9237303 Regen for commit bcc88a39673b18c5b7a3300be7f86e64e56e6a8d add 233477f Regen for commit 92373036160fb239d4d8f8211086a777a0d36b25 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 (d6c7477) \ N -- N -- N refs/heads/regen_bot (233477f) 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: kamelets/extract-field-action.kamelet.yaml | 2 +- .../src/main/resources/kamelets/extract-field-action.kamelet.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
[GitHub] [camel-kamelets] oscerd merged pull request #686: Generated sources regen
oscerd merged pull request #686: URL: https://github.com/apache/camel-kamelets/pull/686 -- 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: Regen for commit bcc88a39673b18c5b7a3300be7f86e64e56e6a8d
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 9237303 Regen for commit bcc88a39673b18c5b7a3300be7f86e64e56e6a8d 9237303 is described below commit 92373036160fb239d4d8f8211086a777a0d36b25 Author: oscerd AuthorDate: Sat Jan 8 14:44:13 2022 + Regen for commit bcc88a39673b18c5b7a3300be7f86e64e56e6a8d Signed-off-by: GitHub --- .../src/main/resources/kamelets/extract-field-action.kamelet.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/camel-kamelets/src/main/resources/kamelets/extract-field-action.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/extract-field-action.kamelet.yaml index 33d4e23..06daa2f 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/extract-field-action.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/extract-field-action.kamelet.yaml @@ -32,7 +32,7 @@ spec: description: |- Extract a field from the message body. - The extract field action expected an application/json content type. + The extract field action expects an application/json content type. The field parameter allows to specify which field of the json the user wants to extract. By default the message body will be overriden with the extracted field.
[camel-kamelets] branch main updated: Extract Field Action: Fixed description thank to Reginald Carey
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 6bb2ec0 Extract Field Action: Fixed description thank to Reginald Carey 6bb2ec0 is described below commit 6bb2ec0d8aeb4eb639454c0ad650233103d00702 Author: Andrea Cosentino AuthorDate: Sat Jan 8 15:44:18 2022 +0100 Extract Field Action: Fixed description thank to Reginald Carey --- kamelets/extract-field-action.kamelet.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kamelets/extract-field-action.kamelet.yaml b/kamelets/extract-field-action.kamelet.yaml index 06daa2f..416bcb3 100644 --- a/kamelets/extract-field-action.kamelet.yaml +++ b/kamelets/extract-field-action.kamelet.yaml @@ -34,7 +34,7 @@ spec: The extract field action expects an application/json content type. - The field parameter allows to specify which field of the json the user wants to extract. By default the message body will be overriden with the extracted field. + The field parameter allows you to specify which field of the json the user wants to extract. By default the message body will be overriden with the extracted field. The optional parameter headerOutput allows the user to specify wheter the extracted field should be stored in a message header named 'CamelKameletsExtractFieldName', leaving the message body untouched.
[camel-kamelets] branch regen_bot updated (4010c71 -> d6c7477)
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 4010c71 Add link to Kamelets user guide add bcc88a3 Extract Field Action: Fixed description thank to Reginald Carey add d6c7477 Regen for commit bcc88a39673b18c5b7a3300be7f86e64e56e6a8d No new revisions were added by this update. Summary of changes: kamelets/extract-field-action.kamelet.yaml | 2 +- .../src/main/resources/kamelets/extract-field-action.kamelet.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
[GitHub] [camel-kamelets] github-actions[bot] opened a new pull request #686: Generated sources regen
github-actions[bot] opened a new pull request #686: URL: https://github.com/apache/camel-kamelets/pull/686 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 main updated: Extract Field Action: Fixed description thank to Reginald Carey
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 bcc88a3 Extract Field Action: Fixed description thank to Reginald Carey bcc88a3 is described below commit bcc88a39673b18c5b7a3300be7f86e64e56e6a8d Author: Andrea Cosentino AuthorDate: Sat Jan 8 15:43:40 2022 +0100 Extract Field Action: Fixed description thank to Reginald Carey --- kamelets/extract-field-action.kamelet.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kamelets/extract-field-action.kamelet.yaml b/kamelets/extract-field-action.kamelet.yaml index 33d4e23..06daa2f 100644 --- a/kamelets/extract-field-action.kamelet.yaml +++ b/kamelets/extract-field-action.kamelet.yaml @@ -32,7 +32,7 @@ spec: description: |- Extract a field from the message body. - The extract field action expected an application/json content type. + The extract field action expects an application/json content type. The field parameter allows to specify which field of the json the user wants to extract. By default the message body will be overriden with the extracted field.
[camel] branch regen_bot updated (4007b74 -> 19a7b3f)
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 4007b74 CAMEL-17437: deadLetterChannel should not eager resolve endpoint from uri in Java DSL. add 19a7b3f (chores) Avoid re-running the checkstyle checks twice No new revisions were added by this update. Summary of changes: .github/workflows/master-pr-build.yml | 2 +- Jenkinsfile | 2 +- Jenkinsfile.jdk17 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
[camel] branch main updated: (chores) Avoid re-running the checkstyle checks twice
This is an automated email from the ASF dual-hosted git repository. orpiske 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 19a7b3f (chores) Avoid re-running the checkstyle checks twice 19a7b3f is described below commit 19a7b3faf7551a7e5ab36017e33690b06df1692b Author: Otavio Rodolfo Piske AuthorDate: Sat Jan 8 14:28:06 2022 +0100 (chores) Avoid re-running the checkstyle checks twice --- .github/workflows/master-pr-build.yml | 2 +- Jenkinsfile | 2 +- Jenkinsfile.jdk17 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/master-pr-build.yml b/.github/workflows/master-pr-build.yml index b7ef1ee..666d65c 100644 --- a/.github/workflows/master-pr-build.yml +++ b/.github/workflows/master-pr-build.yml @@ -60,4 +60,4 @@ jobs: key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} restore-keys: ${{ runner.os }}-m2 - name: maven build -run: ./mvnw -V -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 --no-transfer-progress -Psourcecheck -DskipTests install +run: ./mvnw -V -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 --no-transfer-progress -Psourcecheck -DskipTests -Dcheckstyle.skip=true install diff --git a/Jenkinsfile b/Jenkinsfile index b8d6716..1489f12 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -83,7 +83,7 @@ pipeline { stage('Test') { steps { -sh "./mvnw $MAVEN_PARAMS -Dmaven.test.failure.ignore=true verify" +sh "./mvnw $MAVEN_PARAMS -Dmaven.test.failure.ignore=true -Dcheckstyle.skip=true verify" } post { always { diff --git a/Jenkinsfile.jdk17 b/Jenkinsfile.jdk17 index 6c07a28..a2dd9a8 100644 --- a/Jenkinsfile.jdk17 +++ b/Jenkinsfile.jdk17 @@ -75,7 +75,7 @@ pipeline { stage('Test') { steps { -sh "./mvnw $MAVEN_PARAMS -Darchetype.test.skip -Dmaven.test.failure.ignore=true verify" +sh "./mvnw $MAVEN_PARAMS -Darchetype.test.skip -Dmaven.test.failure.ignore=true -Dcheckstyle.skip=true verify" } post { always {
[GitHub] [camel] orpiske commented on a change in pull request #6669: CAMEL-17435: dependency cleanup
orpiske commented on a change in pull request #6669: URL: https://github.com/apache/camel/pull/6669#discussion_r780668264 ## File path: components/camel-microprofile/camel-microprofile-metrics/pom.xml ## @@ -47,6 +47,18 @@ ${microprofile-metrics-version} + +javax.annotation +javax.annotation-api +${javax-annotation-api-version} + + + Review comment: Nothing. Will be removed :+1: -- 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] orpiske commented on a change in pull request #6669: CAMEL-17435: dependency cleanup
orpiske commented on a change in pull request #6669: URL: https://github.com/apache/camel/pull/6669#discussion_r780667987 ## File path: components/camel-spring-xml/pom.xml ## @@ -137,6 +137,15 @@ derby test + +javax.annotation +javax.annotation-api + + + Review comment: @davsclaus great catch! So, `saaj-impl` is not needed on the `camel-spring-xml`. It' actually needed by `camel-spring-ws` tests. Marking it as `test` scope seems to be enough. -- 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 (3f1de5a -> 4007b74)
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 3f1de5a CAMEL-17427: Some scheduled consumers should be regarded as UP in their health-check from initial phase such as spring cron scheduler. add 4007b74 CAMEL-17437: deadLetterChannel should not eager resolve endpoint from uri in Java DSL. No new revisions were added by this update. Summary of changes: .../main/java/org/apache/camel/builder/BuilderSupport.java | 2 +- .../org/apache/camel/builder/DeadLetterChannelBuilder.java | 2 ++ .../impl/event/EventNotifierFailureHandledEventsTest.java| 4 ++-- ...DeadLetterChannelBuilderWithInvalidDeadLetterUriTest.java | 12 ++-- 4 files changed, 11 insertions(+), 9 deletions(-)
[camel] branch regen_bot updated (198d8d2 -> 3f1de5a)
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 198d8d2 Regen add 3f1de5a CAMEL-17427: Some scheduled consumers should be regarded as UP in their health-check from initial phase such as spring cron scheduler. No new revisions were added by this update. Summary of changes: .../java/org/apache/camel/component/cron/SpringCronConsumer.java | 7 +++ 1 file changed, 7 insertions(+)
[GitHub] [camel] orpiske commented on a change in pull request #6669: CAMEL-17435: dependency cleanup
orpiske commented on a change in pull request #6669: URL: https://github.com/apache/camel/pull/6669#discussion_r780655070 ## File path: components/camel-spring-xml/pom.xml ## @@ -137,6 +137,15 @@ derby test + +javax.annotation +javax.annotation-api + + + Review comment: I don't remember right now what's requiring it (I think it's a test case). saaj-impl is also causing problems for Java 17. This version is very outdated. ## File path: components/camel-jmx/pom.xml ## @@ -48,6 +48,16 @@ camel-management + +jakarta.xml.bind +jakarta.xml.bind-api + + + +com.sun.xml.bind Review comment: I think this one is part of the Jakarta implementation after 2.3.1 (https://eclipse-ee4j.github.io/jaxb-ri/). I am on mobile now, but I will double check later what version we are using. Maybe we have an opportunity to upgrade. ## File path: components/camel-jmx/pom.xml ## @@ -48,6 +48,16 @@ camel-management + +jakarta.xml.bind +jakarta.xml.bind-api + + + +com.sun.xml.bind Review comment: The link should have been: https://eclipse-ee4j.github.io/jaxb-ri/2.3.3/docs/ch02.html ## File path: components/camel-spring-xml/pom.xml ## @@ -137,6 +137,15 @@ derby test + +javax.annotation +javax.annotation-api + + + Review comment: Absolutely, I will take a look at this. -- 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] oscerd merged pull request #6657: Generated sources regen
oscerd merged pull request #6657: URL: https://github.com/apache/camel/pull/6657 -- 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] squakez commented on pull request #2771: feat(cmd/run): autogenerated configmap for resource/config local files
squakez commented on pull request #2771: URL: https://github.com/apache/camel-k/pull/2771#issuecomment-1007333096 @astefanutti any last look before I can merge? -- 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 commented on a change in pull request #681: Extract Field Action: Make it possible to set if the extracted field should be in the body or in a particular header
oscerd commented on a change in pull request #681: URL: https://github.com/apache/camel-kamelets/pull/681#discussion_r780369042 ## File path: library/camel-kamelets-utils/src/main/java/org/apache/camel/kamelets/utils/transform/ExtractField.java ## @@ -27,11 +27,16 @@ public class ExtractField { -public void process(@ExchangeProperty("field") String field, Exchange ex) { +public void process(@ExchangeProperty("field") String field, @ExchangeProperty("headerOutput") boolean headerOutput, Exchange ex) { +final String EXTRACTED_FIELD_HEADER = "CamelKameletsExtractFieldName"; ObjectMapper mapper = new ObjectMapper(); JsonNode jsonNodeBody = ex.getMessage().getBody(JsonNode.class); Map body = mapper.convertValue(jsonNodeBody, new TypeReference>(){}); -ex.getMessage().setBody(body.get(field)); +if (!headerOutput) { +ex.getMessage().setBody(body.get(field)); +} else { +ex.getMessage().setHeader(EXTRACTED_FIELD_HEADER, body.get(field)); Review comment: Header output is a boolean. The header name is static and fixed. So, no. ## File path: library/camel-kamelets-utils/src/main/java/org/apache/camel/kamelets/utils/transform/ExtractField.java ## @@ -27,11 +27,16 @@ public class ExtractField { -public void process(@ExchangeProperty("field") String field, Exchange ex) { +public void process(@ExchangeProperty("field") String field, @ExchangeProperty("headerOutput") boolean headerOutput, Exchange ex) { +final String EXTRACTED_FIELD_HEADER = "CamelKameletsExtractFieldName"; ObjectMapper mapper = new ObjectMapper(); JsonNode jsonNodeBody = ex.getMessage().getBody(JsonNode.class); Map body = mapper.convertValue(jsonNodeBody, new TypeReference>(){}); -ex.getMessage().setBody(body.get(field)); +if (!headerOutput) { +ex.getMessage().setBody(body.get(field)); +} else { +ex.getMessage().setHeader(EXTRACTED_FIELD_HEADER, body.get(field)); Review comment: Also this is a bean that should be simple as simple. I troducing more logic to check stuff like headers existence is too much, there is for example the has header action or you can write your own kamelet action doing all the logic you want. But I'd probably leave the beans simplest as possible. ## File path: library/camel-kamelets-utils/src/main/java/org/apache/camel/kamelets/utils/transform/ExtractField.java ## @@ -27,11 +27,16 @@ public class ExtractField { -public void process(@ExchangeProperty("field") String field, Exchange ex) { +public void process(@ExchangeProperty("field") String field, @ExchangeProperty("headerOutput") boolean headerOutput, Exchange ex) { +final String EXTRACTED_FIELD_HEADER = "CamelKameletsExtractFieldName"; ObjectMapper mapper = new ObjectMapper(); JsonNode jsonNodeBody = ex.getMessage().getBody(JsonNode.class); Map body = mapper.convertValue(jsonNodeBody, new TypeReference>(){}); -ex.getMessage().setBody(body.get(field)); +if (!headerOutput) { +ex.getMessage().setBody(body.get(field)); +} else { +ex.getMessage().setHeader(EXTRACTED_FIELD_HEADER, body.get(field)); Review comment: Also this is a bean that should be simple. Introducing more logic to check stuff like headers existence is too much, there is for example the has header action or you can write your own kamelet action doing all the logic you want. But I'd probably leave the beans simplest as possible. -- 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 closed issue #672: Bump Commons-dbcp2 to 2.9.0
oscerd closed issue #672: URL: https://github.com/apache/camel-kamelets/issues/672 -- 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 pull request #6676: DefaultComponent misses initialization of autowired properties.
davsclaus commented on pull request #6676: URL: https://github.com/apache/camel/pull/6676#issuecomment-1007944589 @JiriOndrusek I did a fix for "dead letter channel uri -> endpoint too eager" - I wonder if you could maybe test this with camel-quarkus if that helps in this test-case/unit-test you have. I created a ticket to deprecate those endpoint methods on the RouteBuilder as they too resolve too eager and are not really in use: https://issues.apache.org/jira/browse/CAMEL-17455 -- 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 #6669: CAMEL-17435: dependency cleanup
davsclaus commented on a change in pull request #6669: URL: https://github.com/apache/camel/pull/6669#discussion_r780655216 ## File path: components/camel-spring-xml/pom.xml ## @@ -137,6 +137,15 @@ derby test + +javax.annotation +javax.annotation-api + + + Review comment: Can you try testing, eg set it to test scope / also try without so we can find out which test, and then add a comment in these testst that they use saaj so we know in the future -- 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] ReggieCarey commented on pull request #681: Extract Field Action: Make it possible to set if the extracted field should be in the body or in a particular header
ReggieCarey commented on pull request #681: URL: https://github.com/apache/camel-kamelets/pull/681#issuecomment-1007551335 I don't understand - you seem to think I'm attacking you. Nothing could be farther from the truth. You want community involvement but every time a question, suggestion or involvement is offered, you're offended. If you don't like my suggestions/questions that's fine. But I'm trying to keep this conversation from devolving into something inappropriate for public discourse on an open source project. I truly am interested in a dialog about improving this for myself and others. The issue tool is intended to allow public discussion and debate as well as to get ideas circulated that improves the product for all. Some ideas are great and some not so great. Maybe my suggestions don't align with the intended product direction. Remember that the only people willing to spend any time at all writing issues and commenting have a vested interest in seeing this project succeed for everyone. Attacking people that raise issues with what has been produced as open source is counter productive to the open source ideals and serves only to push people away. If this is not the venue by which we community members make suggestions, then what is? -- 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] oscerd merged pull request #6686: Generated sources regen
oscerd merged pull request #6686: URL: https://github.com/apache/camel/pull/6686 -- 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] squakez merged pull request #2849: doc(kamelets): custom repository
squakez merged pull request #2849: URL: https://github.com/apache/camel-k/pull/2849 -- 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] squakez merged pull request #2851: fix(doc): filter nolint comments in documentation trait
squakez merged pull request #2851: URL: https://github.com/apache/camel-k/pull/2851 -- 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] oscerd merged pull request #6680: Revert "CAMEL-17433 fix JavadocHelper (3.13.x)"
oscerd merged pull request #6680: URL: https://github.com/apache/camel/pull/6680 -- 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 #676: Point to the correct path for kamelets while generating links
oscerd merged pull request #676: URL: https://github.com/apache/camel-kamelets/pull/676 -- 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 closed issue #682: Insert Header Action: Use Simple as default and not constant for the value parameter binding
oscerd closed issue #682: URL: https://github.com/apache/camel-kamelets/issues/682 -- 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] astefanutti commented on pull request #2771: feat(cmd/run): autogenerated configmap for resource/config local files
astefanutti commented on pull request #2771: URL: https://github.com/apache/camel-k/pull/2771#issuecomment-1007414198 > @astefanutti any last look before I can merge? @squakez LGTM 👍🏼 Great work! -- 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 merged pull request #3441: Upgrade to Camel 3.11.5
ppalaga merged pull request #3441: URL: https://github.com/apache/camel-quarkus/pull/3441 -- 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 #678: Bump Commons-dbcp2 to 2.9.0
oscerd merged pull request #678: URL: https://github.com/apache/camel-kamelets/pull/678 -- 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] squakez merged pull request #2771: feat(cmd/run): autogenerated configmap for resource/config local files
squakez merged pull request #2771: URL: https://github.com/apache/camel-k/pull/2771 -- 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-17437: deadLetterChannel should not eager resolve endpoint from uri in Java DSL.
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 4007b74 CAMEL-17437: deadLetterChannel should not eager resolve endpoint from uri in Java DSL. 4007b74 is described below commit 4007b745170b69f81d47933e57d89a9ffd90c1a4 Author: Claus Ibsen AuthorDate: Sat Jan 8 11:26:03 2022 +0100 CAMEL-17437: deadLetterChannel should not eager resolve endpoint from uri in Java DSL. --- .../main/java/org/apache/camel/builder/BuilderSupport.java | 2 +- .../org/apache/camel/builder/DeadLetterChannelBuilder.java | 2 ++ .../impl/event/EventNotifierFailureHandledEventsTest.java| 4 ++-- ...DeadLetterChannelBuilderWithInvalidDeadLetterUriTest.java | 12 ++-- 4 files changed, 11 insertions(+), 9 deletions(-) diff --git a/core/camel-core-model/src/main/java/org/apache/camel/builder/BuilderSupport.java b/core/camel-core-model/src/main/java/org/apache/camel/builder/BuilderSupport.java index d6cae2e..91244f0 100644 --- a/core/camel-core-model/src/main/java/org/apache/camel/builder/BuilderSupport.java +++ b/core/camel-core-model/src/main/java/org/apache/camel/builder/BuilderSupport.java @@ -431,7 +431,7 @@ public abstract class BuilderSupport implements CamelContextAware { * @return the builder */ public DeadLetterChannelBuilder deadLetterChannel(String deadLetterUri) { -return deadLetterChannel(endpoint(deadLetterUri)); +return new DeadLetterChannelBuilder(deadLetterUri); } /** diff --git a/core/camel-core-model/src/main/java/org/apache/camel/builder/DeadLetterChannelBuilder.java b/core/camel-core-model/src/main/java/org/apache/camel/builder/DeadLetterChannelBuilder.java index 67e49b3..7bc8e03 100644 --- a/core/camel-core-model/src/main/java/org/apache/camel/builder/DeadLetterChannelBuilder.java +++ b/core/camel-core-model/src/main/java/org/apache/camel/builder/DeadLetterChannelBuilder.java @@ -44,6 +44,8 @@ public class DeadLetterChannelBuilder extends DefaultErrorHandlerBuilder impleme public DeadLetterChannelBuilder(String uri) { setDeadLetterUri(uri); +// DLC do not log exhausted by default +getRedeliveryPolicy().setLogExhausted(false); } @Override diff --git a/core/camel-core/src/test/java/org/apache/camel/impl/event/EventNotifierFailureHandledEventsTest.java b/core/camel-core/src/test/java/org/apache/camel/impl/event/EventNotifierFailureHandledEventsTest.java index e1d7b9f..979ce7d 100644 --- a/core/camel-core/src/test/java/org/apache/camel/impl/event/EventNotifierFailureHandledEventsTest.java +++ b/core/camel-core/src/test/java/org/apache/camel/impl/event/EventNotifierFailureHandledEventsTest.java @@ -91,7 +91,7 @@ public class EventNotifierFailureHandledEventsTest extends ContextTestSupport { ExchangeFailureHandlingEvent e0 = assertIsInstanceOf(ExchangeFailureHandlingEvent.class, events.get(11)); assertEquals(true, e0.isDeadLetterChannel(), "should be DLC"); -assertEquals("mock://dead", e0.getDeadLetterUri()); +assertEquals("mock:dead", e0.getDeadLetterUri()); assertIsInstanceOf(ExchangeSendingEvent.class, events.get(12)); assertIsInstanceOf(ExchangeSentEvent.class, events.get(13)); @@ -106,7 +106,7 @@ public class EventNotifierFailureHandledEventsTest extends ContextTestSupport { } SendProcessor send = assertIsInstanceOf(SendProcessor.class, fh); assertEquals("mock://dead", send.getDestination().getEndpointUri()); -assertEquals("mock://dead", e.getDeadLetterUri()); +assertEquals("mock:dead", e.getDeadLetterUri()); // dead letter channel will mark the exchange as completed assertIsInstanceOf(ExchangeCompletedEvent.class, events.get(15)); diff --git a/core/camel-core/src/test/java/org/apache/camel/processor/DeadLetterChannelBuilderWithInvalidDeadLetterUriTest.java b/core/camel-core/src/test/java/org/apache/camel/processor/DeadLetterChannelBuilderWithInvalidDeadLetterUriTest.java index bb0e629..7aa1376 100644 --- a/core/camel-core/src/test/java/org/apache/camel/processor/DeadLetterChannelBuilderWithInvalidDeadLetterUriTest.java +++ b/core/camel-core/src/test/java/org/apache/camel/processor/DeadLetterChannelBuilderWithInvalidDeadLetterUriTest.java @@ -37,12 +37,11 @@ public class DeadLetterChannelBuilderWithInvalidDeadLetterUriTest extends Contex from("direct:start").to("mock:foo"); } }); +context.start(); fail("Should have thrown an exception"); -} catch (NoSuchEndpointException e) { -assertEquals( -"No endpoint could be found for: xxx, please check your classpath contains the needed Camel component jar.", -e.getMessage(
[GitHub] [camel] oscerd merged pull request #6674: Fixed deadletter test in sqs and revert of previous fix of CAMEL-17437
oscerd merged pull request #6674: URL: https://github.com/apache/camel/pull/6674 -- 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] oscerd commented on pull request #6675: Fixed deadletter test in sqs and revert of previous fix of CAMEL-17437
oscerd commented on pull request #6675: URL: https://github.com/apache/camel/pull/6675#issuecomment-1007273705 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 #685: Insert Field Action: Use Simple as default and not constant for the value parameter binding
oscerd merged pull request #685: URL: https://github.com/apache/camel-kamelets/pull/685 -- 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 #674: Create a Camel-Kamelets BOM
oscerd merged pull request #674: URL: https://github.com/apache/camel-kamelets/pull/674 -- 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] oscerd merged pull request #6685: Generated sources regen
oscerd merged pull request #6685: URL: https://github.com/apache/camel/pull/6685 -- 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 (800f02b -> 198d8d2)
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 800f02b Update how-do-the-direct-event-seda-and-vm-endpoints-compare.adoc (#6688) add c49633f Polished add 198d8d2 Regen No new revisions were added by this update. Summary of changes: .../camel-util/src/main/java/org/apache/camel/util/SensitiveUtils.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
[GitHub] [camel] oscerd commented on pull request #6673: (DO NOT MERGE) Checkstyle fail fast
oscerd commented on pull request #6673: URL: https://github.com/apache/camel/pull/6673#issuecomment-1007365103 I think it would be really useful -- 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] orpiske commented on a change in pull request #6669: CAMEL-17435: dependency cleanup
orpiske commented on a change in pull request #6669: URL: https://github.com/apache/camel/pull/6669#discussion_r780224010 ## File path: core/camel-xml-io/pom.xml ## @@ -44,6 +44,11 @@ org.apache.camel camel-xml-io-util + Review comment: Yeah, it seems overkill. Let me take a look and see if I can modify the package plugin to avoid using it. I will send it as a separate PR, so we don't mix things. ## File path: core/camel-xml-io/pom.xml ## @@ -44,6 +44,11 @@ org.apache.camel camel-xml-io-util + Review comment: FYI: https://github.com/apache/camel/pull/6677 -- 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] oscerd merged pull request #6687: Generated sources regen
oscerd merged pull request #6687: URL: https://github.com/apache/camel/pull/6687 -- 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] orpiske commented on pull request #6673: (DO NOT MERGE) Checkstyle fail fast
orpiske commented on pull request #6673: URL: https://github.com/apache/camel/pull/6673#issuecomment-1007365874 Thanks, @oscerd. I'll do a few more tests and will merge once it's good enough! -- 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 commented on pull request #683: Insert Header Action: Use Simple as default and not constant for the value parameter binding
oscerd commented on pull request #683: URL: https://github.com/apache/camel-kamelets/pull/683#issuecomment-1007437248 Related to #673 -- 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] oscerd merged pull request #6683: Revert "CAMEL-17433 fix JavadocHelper (3.7.x)"
oscerd merged pull request #6683: URL: https://github.com/apache/camel/pull/6683 -- 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 #6677: CAMEL-17435: remove the Generated annotation so we can reduce dependencies in some modules
davsclaus commented on a change in pull request #6677: URL: https://github.com/apache/camel/pull/6677#discussion_r780245495 ## File path: tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/ModelXmlParserGeneratorMojo.java ## @@ -223,7 +222,6 @@ private JavaClass generateParser(List> model, ClassLoader classLoader) parser.addImport(List.class); parser.addImport(ArrayList.class); parser.addAnnotation(SuppressWarnings.class).setLiteralValue("\"unused\""); -parser.addAnnotation(Generated.class).setLiteralValue("\"" + getClass().getName() + "\""); Review comment: Can we add a javadoc like the others do with ``` /** * Generated by camel build tools - do NOT edit this file! */ ``` ## File path: tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/ModelXmlParserGeneratorMojo.java ## @@ -223,7 +222,6 @@ private JavaClass generateParser(List> model, ClassLoader classLoader) parser.addImport(List.class); parser.addImport(ArrayList.class); parser.addAnnotation(SuppressWarnings.class).setLiteralValue("\"unused\""); -parser.addAnnotation(Generated.class).setLiteralValue("\"" + getClass().getName() + "\""); Review comment: Can we add a class javadoc like we do with all the other source code generators ``` /** * Generated by camel build tools - do NOT edit this file! */ ``` ## File path: core/camel-xml-io/src/generated/java/org/apache/camel/xml/in/ModelParser.java ## @@ -17,6 +17,10 @@ //CHECKSTYLE:OFF + +/** +Generated by Camel build tools - do NOT edit this file! Review comment: ``` /** * Generated by camel build tools - do NOT edit this file! */ ``` Almost there -- 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] djencks commented on issue #673: Kamelet for ElasticSearch Sink provides no mechanism to set indexId or ce-indexId
djencks commented on issue #673: URL: https://github.com/apache/camel-kamelets/issues/673#issuecomment-1007203040 -- 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] squakez closed issue #2772: Let user configure configmaps/secrets for `kamel run --openapi` option
squakez closed issue #2772: URL: https://github.com/apache/camel-k/issues/2772 -- 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 commented on issue #673: Kamelet for ElasticSearch Sink provides no mechanism to set indexId or ce-indexId
oscerd commented on issue #673: URL: https://github.com/apache/camel-kamelets/issues/673#issuecomment-1007204896 -- 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 closed issue #677: Extract Field Action: Make it possible to set if the extracted field should be in the body or in a particular header
oscerd closed issue #677: URL: https://github.com/apache/camel-kamelets/issues/677 -- 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] oscerd merged pull request #6684: Generated sources regen
oscerd merged pull request #6684: URL: https://github.com/apache/camel/pull/6684 -- 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