[camel] branch regen_bot updated (21cf91c -> 2f7e562)
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 21cf91c CAMEL-17209: camel-jfr - Java Flight Recorder should be enabled if detected on classpath add 53fe9be Upgrade AWS SDK v2 to version 2.17.85 add 2f7e562 Sync deps No new revisions were added by this update. Summary of changes: camel-dependencies/pom.xml | 2 +- parent/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
[camel] branch main updated (21cf91c -> 2f7e562)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel.git. from 21cf91c CAMEL-17209: camel-jfr - Java Flight Recorder should be enabled if detected on classpath new 53fe9be Upgrade AWS SDK v2 to version 2.17.85 new 2f7e562 Sync deps The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: camel-dependencies/pom.xml | 2 +- parent/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
[camel] 02/02: Sync deps
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit 2f7e562cc37f3ef75240d8b034668ad3e1174d49 Author: Andrea Cosentino AuthorDate: Fri Nov 19 07:39:44 2021 +0100 Sync deps --- camel-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/camel-dependencies/pom.xml b/camel-dependencies/pom.xml index 744c195..568663fc 100644 --- a/camel-dependencies/pom.xml +++ b/camel-dependencies/pom.xml @@ -65,7 +65,7 @@ 1.10.2 1.10.2 4.1.1 -2.17.84 +2.17.85 2.6.1 1.2.14 4.20.0
[camel] 01/02: Upgrade AWS SDK v2 to version 2.17.85
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit 53fe9be9d108651b89f78960bb14d751276a630a Author: Andrea Cosentino AuthorDate: Fri Nov 19 06:36:31 2021 +0100 Upgrade AWS SDK v2 to version 2.17.85 --- parent/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parent/pom.xml b/parent/pom.xml index c2ea425..3f46c83 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -80,7 +80,7 @@ 1.10.2 1.10.2 4.1.1 -2.17.84 +2.17.85 2.6.1 1.2.14 2.11.3
[GitHub] [camel-karavan] davsclaus commented on issue #112: JBang live reload
davsclaus commented on issue #112: URL: https://github.com/apache/camel-karavan/issues/112#issuecomment-973780557 Max messages will still be active, so if you set it to 10 seconds then it will stop after that time, regardless of if reloaded or not. Are you looking for a way to "restart the max messages" on reload? -- 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-973761319 The [quarkus-main](https://github.com/apache/camel-quarkus/tree/quarkus-main) branch build has failed: * Build ID: 1479256845-575-13fcae21-959f-418f-8a40-22daebddea24 * Camel Quarkus Commit: 6cd06e01e9f4c11173a55f1081d49dc50dbd2458 * Quarkus Main Commit: 01ed8e5fa4c8b953c7e96fbf7029016f72f06ba9 * Link to build: https://github.com/apache/camel-quarkus/actions/runs/1479256845 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-quarkus] branch main updated: Updated CHANGELOG.md
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git The following commit(s) were added to refs/heads/main by this push: new 5a06580 Updated CHANGELOG.md 5a06580 is described below commit 5a06580d92e2856fb829c246e87ccbc9448a6a24 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Fri Nov 19 03:12:25 2021 + Updated CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index afad7f4..5303ad4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,6 +33,7 @@ **Merged pull requests:** +- Bump nimbus-jose-jwt version from Quarkus bom [\#3309](https://github.com/apache/camel-quarkus/pull/3309) ([zbendhiba](https://github.com/zbendhiba)) - Upgrade Quarkus Qpid JMS to 0.30.0 [\#3308](https://github.com/apache/camel-quarkus/pull/3308) ([jamesnetherton](https://github.com/jamesnetherton)) - Fix broken links to SmallRye Reactive Messaging documentation [\#3306](https://github.com/apache/camel-quarkus/pull/3306) ([jamesnetherton](https://github.com/jamesnetherton)) - Upgrade Quarkus to 2.5.0.Final [\#3305](https://github.com/apache/camel-quarkus/pull/3305) ([jamesnetherton](https://github.com/jamesnetherton))
[camel-k] branch main updated: Updated CHANGELOG.md
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k.git The following commit(s) were added to refs/heads/main by this push: new 6d5d2dd Updated CHANGELOG.md 6d5d2dd is described below commit 6d5d2ddb7b477e21e92b87dd33635cef17cd9cc9 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Fri Nov 19 03:07:52 2021 + Updated CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6413317..565ad30 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ - Camel-K - uninstall and namespace deletion w/ k8s let all Camel-K Integrations in this namespace alive [\#2533](https://github.com/apache/camel-k/issues/2533) - Reduce time for first Integration start [\#2520](https://github.com/apache/camel-k/issues/2520) - Install Error [\#2498](https://github.com/apache/camel-k/issues/2498) +- If the pod is in CrashLoopBackOff, the phase is reported as Running [\#2445](https://github.com/apache/camel-k/issues/2445) - Wait for dependencies [\#2151](https://github.com/apache/camel-k/issues/2151) - Secret type not supported with buildah on K3S [\#2136](https://github.com/apache/camel-k/issues/2136) - OLM installation may fail with default values [\#2113](https://github.com/apache/camel-k/issues/2113)
[camel-kafka-connector] branch main updated: Updated CHANGELOG.md
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git The following commit(s) were added to refs/heads/main by this push: new cc96131 Updated CHANGELOG.md cc96131 is described below commit cc9613143636525c632ba80df999774518cb505e Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Fri Nov 19 03:04:08 2021 + Updated CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ea7ece4..709486f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ **Closed issues:** +- The pre-release salesforce source connector, how does the query field work? [\#1289](https://github.com/apache/camel-kafka-connector/issues/1289) - Cannot findr camel-salesforce-source-kafka-connector in maven repository [\#1284](https://github.com/apache/camel-kafka-connector/issues/1284) - Using kinesis sink with STS assumeRole credentials? [\#1272](https://github.com/apache/camel-kafka-connector/issues/1272) - Salesforce Camel Kafka Source Connector not converting to JSON [\#1271](https://github.com/apache/camel-kafka-connector/issues/1271)
[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-973683368 The [camel-main](https://github.com/apache/camel-quarkus/tree/camel-main) branch build has failed: * Build ID: 1478905866-471-d9f8875f-6bea-4234-84f8-5afb87faa357 * Camel Quarkus Commit: 90cad14791d2f9c3e72ed854f0031acfa1dbc97a * Camel Main Commit: 01ed8e5fa4c8b953c7e96fbf7029016f72f06ba9 * Link to build: https://github.com/apache/camel-quarkus/actions/runs/1478905866 -- 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] zhiminglim edited a comment on issue #2756: How to remove Kamelets installation when installing IntegrationPlatform CRD?
zhiminglim edited a comment on issue #2756: URL: https://github.com/apache/camel-k/issues/2756#issuecomment-972966527 Thank you for your reply! I have patched the camel k operator deployment env with your solution, it is working now and suppressing the kamelets installation when i create an IntegrationPlatform in other namespaces. A question on this: if I'm using Camel K 1.6.0, is this the only way to go about setting that env variable? Also, I noticed that a CamelCatalog CR is also created when I create the IntegrationPlatform via helm, and it remains in the namespace when I remove the IntegrationPlatform. Is there also a way to clean this up? The reason for these questions, and us not using the Kamel CLI uninstall option, is because we use Camel K CRDs (such as IntegrationPlatform and Integration) within a helm chart for our integration use cases. Hence when I uninstall the helm chart, I would like to clean up the Kamelets and CamelCatalog which are created as a by-product by the camel k operator. -- 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] elainhelen commented on issue #2737: How to package integration to deploy it into a private k8s cluster without internet connection
elainhelen commented on issue #2737: URL: https://github.com/apache/camel-k/issues/2737#issuecomment-973597754 @squakez I haven't done a lot on kamelet. With kamelet in the picture, what is the shareable artifact we can build locally and then load into a production env? 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
[camel] branch regen_bot updated (e5284f7 -> 21cf91c)
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 e5284f7 (chores) camel-kafka: fixed missing parameter in a log message add b5bbcde (chores) camel-kafka: ensure some log messages in the hot path are guarded add 21cf91c CAMEL-17209: camel-jfr - Java Flight Recorder should be enabled if detected on classpath No new revisions were added by this update. Summary of changes: .../jfr/FlightRecorderStartupStepRecorder.java | 8 ++- .../consumer/support/KafkaRecordProcessor.java | 75 +- 2 files changed, 67 insertions(+), 16 deletions(-)
[camel] branch main updated: CAMEL-17209: camel-jfr - Java Flight Recorder should be enabled if detected on classpath
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 21cf91c CAMEL-17209: camel-jfr - Java Flight Recorder should be enabled if detected on classpath 21cf91c is described below commit 21cf91cac6a6ed05fb53057ca214eb0b6f150bf1 Author: Claus Ibsen AuthorDate: Thu Nov 18 22:11:52 2021 +0100 CAMEL-17209: camel-jfr - Java Flight Recorder should be enabled if detected on classpath --- .../camel/startup/jfr/FlightRecorderStartupStepRecorder.java | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/components/camel-jfr/src/main/java/org/apache/camel/startup/jfr/FlightRecorderStartupStepRecorder.java b/components/camel-jfr/src/main/java/org/apache/camel/startup/jfr/FlightRecorderStartupStepRecorder.java index 53cbcce..cdac120 100644 --- a/components/camel-jfr/src/main/java/org/apache/camel/startup/jfr/FlightRecorderStartupStepRecorder.java +++ b/components/camel-jfr/src/main/java/org/apache/camel/startup/jfr/FlightRecorderStartupStepRecorder.java @@ -44,6 +44,11 @@ public class FlightRecorderStartupStepRecorder extends DefaultStartupStepRecorde private Recording rec; private FlightRecorderListener frl; +public FlightRecorderStartupStepRecorder() { +// should default be enabled if discovered from classpath +setEnabled(true); +} + @Override public void doStart() throws Exception { super.doStart(); @@ -65,7 +70,8 @@ public class FlightRecorderStartupStepRecorder extends DefaultStartupStepRecorde if (getStartupRecorderDuration() == 0) { if (rec.getDestination() != null) { rec.setDumpOnExit(true); -LOG.info("Java flight recorder will be saved to file on JVM exit: {}", rec.getDestination()); +LOG.info("Java flight recorder with profile: {} will be saved to file on JVM exit: {}", +getRecordingProfile(), rec.getDestination()); } } else if (getStartupRecorderDuration() > 0) { rec.setDuration(Duration.ofSeconds(getStartupRecorderDuration()));
[camel] branch regen_bot updated (b5bbcde -> e5284f7)
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 b5bbcde (chores) camel-kafka: ensure some log messages in the hot path are guarded 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 (e5284f7) \ O -- O -- O (b5bbcde) 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: .../consumer/support/KafkaRecordProcessor.java | 75 +- 1 file changed, 15 insertions(+), 60 deletions(-)
[camel] branch regen_bot updated (91b7551 -> b5bbcde)
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 91b7551 Skip test that dont work with latest spring add e5284f7 (chores) camel-kafka: fixed missing parameter in a log message add b5bbcde (chores) camel-kafka: ensure some log messages in the hot path are guarded No new revisions were added by this update. Summary of changes: .../camel/component/kafka/KafkaConsumer.java | 2 +- .../consumer/support/KafkaRecordProcessor.java | 75 +- 2 files changed, 61 insertions(+), 16 deletions(-)
[camel] branch main updated (e5284f7 -> b5bbcde)
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 e5284f7 (chores) camel-kafka: fixed missing parameter in a log message add b5bbcde (chores) camel-kafka: ensure some log messages in the hot path are guarded No new revisions were added by this update. Summary of changes: .../consumer/support/KafkaRecordProcessor.java | 75 +- 1 file changed, 60 insertions(+), 15 deletions(-)
[camel] branch main updated (91b7551 -> e5284f7)
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 91b7551 Skip test that dont work with latest spring add e5284f7 (chores) camel-kafka: fixed missing parameter in a log message No new revisions were added by this update. Summary of changes: .../src/main/java/org/apache/camel/component/kafka/KafkaConsumer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
[GitHub] [camel] orpiske merged pull request #6449: (chores) camel-kafka: ensure some log messages in the hot path are guarded
orpiske merged pull request #6449: URL: https://github.com/apache/camel/pull/6449 -- 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 merged pull request #6448: (chores) camel-kafka: fixed missing parameter in a log message
orpiske merged pull request #6448: URL: https://github.com/apache/camel/pull/6448 -- 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] djencks opened a new issue #2759: Document dependency on camel-quarkus (and camel)
djencks opened a new issue #2759: URL: https://github.com/apache/camel-k/issues/2759 In the discussion around https://github.com/apache/camel-k/pull/2757 it turned out that camel-k uses in some way camel-quarkus. I believe this means that the camel-k and camel-quarkus versions are tied together in some way. I suggest: - adding a `camel-quarkus-version` attribute to the camel-k antora.yml component descriptor - Adding a prominent sentence on the component landing page something like: Camel-k version {page-component-version} depends on xref:{camel-quarkus-version}@camel-quarkus::index.adoc[] at version {camel-quarkus-version} and xref:{camel-version}@components::index.adoc[] at version {camel-version}. Aside from answering a question I keep having :-) this will keep us from removing a version of the documentation for a subproject that is still used in some way by another subproject, even if it's not otherwise documented. -- 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-karavan] mgubaidullin commented on issue #112: JBang live reload
mgubaidullin commented on issue #112: URL: https://github.com/apache/camel-karavan/issues/112#issuecomment-973181187 How it works with `--max-messages=XX` ? -- 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 issue #2445: If the pod is in CrashLoopBackOff, the phase is reported as Running
astefanutti commented on issue #2445: URL: https://github.com/apache/camel-k/issues/2445#issuecomment-973138711 It should be fixed with #2682, available in 1.7.0. -- 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 closed issue #2445: If the pod is in CrashLoopBackOff, the phase is reported as Running
astefanutti closed issue #2445: URL: https://github.com/apache/camel-k/issues/2445 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-website] branch asf-site updated (aeafec3 -> ccdc6a3)
This is an automated email from the ASF dual-hosted git repository. git-site-role pushed a change to branch asf-site in repository https://gitbox.apache.org/repos/asf/camel-website.git. discard aeafec3 Website updated to 8330c31e02980b60d0012fc8812def2fa30a6e84 discard a8867c8 Website updated to 325e929157412b27394080f4d4dba3d821476ddf new 8092663 Website updated to 325e929157412b27394080f4d4dba3d821476ddf new ccdc6a3 Website updated to 8330c31e02980b60d0012fc8812def2fa30a6e84 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 (aeafec3) \ N -- N -- N refs/heads/asf-site (ccdc6a3) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .htaccess | 26 +- .../next/dataformats/json-jackson-dataformat.html |4 +- manual/camel-3x-upgrade-guide-3_14.html|2 +- manual/camel-jbang.html|5 +- sitemap-camel-k.xml| 606 +- sitemap-camel-kafka-connector.xml | 2218 +++ sitemap-camel-kamelets.xml | 276 +- sitemap-camel-karaf.xml| 70 +- sitemap-camel-quarkus.xml | 1384 ++-- sitemap-camel-spring-boot.xml | 54 +- sitemap-components.xml | 6712 ++-- sitemap-manual.xml | 382 +- 12 files changed, 5870 insertions(+), 5869 deletions(-)
[GitHub] [camel] orpiske opened a new pull request #6449: (chores) camel-kafka: ensure some log messages in the hot path are guarded
orpiske opened a new pull request #6449: URL: https://github.com/apache/camel/pull/6449 -- 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 (cc9d9cf -> 91b7551)
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 cc9d9cf Regen for commit 1ee6734eb4c35b19ef47aecafc936091f85592e0 add 91b7551 Skip test that dont work with latest spring No new revisions were added by this update. Summary of changes: .../quartz/SpringQuartzPersistentStoreRestartAppChangeOptionsTest.java | 2 ++ 1 file changed, 2 insertions(+)
[GitHub] [camel] orpiske opened a new pull request #6448: (chores) camel-kafka: fixed missing parameter in a log message
orpiske opened a new pull request #6448: URL: https://github.com/apache/camel/pull/6448 -- 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-karavan] davsclaus commented on issue #95: Standalone loads all YAML file from directory
davsclaus commented on issue #95: URL: https://github.com/apache/camel-karavan/issues/95#issuecomment-972987419 Ah yeah in the top there is a way to see if its Camel, and kind integration / kameletbinding -- 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] zhiminglim edited a comment on issue #2756: How to remove Kamelets installation when installing IntegrationPlatform CRD?
zhiminglim edited a comment on issue #2756: URL: https://github.com/apache/camel-k/issues/2756#issuecomment-972966527 Thank you for your reply! I have patched the camel k operator deployment env with your solution, it is working now and suppressing the kamelets installation when i create an IntegrationPlatform in other namespaces. A question on this: if I'm using Camel K 1.6.0, is this the only way to go about setting that env variable? Also, I noticed that a CamelCatalog CR is also created when I create the IntegrationPlatform via helm, and it remains in the namespace when I remove the IntegrationPlatform. Is there also a way to clean this up? The reason these questions and us not using the Kamel CLI uninstall option, is because we use Camel K CRDs (such as IntegrationPlatform and Integration) within a helm chart for our integration use cases. Hence when I uninstall the helm chart, I would like to clean up the Kamelets and CamelCatalog which are created as a by-product by the camel k operator. -- 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] zhiminglim commented on issue #2756: How to remove Kamelets installation when installing IntegrationPlatform CRD?
zhiminglim commented on issue #2756: URL: https://github.com/apache/camel-k/issues/2756#issuecomment-972966527 Thank you for your reply! I have patched the camel k operator deployment env with your solution, it is working now and suppressing the kamelets installation when i create an IntegrationPlatform in other namespaces. A question on this: if I'm using Camel K 1.6.0, is this the only way to go about setting that env variable? Also, I noticed that a CamelCatalog CR is also created when I create the IntegrationPlatform via helm, and it remains in the namespace when I remove the IntegrationPlatform. Is there also a way to clean this up? The reason these questions and us not using the Kamel CLI uninstall option, is because we use Camel K CRDs within a helm chart for our integration use cases. Hence when I uninstall the helm chart, I would like the CRDs created by the camel k operator to also clean up the appropriate CRs that were created per namespace. -- 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-examples] jamesnetherton merged pull request #63: Fix link notation in Kafka readme
jamesnetherton merged pull request #63: URL: https://github.com/apache/camel-quarkus-examples/pull/63 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-quarkus-examples] branch camel-quarkus-main updated: Fix link notation in Kafka readme
This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a commit to branch camel-quarkus-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus-examples.git The following commit(s) were added to refs/heads/camel-quarkus-main by this push: new 0823435 Fix link notation in Kafka readme 0823435 is described below commit 0823435dbb54cc0dcfe895cf73d71d2c99ea9905 Author: Aurélien Pupier AuthorDate: Thu Nov 18 15:39:03 2021 +0100 Fix link notation in Kafka readme A Markdown notation was used in an AsciiDoc file Signed-off-by: Aurélien Pupier --- kafka/README.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kafka/README.adoc b/kafka/README.adoc index 9476221..99036b6 100644 --- a/kafka/README.adoc +++ b/kafka/README.adoc @@ -12,9 +12,9 @@ and other general information. The example application requires a Kafka instance. You do not need to provide the Kafka instance yourself -as long as you play with the example code in dev mode (a.k.a. `mvn quarkus:dev` - read more [here](https://quarkus.io/guides/getting-started#development-mode)) +as long as you play with the example code in dev mode (a.k.a. `mvn quarkus:dev` - read more https://quarkus.io/guides/getting-started#development-mode[here] or as long as you only run the supplied tests (`mvn test`). -In those situations, Quarkus tooling starts a Redpanda image for you via [Quarkus Dev Services](https://quarkus.io/guides/kafka-dev-services) +In those situations, Quarkus tooling starts a Redpanda image for you via https://quarkus.io/guides/kafka-dev-services[Quarkus Dev Services] and it also configures the application so that you do not need touch anything in `application.properties`. == Start in Development mode
[GitHub] [camel-quarkus-examples] jamesnetherton commented on pull request #63: Fix link notation in Kafka readme
jamesnetherton commented on pull request #63: URL: https://github.com/apache/camel-quarkus-examples/pull/63#issuecomment-972966030 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
[camel] branch main updated: Skip test that dont work with latest spring
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 91b7551 Skip test that dont work with latest spring 91b7551 is described below commit 91b755176723c1946350ff1c222f464abf4156b9 Author: Claus Ibsen AuthorDate: Thu Nov 18 16:14:00 2021 +0100 Skip test that dont work with latest spring --- .../quartz/SpringQuartzPersistentStoreRestartAppChangeOptionsTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/camel-quartz/src/test/java/org/apache/camel/component/quartz/SpringQuartzPersistentStoreRestartAppChangeOptionsTest.java b/components/camel-quartz/src/test/java/org/apache/camel/component/quartz/SpringQuartzPersistentStoreRestartAppChangeOptionsTest.java index fdd647b..c5261d4 100644 --- a/components/camel-quartz/src/test/java/org/apache/camel/component/quartz/SpringQuartzPersistentStoreRestartAppChangeOptionsTest.java +++ b/components/camel-quartz/src/test/java/org/apache/camel/component/quartz/SpringQuartzPersistentStoreRestartAppChangeOptionsTest.java @@ -22,6 +22,7 @@ import org.apache.camel.util.IOHelper; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeAll; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import org.quartz.CronTrigger; import org.quartz.Scheduler; @@ -37,6 +38,7 @@ import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; +@Disabled("Fails with spring 5.3.12 upgraded to 5.3.13") public class SpringQuartzPersistentStoreRestartAppChangeOptionsTest { private static AbstractXmlApplicationContext db;
[GitHub] [camel-k] dweber019 commented on a change in pull request #2731: Add pojo-jar example
dweber019 commented on a change in pull request #2731: URL: https://github.com/apache/camel-k/pull/2731#discussion_r752332776 ## File path: examples/pojo-jar/src/main/java/org/apache/camel/OpenApiRoute.java ## @@ -0,0 +1,53 @@ +// camel-k: name=pojo-jar +// camel-k: dependency=camel-jackson +// camel-k: dependency=camel-openapi-java +// camel-k: dependency=mvn:org.projectlombok:lombok:1.18.22 +// camel-k: resource=file:../../../../../../target/pojo-jar-1.0.0.jar Review comment: I did run the command like this and it worked. I think as it's defined as modeline the cwd/pwd is the java file I define in the kamel command. README => kamel run ./src/main/org/apache/camel/OpenApiRoute.java So kamel changes the execution location to ./src/main/org/apache/camel/OpenApiRoute.java -- 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] djencks commented on pull request #2757: chore(doc): Add 1.7.x documentation
djencks commented on pull request #2757: URL: https://github.com/apache/camel-k/pull/2757#issuecomment-972934811 The camel-website PR needs to modify this part of antora-playbook.yml: ``` - url: https://github.com/apache/camel-k.git branches: - main - release-1.6.x - release-1.4.x start_path: docs - url: https://github.com/apache/camel-k-runtime.git branches: - main - release-1.9.x start_path: docs ``` You at least need to add the branches for camel-k 1.7.x and camel-k-runtime 1.10.x and if appropriate remove some earlier branches. After you make the PR there will eventually be a preview on netlify so you can check it all looks right. I actually start with a camel-website PR that points to the branches I'm modifying in the projects, in this case it would be this PR branch and the camel-k-runtime PR branch, and check it looks good before merging the non-website PRs: that way I can fix problems in the content PRs before merging them. I'm not sure that's really necessary here, but it is safer. -- 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 (4216ee5 -> cc9d9cf)
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 4216ee5 Regen for commit 1ee6734eb4c35b19ef47aecafc936091f85592e0 add cc9d9cf Regen for commit 1ee6734eb4c35b19ef47aecafc936091f85592e0 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 (4216ee5) \ N -- N -- N refs/heads/regen_bot (cc9d9cf) 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-quarkus-examples] apupier opened a new pull request #63: Fix link notation in Kafka readme
apupier opened a new pull request #63: URL: https://github.com/apache/camel-quarkus-examples/pull/63 A Markdown notation was used in an AsciiDoc file Signed-off-by: Aurélien Pupier Note that the `main` branch points at the latest stable Camel Quarkus release. Pull requests should be generally send against the `camel-quarkus-main` branch pointing at the current Camel Quarkus SNAPSHOT. -- 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 #2757: chore(doc): Add 1.7.x documentation
astefanutti commented on pull request #2757: URL: https://github.com/apache/camel-k/pull/2757#issuecomment-972922156 > Looks good! Is there also a camel-website PR? Ah no, I naively though this was it. Would you have a pointer, or I'll try to find my way out :) -- 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] djencks commented on a change in pull request #2757: chore(doc): Add 1.7.x documentation
djencks commented on a change in pull request #2757: URL: https://github.com/apache/camel-k/pull/2757#discussion_r752285073 ## File path: docs/antora.yml ## @@ -30,4 +28,4 @@ nav: # On release, update this to the appropriate released camel version. asciidoc: attributes: -camel-version: next +camel-version: 3.12.x Review comment: There may be a more complicated network of dependencies, that might lead to an inconsistent result, but if you follow the path from camel-k 'next' to camel-quarkus 'next' to camel, you will end up currently, I think, at 3.13.x. I can't think of an automated way of syncing these versions across projects. -- 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-spring-boot] branch main updated: Regen
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git The following commit(s) were added to refs/heads/main by this push: new deaf570 Regen deaf570 is described below commit deaf5700de164db62cbe863f77e0cf5d5382e6f6 Author: Andrea Cosentino AuthorDate: Thu Nov 18 15:12:10 2021 +0100 Regen --- .../camel/springboot/catalog/dataformats/json-jackson.json | 1 + .../camel-jackson-starter/src/main/docs/jackson.json | 6 ++ .../jackson/springboot/JacksonDataFormatConfiguration.java | 14 ++ 3 files changed, 21 insertions(+) diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/json-jackson.json b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/json-jackson.json index 6074efd..94b125b 100644 --- a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/json-jackson.json +++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/json-jackson.json @@ -35,6 +35,7 @@ "contentTypeHeader": { "kind": "attribute", "displayName": "Content Type Header", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether the data format should set the Content-Type header with the type from the data format. For example application\/xml for data formats marshalling to XML, or application\/json for data formats marshalling to JSON" }, "schemaResolver": { "kind": "attribute", "displayName": "Schema Resolver", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Optional schema resolver used to lookup schemas for the data in transit." }, "autoDiscoverSchemaResolver": { "kind": "attribute", "displayName": "Auto Discover Schema Resolver", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "When not disabled, the SchemaResolver will be looked up into the registry" }, +"namingStrategy": { "kind": "attribute", "displayName": "Naming Strategy", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "If set then Jackson will use the the defined Property Naming Strategy.Possible values are: LOWER_CAMEL_CASE, LOWER_DOT_CASE, LOWER_CASE, KEBAB_CASE, SNAKE_CASE and UPPER_CAMEL_CASE" }, "id": { "kind": "attribute", "displayName": "Id", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The id of this node" } } } diff --git a/components-starter/camel-jackson-starter/src/main/docs/jackson.json b/components-starter/camel-jackson-starter/src/main/docs/jackson.json index bd1bf3e..24211bf 100644 --- a/components-starter/camel-jackson-starter/src/main/docs/jackson.json +++ b/components-starter/camel-jackson-starter/src/main/docs/jackson.json @@ -102,6 +102,12 @@ "sourceType": "org.apache.camel.component.jackson.springboot.JacksonDataFormatConfiguration" }, { + "name": "camel.dataformat.json-jackson.naming-strategy", + "type": "java.lang.String", + "description": "If set then Jackson will use the the defined Property Naming Strategy.Possible values are: LOWER_CAMEL_CASE, LOWER_DOT_CASE, LOWER_CASE, KEBAB_CASE, SNAKE_CASE and UPPER_CAMEL_CASE", + "sourceType": "org.apache.camel.component.jackson.springboot.JacksonDataFormatConfiguration" +}, +{ "name": "camel.dataformat.json-jackson.object-mapper", "type": "java.lang.String", "description": "Lookup and use the existing ObjectMapper with the given id when using Jackson.", diff --git a/components-starter/camel-jackson-starter/src/main/java/org/apache/camel/component/jackson/springboot/JacksonDataFormatConfiguration.java b/components-starter/camel-jackson-starter/src/main/java/org/apache/camel/component/jackson/springboot/JacksonDataFormatConfiguration.java index 726a5a6..9fc83be 100644 --- a/components-starter/camel-jackson-starter/src/main/java/org/apache/camel/component/jackson/springboot/JacksonDataFormatConfiguration.java +++ b/components-starter/camel-jackson-starter/src/main/java/org/apache/camel/component/jackson/springboot/JacksonDataFormatConfiguration.java @@ -143,6 +143,12 @@ public class JacksonDataFormatConfiguration * When not disabled, the SchemaResolver will be looked up into the registry */ private Boolean autoDiscoverSchemaResolver = true; +/** + *
[GitHub] [camel-k] astefanutti commented on a change in pull request #2757: chore(doc): Add 1.7.x documentation
astefanutti commented on a change in pull request #2757: URL: https://github.com/apache/camel-k/pull/2757#discussion_r752274446 ## File path: docs/antora.yml ## @@ -30,4 +28,4 @@ nav: # On release, update this to the appropriate released camel version. asciidoc: attributes: -camel-version: next +camel-version: 3.12.x Review comment: > Is this correct, or should it be 3.13.x? The original plan was to remove the 3.12.x docs a couple days ago, until we found out that the current camel-quarkus released version actually depends on 3.12.x. If 3.12.x is correct for camel-k, it will mean we keep the camel 3.12.x docs around until the next release of camel-k which will presumably depend on a later version of camel. This is totally fine and appropriate if it accurately describes the dependencies between the projects. I think it is 3.12.x, as Camel K also depends on that Camel Quarkus version: https://github.com/apache/camel-k-runtime/blob/eb37ecbe7a829f4a09dc5e9f5ebc8b840d936f0b/pom.xml#L41 > I also wonder if 'next' is the appropriate value in the camel-k main branch. That's a good question. Currently we plan to depend on 3.13.x, but that may be too early to make a decision. -- 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 a change in pull request #2757: chore(doc): Add 1.7.x documentation
astefanutti commented on a change in pull request #2757: URL: https://github.com/apache/camel-k/pull/2757#discussion_r752274446 ## File path: docs/antora.yml ## @@ -30,4 +28,4 @@ nav: # On release, update this to the appropriate released camel version. asciidoc: attributes: -camel-version: next +camel-version: 3.12.x Review comment: > Is this correct, or should it be 3.13.x? The original plan was to remove the 3.12.x docs a couple days ago, until we found out that the current camel-quarkus released version actually depends on 3.12.x. If 3.12.x is correct for camel-k, it will mean we keep the camel 3.12.x docs around until the next release of camel-k which will presumably depend on a later version of camel. This is totally fine and appropriate if it accurately describes the dependencies between the projects. I think it is 3.12.x, as Camel K also depends on that Camel Quarkus version: https://github.com/apache/camel-k-runtime/blob/eb37ecbe7a829f4a09dc5e9f5ebc8b840d936f0b/pom.xml#L41 > I also wonder if 'next' is the appropriate value in the camel-k main branch. That's a good question. Currently we plan to depends on 3.13.x, but that may be too early to make a decision. -- 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 a change in pull request #2757: chore(doc): Add 1.7.x documentation
astefanutti commented on a change in pull request #2757: URL: https://github.com/apache/camel-k/pull/2757#discussion_r752274446 ## File path: docs/antora.yml ## @@ -30,4 +28,4 @@ nav: # On release, update this to the appropriate released camel version. asciidoc: attributes: -camel-version: next +camel-version: 3.12.x Review comment: > Is this correct, or should it be 3.13.x? The original plan was to remove the 3.12.x docs a couple days ago, until we found out that the current camel-quarkus released version actually depends on 3.12.x. If 3.12.x is correct for camel-k, it will mean we keep the camel 3.12.x docs around until the next release of camel-k which will presumably depend on a later version of camel. This is totally fine and appropriate if it accurately describes the dependencies between the projects. I think it is 3.12.x, as Camel K also depends on that Camel Quarkus version: https://github.com/apache/camel-k-runtime/blob/eb37ecbe7a829f4a09dc5e9f5ebc8b840d936f0b/pom.xml#L41 > I also wonder if 'next' is the appropriate value in the camel-k main branch. I think that's appropriate AFAIU. -- 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-runtime] astefanutti merged pull request #754: chore(doc): Add 1.7.x documentation
astefanutti merged pull request #754: URL: https://github.com/apache/camel-k-runtime/pull/754 -- 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-k-runtime] branch release-1.10.x updated: chore(doc): Add 1.7.x documentation
This is an automated email from the ASF dual-hosted git repository. astefanutti pushed a commit to branch release-1.10.x in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git The following commit(s) were added to refs/heads/release-1.10.x by this push: new eb37ecb chore(doc): Add 1.7.x documentation eb37ecb is described below commit eb37ecbe7a829f4a09dc5e9f5ebc8b840d936f0b Author: Antonin Stefanutti AuthorDate: Thu Nov 18 12:22:39 2021 +0100 chore(doc): Add 1.7.x documentation --- docs/antora.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/antora.yml b/docs/antora.yml index e7005f3..7b20c6c 100644 --- a/docs/antora.yml +++ b/docs/antora.yml @@ -18,4 +18,4 @@ # The main part of this distributed component is in camel-k docs name: camel-k -version: next +version: 1.7.x
[GitHub] [camel-k] djencks commented on a change in pull request #2757: chore(doc): Add 1.7.x documentation
djencks commented on a change in pull request #2757: URL: https://github.com/apache/camel-k/pull/2757#discussion_r752267396 ## File path: docs/antora.yml ## @@ -30,4 +28,4 @@ nav: # On release, update this to the appropriate released camel version. asciidoc: attributes: -camel-version: next +camel-version: 3.12.x Review comment: Is this correct, or should it be 3.13.x? The original plan was to remove the 3.12.x docs a couple days ago, until we found out that the current camel-quarkus released version actually depends on 3.12.x. If 3.12.x is correct for camel-k, it will mean we keep the camel 3.12.x docs around until the next release of camel-k which will presumably depend on a later version of camel. This is totally fine and appropriate if it accurately describes the dependencies between the projects. I also wonder if 'next' is the appropriate value in the camel-k main branch. I would really like a clear description in the docs somewhere of how each subproject version relates to a main camel version. -- 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 1ee6734eb4c35b19ef47aecafc936091f85592e0
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 cc9d9cf Regen for commit 1ee6734eb4c35b19ef47aecafc936091f85592e0 cc9d9cf is described below commit cc9d9cf9a5c6823d558da5c885b9fb83c35368d8 Author: davsclaus AuthorDate: Thu Nov 18 13:55:22 2021 + Regen for commit 1ee6734eb4c35b19ef47aecafc936091f85592e0 Signed-off-by: GitHub --- .../resources/org/apache/camel/catalog/dataformats/json-jackson.json | 2 +- .../src/generated/resources/org/apache/camel/catalog/models/json.json | 2 +- .../resources/org/apache/camel/catalog/schemas/camel-spring.xsd | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/json-jackson.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/json-jackson.json index 45e9875..348b941 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/json-jackson.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/json-jackson.json @@ -35,7 +35,7 @@ "contentTypeHeader": { "kind": "attribute", "displayName": "Content Type Header", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether the data format should set the Content-Type header with the type from the data format. For example application\/xml for data formats marshalling to XML, or application\/json for data formats marshalling to JSON" }, "schemaResolver": { "kind": "attribute", "displayName": "Schema Resolver", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Optional schema resolver used to lookup schemas for the data in transit." }, "autoDiscoverSchemaResolver": { "kind": "attribute", "displayName": "Auto Discover Schema Resolver", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "When not disabled, the SchemaResolver will be looked up into the registry" }, -"namingStrategy": { "kind": "attribute", "displayName": "Naming Strategy", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "If set then Jackson will use the the defined Property Naming Strategy" }, +"namingStrategy": { "kind": "attribute", "displayName": "Naming Strategy", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "If set then Jackson will use the the defined Property Naming Strategy.Possible values are: LOWER_CAMEL_CASE, LOWER_DOT_CASE, LOWER_CASE, KEBAB_CASE, SNAKE_CASE and UPPER_CAMEL_CASE" }, "id": { "kind": "attribute", "displayName": "Id", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The id of this node" } } } diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/json.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/json.json index 6ec5f3e..96b0815 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/json.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/json.json @@ -33,7 +33,7 @@ "contentTypeHeader": { "kind": "attribute", "displayName": "Content Type Header", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether the data format should set the Content-Type header with the type from the data format. For example application\/xml for data formats marshalling to XML, or application\/json for data formats marshalling to JSON" }, "schemaResolver": { "kind": "attribute", "displayName": "Schema Resolver", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Optional schema resolver used to lookup schemas for the data in transit." }, "autoDiscoverSchemaResolver": { "kind": "attribute", "displayName": "Auto Discover Schema Resolver", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "When not disabled, the SchemaResolver will be looked up into the registry" }, -
[camel] branch regen_bot updated (3950f9c -> 4216ee5)
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 3950f9c Regen for commit cc4c4cf1f894241641ee86026e34e5aa64946df2 add 1ee6734 Upgrade dependencies for spring boot 2.5.7 add 4216ee5 Regen for commit 1ee6734eb4c35b19ef47aecafc936091f85592e0 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 (3950f9c) \ N -- N -- N refs/heads/regen_bot (4216ee5) 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: camel-dependencies/pom.xml | 8 parent/pom.xml | 10 +- 2 files changed, 9 insertions(+), 9 deletions(-)
[GitHub] [camel] oscerd merged pull request #6447: Generated sources regen
oscerd merged pull request #6447: URL: https://github.com/apache/camel/pull/6447 -- 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 (c434998 -> 3950f9c)
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 c434998 Regen for commit 794c5b3c5c0fac7408ebe34d0deefe6ba37b6b4d (#6446) add d64c906 CAMEL-16912 - camel-jackson - Make it easy to configure property naming strategy add a7a6e55 CAMEL-16912 - camel-jackson - Make it easy to configure property naming strategy add 2eb1702 CAMEL-16912 - camel-jackson - Make it easy to configure property naming strategy add 8cc5f4e CAMEL-16912 - camel-jackson - Make it easy to configure property naming strategy add e9b94b6 CAMEL-16912 - camel-jackson - Make it easy to configure property naming strategy add f9ccda8 CAMEL-16912 - camel-jackson - Make it easy to configure property naming strategy add 5c0c7ed CAMEL-16912 - camel-jackson - Make it easy to configure property naming strategy add 9b546cf CAMEL-16912 - camel-jackson - Make it easy to configure property naming strategy add f5685ab CAMEL-16912 - camel-jackson - Make it easy to configure property naming strategy add cc4c4cf CAMEL-16912 - camel-jackson - Make it easy to configure property naming strategy add 3950f9c Regen for commit cc4c4cf1f894241641ee86026e34e5aa64946df2 No new revisions were added by this update. Summary of changes: .../camel/catalog/dataformats/json-jackson.json| 1 + .../org/apache/camel/catalog/models/json.json | 1 + .../apache/camel/catalog/schemas/camel-spring.xsd | 9 + .../jackson/JacksonDataFormatConfigurer.java | 2 + .../camel/component/jackson/json-jackson.json | 1 + .../jackson/AbstractJacksonDataFormat.java | 45 ++ java => JacksonMarshalNamingStrategyTest.java} | 25 +--- ...{TestOtherPojo.java => PojoNamingStrategy.java} | 24 ++-- ...ngJacksonJsonDataFormatNamingStrategyTest.java} | 21 ++ ...ingJacksonJsonDataFormatNamingStrategyTest.xml} | 9 ++--- .../org/apache/camel/model/dataformat/json.json| 1 + .../camel/model/dataformat/JsonDataFormat.java | 21 ++ .../reifier/dataformat/JsonDataFormatReifier.java | 1 + .../java/org/apache/camel/xml/in/ModelParser.java | 1 + .../dsl/yaml/deserializers/ModelDeserializers.java | 6 +++ .../src/generated/resources/camel-yaml-dsl.json| 3 ++ 16 files changed, 131 insertions(+), 40 deletions(-) copy components/camel-jackson/src/test/java/org/apache/camel/component/jackson/{JacksonMarshalDateTimezoneTest.java => JacksonMarshalNamingStrategyTest.java} (73%) copy components/camel-jackson/src/test/java/org/apache/camel/component/jackson/{TestOtherPojo.java => PojoNamingStrategy.java} (70%) copy components/camel-jackson/src/test/java/org/apache/camel/component/jackson/{SpringJacksonEnableFeatureTest.java => SpringJacksonJsonDataFormatNamingStrategyTest.java} (61%) copy components/{camel-jacksonxml/src/test/resources/org/apache/camel/component/jacksonxml/SpringJacksonMarshalUnmarshalListTest.xml => camel-jackson/src/test/resources/org/apache/camel/component/jackson/SpringJacksonJsonDataFormatNamingStrategyTest.xml} (82%)
[GitHub] [camel] github-actions[bot] opened a new pull request #6447: Generated sources regen
github-actions[bot] opened a new pull request #6447: URL: https://github.com/apache/camel/pull/6447 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 (a3fe461 -> c434998)
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 a3fe461 Regen add c434998 Regen for commit 794c5b3c5c0fac7408ebe34d0deefe6ba37b6b4d (#6446) No new revisions were added by this update. Summary of changes:
[camel-quarkus] branch main updated: Bump nimbus-jose-jwt version from Quarkus bom
This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git The following commit(s) were added to refs/heads/main by this push: new 01ed8e5 Bump nimbus-jose-jwt version from Quarkus bom 01ed8e5 is described below commit 01ed8e5fa4c8b953c7e96fbf7029016f72f06ba9 Author: Zineb Bendhiba AuthorDate: Thu Nov 18 10:39:29 2021 +0100 Bump nimbus-jose-jwt version from Quarkus bom --- pom.xml | 1 - poms/bom/pom.xml | 5 - 2 files changed, 6 deletions(-) diff --git a/pom.xml b/pom.xml index cefa355..70ab644 100644 --- a/pom.xml +++ b/pom.xml @@ -109,7 +109,6 @@ ${libthrift-version} ${metrics-version} ${mvel-version} -9.10 ${squareup-okhttp-version} ${squareup-okio-version} ${protobuf-version} diff --git a/poms/bom/pom.xml b/poms/bom/pom.xml index cb38305..77daa51 100644 --- a/poms/bom/pom.xml +++ b/poms/bom/pom.xml @@ -5822,11 +5822,6 @@ ${zxing.version} -com.nimbusds -nimbus-jose-jwt -${nimbus-jose-jwt.version} - - com.orbitz.consul consul-client ${consul-client.version}
[GitHub] [camel-quarkus] jamesnetherton merged pull request #3309: Bump nimbus-jose-jwt version from Quarkus bom
jamesnetherton merged pull request #3309: URL: https://github.com/apache/camel-quarkus/pull/3309 -- 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 #571: Create a throttle action
oscerd commented on issue #571: URL: https://github.com/apache/camel-kamelets/issues/571#issuecomment-972870303 I'll look at it -- 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-spring-boot] branch main updated: Upgrade to Spring Boot 2.5.7
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-spring-boot.git The following commit(s) were added to refs/heads/main by this push: new 137cefb Upgrade to Spring Boot 2.5.7 137cefb is described below commit 137cefbd0f0fc7c6e2a659ac4132784a2ebb941e Author: Claus Ibsen AuthorDate: Thu Nov 18 14:08:11 2021 +0100 Upgrade to Spring Boot 2.5.7 --- archetypes/camel-archetype-spring-boot/pom.xml | 2 +- pom.xml| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/archetypes/camel-archetype-spring-boot/pom.xml b/archetypes/camel-archetype-spring-boot/pom.xml index a6049d8..8c5d93d 100644 --- a/archetypes/camel-archetype-spring-boot/pom.xml +++ b/archetypes/camel-archetype-spring-boot/pom.xml @@ -34,7 +34,7 @@ maven-archetype - 2.5.6 + 2.5.7 src/test/resources/settings.xml diff --git a/pom.xml b/pom.xml index a7b3e0f..e6da831 100644 --- a/pom.xml +++ b/pom.xml @@ -108,7 +108,7 @@ false -2.5.6 +2.5.7 3.14.0-SNAPSHOT
[camel] branch main updated: Upgrade dependencies for spring boot 2.5.7
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 1ee6734 Upgrade dependencies for spring boot 2.5.7 1ee6734 is described below commit 1ee6734eb4c35b19ef47aecafc936091f85592e0 Author: Claus Ibsen AuthorDate: Thu Nov 18 14:07:31 2021 +0100 Upgrade dependencies for spring boot 2.5.7 --- camel-dependencies/pom.xml | 8 parent/pom.xml | 10 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/camel-dependencies/pom.xml b/camel-dependencies/pom.xml index 631e850..744c195 100644 --- a/camel-dependencies/pom.xml +++ b/camel-dependencies/pom.xml @@ -244,7 +244,7 @@ 3.18.2 2.0.44.Final 1.41.0 -2.8.8 +2.8.9 28.2-jre 3.0 29.0-jre @@ -406,7 +406,7 @@ 3.0.0-M4 3.3.1 4.2.3 -1.7.3 +1.7.6 2.0 3.0 3.1 @@ -514,9 +514,9 @@ 3.1.2 1.6.5.0_1 2.0-M4-groovy-3.0 -4.3.3 +4.3.4 2.5.6 -5.5.4 +5.5.6 2.3.4.RELEASE 2.3.11 5.5.3 diff --git a/parent/pom.xml b/parent/pom.xml index 4b5f672..c2ea425 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -224,7 +224,7 @@ 28.2-jre 3.18.2 2.0.44.Final -2.8.8 +2.8.9 28.2-jre 3.0 3.3.1 @@ -246,7 +246,7 @@ 4.4.14 4.5.13 4.1.4 - 3.21.4.1 + 3.21.4.1 3.0.59 1.5.18 1.0.7 @@ -392,7 +392,7 @@ 3.0.0-M4 3.3.1 4.2.3 -1.7.3 +1.7.6 2.0 3.0 3.1 @@ -504,9 +504,9 @@ 3.1.2 1.6.5.0_1 2.0-M4-groovy-3.0 -4.3.3 +4.3.4 2.5.6 -5.5.4 +5.5.6 2.3.4.RELEASE [5,6) ${spring5-version}
[camel] 08/10: CAMEL-16912 - camel-jackson - Make it easy to configure property naming strategy
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit 9b546cfc88225f57aeb63796ddec4698d1e83849 Author: Andrea Cosentino AuthorDate: Thu Nov 18 13:54:02 2021 +0100 CAMEL-16912 - camel-jackson - Make it easy to configure property naming strategy --- .../main/java/org/apache/camel/model/dataformat/JsonDataFormat.java | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/camel-core-model/src/main/java/org/apache/camel/model/dataformat/JsonDataFormat.java b/core/camel-core-model/src/main/java/org/apache/camel/model/dataformat/JsonDataFormat.java index 1ab4d95..96290df 100644 --- a/core/camel-core-model/src/main/java/org/apache/camel/model/dataformat/JsonDataFormat.java +++ b/core/camel-core-model/src/main/java/org/apache/camel/model/dataformat/JsonDataFormat.java @@ -97,6 +97,8 @@ public class JsonDataFormat extends DataFormatDefinition implements ContentTypeH @Metadata(javaType = "java.lang.Boolean", defaultValue = "true") private String autoDiscoverSchemaResolver; @XmlAttribute +@Metadata(description = "If set then Jackson will use the the defined Property Naming Strategy." ++ "Possible values are: LOWER_CAMEL_CASE, LOWER_DOT_CASE, LOWER_CASE, KEBAB_CASE, SNAKE_CASE and UPPER_CAMEL_CASE" ) private String namingStrategy; public JsonDataFormat() { @@ -439,7 +441,8 @@ public class JsonDataFormat extends DataFormatDefinition implements ContentTypeH } /** - * If set then Jackson will use the the defined Property Naming Strategy + * If set then Jackson will use the the defined Property Naming Strategy. + * Possible values are: LOWER_CAMEL_CASE, LOWER_DOT_CASE, LOWER_CASE, KEBAB_CASE, SNAKE_CASE and UPPER_CAMEL_CASE */ public void setNamingStrategy(String namingStrategy) { this.namingStrategy = namingStrategy;
[camel] branch main updated (c434998 -> cc4c4cf)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel.git. from c434998 Regen for commit 794c5b3c5c0fac7408ebe34d0deefe6ba37b6b4d (#6446) new d64c906 CAMEL-16912 - camel-jackson - Make it easy to configure property naming strategy new a7a6e55 CAMEL-16912 - camel-jackson - Make it easy to configure property naming strategy new 2eb1702 CAMEL-16912 - camel-jackson - Make it easy to configure property naming strategy new 8cc5f4e CAMEL-16912 - camel-jackson - Make it easy to configure property naming strategy new e9b94b6 CAMEL-16912 - camel-jackson - Make it easy to configure property naming strategy new f9ccda8 CAMEL-16912 - camel-jackson - Make it easy to configure property naming strategy new 5c0c7ed CAMEL-16912 - camel-jackson - Make it easy to configure property naming strategy new 9b546cf CAMEL-16912 - camel-jackson - Make it easy to configure property naming strategy new f5685ab CAMEL-16912 - camel-jackson - Make it easy to configure property naming strategy new cc4c4cf CAMEL-16912 - camel-jackson - Make it easy to configure property naming strategy The 10 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../camel/catalog/dataformats/json-jackson.json| 1 + .../org/apache/camel/catalog/models/json.json | 1 + .../apache/camel/catalog/schemas/camel-spring.xsd | 7 .../jackson/JacksonDataFormatConfigurer.java | 2 + .../camel/component/jackson/json-jackson.json | 1 + .../jackson/AbstractJacksonDataFormat.java | 45 ++ java => JacksonMarshalNamingStrategyTest.java} | 25 +--- ...{TestOtherPojo.java => PojoNamingStrategy.java} | 24 ++-- ...ngJacksonJsonDataFormatNamingStrategyTest.java} | 21 ++ ...ingJacksonJsonDataFormatNamingStrategyTest.xml} | 9 ++--- .../org/apache/camel/model/dataformat/json.json| 1 + .../camel/model/dataformat/JsonDataFormat.java | 21 ++ .../reifier/dataformat/JsonDataFormatReifier.java | 1 + .../java/org/apache/camel/xml/in/ModelParser.java | 1 + .../dsl/yaml/deserializers/ModelDeserializers.java | 6 +++ .../src/generated/resources/camel-yaml-dsl.json| 3 ++ 16 files changed, 129 insertions(+), 40 deletions(-) copy components/camel-jackson/src/test/java/org/apache/camel/component/jackson/{JacksonMarshalDateTimezoneTest.java => JacksonMarshalNamingStrategyTest.java} (73%) copy components/camel-jackson/src/test/java/org/apache/camel/component/jackson/{TestOtherPojo.java => PojoNamingStrategy.java} (70%) copy components/camel-jackson/src/test/java/org/apache/camel/component/jackson/{SpringJacksonEnableFeatureTest.java => SpringJacksonJsonDataFormatNamingStrategyTest.java} (61%) copy components/{camel-jacksonxml/src/test/resources/org/apache/camel/component/jacksonxml/SpringJacksonMarshalUnmarshalListTest.xml => camel-jackson/src/test/resources/org/apache/camel/component/jackson/SpringJacksonJsonDataFormatNamingStrategyTest.xml} (82%)
[camel] 05/10: CAMEL-16912 - camel-jackson - Make it easy to configure property naming strategy
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit e9b94b6c205dba65b860969d0eefd40581e54247 Author: Andrea Cosentino AuthorDate: Thu Nov 18 12:41:48 2021 +0100 CAMEL-16912 - camel-jackson - Make it easy to configure property naming strategy --- .../org/apache/camel/catalog/dataformats/json-jackson.json | 1 + .../generated/resources/org/apache/camel/catalog/models/json.json | 1 + .../resources/org/apache/camel/catalog/schemas/camel-spring.xsd| 7 +++ .../camel/component/jackson/JacksonDataFormatConfigurer.java | 2 ++ .../resources/org/apache/camel/component/jackson/json-jackson.json | 1 + .../resources/org/apache/camel/model/dataformat/json.json | 1 + .../src/generated/java/org/apache/camel/xml/in/ModelParser.java| 1 + .../apache/camel/dsl/yaml/deserializers/ModelDeserializers.java| 6 ++ .../camel-yaml-dsl/src/generated/resources/camel-yaml-dsl.json | 3 +++ 9 files changed, 23 insertions(+) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/json-jackson.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/json-jackson.json index 0487fb3..45e9875 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/json-jackson.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/json-jackson.json @@ -35,6 +35,7 @@ "contentTypeHeader": { "kind": "attribute", "displayName": "Content Type Header", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether the data format should set the Content-Type header with the type from the data format. For example application\/xml for data formats marshalling to XML, or application\/json for data formats marshalling to JSON" }, "schemaResolver": { "kind": "attribute", "displayName": "Schema Resolver", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Optional schema resolver used to lookup schemas for the data in transit." }, "autoDiscoverSchemaResolver": { "kind": "attribute", "displayName": "Auto Discover Schema Resolver", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "When not disabled, the SchemaResolver will be looked up into the registry" }, +"namingStrategy": { "kind": "attribute", "displayName": "Naming Strategy", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "If set then Jackson will use the the defined Property Naming Strategy" }, "id": { "kind": "attribute", "displayName": "Id", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The id of this node" } } } diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/json.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/json.json index 9f90440..6ec5f3e 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/json.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/json.json @@ -33,6 +33,7 @@ "contentTypeHeader": { "kind": "attribute", "displayName": "Content Type Header", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether the data format should set the Content-Type header with the type from the data format. For example application\/xml for data formats marshalling to XML, or application\/json for data formats marshalling to JSON" }, "schemaResolver": { "kind": "attribute", "displayName": "Schema Resolver", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Optional schema resolver used to lookup schemas for the data in transit." }, "autoDiscoverSchemaResolver": { "kind": "attribute", "displayName": "Auto Discover Schema Resolver", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "When not disabled, the SchemaResolver will be looked up into the registry" }, +"namingStrategy": { "kind": "attribute", "displayName": "Naming Strategy", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false,
[camel] 09/10: CAMEL-16912 - camel-jackson - Make it easy to configure property naming strategy
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit f5685aba0df29c045e2f774a22f646fc8c4c0e8c Author: Andrea Cosentino AuthorDate: Thu Nov 18 14:00:42 2021 +0100 CAMEL-16912 - camel-jackson - Make it easy to configure property naming strategy --- .../generated/resources/org/apache/camel/model/dataformat/json.json | 2 +- .../main/java/org/apache/camel/model/dataformat/JsonDataFormat.java | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/camel-core-model/src/generated/resources/org/apache/camel/model/dataformat/json.json b/core/camel-core-model/src/generated/resources/org/apache/camel/model/dataformat/json.json index 6ec5f3e..96b0815 100644 --- a/core/camel-core-model/src/generated/resources/org/apache/camel/model/dataformat/json.json +++ b/core/camel-core-model/src/generated/resources/org/apache/camel/model/dataformat/json.json @@ -33,7 +33,7 @@ "contentTypeHeader": { "kind": "attribute", "displayName": "Content Type Header", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether the data format should set the Content-Type header with the type from the data format. For example application\/xml for data formats marshalling to XML, or application\/json for data formats marshalling to JSON" }, "schemaResolver": { "kind": "attribute", "displayName": "Schema Resolver", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Optional schema resolver used to lookup schemas for the data in transit." }, "autoDiscoverSchemaResolver": { "kind": "attribute", "displayName": "Auto Discover Schema Resolver", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "When not disabled, the SchemaResolver will be looked up into the registry" }, -"namingStrategy": { "kind": "attribute", "displayName": "Naming Strategy", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "If set then Jackson will use the the defined Property Naming Strategy" }, +"namingStrategy": { "kind": "attribute", "displayName": "Naming Strategy", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "If set then Jackson will use the the defined Property Naming Strategy.Possible values are: LOWER_CAMEL_CASE, LOWER_DOT_CASE, LOWER_CASE, KEBAB_CASE, SNAKE_CASE and UPPER_CAMEL_CASE" }, "id": { "kind": "attribute", "displayName": "Id", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The id of this node" } } } diff --git a/core/camel-core-model/src/main/java/org/apache/camel/model/dataformat/JsonDataFormat.java b/core/camel-core-model/src/main/java/org/apache/camel/model/dataformat/JsonDataFormat.java index 96290df..02a2e03 100644 --- a/core/camel-core-model/src/main/java/org/apache/camel/model/dataformat/JsonDataFormat.java +++ b/core/camel-core-model/src/main/java/org/apache/camel/model/dataformat/JsonDataFormat.java @@ -98,7 +98,7 @@ public class JsonDataFormat extends DataFormatDefinition implements ContentTypeH private String autoDiscoverSchemaResolver; @XmlAttribute @Metadata(description = "If set then Jackson will use the the defined Property Naming Strategy." -+ "Possible values are: LOWER_CAMEL_CASE, LOWER_DOT_CASE, LOWER_CASE, KEBAB_CASE, SNAKE_CASE and UPPER_CAMEL_CASE" ) ++ "Possible values are: LOWER_CAMEL_CASE, LOWER_DOT_CASE, LOWER_CASE, KEBAB_CASE, SNAKE_CASE and UPPER_CAMEL_CASE") private String namingStrategy; public JsonDataFormat() { @@ -441,8 +441,8 @@ public class JsonDataFormat extends DataFormatDefinition implements ContentTypeH } /** - * If set then Jackson will use the the defined Property Naming Strategy. - * Possible values are: LOWER_CAMEL_CASE, LOWER_DOT_CASE, LOWER_CASE, KEBAB_CASE, SNAKE_CASE and UPPER_CAMEL_CASE + * If set then Jackson will use the the defined Property Naming Strategy. Possible values are: LOWER_CAMEL_CASE, + * LOWER_DOT_CASE, LOWER_CASE, KEBAB_CASE, SNAKE_CASE and UPPER_CAMEL_CASE */ public void setNamingStrategy(String namingStrategy) { this.namingStrategy = namingStrategy;
[camel] 03/10: CAMEL-16912 - camel-jackson - Make it easy to configure property naming strategy
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit 2eb170222c43a43525c70e9a03428ea5ff52ed24 Author: Andrea Cosentino AuthorDate: Thu Nov 18 11:53:46 2021 +0100 CAMEL-16912 - camel-jackson - Make it easy to configure property naming strategy --- .../org/apache/camel/component/jackson/JacksonDataFormatConfigurer.java | 2 +- .../org/apache/camel/component/jackson/AbstractJacksonDataFormat.java | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/components/camel-jackson/src/generated/java/org/apache/camel/component/jackson/JacksonDataFormatConfigurer.java b/components/camel-jackson/src/generated/java/org/apache/camel/component/jackson/JacksonDataFormatConfigurer.java index 42ea935..bc227a6 100644 --- a/components/camel-jackson/src/generated/java/org/apache/camel/component/jackson/JacksonDataFormatConfigurer.java +++ b/components/camel-jackson/src/generated/java/org/apache/camel/component/jackson/JacksonDataFormatConfigurer.java @@ -51,7 +51,7 @@ public class JacksonDataFormatConfigurer extends PropertyConfigurerSupport imple case "autodiscoverobjectmapper": case "autoDiscoverObjectMapper": dataformat.setAutoDiscoverObjectMapper(property(camelContext, boolean.class, value)); return true; case "schemaresolver": -case "schemaResolver": dataformat.setSchemaResolver(property(camelContext, com.fasterxml.jackson.databind.SchemaResolver.class, value)); return true; +case "schemaResolver": dataformat.setSchemaResolver(property(camelContext, org.apache.camel.component.jackson.SchemaResolver.class, value)); return true; case "autodiscoverschemaresolver": case "autoDiscoverSchemaResolver": dataformat.setAutoDiscoverSchemaResolver(property(camelContext, boolean.class, value)); return true; default: return false; diff --git a/components/camel-jackson/src/main/java/org/apache/camel/component/jackson/AbstractJacksonDataFormat.java b/components/camel-jackson/src/main/java/org/apache/camel/component/jackson/AbstractJacksonDataFormat.java index 3a8cb16..aa04e68 100644 --- a/components/camel-jackson/src/main/java/org/apache/camel/component/jackson/AbstractJacksonDataFormat.java +++ b/components/camel-jackson/src/main/java/org/apache/camel/component/jackson/AbstractJacksonDataFormat.java @@ -32,7 +32,6 @@ import com.fasterxml.jackson.core.FormatSchema; import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.MapperFeature; import com.fasterxml.jackson.databind.Module; -import com.fasterxml.jackson.databind.Module; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.PropertyNamingStrategy; import com.fasterxml.jackson.databind.SerializationFeature;
[camel] 10/10: CAMEL-16912 - camel-jackson - Make it easy to configure property naming strategy
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit cc4c4cf1f894241641ee86026e34e5aa64946df2 Author: Andrea Cosentino AuthorDate: Thu Nov 18 14:01:33 2021 +0100 CAMEL-16912 - camel-jackson - Make it easy to configure property naming strategy --- .../resources/org/apache/camel/component/jackson/json-jackson.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/camel-jackson/src/generated/resources/org/apache/camel/component/jackson/json-jackson.json b/components/camel-jackson/src/generated/resources/org/apache/camel/component/jackson/json-jackson.json index 45e9875..348b941 100644 --- a/components/camel-jackson/src/generated/resources/org/apache/camel/component/jackson/json-jackson.json +++ b/components/camel-jackson/src/generated/resources/org/apache/camel/component/jackson/json-jackson.json @@ -35,7 +35,7 @@ "contentTypeHeader": { "kind": "attribute", "displayName": "Content Type Header", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether the data format should set the Content-Type header with the type from the data format. For example application\/xml for data formats marshalling to XML, or application\/json for data formats marshalling to JSON" }, "schemaResolver": { "kind": "attribute", "displayName": "Schema Resolver", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Optional schema resolver used to lookup schemas for the data in transit." }, "autoDiscoverSchemaResolver": { "kind": "attribute", "displayName": "Auto Discover Schema Resolver", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "When not disabled, the SchemaResolver will be looked up into the registry" }, -"namingStrategy": { "kind": "attribute", "displayName": "Naming Strategy", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "If set then Jackson will use the the defined Property Naming Strategy" }, +"namingStrategy": { "kind": "attribute", "displayName": "Naming Strategy", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "If set then Jackson will use the the defined Property Naming Strategy.Possible values are: LOWER_CAMEL_CASE, LOWER_DOT_CASE, LOWER_CASE, KEBAB_CASE, SNAKE_CASE and UPPER_CAMEL_CASE" }, "id": { "kind": "attribute", "displayName": "Id", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The id of this node" } } }
[camel] 04/10: CAMEL-16912 - camel-jackson - Make it easy to configure property naming strategy
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit 8cc5f4ed835edcc103462681fb47e9174258357e Author: Andrea Cosentino AuthorDate: Thu Nov 18 12:01:13 2021 +0100 CAMEL-16912 - camel-jackson - Make it easy to configure property naming strategy --- .../apache/camel/model/dataformat/JsonDataFormat.java | 18 ++ 1 file changed, 18 insertions(+) diff --git a/core/camel-core-model/src/main/java/org/apache/camel/model/dataformat/JsonDataFormat.java b/core/camel-core-model/src/main/java/org/apache/camel/model/dataformat/JsonDataFormat.java index 052062b..1ab4d95 100644 --- a/core/camel-core-model/src/main/java/org/apache/camel/model/dataformat/JsonDataFormat.java +++ b/core/camel-core-model/src/main/java/org/apache/camel/model/dataformat/JsonDataFormat.java @@ -96,6 +96,8 @@ public class JsonDataFormat extends DataFormatDefinition implements ContentTypeH @XmlAttribute @Metadata(javaType = "java.lang.Boolean", defaultValue = "true") private String autoDiscoverSchemaResolver; +@XmlAttribute +private String namingStrategy; public JsonDataFormat() { super("json"); @@ -432,6 +434,17 @@ public class JsonDataFormat extends DataFormatDefinition implements ContentTypeH this.autoDiscoverSchemaResolver = autoDiscoverSchemaResolver; } +public String getNamingStrategy() { +return namingStrategy; +} + +/** + * If set then Jackson will use the the defined Property Naming Strategy + */ +public void setNamingStrategy(String namingStrategy) { +this.namingStrategy = namingStrategy; +} + // // Fluent builders // @@ -569,4 +582,9 @@ public class JsonDataFormat extends DataFormatDefinition implements ContentTypeH return this; } +public JsonDataFormat namingStrategy(String namingStrategy) { +this.namingStrategy = namingStrategy; +return this; +} + }
[camel] 01/10: CAMEL-16912 - camel-jackson - Make it easy to configure property naming strategy
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit d64c90615ffec0bddd1c002e3325825537df4eb0 Author: Andrea Cosentino AuthorDate: Thu Nov 18 11:51:30 2021 +0100 CAMEL-16912 - camel-jackson - Make it easy to configure property naming strategy --- .../jackson/AbstractJacksonDataFormat.java | 18 +-- .../jackson/JacksonMarshalNamingStrategyTest.java | 60 ++ .../component/jackson/PojoNamingStrategy.java | 24 + 3 files changed, 98 insertions(+), 4 deletions(-) diff --git a/components/camel-jackson/src/main/java/org/apache/camel/component/jackson/AbstractJacksonDataFormat.java b/components/camel-jackson/src/main/java/org/apache/camel/component/jackson/AbstractJacksonDataFormat.java index d5c62ce..7b83b0d 100644 --- a/components/camel-jackson/src/main/java/org/apache/camel/component/jackson/AbstractJacksonDataFormat.java +++ b/components/camel-jackson/src/main/java/org/apache/camel/component/jackson/AbstractJacksonDataFormat.java @@ -29,11 +29,8 @@ import java.util.TimeZone; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.core.FormatSchema; -import com.fasterxml.jackson.databind.DeserializationFeature; -import com.fasterxml.jackson.databind.MapperFeature; +import com.fasterxml.jackson.databind.*; import com.fasterxml.jackson.databind.Module; -import com.fasterxml.jackson.databind.ObjectMapper; -import com.fasterxml.jackson.databind.SerializationFeature; import com.fasterxml.jackson.databind.type.CollectionType; import org.apache.camel.CamelContext; import org.apache.camel.CamelContextAware; @@ -80,6 +77,7 @@ public abstract class AbstractJacksonDataFormat extends ServiceSupport private boolean autoDiscoverObjectMapper; private SchemaResolver schemaResolver; private boolean autoDiscoverSchemaResolver = true; +private PropertyNamingStrategy namingStrategy; /** * Use the default Jackson {@link ObjectMapper} and {@link Object} @@ -285,6 +283,14 @@ public abstract class AbstractJacksonDataFormat extends ServiceSupport return modules; } +public PropertyNamingStrategy getNamingStrategy() { +return namingStrategy; +} + +public void setNamingStrategy(PropertyNamingStrategy namingStrategy) { +this.namingStrategy = namingStrategy; +} + /** * To use custom Jackson {@link Module}s */ @@ -647,6 +653,10 @@ public abstract class AbstractJacksonDataFormat extends ServiceSupport LOG.debug("Setting timezone to Object Mapper: {}", timezone); objectMapper.setTimeZone(timezone); } + +if (org.apache.camel.util.ObjectHelper.isNotEmpty(namingStrategy)) { +objectMapper.setPropertyNamingStrategy(namingStrategy); +} } else { LOG.debug("The objectMapper was already found in the registry, no customizations will be applied"); } diff --git a/components/camel-jackson/src/test/java/org/apache/camel/component/jackson/JacksonMarshalNamingStrategyTest.java b/components/camel-jackson/src/test/java/org/apache/camel/component/jackson/JacksonMarshalNamingStrategyTest.java new file mode 100644 index 000..c6de91e --- /dev/null +++ b/components/camel-jackson/src/test/java/org/apache/camel/component/jackson/JacksonMarshalNamingStrategyTest.java @@ -0,0 +1,60 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.camel.component.jackson; + +import com.fasterxml.jackson.databind.PropertyNamingStrategies; +import org.apache.camel.builder.RouteBuilder; +import org.apache.camel.component.mock.MockEndpoint; +import org.apache.camel.test.junit5.CamelTestSupport; +import org.junit.jupiter.api.Test; + +import java.util.HashMap; +import java.util.Map; + +import static org.junit.jupiter.api.Assertions.assertEquals; + +public class JacksonMarshalNamingStrategyTest extends CamelTestSupport { + +@Test +public void testMarshalAndUnmarshalMap() throws Exception { +PojoNamingStrategy pojoNamingStrategy = new PojoNamingStrategy(); +
[camel] 07/10: CAMEL-16912 - camel-jackson - Make it easy to configure property naming strategy
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit 5c0c7edeed66ee04828414e5843f52975122c97c Author: Andrea Cosentino AuthorDate: Thu Nov 18 13:49:37 2021 +0100 CAMEL-16912 - camel-jackson - Make it easy to configure property naming strategy --- .../camel/component/jackson/PojoNamingStrategy.java | 16 1 file changed, 16 insertions(+) diff --git a/components/camel-jackson/src/test/java/org/apache/camel/component/jackson/PojoNamingStrategy.java b/components/camel-jackson/src/test/java/org/apache/camel/component/jackson/PojoNamingStrategy.java index 0eb2416..7e70b3d 100644 --- a/components/camel-jackson/src/test/java/org/apache/camel/component/jackson/PojoNamingStrategy.java +++ b/components/camel-jackson/src/test/java/org/apache/camel/component/jackson/PojoNamingStrategy.java @@ -1,3 +1,19 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.apache.camel.component.jackson; public class PojoNamingStrategy {
[camel] 06/10: CAMEL-16912 - camel-jackson - Make it easy to configure property naming strategy
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit f9ccda8afc2128b2a4b636c45d359e874aba4e13 Author: Andrea Cosentino AuthorDate: Thu Nov 18 13:49:03 2021 +0100 CAMEL-16912 - camel-jackson - Make it easy to configure property naming strategy --- .../jackson/JacksonDataFormatConfigurer.java | 2 +- .../jackson/AbstractJacksonDataFormat.java | 39 +-- .../jackson/JacksonMarshalNamingStrategyTest.java | 3 +- ...ngJacksonJsonDataFormatNamingStrategyTest.java} | 21 --- ...ringJacksonJsonDataFormatNamingStrategyTest.xml | 44 ++ .../reifier/dataformat/JsonDataFormatReifier.java | 1 + 6 files changed, 89 insertions(+), 21 deletions(-) diff --git a/components/camel-jackson/src/generated/java/org/apache/camel/component/jackson/JacksonDataFormatConfigurer.java b/components/camel-jackson/src/generated/java/org/apache/camel/component/jackson/JacksonDataFormatConfigurer.java index 7c60bd1..55ad712 100644 --- a/components/camel-jackson/src/generated/java/org/apache/camel/component/jackson/JacksonDataFormatConfigurer.java +++ b/components/camel-jackson/src/generated/java/org/apache/camel/component/jackson/JacksonDataFormatConfigurer.java @@ -55,7 +55,7 @@ public class JacksonDataFormatConfigurer extends PropertyConfigurerSupport imple case "autodiscoverschemaresolver": case "autoDiscoverSchemaResolver": dataformat.setAutoDiscoverSchemaResolver(property(camelContext, boolean.class, value)); return true; case "namingstrategy": -case "namingStrategy": dataformat.setNamingStrategy(property(camelContext, com.fasterxml.jackson.databind.PropertyNamingStrategy.class, value)); return true; +case "namingStrategy": dataformat.setNamingStrategy(property(camelContext, java.lang.String.class, value)); return true; default: return false; } } diff --git a/components/camel-jackson/src/main/java/org/apache/camel/component/jackson/AbstractJacksonDataFormat.java b/components/camel-jackson/src/main/java/org/apache/camel/component/jackson/AbstractJacksonDataFormat.java index aa04e68..67f838d6 100644 --- a/components/camel-jackson/src/main/java/org/apache/camel/component/jackson/AbstractJacksonDataFormat.java +++ b/components/camel-jackson/src/main/java/org/apache/camel/component/jackson/AbstractJacksonDataFormat.java @@ -33,6 +33,7 @@ import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.MapperFeature; import com.fasterxml.jackson.databind.Module; import com.fasterxml.jackson.databind.ObjectMapper; +import com.fasterxml.jackson.databind.PropertyNamingStrategies; import com.fasterxml.jackson.databind.PropertyNamingStrategy; import com.fasterxml.jackson.databind.SerializationFeature; import com.fasterxml.jackson.databind.type.CollectionType; @@ -81,7 +82,7 @@ public abstract class AbstractJacksonDataFormat extends ServiceSupport private boolean autoDiscoverObjectMapper; private SchemaResolver schemaResolver; private boolean autoDiscoverSchemaResolver = true; -private PropertyNamingStrategy namingStrategy; +private String namingStrategy; /** * Use the default Jackson {@link ObjectMapper} and {@link Object} @@ -287,11 +288,11 @@ public abstract class AbstractJacksonDataFormat extends ServiceSupport return modules; } -public PropertyNamingStrategy getNamingStrategy() { +public String getNamingStrategy() { return namingStrategy; } -public void setNamingStrategy(PropertyNamingStrategy namingStrategy) { +public void setNamingStrategy(String namingStrategy) { this.namingStrategy = namingStrategy; } @@ -659,7 +660,10 @@ public abstract class AbstractJacksonDataFormat extends ServiceSupport } if (org.apache.camel.util.ObjectHelper.isNotEmpty(namingStrategy)) { -objectMapper.setPropertyNamingStrategy(namingStrategy); +PropertyNamingStrategy selectedNamingStrategy = determineNamingStrategy(namingStrategy); +if (org.apache.camel.util.ObjectHelper.isNotEmpty(selectedNamingStrategy)) { + objectMapper.setPropertyNamingStrategy(selectedNamingStrategy); +} } } else { LOG.debug("The objectMapper was already found in the registry, no customizations will be applied"); @@ -682,6 +686,33 @@ public abstract class AbstractJacksonDataFormat extends ServiceSupport } } +private PropertyNamingStrategy determineNamingStrategy(String namingStrategy) { +PropertyNamingStrategy strategy = null; +switch (namingStrategy) { +case "LOWER_CAMEL_CASE": +strategy = PropertyNamingStrategies.LOWER_CAMEL_CASE; +break; +
[camel] 02/10: CAMEL-16912 - camel-jackson - Make it easy to configure property naming strategy
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit a7a6e55173d669d26bac04a6f3003d7b57e18064 Author: Andrea Cosentino AuthorDate: Thu Nov 18 11:53:04 2021 +0100 CAMEL-16912 - camel-jackson - Make it easy to configure property naming strategy --- .../jackson/JacksonDataFormatConfigurer.java | 2 +- .../jackson/AbstractJacksonDataFormat.java | 7 +- .../jackson/JacksonMarshalNamingStrategyTest.java | 3 --- .../component/jackson/PojoNamingStrategy.java | 28 +++--- 4 files changed, 21 insertions(+), 19 deletions(-) diff --git a/components/camel-jackson/src/generated/java/org/apache/camel/component/jackson/JacksonDataFormatConfigurer.java b/components/camel-jackson/src/generated/java/org/apache/camel/component/jackson/JacksonDataFormatConfigurer.java index bc227a6..42ea935 100644 --- a/components/camel-jackson/src/generated/java/org/apache/camel/component/jackson/JacksonDataFormatConfigurer.java +++ b/components/camel-jackson/src/generated/java/org/apache/camel/component/jackson/JacksonDataFormatConfigurer.java @@ -51,7 +51,7 @@ public class JacksonDataFormatConfigurer extends PropertyConfigurerSupport imple case "autodiscoverobjectmapper": case "autoDiscoverObjectMapper": dataformat.setAutoDiscoverObjectMapper(property(camelContext, boolean.class, value)); return true; case "schemaresolver": -case "schemaResolver": dataformat.setSchemaResolver(property(camelContext, org.apache.camel.component.jackson.SchemaResolver.class, value)); return true; +case "schemaResolver": dataformat.setSchemaResolver(property(camelContext, com.fasterxml.jackson.databind.SchemaResolver.class, value)); return true; case "autodiscoverschemaresolver": case "autoDiscoverSchemaResolver": dataformat.setAutoDiscoverSchemaResolver(property(camelContext, boolean.class, value)); return true; default: return false; diff --git a/components/camel-jackson/src/main/java/org/apache/camel/component/jackson/AbstractJacksonDataFormat.java b/components/camel-jackson/src/main/java/org/apache/camel/component/jackson/AbstractJacksonDataFormat.java index 7b83b0d..3a8cb16 100644 --- a/components/camel-jackson/src/main/java/org/apache/camel/component/jackson/AbstractJacksonDataFormat.java +++ b/components/camel-jackson/src/main/java/org/apache/camel/component/jackson/AbstractJacksonDataFormat.java @@ -29,8 +29,13 @@ import java.util.TimeZone; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.core.FormatSchema; -import com.fasterxml.jackson.databind.*; +import com.fasterxml.jackson.databind.DeserializationFeature; +import com.fasterxml.jackson.databind.MapperFeature; import com.fasterxml.jackson.databind.Module; +import com.fasterxml.jackson.databind.Module; +import com.fasterxml.jackson.databind.ObjectMapper; +import com.fasterxml.jackson.databind.PropertyNamingStrategy; +import com.fasterxml.jackson.databind.SerializationFeature; import com.fasterxml.jackson.databind.type.CollectionType; import org.apache.camel.CamelContext; import org.apache.camel.CamelContextAware; diff --git a/components/camel-jackson/src/test/java/org/apache/camel/component/jackson/JacksonMarshalNamingStrategyTest.java b/components/camel-jackson/src/test/java/org/apache/camel/component/jackson/JacksonMarshalNamingStrategyTest.java index c6de91e..612a2f1 100644 --- a/components/camel-jackson/src/test/java/org/apache/camel/component/jackson/JacksonMarshalNamingStrategyTest.java +++ b/components/camel-jackson/src/test/java/org/apache/camel/component/jackson/JacksonMarshalNamingStrategyTest.java @@ -22,9 +22,6 @@ import org.apache.camel.component.mock.MockEndpoint; import org.apache.camel.test.junit5.CamelTestSupport; import org.junit.jupiter.api.Test; -import java.util.HashMap; -import java.util.Map; - import static org.junit.jupiter.api.Assertions.assertEquals; public class JacksonMarshalNamingStrategyTest extends CamelTestSupport { diff --git a/components/camel-jackson/src/test/java/org/apache/camel/component/jackson/PojoNamingStrategy.java b/components/camel-jackson/src/test/java/org/apache/camel/component/jackson/PojoNamingStrategy.java index b7bd28f..0eb2416 100644 --- a/components/camel-jackson/src/test/java/org/apache/camel/component/jackson/PojoNamingStrategy.java +++ b/components/camel-jackson/src/test/java/org/apache/camel/component/jackson/PojoNamingStrategy.java @@ -2,23 +2,23 @@ package org.apache.camel.component.jackson; public class PojoNamingStrategy { -private String fieldOne; +private String fieldOne; -private String fieldTwo; +private String fieldTwo; -public String getFieldOne() { -return fieldOne; -} +public String getFieldOne() { +return fieldOne; +} -public
[camel] branch regen_bot updated (bd5d14a -> a3fe461)
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 bd5d14a Regen for commit 794c5b3c5c0fac7408ebe34d0deefe6ba37b6b4d add a3fe461 Regen This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (bd5d14a) \ N -- N -- N refs/heads/regen_bot (a3fe461) 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:
[camel] branch main updated: Regen for commit 794c5b3c5c0fac7408ebe34d0deefe6ba37b6b4d (#6446)
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 c434998 Regen for commit 794c5b3c5c0fac7408ebe34d0deefe6ba37b6b4d (#6446) c434998 is described below commit c4349980d047a81ff9b0dda0a8f876c9a47fe569 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Thu Nov 18 13:50:20 2021 +0100 Regen for commit 794c5b3c5c0fac7408ebe34d0deefe6ba37b6b4d (#6446) Signed-off-by: GitHub Co-authored-by: davsclaus
[GitHub] [camel] davsclaus merged pull request #6446: Generated sources regen
davsclaus merged pull request #6446: URL: https://github.com/apache/camel/pull/6446 -- 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 (945f035 -> bd5d14a)
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 945f035 Use Maven Enforcer 3.0.0 to make Camel build on Java 17 add 9dd31ad CAMEL-16656: camel-core - ResourceReloader SPI - Allow to reload on changes add 67d2afd CAMEL-16656: camel-core - ResourceReloader SPI - Allow to reload on changes add 444da51 CAMEL-16656: camel-core - ResourceReloader SPI - Allow to reload on changes add d1cd3b2 CAMEL-16656: camel-core - ResourceReloader SPI - Allow to reload on changes add 9851614 CAMEL-16656: camel-core - ResourceReloader SPI - Allow to reload on changes add 4ccbcde CAMEL-16656: camel-core - ResourceReloader SPI - Allow to reload on changes add 4596aa0 CAMEL-17205: camel-core - Error handler with custom prepare processor should have access to failure route id add d8999df CAMEL-16656: camel-core - ResourceReloader SPI - Allow to reload on changes add dab6bfd CAMEL-17206: camel-kamelet-main - Add support for route reload add a41b6ae CAMEL-17206: camel-jbang - Add reload option to enable live reload of routes when updated/saved. add 62b2c08 CAMEL-16656: camel-core - ResourceReloader SPI - Allow to reload on changes add 794c5b3 Regen add bd5d14a Regen for commit 794c5b3c5c0fac7408ebe34d0deefe6ba37b6b4d No new revisions were added by this update. Summary of changes: .../main/camel-main-configuration-metadata.json| 3 + .../RouteRefCamelContextFactoryBeanTest.java | 20 +- .../processor/DefaultErrorHandlerOnPrepareTest.xml | 2 +- .../main/java/org/apache/camel/RoutesBuilder.java | 11 + .../ResourceReload.java} | 17 +- .../ResourceReloadStrategy.java} | 40 ++- .../java/org/apache/camel/spi/RoutesLoader.java| 17 ++ .../org/apache/camel/builder/RouteBuilder.java | 55 .../errorhandler/RedeliveryErrorHandler.java | 29 +- .../DefaultErrorHandlerOnPrepareTest.java | 6 +- .../MainConfigurationPropertiesConfigurer.java | 18 ++ .../camel-main-configuration-metadata.json | 3 + core/camel-main/src/main/docs/main.adoc| 5 +- .../camel/main/DefaultConfigurationConfigurer.java | 6 + .../camel/main/DefaultConfigurationProperties.java | 59 .../support/FileWatcherResourceReloadStrategy.java | 301 + .../support/ResourceReloadStrategySupport.java | 98 +++ .../camel/support/RouteWatcherReloadStrategy.java | 98 +++ docs/user-manual/modules/ROOT/nav.adoc | 1 + .../ROOT/pages/camel-3x-upgrade-guide-3_14.adoc| 3 + .../modules/ROOT/pages/camel-jbang.adoc| 24 +- docs/user-manual/modules/ROOT/pages/dsl.adoc | 1 + docs/user-manual/modules/ROOT/pages/index.adoc | 1 + .../modules/ROOT/pages/route-reload.adoc | 73 + .../apache/camel/dsl/jbang/core/commands/Run.java | 6 + .../java/org/apache/camel/main/KameletMain.java| 8 +- dsl/camel-xml-io-dsl/pom.xml | 5 + .../org/apache/camel/dsl/xml/io/XmlMainTest.java | 2 +- .../io/reload/RouteWatcherReloadStrategyTest.java | 205 ++ .../resources/org/apache/camel/reload/barRoute.xml | 29 ++ .../org/apache/camel/reload}/barUpdatedRoute.xml | 0 31 files changed, 1096 insertions(+), 50 deletions(-) copy core/camel-api/src/main/java/org/apache/camel/{RoutesBuilder.java => spi/ResourceReload.java} (62%) copy core/camel-api/src/main/java/org/apache/camel/{RoutesBuilder.java => spi/ResourceReloadStrategy.java} (50%) create mode 100644 core/camel-support/src/main/java/org/apache/camel/support/FileWatcherResourceReloadStrategy.java create mode 100644 core/camel-support/src/main/java/org/apache/camel/support/ResourceReloadStrategySupport.java create mode 100644 core/camel-support/src/main/java/org/apache/camel/support/RouteWatcherReloadStrategy.java create mode 100644 docs/user-manual/modules/ROOT/pages/route-reload.adoc create mode 100644 dsl/camel-xml-io-dsl/src/test/java/org/apache/camel/dsl/xml/io/reload/RouteWatcherReloadStrategyTest.java create mode 100644 dsl/camel-xml-io-dsl/src/test/resources/org/apache/camel/reload/barRoute.xml copy {core/camel-xml-io/src/test/resources => dsl/camel-xml-io-dsl/src/test/resources/org/apache/camel/reload}/barUpdatedRoute.xml (100%)
[GitHub] [camel] github-actions[bot] opened a new pull request #6446: Generated sources regen
github-actions[bot] opened a new pull request #6446: URL: https://github.com/apache/camel/pull/6446 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-karaf] branch release/3.11.4 updated: [maven-release-plugin] prepare for next development iteration
This is an automated email from the ASF dual-hosted git repository. gzurowski pushed a commit to branch release/3.11.4 in repository https://gitbox.apache.org/repos/asf/camel-karaf.git The following commit(s) were added to refs/heads/release/3.11.4 by this push: new 7a6b409 [maven-release-plugin] prepare for next development iteration 7a6b409 is described below commit 7a6b4099b93831eb8876fbf0f3b142970b10aa54 Author: Gregor Zurowski AuthorDate: Thu Nov 18 12:20:43 2021 + [maven-release-plugin] prepare for next development iteration --- archetypes/camel-archetype-blueprint/pom.xml | 2 +- archetypes/pom.xml | 2 +- bom/camel-karaf-bom/pom.xml| 2 +- bom/pom.xml| 2 +- catalog/camel-catalog-provider-karaf/pom.xml | 2 +- catalog/pom.xml| 2 +- components/camel-bean-osgi/pom.xml | 2 +- components/camel-bean-validator-osgi/pom.xml | 2 +- components/camel-blueprint-main/pom.xml| 2 +- components/camel-blueprint/pom.xml | 2 +- components/camel-cmis-osgi/pom.xml | 2 +- components/camel-cxf-blueprint/pom.xml | 2 +- components/camel-cxf-transport-blueprint/pom.xml | 2 +- components/camel-eventadmin/pom.xml| 2 +- components/camel-jcache-osgi/pom.xml | 2 +- components/camel-kura/pom.xml | 2 +- components/camel-osgi-activator/pom.xml| 2 +- components/camel-paxlogging/pom.xml| 2 +- components/camel-servlet-osgi/pom.xml | 2 +- components/camel-test-blueprint/pom.xml| 2 +- components/camel-test-karaf/pom.xml| 2 +- components/camel-zookeeper-master-osgi/pom.xml | 2 +- components/pom.xml | 2 +- core/camel-core-osgi/pom.xml | 2 +- core/pom.xml | 2 +- platforms/commands/commands-core/pom.xml | 2 +- platforms/commands/pom.xml | 2 +- platforms/karaf/commands/pom.xml | 2 +- platforms/karaf/features/pom.xml | 2 +- platforms/karaf/pom.xml| 2 +- platforms/pom.xml | 2 +- pom.xml| 4 ++-- tests/camel-blueprint-cxf-test/pom.xml | 2 +- tests/camel-blueprint-test/pom.xml | 2 +- tests/camel-itest-osgi/pom.xml | 2 +- tests/pom.xml | 2 +- tooling/camel-catalog-generator-karaf-maven-plugin/pom.xml | 2 +- tooling/camel-karaf-docs-maven-plugin/pom.xml | 2 +- tooling/camel-karaf-maven-plugin/pom.xml | 2 +- tooling/pom.xml| 2 +- 40 files changed, 41 insertions(+), 41 deletions(-) diff --git a/archetypes/camel-archetype-blueprint/pom.xml b/archetypes/camel-archetype-blueprint/pom.xml index cfa76c8..f78a89d 100644 --- a/archetypes/camel-archetype-blueprint/pom.xml +++ b/archetypes/camel-archetype-blueprint/pom.xml @@ -24,7 +24,7 @@ org.apache.camel.karaf archetypes -3.11.4 +3.11.5-SNAPSHOT org.apache.camel.archetypes diff --git a/archetypes/pom.xml b/archetypes/pom.xml index d263adb..b1e2057 100644 --- a/archetypes/pom.xml +++ b/archetypes/pom.xml @@ -24,7 +24,7 @@ org.apache.camel.karaf karaf -3.11.4 +3.11.5-SNAPSHOT .. diff --git a/bom/camel-karaf-bom/pom.xml b/bom/camel-karaf-bom/pom.xml index bb758ee..b628ddb 100644 --- a/bom/camel-karaf-bom/pom.xml +++ b/bom/camel-karaf-bom/pom.xml @@ -22,7 +22,7 @@ org.apache.camel.karaf karaf -3.11.4 +3.11.5-SNAPSHOT ../../ camel-karaf-bom diff --git a/bom/pom.xml b/bom/pom.xml index 6323a6b..29a65085 100644 --- a/bom/pom.xml +++ b/bom/pom.xml @@ -23,7 +23,7 @@ org.apache.camel.karaf karaf -3.11.4 +3.11.5-SNAPSHOT .. diff --git a/catalog/camel-catalog-provider-karaf/pom.xml b/catalog/camel-catalog-provider-karaf/pom.xml index 625bcaa..312ed8b 100644 --- a/catalog/camel-catalog-provider-karaf/pom.xml +++ b/catalog/camel-catalog-provider-karaf/pom.xml @@ -23,7 +23,7 @@ org.apache.camel.karaf catalog -3.11.4 +3.11.5-SNAPSHOT camel-catalog-provider-karaf diff --git a/catalog/pom.xml b/catalog/pom.xml index 1793a76..93032a5 100644 --- a/catalog/pom.xml +++
[camel-karaf] annotated tag camel-karaf-3.11.4 created (now 6490055)
This is an automated email from the ASF dual-hosted git repository. gzurowski pushed a change to annotated tag camel-karaf-3.11.4 in repository https://gitbox.apache.org/repos/asf/camel-karaf.git. at 6490055 (tag) tagging 027a5267ced86c35bf261fe2d391a34241af1e89 (commit) replaces camel-karaf-3.11.3 by Gregor Zurowski on Thu Nov 18 12:20:37 2021 + - Log - [maven-release-plugin] copy for tag camel-karaf-3.11.4 --- No new revisions were added by this update.
[camel-karaf] branch release/3.11.4 created (now 027a526)
This is an automated email from the ASF dual-hosted git repository. gzurowski pushed a change to branch release/3.11.4 in repository https://gitbox.apache.org/repos/asf/camel-karaf.git. at 027a526 [maven-release-plugin] prepare release camel-karaf-3.11.4 This branch includes the following new commits: new 9195ae2 Target Camel 3.11.4 for release new 027a526 [maven-release-plugin] prepare release camel-karaf-3.11.4 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.
[camel-karaf] 02/02: [maven-release-plugin] prepare release camel-karaf-3.11.4
This is an automated email from the ASF dual-hosted git repository. gzurowski pushed a commit to branch release/3.11.4 in repository https://gitbox.apache.org/repos/asf/camel-karaf.git commit 027a5267ced86c35bf261fe2d391a34241af1e89 Author: Gregor Zurowski AuthorDate: Thu Nov 18 12:20:32 2021 + [maven-release-plugin] prepare release camel-karaf-3.11.4 --- archetypes/camel-archetype-blueprint/pom.xml | 2 +- archetypes/pom.xml | 2 +- bom/camel-karaf-bom/pom.xml| 2 +- bom/pom.xml| 2 +- catalog/camel-catalog-provider-karaf/pom.xml | 2 +- catalog/pom.xml| 2 +- components/camel-bean-osgi/pom.xml | 2 +- components/camel-bean-validator-osgi/pom.xml | 2 +- components/camel-blueprint-main/pom.xml| 2 +- components/camel-blueprint/pom.xml | 2 +- components/camel-cmis-osgi/pom.xml | 2 +- components/camel-cxf-blueprint/pom.xml | 2 +- components/camel-cxf-transport-blueprint/pom.xml | 2 +- components/camel-eventadmin/pom.xml| 2 +- components/camel-jcache-osgi/pom.xml | 2 +- components/camel-kura/pom.xml | 2 +- components/camel-osgi-activator/pom.xml| 2 +- components/camel-paxlogging/pom.xml| 2 +- components/camel-servlet-osgi/pom.xml | 2 +- components/camel-test-blueprint/pom.xml| 2 +- components/camel-test-karaf/pom.xml| 2 +- components/camel-zookeeper-master-osgi/pom.xml | 2 +- components/pom.xml | 2 +- core/camel-core-osgi/pom.xml | 2 +- core/pom.xml | 2 +- platforms/commands/commands-core/pom.xml | 2 +- platforms/commands/pom.xml | 2 +- platforms/karaf/commands/pom.xml | 2 +- platforms/karaf/features/pom.xml | 2 +- platforms/karaf/pom.xml| 2 +- platforms/pom.xml | 2 +- pom.xml| 4 ++-- tests/camel-blueprint-cxf-test/pom.xml | 2 +- tests/camel-blueprint-test/pom.xml | 2 +- tests/camel-itest-osgi/pom.xml | 2 +- tests/pom.xml | 2 +- tooling/camel-catalog-generator-karaf-maven-plugin/pom.xml | 2 +- tooling/camel-karaf-docs-maven-plugin/pom.xml | 2 +- tooling/camel-karaf-maven-plugin/pom.xml | 2 +- tooling/pom.xml| 2 +- 40 files changed, 41 insertions(+), 41 deletions(-) diff --git a/archetypes/camel-archetype-blueprint/pom.xml b/archetypes/camel-archetype-blueprint/pom.xml index 140eb0c..cfa76c8 100644 --- a/archetypes/camel-archetype-blueprint/pom.xml +++ b/archetypes/camel-archetype-blueprint/pom.xml @@ -24,7 +24,7 @@ org.apache.camel.karaf archetypes -3.11.4-SNAPSHOT +3.11.4 org.apache.camel.archetypes diff --git a/archetypes/pom.xml b/archetypes/pom.xml index 9de1253..d263adb 100644 --- a/archetypes/pom.xml +++ b/archetypes/pom.xml @@ -24,7 +24,7 @@ org.apache.camel.karaf karaf -3.11.4-SNAPSHOT +3.11.4 .. diff --git a/bom/camel-karaf-bom/pom.xml b/bom/camel-karaf-bom/pom.xml index d360890..bb758ee 100644 --- a/bom/camel-karaf-bom/pom.xml +++ b/bom/camel-karaf-bom/pom.xml @@ -22,7 +22,7 @@ org.apache.camel.karaf karaf -3.11.4-SNAPSHOT +3.11.4 ../../ camel-karaf-bom diff --git a/bom/pom.xml b/bom/pom.xml index 55e4f44..6323a6b 100644 --- a/bom/pom.xml +++ b/bom/pom.xml @@ -23,7 +23,7 @@ org.apache.camel.karaf karaf -3.11.4-SNAPSHOT +3.11.4 .. diff --git a/catalog/camel-catalog-provider-karaf/pom.xml b/catalog/camel-catalog-provider-karaf/pom.xml index bb6aa42..625bcaa 100644 --- a/catalog/camel-catalog-provider-karaf/pom.xml +++ b/catalog/camel-catalog-provider-karaf/pom.xml @@ -23,7 +23,7 @@ org.apache.camel.karaf catalog -3.11.4-SNAPSHOT +3.11.4 camel-catalog-provider-karaf diff --git a/catalog/pom.xml b/catalog/pom.xml index e15629a..1793a76 100644 --- a/catalog/pom.xml +++ b/catalog/pom.xml @@ -24,7 +24,7 @@ org.apache.camel.karaf karaf -3.11.4-SNAPSHOT +3.11.4 .. diff --git a/components/camel-bean-osgi/pom.xml
[camel-karaf] 01/02: Target Camel 3.11.4 for release
This is an automated email from the ASF dual-hosted git repository. gzurowski pushed a commit to branch release/3.11.4 in repository https://gitbox.apache.org/repos/asf/camel-karaf.git commit 9195ae2369df048afcb21cd1de2792c62c8610c8 Author: Gregor Zurowski AuthorDate: Thu Nov 18 12:14:57 2021 + Target Camel 3.11.4 for release --- pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 0abf49e..4c59738 100644 --- a/pom.xml +++ b/pom.xml @@ -23,7 +23,7 @@ org.apache.camel camel-dependencies -3.11.4-SNAPSHOT +3.11.4 org.apache.camel.karaf @@ -106,7 +106,7 @@ false -3.11.4-SNAPSHOT +3.11.4 1.7.0_6 3.5.2_1 @@ -745,7 +745,7 @@ dev -3.11.4-SNAPSHOT +3.11.4
[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 a3fe461 Regen a3fe461 is described below commit a3fe4610be8c4bf26600bcc2a4015b1d54914184 Author: Claus Ibsen AuthorDate: Thu Nov 18 13:04:53 2021 +0100 Regen --- .../apache/camel/catalog/main/camel-main-configuration-metadata.json| 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/main/camel-main-configuration-metadata.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/main/camel-main-configuration-metadata.json index fc2c494..659bfda 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/main/camel-main-configuration-metadata.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/main/camel-main-configuration-metadata.json @@ -77,7 +77,7 @@ { "name": "camel.main.routesIncludePattern", "description": "Used for inclusive filtering of routes from directories. The exclusive filtering takes precedence over inclusive filtering. The pattern is using Ant-path style pattern. Multiple patterns can be specified separated by comma, as example, to include all the routes from a directory whose name contains foo use: \/foo.", "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", "type": "string", "javaType": [...] { "name": "camel.main.routesReloadDirectory", "description": "Directory to scan (incl subdirectories) for route changes. Camel cannot scan the classpath, so this must be configured to a file directory. Development with Maven as build tool, you can configure the directory to be src\/main\/resources to scan for Camel routes in XML or YAML files.", "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", "type": "string", "javaType": "java.lang.String", "defaultValue": "src [...] { "name": "camel.main.routesReloadEnabled", "description": "Used for enabling automatic routes reloading. If enabled then Camel will watch for file changes in the given reload directory, and trigger reloading routes if files are changed.", "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", "type": "boolean", "javaType": "boolean", "defaultValue": "false" }, -{ "name": "camel.main.routesReloadPattern", "description": "Used for inclusive filtering of routes from directories. Typical used for specifying to accept routes in XML or YAML files. The default pattern is .yaml,.xml Multiple patterns can be specified separated by comma.", "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", "type": "string", "javaType": "java.lang.String", "defaultValue": "*.xml,*.yaml" }, +{ "name": "camel.main.routesReloadPattern", "description": "Used for inclusive filtering of routes from directories. Typical used for specifying to accept routes in XML or YAML files. The default pattern is .yaml,.xml Multiple patterns can be specified separated by comma.", "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", "type": "string", "javaType": "java.lang.String", "defaultValue": "camel\/*" }, { "name": "camel.main.shutdownLogInflightExchangesOnTimeout", "description": "Sets whether to log information about the inflight Exchanges which are still running during a shutdown which didn't complete without the given timeout. This requires to enable the option inflightRepositoryBrowseEnabled.", "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", "type": "boolean", "javaType": "boolean", "defaultValue": true }, { "name": "camel.main.shutdownNowOnTimeout", "description": "Sets whether to force shutdown of all consumers when a timeout occurred and thus not all consumers was shutdown within that period. You should have good reasons to set this option to false as it means that the routes keep running and is halted abruptly when CamelContext has been shutdown.", "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", "type": "boolean", "javaType": "boolean", "defaultValue": true }, { "name": "camel.main.shutdownRoutesInReverseOrder", "description": "Sets whether routes should be shutdown in reverse or the same order as they were started.", "sourceType": "org.apache.camel.main.DefaultConfigurationProperties", "type": "boolean", "javaType": "boolean", "defaultValue": true },
[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 794c5b3 Regen 794c5b3 is described below commit 794c5b3c5c0fac7408ebe34d0deefe6ba37b6b4d Author: Claus Ibsen AuthorDate: Thu Nov 18 12:46:45 2021 +0100 Regen --- core/camel-api/src/main/java/org/apache/camel/RoutesBuilder.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/camel-api/src/main/java/org/apache/camel/RoutesBuilder.java b/core/camel-api/src/main/java/org/apache/camel/RoutesBuilder.java index 418b2fd..4be6490 100644 --- a/core/camel-api/src/main/java/org/apache/camel/RoutesBuilder.java +++ b/core/camel-api/src/main/java/org/apache/camel/RoutesBuilder.java @@ -21,8 +21,8 @@ package org.apache.camel; * * Eventually the routes are added to a {@link org.apache.camel.CamelContext} where they run inside. * - * This interface is not intended to be used by Camel end users. - * Instead, Camel users will use org.apache.camel.builder.RouteBuilder to build routes in Java DSL. + * This interface is not intended to be used by Camel end users. Instead, Camel users will use + * org.apache.camel.builder.RouteBuilder to build routes in Java DSL. */ public interface RoutesBuilder {
[camel] branch main updated: CAMEL-16656: camel-core - ResourceReloader SPI - Allow to reload on changes
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 62b2c08 CAMEL-16656: camel-core - ResourceReloader SPI - Allow to reload on changes 62b2c08 is described below commit 62b2c0897c6be597657bceec54c1db4f0ca9610f Author: Claus Ibsen AuthorDate: Thu Nov 18 12:36:52 2021 +0100 CAMEL-16656: camel-core - ResourceReloader SPI - Allow to reload on changes --- .../spring/RouteRefCamelContextFactoryBeanTest.java | 20 +--- .../processor/DefaultErrorHandlerOnPrepareTest.xml | 2 +- .../main/java/org/apache/camel/RoutesBuilder.java| 3 +++ .../ROOT/pages/camel-3x-upgrade-guide-3_14.adoc | 3 +++ 4 files changed, 12 insertions(+), 16 deletions(-) diff --git a/components/camel-spring-xml/src/test/java/org/apache/camel/spring/RouteRefCamelContextFactoryBeanTest.java b/components/camel-spring-xml/src/test/java/org/apache/camel/spring/RouteRefCamelContextFactoryBeanTest.java index 6347523..d8608aa 100644 --- a/components/camel-spring-xml/src/test/java/org/apache/camel/spring/RouteRefCamelContextFactoryBeanTest.java +++ b/components/camel-spring-xml/src/test/java/org/apache/camel/spring/RouteRefCamelContextFactoryBeanTest.java @@ -16,30 +16,20 @@ */ package org.apache.camel.spring; -import org.apache.camel.CamelContext; -import org.apache.camel.RoutesBuilder; import org.apache.camel.builder.RouteBuilder; import org.springframework.context.support.AbstractXmlApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; public class RouteRefCamelContextFactoryBeanTest extends RoutingUsingCamelContextFactoryTest { -public static class MyRoutes implements RoutesBuilder { -private RouteBuilder myRouteBuilder; - -public MyRoutes() { -myRouteBuilder = new RouteBuilder() { -@Override -public void configure() throws Exception { -from("seda:start").to("mock:result"); -} -}; -} +public static class MyRoutes extends RouteBuilder { @Override -public void addRoutesToCamelContext(CamelContext camelContext) throws Exception { -camelContext.addRoutes(myRouteBuilder); +public void configure() throws Exception { +from("seda:start").to("mock:result"); + } + } @Override diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/DefaultErrorHandlerOnPrepareTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/DefaultErrorHandlerOnPrepareTest.xml index 0f9ad59..c03e1c2 100644 --- a/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/DefaultErrorHandlerOnPrepareTest.xml +++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/spring/processor/DefaultErrorHandlerOnPrepareTest.xml @@ -35,7 +35,7 @@ - + diff --git a/core/camel-api/src/main/java/org/apache/camel/RoutesBuilder.java b/core/camel-api/src/main/java/org/apache/camel/RoutesBuilder.java index 9855b47..418b2fd 100644 --- a/core/camel-api/src/main/java/org/apache/camel/RoutesBuilder.java +++ b/core/camel-api/src/main/java/org/apache/camel/RoutesBuilder.java @@ -20,6 +20,9 @@ package org.apache.camel; * A routes builder is capable of building routes using the builder and model classes. * * Eventually the routes are added to a {@link org.apache.camel.CamelContext} where they run inside. + * + * This interface is not intended to be used by Camel end users. + * Instead, Camel users will use org.apache.camel.builder.RouteBuilder to build routes in Java DSL. */ public interface RoutesBuilder { diff --git a/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_14.adoc b/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_14.adoc index 7057634..b44e8ab 100644 --- a/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_14.adoc +++ b/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_14.adoc @@ -6,4 +6,7 @@ from both 3.0 to 3.1 and 3.1 to 3.2. == Upgrading Camel 3.13 to 3.14 +=== API changes + +Added method `updateRoutesToCamelContext` to `org.apache.camel.RoutesBuilder` interface.
[GitHub] [camel-k] squakez opened a new issue #2758: Add official documentation on Kustomize introduced in 1.7
squakez opened a new issue #2758: URL: https://github.com/apache/camel-k/issues/2758 Altough there is some documentation in the release page, I think we should add a dedicate page on the official documentation. cc @phantomjinx -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-website] squakez commented on issue #679: Some problem with social media overview
squakez commented on issue #679: URL: https://github.com/apache/camel-website/issues/679#issuecomment-972778071 Also reported in main Camel Jira: https://issues.apache.org/jira/browse/CAMEL-16998 -- 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-examples] zbendhiba merged pull request #62: Bump Strimzi kafka-oauth-client version from Quarkus bom
zbendhiba merged pull request #62: URL: https://github.com/apache/camel-quarkus-examples/pull/62 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-quarkus-examples] branch camel-quarkus-main updated (2ca1f65 -> 739a545)
This is an automated email from the ASF dual-hosted git repository. zbendhiba pushed a change to branch camel-quarkus-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus-examples.git. from 2ca1f65 Adapt HealthTest to changes in Camel 3.13.0 new eb86f6f Bump Strimzi kafka-oauth-client version from Quarkus bom new 739a545 Bump Quarkus version to 2.5.0.Final 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: aws-lambda/pom.xml | 2 +- file-bindy-ftp/pom.xml | 2 +- file-split-log-xml/pom.xml | 2 +- health/pom.xml | 2 +- http-log/pom.xml| 2 +- jdbc-datasource/pom.xml | 2 +- kafka/pom.xml | 8 +--- kamelet-chucknorris/pom.xml | 2 +- observability/pom.xml | 2 +- rest-json/pom.xml | 2 +- timer-log-cdi/pom.xml | 2 +- timer-log-kotlin/pom.xml| 2 +- timer-log-main/pom.xml | 2 +- timer-log-spring/pom.xml| 2 +- timer-log-xml/pom.xml | 2 +- timer-log/pom.xml | 2 +- 16 files changed, 16 insertions(+), 22 deletions(-)
[camel-quarkus-examples] 01/02: Bump Strimzi kafka-oauth-client version from Quarkus bom
This is an automated email from the ASF dual-hosted git repository. zbendhiba pushed a commit to branch camel-quarkus-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus-examples.git commit eb86f6f135ee87354273ea9065bff36a6fa05f51 Author: Zineb Bendhiba AuthorDate: Thu Nov 18 11:12:26 2021 +0100 Bump Strimzi kafka-oauth-client version from Quarkus bom --- kafka/pom.xml | 6 -- 1 file changed, 6 deletions(-) diff --git a/kafka/pom.xml b/kafka/pom.xml index a3eec02..e2b4838 100644 --- a/kafka/pom.xml +++ b/kafka/pom.xml @@ -50,7 +50,6 @@ 3.1.0 2.22.2 3.0 -0.7.2 @@ -70,11 +69,6 @@ pom import - -io.strimzi -kafka-oauth-client -${kafka-oauth-client.version} -
[camel-quarkus-examples] 02/02: Bump Quarkus version to 2.5.0.Final
This is an automated email from the ASF dual-hosted git repository. zbendhiba pushed a commit to branch camel-quarkus-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus-examples.git commit 739a545d917513ffadd8940452a982673a326e77 Author: Zineb Bendhiba AuthorDate: Thu Nov 18 11:42:10 2021 +0100 Bump Quarkus version to 2.5.0.Final --- aws-lambda/pom.xml | 2 +- file-bindy-ftp/pom.xml | 2 +- file-split-log-xml/pom.xml | 2 +- health/pom.xml | 2 +- http-log/pom.xml| 2 +- jdbc-datasource/pom.xml | 2 +- kafka/pom.xml | 2 +- kamelet-chucknorris/pom.xml | 2 +- observability/pom.xml | 2 +- rest-json/pom.xml | 2 +- timer-log-cdi/pom.xml | 2 +- timer-log-kotlin/pom.xml| 2 +- timer-log-main/pom.xml | 2 +- timer-log-spring/pom.xml| 2 +- timer-log-xml/pom.xml | 2 +- timer-log/pom.xml | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/aws-lambda/pom.xml b/aws-lambda/pom.xml index f297a18..1bd11c7 100644 --- a/aws-lambda/pom.xml +++ b/aws-lambda/pom.xml @@ -27,7 +27,7 @@ Camel Quarkus Example :: Deploying a Camel Route in AWS Lambda -2.5.0.CR1 +2.5.0.Final 2.5.0-SNAPSHOT io.quarkus diff --git a/file-bindy-ftp/pom.xml b/file-bindy-ftp/pom.xml index 1315b5a..d93be80 100644 --- a/file-bindy-ftp/pom.xml +++ b/file-bindy-ftp/pom.xml @@ -28,7 +28,7 @@ Camel Quarkus Example :: File Bindy FTP -2.5.0.CR1 +2.5.0.Final 2.5.0-SNAPSHOT io.quarkus diff --git a/file-split-log-xml/pom.xml b/file-split-log-xml/pom.xml index 015ca9c..1cb7d00 100644 --- a/file-split-log-xml/pom.xml +++ b/file-split-log-xml/pom.xml @@ -28,7 +28,7 @@ Camel Quarkus Example :: File To Log XML DSL -2.5.0.CR1 +2.5.0.Final 2.5.0-SNAPSHOT io.quarkus diff --git a/health/pom.xml b/health/pom.xml index 5eac848..35ca7fb 100644 --- a/health/pom.xml +++ b/health/pom.xml @@ -28,7 +28,7 @@ Camel Quarkus Example :: Health Check -2.5.0.CR1 +2.5.0.Final 2.5.0-SNAPSHOT io.quarkus diff --git a/http-log/pom.xml b/http-log/pom.xml index cffe548..273fcd9 100644 --- a/http-log/pom.xml +++ b/http-log/pom.xml @@ -28,7 +28,7 @@ Camel Quarkus Example :: HTTP to Log -2.5.0.CR1 +2.5.0.Final 2.5.0-SNAPSHOT io.quarkus diff --git a/jdbc-datasource/pom.xml b/jdbc-datasource/pom.xml index 061b487..240cb9b 100644 --- a/jdbc-datasource/pom.xml +++ b/jdbc-datasource/pom.xml @@ -25,7 +25,7 @@ Camel Quarkus :: Examples :: Jdbc - DatataSource - Log Camel Quarkus Example :: Connect to Database using Datasource -2.5.0.CR1 +2.5.0.Final 2.5.0-SNAPSHOT io.quarkus diff --git a/kafka/pom.xml b/kafka/pom.xml index e2b4838..038ebf0 100644 --- a/kafka/pom.xml +++ b/kafka/pom.xml @@ -28,7 +28,7 @@ Camel Quarkus Example :: Kafka -2.5.0.CR1 +2.5.0.Final 2.5.0-SNAPSHOT io.quarkus diff --git a/kamelet-chucknorris/pom.xml b/kamelet-chucknorris/pom.xml index c7d8f8c..36bcbca 100644 --- a/kamelet-chucknorris/pom.xml +++ b/kamelet-chucknorris/pom.xml @@ -28,7 +28,7 @@ Camel Quarkus Example :: Kamelet Chuck Norris -2.5.0.CR1 +2.5.0.Final 2.5.0-SNAPSHOT diff --git a/observability/pom.xml b/observability/pom.xml index 20076da..c9b8401 100644 --- a/observability/pom.xml +++ b/observability/pom.xml @@ -29,7 +29,7 @@ -2.5.0.CR1 +2.5.0.Final io.quarkus quarkus-bom diff --git a/rest-json/pom.xml b/rest-json/pom.xml index e33a1ed..ebcb1f7 100644 --- a/rest-json/pom.xml +++ b/rest-json/pom.xml @@ -28,7 +28,7 @@ Camel Quarkus Example :: Rest Json -2.5.0.CR1 +2.5.0.Final 2.5.0-SNAPSHOT io.quarkus diff --git a/timer-log-cdi/pom.xml b/timer-log-cdi/pom.xml index b20cbee..238c53c 100644 --- a/timer-log-cdi/pom.xml +++ b/timer-log-cdi/pom.xml @@ -28,7 +28,7 @@ Camel Quarkus Example :: Timer to Log CDI -2.5.0.CR1 +2.5.0.Final 2.5.0-SNAPSHOT io.quarkus diff --git a/timer-log-kotlin/pom.xml b/timer-log-kotlin/pom.xml index 8118cfc..3f4e094 100644 --- a/timer-log-kotlin/pom.xml +++ b/timer-log-kotlin/pom.xml @@ -28,7 +28,7 @@ Camel Quarkus Example :: Timer to Log Kotlin -2.5.0.CR1 +2.5.0.Final 2.5.0-SNAPSHOT io.quarkus diff --git a/timer-log-main/pom.xml b/timer-log-main/pom.xml index ff66e22..1f384c1 100644 --- a/timer-log-main/pom.xml +++ b/timer-log-main/pom.xml @@ -28,7 +28,7 @@ Camel Quarkus Example :: Timer to Log Main -2.5.0.CR1 +2.5.0.Final 2.5.0-SNAPSHOT diff --git a/timer-log-spring/pom.xml
[GitHub] [camel-k-runtime] astefanutti opened a new pull request #754: chore(doc): Add 1.7.x documentation
astefanutti opened a new pull request #754: URL: https://github.com/apache/camel-k-runtime/pull/754 **Release Note** ```release-note NONE ``` -- 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-k-runtime] branch pr-04 created (now 3c1da3e)
This is an automated email from the ASF dual-hosted git repository. astefanutti pushed a change to branch pr-04 in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git. at 3c1da3e chore(doc): Add 1.7.x documentation This branch includes the following new commits: new 3c1da3e chore(doc): Add 1.7.x documentation The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference.
[camel-k-runtime] 01/01: chore(doc): Add 1.7.x documentation
This is an automated email from the ASF dual-hosted git repository. astefanutti pushed a commit to branch pr-04 in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git commit 3c1da3ee1378416e4aaa14f89e3a8bf1e0e84b75 Author: Antonin Stefanutti AuthorDate: Thu Nov 18 12:22:39 2021 +0100 chore(doc): Add 1.7.x documentation --- docs/antora.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/antora.yml b/docs/antora.yml index e7005f3..7b20c6c 100644 --- a/docs/antora.yml +++ b/docs/antora.yml @@ -18,4 +18,4 @@ # The main part of this distributed component is in camel-k docs name: camel-k -version: next +version: 1.7.x
[GitHub] [camel-k] astefanutti opened a new pull request #2757: chore(doc): Add 1.7.x documentation
astefanutti opened a new pull request #2757: URL: https://github.com/apache/camel-k/pull/2757 Fixes #2753. **Release Note** ```release-note NONE ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-website] squakez opened a new issue #679: Some problem with social media overview
squakez opened a new issue #679: URL: https://github.com/apache/camel-website/issues/679 I've just published a tweet announcing the last blog published: https://twitter.com/Squ4k3/status/1461290119575621636 However the overview does not point to the description, and, in fact, the `meta` is falling back to the main page description instead: ``` ``` What is the proper way to handle the specific description? -- 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 issue #2752: Add official documentation on Quarkus Native introduced in 1.7
astefanutti commented on issue #2752: URL: https://github.com/apache/camel-k/issues/2752#issuecomment-972767157 There is a bit of documentation in the [_quarkus_ trait page](https://camel.apache.org/camel-k/next/traits/quarkus.html), and an example about [automatic rollout deployment to native integration](https://camel.apache.org/camel-k/next/traits/quarkus.html#_automatic_rollout_deployment_to_native_integration). That being said, a dedicated page focusing on the native build details would definitely be a valuable addition. -- 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-karavan] davsclaus opened a new issue #112: JBang live reload
davsclaus opened a new issue #112: URL: https://github.com/apache/camel-karavan/issues/112 We have support for live reload in Camel 3.14.0 https://issues.apache.org/jira/browse/CAMEL-17206 So you can run ``` jbang -Dcamel.jbang.version=3.14.0-SNAPSHOT CamelJBang@apache/camel run my-route.yaml --reload ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-website] branch asf-site updated (9895eec -> aeafec3)
This is an automated email from the ASF dual-hosted git repository. git-site-role pushed a change to branch asf-site in repository https://gitbox.apache.org/repos/asf/camel-website.git. discard 9895eec Website updated to b2ce764b675451823387d2b26bbf555a632675a7 discard 793a32e Website updated to 325e929157412b27394080f4d4dba3d821476ddf new a8867c8 Website updated to 325e929157412b27394080f4d4dba3d821476ddf new aeafec3 Website updated to 8330c31e02980b60d0012fc8812def2fa30a6e84 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 (9895eec) \ N -- N -- N refs/heads/asf-site (aeafec3) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: blog/2021/11/camel-k-release-1-7/index.html|1 + .../2021/11/camel-quarkus-release-2.4.0/index.html |2 +- blog/index.html|2 +- blog/index.xml | 13 +- blog/page/10/index.html|2 +- blog/page/11/index.html|2 +- blog/page/12/index.html|2 +- blog/page/13/index.html|2 +- blog/page/14/index.html|2 +- blog/page/15/index.html|2 +- blog/page/16/index.html|2 +- blog/page/17/index.html|2 +- blog/page/18/index.html|2 +- blog/page/19/index.html|2 +- blog/page/2/index.html |2 +- blog/page/20/index.html|2 +- blog/page/21/index.html|2 +- blog/page/22/index.html|2 +- blog/page/23/index.html|2 +- blog/page/24/index.html|2 +- blog/page/25/index.html|2 +- blog/page/26/index.html|2 +- blog/page/27/index.html|2 +- blog/page/28/index.html|2 +- blog/page/29/index.html|2 +- blog/page/3/index.html |2 +- blog/page/30/index.html|2 +- blog/page/31/index.html|2 +- blog/page/32/index.html|2 +- blog/page/33/index.html|2 +- blog/page/34/index.html|2 +- blog/page/35/index.html|2 +- blog/page/36/index.html|2 +- blog/page/37/index.html|2 +- blog/page/38/index.html|2 +- blog/page/39/index.html|2 +- blog/page/4/index.html |2 +- blog/page/40/index.html|2 +- blog/page/41/index.html|2 +- blog/page/42/index.html|2 +- blog/page/43/index.html|2 +- blog/page/44/index.html|2 +- blog/page/45/index.html|2 +- blog/page/46/index.html|2 +- blog/page/47/index.html|2 +- blog/page/5/index.html |2 +- blog/page/6/index.html |2 +- blog/page/7/index.html |2 +- blog/page/8/index.html |2 +- blog/page/9/index.html |2 +- camel-spring-boot/next/spring-boot.html|2 +- categories/AWS/index.html |2 +- categories/Apache/index.html |2 +- categories/Camel-K/index.html |2 +- categories/Camel-K/index.xml | 13 +- categories/Camel-Kafka-Connector/index.html|2 +- categories/Camel-Quarkus/index.html|2 +-
[camel] 02/02: CAMEL-17206: camel-jbang - Add reload option to enable live reload of routes when updated/saved.
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 a41b6ae1491e18e1e0775c06e3abda7c72014f06 Author: Claus Ibsen AuthorDate: Thu Nov 18 11:46:27 2021 +0100 CAMEL-17206: camel-jbang - Add reload option to enable live reload of routes when updated/saved. --- .../modules/ROOT/pages/camel-jbang.adoc| 24 +- .../apache/camel/dsl/jbang/core/commands/Run.java | 6 ++ 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc index b26f7ad..d85cdaa 100644 --- a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc +++ b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc @@ -12,13 +12,22 @@ The CamelJBang supports multiple commands. Running the command below, will print [source,bash] -jbang -Dcamel.jbang.version=3.13.0 CamelJBang@apache/camel [command] +jbang CamelJBang@apache/camel [command] *Note*: the first time you run this command, it may cause dependencies to be cached, therefore taking a few extra seconds to run. All the commands support the `--help` and will display the appropriate help if that flag is provided. +=== Using a specific Camel version + +You can specify which Camel version to run as shown: + +[source,bash] + +jbang -Dcamel.jbang.version=3.13.0 CamelJBang@apache/camel [command] + + === Search You can use the CLI to search for kamelets, components, languages and miscelaneous components (others). Running the following command will present a list of items that can be searched: @@ -120,6 +129,7 @@ In order to do so, write a YAML-based file with the `route`, the `steps` and the [source,yaml] - route: +id: "hello" from: uri: "kamelet:timer-source" parameters: @@ -143,6 +153,18 @@ jbang -Dcamel.jbang.version=3.13.0 CamelJBang@apache/camel run jms-amqp-10-sink- NOTE: it is necessary to have a AMQP 1.0 broker, such as Apache Artemis, running locally and listening on port 61616. Adjust the route accordingly if using a different address for the broker. +=== Live reload + +You can enable live reload of the route(s) when the source file is updated (saved), +using the `--reload` options as shown: + +[source,bash] + +jbang -Dcamel.jbang.version=3.13.0 CamelJBang@apache/camel run jms-amqp-10-sink-binding.yaml --reload + + +Then while the Camel application is running, you can update the YAML route and update when saving. + == Installation diff --git a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Run.java b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Run.java index b8c3a0b..1330c3f 100644 --- a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Run.java +++ b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Run.java @@ -50,6 +50,9 @@ class Run implements Callable { @Option(names = { "--max-messages" }, defaultValue = "0", description = "Max number of messages to process before stopping") private int maxMessages; +@Option(names = { "--reload" }, description = "Enables live reload when source file is changed (saved)") +private boolean reload; + class ShutdownRoute extends RouteBuilder { private File lockFile; @@ -97,6 +100,9 @@ class Run implements Callable { } System.setProperty("camel.main.routes-include-pattern", "file:" + binding); +System.setProperty("camel.main.routes-reload-enabled", reload ? "true" : "false"); +System.setProperty("camel.main.routes-reload-directory", "."); +System.setProperty("camel.main.routes-reload-pattern", binding); RuntimeUtil.configureLog(debugLevel);
[camel] 01/02: CAMEL-17206: camel-kamelet-main - Add support for route reload
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 dab6bfd55e015ee93142b91d2aa3f4704b9f17a1 Author: Claus Ibsen AuthorDate: Thu Nov 18 11:28:46 2021 +0100 CAMEL-17206: camel-kamelet-main - Add support for route reload --- .../src/main/java/org/apache/camel/main/KameletMain.java | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dsl/camel-kamelet-main/src/main/java/org/apache/camel/main/KameletMain.java b/dsl/camel-kamelet-main/src/main/java/org/apache/camel/main/KameletMain.java index c656375..854c5f8 100644 --- a/dsl/camel-kamelet-main/src/main/java/org/apache/camel/main/KameletMain.java +++ b/dsl/camel-kamelet-main/src/main/java/org/apache/camel/main/KameletMain.java @@ -148,7 +148,13 @@ public class KameletMain extends MainCommandLineSupport { answer.setRegistry(registry); addInitialProperty("camel.component.kamelet.location", "classpath:/kamelets,github:apache:camel-kamelets"); -addInitialProperty("camel.main.lightweight", "true"); +addInitialProperty("camel.main.routes-reload-enabled", "true"); +addInitialProperty("camel.main.routes-reload-directory", "src/main/resources"); +addInitialProperty("camel.main.routes-reload-pattern", "camel/*.yaml"); +// turn off lightweight as we have routes reload enabled +addInitialProperty("camel.main.lightweight", "false"); +// shutdown quickly +addInitialProperty("camel.main.shutdown-timeout", "5"); if (download) { try {
[camel] branch main updated (d8999df -> a41b6ae)
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 d8999df CAMEL-16656: camel-core - ResourceReloader SPI - Allow to reload on changes new dab6bfd CAMEL-17206: camel-kamelet-main - Add support for route reload new a41b6ae CAMEL-17206: camel-jbang - Add reload option to enable live reload of routes when updated/saved. 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: .../modules/ROOT/pages/camel-jbang.adoc| 24 +- .../apache/camel/dsl/jbang/core/commands/Run.java | 6 ++ .../java/org/apache/camel/main/KameletMain.java| 8 +++- 3 files changed, 36 insertions(+), 2 deletions(-)