[GitHub] [camel] lburgazzoli opened a new pull request, #8604: feat: replace custom aws health check repositories with the components one
lburgazzoli opened a new pull request, #8604: URL: https://github.com/apache/camel/pull/8604 -- 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] github-actions[bot] commented on pull request #8604: feat: replace custom aws health check repositories with the components one
github-actions[bot] commented on PR #8604: URL: https://github.com/apache/camel/pull/8604#issuecomment-1286544844 :star2: Thank you for your contribution to the Apache Camel project! :star2: :warning: Please note that the changes on this PR may be **tested automatically**. If necessary Apache Camel Committers may access logs and test results in the job summaries! -- 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 camel-3.14.x updated: Upgrade dependencies
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-3.14.x in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/camel-3.14.x by this push: new f204b4ba2cc Upgrade dependencies f204b4ba2cc is described below commit f204b4ba2cc250045126f8286608575441d41fca Author: Claus Ibsen AuthorDate: Fri Oct 21 09:07:46 2022 +0200 Upgrade dependencies --- camel-dependencies/pom.xml | 2 +- parent/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/camel-dependencies/pom.xml b/camel-dependencies/pom.xml index 229a32b2377..13aa332c79e 100644 --- a/camel-dependencies/pom.xml +++ b/camel-dependencies/pom.xml @@ -150,7 +150,7 @@ 3.6.1 3.8.0 2.11.1 -1.9 +1.10 1.7 true 1.0.4 diff --git a/parent/pom.xml b/parent/pom.xml index efc4368d689..6c5d004890a 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -133,7 +133,7 @@ 3.6.1 3.8.0 2.11.1 -1.9 +1.10 1.7 1.0.4 1.4.2
[camel] branch camel-3.14.x updated: CAMEL-18632: Upgrade dependencies
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-3.14.x in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/camel-3.14.x by this push: new 703ace44f68 CAMEL-18632: Upgrade dependencies 703ace44f68 is described below commit 703ace44f683b00737352fa4925538dbd563b33b Author: Claus Ibsen AuthorDate: Fri Oct 21 09:12:53 2022 +0200 CAMEL-18632: Upgrade dependencies --- camel-dependencies/pom.xml | 10 +- parent/pom.xml | 10 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/camel-dependencies/pom.xml b/camel-dependencies/pom.xml index 13aa332c79e..0bc83bba07c 100644 --- a/camel-dependencies/pom.xml +++ b/camel-dependencies/pom.xml @@ -185,7 +185,7 @@ 3.2.0 0.3.0 2.1.5 -3.9.9 +3.9.10 7.10.2 7.10.2 1.3 @@ -258,7 +258,7 @@ 2.3.1 2.1.11 6.2.5.Final -5.6.11.Final +5.6.12.Final 2.6.1 2.5.1 3.1.0-incubating @@ -407,7 +407,7 @@ 3.0.0-M4 3.3.1 4.2.3 -1.8.10 +1.8.11 2.0 3.0 3.1 @@ -432,7 +432,7 @@ 1.0.0.Beta4 1.0.1 2.0.5 -4.1.82.Final +4.1.84.Final 1.0.64 8.9 3.4.3 @@ -520,7 +520,7 @@ 5.5.14 2.3.8.RELEASE 2.4.2 -5.6.7 +5.6.8 ${spring5-version} [5,6) 3.1.3 diff --git a/parent/pom.xml b/parent/pom.xml index 6c5d004890a..f097f7d4c34 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -166,7 +166,7 @@ 8.0.27 0.3.0 2.1.5 -3.9.9 +3.9.10 7.10.2 7.10.2 1.3 @@ -238,7 +238,7 @@ 2.3.1 2.1.11 6.2.5.Final -5.6.11.Final +5.6.12.Final 2.6.1 2.5.1 3.1.0-incubating @@ -393,7 +393,7 @@ 3.0.0-M4 3.3.1 4.2.3 -1.8.10 +1.8.11 2.0 3.0 3.1 @@ -418,7 +418,7 @@ 1.0.1 1.0.0.RC4 0.4.0 -4.1.82.Final +4.1.84.Final 2.0.5 1.0.64 8.9 @@ -513,7 +513,7 @@ ${spring5-version} 5.3.23 2.4.2 -5.6.7 +5.6.8 3.1.3 1.5 3.14.7
[GitHub] [camel] davsclaus commented on pull request #8602: camel-fhir: Override commons-text version
davsclaus commented on PR #8602: URL: https://github.com/apache/camel/pull/8602#issuecomment-1286558107 We need to backport this to 3.18 and 3.14 branches -- 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] jamesnetherton commented on pull request #8602: camel-fhir: Override commons-text version
jamesnetherton commented on PR #8602: URL: https://github.com/apache/camel/pull/8602#issuecomment-1286561168 > We need to backport this to 3.18 and 3.14 branches There's another PR for 3.18.x: https://github.com/apache/camel/pull/8603 I will cherry-pick the change back to 3.14.x after merging. -- 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-1286562347 The [quarkus-main](https://github.com/apache/camel-quarkus/tree/quarkus-main) branch build has failed: * Build ID: 3294413335-911-16d4ea61-9817-499c-bd4f-dd26cdde00d8 * Camel Quarkus Commit: 16888fdcf818fea6050880adbba488c55f29db8b * Quarkus Main Commit: a4b26162ce461ade465e3e0bf4dcb8ba674d1045 * Link to build: https://github.com/apache/camel-quarkus/actions/runs/3294413335 -- 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] github-actions[bot] commented on pull request #8603: [3.18.x] camel-fhir: Override commons-text version
github-actions[bot] commented on PR #8603: URL: https://github.com/apache/camel/pull/8603#issuecomment-1286569798 ### Components tested: | Total | Tested | Failed :x: | Passed :white_check_mark: | | --- | --- | --- | --- | | 1 | 1 | 1 | 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] squakez commented on pull request #3759: chore(ci): clean actions
squakez commented on PR #3759: URL: https://github.com/apache/camel-k/pull/3759#issuecomment-1286570411 Merging. The error on upgrade does not seem related. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-k] squakez merged pull request #3759: chore(ci): clean actions
squakez merged PR #3759: URL: https://github.com/apache/camel-k/pull/3759 -- 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] branch main updated: chore(ci): clean actions
This is an automated email from the ASF dual-hosted git repository. pcongiusti 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 266c5e37e chore(ci): clean actions 266c5e37e is described below commit 266c5e37eaa6d365b2d947649c34c4977d06dd45 Author: Pasquale Congiusti AuthorDate: Thu Oct 20 13:21:57 2022 +0200 chore(ci): clean actions --- .github/.env | 1 - .github/actions/action-dotenv-to-setenv | 1 - .github/actions/kamel-prepare-env/action.yml | 17 + .github/workflows/builder.yml| 3 +++ .github/workflows/common.yml | 3 +++ .github/workflows/install.yml| 3 +++ .github/workflows/knative.yml| 3 +++ .github/workflows/upgrade.yml| 3 +++ 8 files changed, 16 insertions(+), 18 deletions(-) diff --git a/.github/.env b/.github/.env deleted file mode 100644 index eae28d66a..0 --- a/.github/.env +++ /dev/null @@ -1 +0,0 @@ -TEST_CLUSTER=kind diff --git a/.github/actions/action-dotenv-to-setenv b/.github/actions/action-dotenv-to-setenv deleted file mode 16 index a6380f4d9..0 --- a/.github/actions/action-dotenv-to-setenv +++ /dev/null @@ -1 +0,0 @@ -Subproject commit a6380f4d905f42adb7c065db63e6d66d75b971ad diff --git a/.github/actions/kamel-prepare-env/action.yml b/.github/actions/kamel-prepare-env/action.yml index 0204dfd4e..90e0bc8d5 100644 --- a/.github/actions/kamel-prepare-env/action.yml +++ b/.github/actions/kamel-prepare-env/action.yml @@ -21,22 +21,7 @@ description: 'Initialise the test environment with tools. (Will only run once pe runs: using: "composite" steps: -# -# This is a docker action so its pre-builds the image prior to -# running it. The building occurs prior to all steps regardless -# of where its located to run. Therefore, it must be run prior to -# clean-up since that step removes all docker image in order to -# claim back as much space as possible. -# -# Expects env file with following vars: -# TEST_CLUSTER -# -- id: read-env-file - uses: ./.github/actions/action-dotenv-to-setenv - if: ${{ env.KAMEL_PREPARE_ENV != 'true' }} - with: -env-file: .github/.env - + - name: Cleanup shell: bash if: ${{ env.KAMEL_PREPARE_ENV != 'true' }} diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml index 0208f1248..7895c9712 100644 --- a/.github/workflows/builder.yml +++ b/.github/workflows/builder.yml @@ -17,6 +17,9 @@ name: builder +env: + TEST_CLUSTER: kind + on: pull_request: branches: diff --git a/.github/workflows/common.yml b/.github/workflows/common.yml index f1a1d5681..f9dc3df4b 100644 --- a/.github/workflows/common.yml +++ b/.github/workflows/common.yml @@ -17,6 +17,9 @@ name: common +env: + TEST_CLUSTER: kind + on: pull_request: branches: diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index e7f5fc3ff..5fef97a9e 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -17,6 +17,9 @@ name: install +env: + TEST_CLUSTER: kind + on: pull_request: branches: diff --git a/.github/workflows/knative.yml b/.github/workflows/knative.yml index 34cd9e1df..63ab9400d 100644 --- a/.github/workflows/knative.yml +++ b/.github/workflows/knative.yml @@ -17,6 +17,9 @@ name: knative +env: + TEST_CLUSTER: kind + on: pull_request: branches: diff --git a/.github/workflows/upgrade.yml b/.github/workflows/upgrade.yml index 802182494..153a24cbe 100644 --- a/.github/workflows/upgrade.yml +++ b/.github/workflows/upgrade.yml @@ -17,6 +17,9 @@ name: upgrade +env: + TEST_CLUSTER: kind + on: pull_request: branches:
[GitHub] [camel] essobedo commented on a diff in pull request #8602: camel-fhir: Override commons-text version
essobedo commented on code in PR #8602: URL: https://github.com/apache/camel/pull/8602#discussion_r1001460797 ## components/camel-fhir/camel-fhir-api/pom.xml: ## @@ -40,6 +40,11 @@ org.apache.camel camel-support + +org.apache.commons +commons-text +${commons-text-version} + Review Comment: Even if it is not really necessary, I would tend to exclude it from `hapi-fhir-base` to make it clear that it is an override or at least add a comment to explain that it is an override because otherwise over time we could remove it by mistake since it is not directly called by the component. For the component, it is a runtime/transitive dependency. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch camel-3.14.x updated: CAMEL-18632: Upgrade dependencies
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-3.14.x in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/camel-3.14.x by this push: new efe6d1287b3 CAMEL-18632: Upgrade dependencies efe6d1287b3 is described below commit efe6d1287b3b164dfdd94792d93bede1e10088ba Author: Claus Ibsen AuthorDate: Fri Oct 21 09:13:58 2022 +0200 CAMEL-18632: Upgrade dependencies --- camel-dependencies/pom.xml | 2 +- parent/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/camel-dependencies/pom.xml b/camel-dependencies/pom.xml index 0bc83bba07c..8d1473a562d 100644 --- a/camel-dependencies/pom.xml +++ b/camel-dependencies/pom.xml @@ -150,7 +150,7 @@ 3.6.1 3.8.0 2.11.1 -1.10 +1.10.0 1.7 true 1.0.4 diff --git a/parent/pom.xml b/parent/pom.xml index f097f7d4c34..bb2d47f6c27 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -133,7 +133,7 @@ 3.6.1 3.8.0 2.11.1 -1.10 +1.10.0 1.7 1.0.4 1.4.2
[GitHub] [camel-k] squakez opened a new pull request, #3762: [backport] chore(ci): clean actions
squakez opened a new pull request, #3762: URL: https://github.com/apache/camel-k/pull/3762 **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-spring-boot] 01/02: CAMEL-18632: camel-spring-boot - Upgrade to 2.6.13
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-spring-boot-3.14.x in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git commit a715b9573a4bad059deca5015085c5e561b3d12c Author: Claus Ibsen AuthorDate: Fri Oct 21 09:34:15 2022 +0200 CAMEL-18632: camel-spring-boot - Upgrade to 2.6.13 --- 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 2fe6ce53c09..0c9a6696e11 100644 --- a/archetypes/camel-archetype-spring-boot/pom.xml +++ b/archetypes/camel-archetype-spring-boot/pom.xml @@ -34,7 +34,7 @@ maven-archetype -2.6.12 +2.6.13 src/test/resources/settings.xml diff --git a/pom.xml b/pom.xml index 4e23e7d7188..11aa9d8d59d 100644 --- a/pom.xml +++ b/pom.xml @@ -108,7 +108,7 @@ false -2.6.12 +2.6.13 3.14.6-SNAPSHOT
[camel-spring-boot] branch camel-spring-boot-3.14.x updated (19bfc3450fb -> 7ee3cd7233c)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch camel-spring-boot-3.14.x in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git from 19bfc3450fb Align to spring-boot 2.6.12 (#638) new a715b9573a4 CAMEL-18632: camel-spring-boot - Upgrade to 2.6.13 new 7ee3cd7233c Regen The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: archetypes/camel-archetype-spring-boot/pom.xml | 2 +- .../springboot/catalog/components/activemq.json| 2 +- .../springboot/catalog/components/ahc-ws.json | 2 +- .../springboot/catalog/components/ahc-wss.json | 2 +- .../camel/springboot/catalog/components/ahc.json | 2 +- .../camel/springboot/catalog/components/amqp.json | 2 +- .../springboot/catalog/components/arangodb.json| 2 +- .../camel/springboot/catalog/components/as2.json | 2 +- .../springboot/catalog/components/asterisk.json| 2 +- .../springboot/catalog/components/atlasmap.json| 2 +- .../camel/springboot/catalog/components/atmos.json | 2 +- .../catalog/components/atmosphere-websocket.json | 2 +- .../camel/springboot/catalog/components/atom.json | 2 +- .../springboot/catalog/components/atomix-map.json | 2 +- .../catalog/components/atomix-messaging.json | 2 +- .../catalog/components/atomix-multimap.json| 2 +- .../catalog/components/atomix-queue.json | 2 +- .../springboot/catalog/components/atomix-set.json | 2 +- .../catalog/components/atomix-value.json | 2 +- .../camel/springboot/catalog/components/avro.json | 2 +- .../catalog/components/aws-secrets-manager.json| 2 +- .../springboot/catalog/components/aws2-athena.json | 2 +- .../springboot/catalog/components/aws2-cw.json | 2 +- .../springboot/catalog/components/aws2-ddb.json| 2 +- .../catalog/components/aws2-ddbstream.json | 2 +- .../springboot/catalog/components/aws2-ec2.json| 2 +- .../springboot/catalog/components/aws2-ecs.json| 2 +- .../springboot/catalog/components/aws2-eks.json| 2 +- .../catalog/components/aws2-eventbridge.json | 2 +- .../springboot/catalog/components/aws2-iam.json| 2 +- .../catalog/components/aws2-kinesis-firehose.json | 2 +- .../catalog/components/aws2-kinesis.json | 2 +- .../springboot/catalog/components/aws2-kms.json| 2 +- .../springboot/catalog/components/aws2-lambda.json | 2 +- .../springboot/catalog/components/aws2-mq.json | 2 +- .../springboot/catalog/components/aws2-msk.json| 2 +- .../springboot/catalog/components/aws2-s3.json | 2 +- .../springboot/catalog/components/aws2-ses.json| 2 +- .../springboot/catalog/components/aws2-sns.json| 2 +- .../springboot/catalog/components/aws2-sqs.json| 2 +- .../springboot/catalog/components/aws2-sts.json| 2 +- .../catalog/components/aws2-translate.json | 2 +- .../catalog/components/azure-cosmosdb.json | 2 +- .../catalog/components/azure-eventhubs.json| 2 +- .../catalog/components/azure-servicebus.json | 2 +- .../catalog/components/azure-storage-blob.json | 2 +- .../catalog/components/azure-storage-datalake.json | 2 +- .../catalog/components/azure-storage-queue.json| 2 +- .../catalog/components/bean-validator.json | 2 +- .../camel/springboot/catalog/components/bean.json | 2 +- .../springboot/catalog/components/beanstalk.json | 2 +- .../springboot/catalog/components/bonita.json | 2 +- .../camel/springboot/catalog/components/box.json | 2 +- .../springboot/catalog/components/braintree.json | 2 +- .../springboot/catalog/components/browse.json | 2 +- .../catalog/components/caffeine-cache.json | 2 +- .../catalog/components/caffeine-loadcache.json | 2 +- .../springboot/catalog/components/chatscript.json | 2 +- .../camel/springboot/catalog/components/chunk.json | 2 +- .../camel/springboot/catalog/components/class.json | 2 +- .../springboot/catalog/components/cm-sms.json | 2 +- .../camel/springboot/catalog/components/cmis.json | 2 +- .../springboot/catalog/components/coap+tcp.json| 2 +- .../camel/springboot/catalog/components/coap.json | 2 +- .../springboot/catalog/components/coaps+tcp.json | 2 +- .../camel/springboot/catalog/components/coaps.json | 2 +- .../springboot/catalog/components/cometd.json | 2 +- .../springboot/catalog/components/cometds.json | 2 +- .../springboot/catalog/components/consul.json | 2 +- .../springboot/catalog/components/controlbus.json | 2 +- .../camel/springboot/catalog/components/corda.json | 2 +- .../springboot/catalog/components/couchbase.json |
[GitHub] [camel] github-actions[bot] commented on pull request #8602: camel-fhir: Override commons-text version
github-actions[bot] commented on PR #8602: URL: https://github.com/apache/camel/pull/8602#issuecomment-1286582443 ### Components tested: | Total | Tested | Failed :x: | Passed :white_check_mark: | | --- | --- | --- | --- | | 1 | 1 | 0 | 1 | -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] jamesnetherton commented on a diff in pull request #8602: camel-fhir: Override commons-text version
jamesnetherton commented on code in PR #8602: URL: https://github.com/apache/camel/pull/8602#discussion_r1001476958 ## components/camel-fhir/camel-fhir-api/pom.xml: ## @@ -40,6 +40,11 @@ org.apache.camel camel-support + +org.apache.commons +commons-text +${commons-text-version} + Review Comment: Latest commit adds an exclusion + comment. -- 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] github-actions[bot] opened a new pull request, #8605: Generated sources regen
github-actions[bot] opened a new pull request, #8605: URL: https://github.com/apache/camel/pull/8605 Regen bot :robot: found some uncommitted 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 (eb8aad6a5c3 -> 378f270e134)
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 eb8aad6a5c3 camel-jbang - Upgrade to spring boot 2.7.5 add 9b40579a401 CAMEL-14832: Data format for SWIFT financial message conversion support (#8600) add 41e5c11c750 CAMEL-18617: Some health checks are hidden when running withg supervised controller enabled add 378f270e134 Regen for commit 41e5c11c750302ebfc3d75df43459a2d62d18b35 No new revisions were added by this update. Summary of changes: bom/camel-bom/pom.xml | 5 + camel-dependencies/pom.xml | 1 + catalog/camel-allcomponents/pom.xml| 4 + .../apache/camel/catalog/dataformats.properties| 2 + .../apache/camel/catalog/dataformats/swiftMt.json | 22 +++ .../apache/camel/catalog/dataformats/swiftMx.json | 25 +++ .../main/camel-main-configuration-metadata.json| 1 + .../org/apache/camel/catalog/models.properties | 2 + .../apache/camel/catalog/models/dataFormats.json | 2 +- .../org/apache/camel/catalog/models/marshal.json | 2 +- .../org/apache/camel/catalog/models/swiftMt.json | 19 ++ .../org/apache/camel/catalog/models/swiftMx.json | 22 +++ .../org/apache/camel/catalog/models/unmarshal.json | 2 +- .../apache/camel/catalog/schemas/camel-spring.xsd | 119 + .../camel/health-check/camel-kafka-repository | 2 - .../camel/component/kafka/KafkaConsumer.java | 10 +- .../camel/component/kafka/KafkaProducer.java | 10 +- .../CamelMicroProfileHealthCheckRegistry.java | 52 -- .../CamelMicroProfileHealthComponentsTest.java | 85 + ...MicroProfileHealthSupervisedRoutesMainTest.java | 15 +- .../health/CamelMicroProfileHealthTestHelper.java | 125 ++ .../health/CamelMicroProfileHealthTestSupport.java | 18 ++ components/camel-swift/pom.xml | 82 + .../swift/mt/SwiftMtDataFormatConfigurer.java | 28 +++ .../swift/mx/SwiftMxDataFormatConfigurer.java | 30 .../swift/mx/SwiftMxTypeConvertersLoader.java | 54 ++ .../services/org/apache/camel/TypeConverterLoader | 2 + .../org/apache/camel/configurer/swiftMt-dataformat | 2 + .../org/apache/camel/configurer/swiftMx-dataformat | 2 + .../org/apache/camel/dataformat.properties | 7 + .../services/org/apache/camel/dataformat/swiftMt | 2 + .../services/org/apache/camel/dataformat/swiftMx | 2 + .../apache/camel/dataformat/swift/mt/swiftMt.json | 22 +++ .../apache/camel/dataformat/swift/mx/swiftMx.json | 25 +++ .../src/main/docs/swiftMt-dataformat.adoc | 119 + .../src/main/docs/swiftMx-dataformat.adoc | 119 + .../dataformat/swift/mt/SwiftMtDataFormat.java | 89 ++ .../dataformat/swift/mx/ReadConfiguration.java | 35 .../dataformat/swift/mx/SwiftMxDataFormat.java | 192 + .../dataformat/swift/mx/SwiftMxTypeConverters.java | 44 + .../dataformat/swift/mx/WriteConfiguration.java| 76 .../swift/mt/SpringSwiftMxDataFormatTest.java | 127 ++ .../dataformat/swift/mt/SwiftMxDataFormatTest.java | 155 + .../swift/mx/SpringSwiftMtDataFormatTest.java | 90 ++ .../dataformat/swift/mx/SwiftMtDataFormatTest.java | 106 .../src/test/resources/log4j2.properties | 28 +++ .../camel-swift/src/test/resources/mt/message1.txt | 55 ++ .../src/test/resources/mt/message2.json| 118 + .../camel-swift/src/test/resources/mt/message2.txt | 20 +++ .../camel-swift/src/test/resources/mx/message1.xml | 38 .../src/test/resources/mx/message2.json| 169 ++ .../camel-swift/src/test/resources/mx/message2.xml | 129 ++ .../camel-swift/src/test/resources/mx/message3.xml | 43 + .../routes/SpringSwiftMtDataFormatTest.xml | 53 ++ .../routes/SpringSwiftMxDataFormatTest.xml | 74 components/pom.xml | 1 + ...thCheckRepository.java => HasHealthChecks.java} | 29 +--- .../apache/camel/health/HealthCheckRepository.java | 8 +- .../health/WritableHealthCheckRepository.java | 33 .../services/org/apache/camel/model.properties | 2 + .../apache/camel/model/dataformat/dataFormats.json | 2 +- .../org/apache/camel/model/dataformat/jaxb.index | 2 + .../org/apache/camel/model/dataformat/swiftMt.json | 19 ++ .../org/apache/camel/model/dataformat/swiftMx.json | 22 +++ .../resources/org/apache/camel/model/marshal.json | 2 +- .../org/apache/camel/model/unmarshal.json | 2 +- .../org/apache/camel/builder/DataFormatClause.java | 58 +++ .../org/apache/camel/model/MarshalDefinition.java | 4 + .../apache/camel/model/UnmarshalDefi
[camel-karaf] 01/03: CAMEL-18411: Fix to call method via OSGi service reference in blueprint
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-karaf-3.14.x in repository https://gitbox.apache.org/repos/asf/camel-karaf.git commit a631c5879ade06fba2dda2b83aee598bb02bd97b Author: Claus Ibsen AuthorDate: Fri Oct 21 09:44:26 2022 +0200 CAMEL-18411: Fix to call method via OSGi service reference in blueprint --- components/camel-bean-osgi/pom.xml | 62 -- .../services/org/apache/camel/other.properties | 7 --- .../src/generated/resources/bean-osgi.json | 15 -- .../camel/component/bean/osgi/Activator.java | 41 -- .../bean/osgi/OsgiBeanInfoTypeResolver.java| 31 --- .../services/org/apache/camel/other.properties | 2 +- .../src/generated/resources/blueprint-main.json| 2 +- .../services/org/apache/camel/other.properties | 2 +- .../src/generated/resources/blueprint.json | 2 +- components/pom.xml | 1 - .../karaf/features/src/main/resources/features.xml | 1 - 11 files changed, 4 insertions(+), 162 deletions(-) diff --git a/components/camel-bean-osgi/pom.xml b/components/camel-bean-osgi/pom.xml deleted file mode 100644 index 5496cc04.. --- a/components/camel-bean-osgi/pom.xml +++ /dev/null @@ -1,62 +0,0 @@ - - -http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd";> - -4.0.0 - - -org.apache.camel.karaf -components -3.14.6-SNAPSHOT - - -camel-bean-osgi -jar -Camel Karaf :: Bean -Camel Bean component - - - -org.apache.camel.component.bean.osgi.Activator - -1.0.0 -core,java -Bean - - - - - -org.apache.camel -camel-bean - - - - -org.osgi -osgi.core -provided -true -6.0.0 - - - - - diff --git a/components/camel-bean-osgi/src/generated/resources/META-INF/services/org/apache/camel/other.properties b/components/camel-bean-osgi/src/generated/resources/META-INF/services/org/apache/camel/other.properties deleted file mode 100644 index 7950bf67.. --- a/components/camel-bean-osgi/src/generated/resources/META-INF/services/org/apache/camel/other.properties +++ /dev/null @@ -1,7 +0,0 @@ -# Generated by camel build tools - do NOT edit this file! -name=bean-osgi -groupId=org.apache.camel.karaf -artifactId=camel-bean-osgi -version=3.14.5-SNAPSHOT -projectName=Camel Karaf :: Bean -projectDescription=Camel Bean component diff --git a/components/camel-bean-osgi/src/generated/resources/bean-osgi.json b/components/camel-bean-osgi/src/generated/resources/bean-osgi.json deleted file mode 100644 index 1f27d63b.. --- a/components/camel-bean-osgi/src/generated/resources/bean-osgi.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "other": { -"kind": "other", -"name": "bean-osgi", -"title": "Bean", -"description": "Camel Bean component", -"deprecated": false, -"firstVersion": "1.0.0", -"label": "core,java", -"supportLevel": "Stable", -"groupId": "org.apache.camel.karaf", -"artifactId": "camel-bean-osgi", -"version": "3.14.5-SNAPSHOT" - } -} diff --git a/components/camel-bean-osgi/src/main/java/org/apache/camel/component/bean/osgi/Activator.java b/components/camel-bean-osgi/src/main/java/org/apache/camel/component/bean/osgi/Activator.java deleted file mode 100644 index b4ed2877.. --- a/components/camel-bean-osgi/src/main/java/org/apache/camel/component/bean/osgi/Activator.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * 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.bean.osgi; - -import org.apache.camel.component.bean.BeanInfoTypeResolver; -import org.osgi.framework.BundleActivator; -import org.osgi.framework.BundleContext; -import org.osgi.framework.ServiceRegistration; - -public class Activator implements BundleActivator { -private ServiceRegistration registration; - -@Override -
[camel-karaf] 03/03: Netty import hell
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-karaf-3.14.x in repository https://gitbox.apache.org/repos/asf/camel-karaf.git commit 9f9924f2b0bffe8fb8a414a09a431cb88ba3f599 Author: Claus Ibsen AuthorDate: Fri Oct 21 10:01:08 2022 +0200 Netty import hell --- .../karaf/features/src/main/resources/features.xml | 48 -- pom.xml| 1 + 2 files changed, 46 insertions(+), 3 deletions(-) diff --git a/platforms/karaf/features/src/main/resources/features.xml b/platforms/karaf/features/src/main/resources/features.xml index 558c1675..5195e0e3 100644 --- a/platforms/karaf/features/src/main/resources/features.xml +++ b/platforms/karaf/features/src/main/resources/features.xml @@ -170,6 +170,7 @@ mvn:io.netty/netty-transport-native-epoll/${netty-version} mvn:io.netty/netty-transport-native-kqueue/${netty-version} mvn:io.netty/netty-codec-http/${netty-version} +mvn:io.netty/netty-tcnative-classes/${netty-tcnative-classes-version} mvn:io.netty/netty-transport-native-unix-common/${netty-version} mvn:org.apache.camel/camel-amqp/${project.version} @@ -231,6 +232,10 @@ mvn:io.netty/netty-handler/${netty-version} mvn:io.netty/netty-codec/${netty-version} mvn:io.netty/netty-transport/${netty-version} +mvn:io.netty/netty-transport-native-epoll/${netty-version} +mvn:io.netty/netty-transport-native-unix-common/${netty-version} +mvn:io.netty/netty-transport-classes-epoll/${netty-version} +mvn:io.netty/netty-tcnative-classes/${netty-tcnative-classes-version} mvn:io.atomix/atomix-all/${atomix-version} mvn:org.apache.camel/camel-atomix/${project.version} @@ -554,6 +559,8 @@ mvn:io.netty/netty-handler/${netty-version} mvn:io.netty/netty-resolver/${netty-version} mvn:io.netty/netty-transport/${netty-version} +mvn:io.netty/netty-transport-native-unix-common/${netty-version} +mvn:io.netty/netty-tcnative-classes/${netty-tcnative-classes-version} wrap:mvn:org.eclipse.californium/californium-core/${californium-version} wrap:mvn:org.eclipse.californium/element-connector/${californium-version} wrap:mvn:org.eclipse.californium/element-connector-tcp-netty/${californium-version} @@ -692,6 +699,7 @@ mvn:io.netty/netty-transport-classes-kqueue/${netty-version} mvn:io.netty/netty-codec/${netty-version} mvn:io.netty/netty-codec-http/${netty-version} +mvn:io.netty/netty-tcnative-classes/${netty-tcnative-classes-version} mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.jaxrs-api-2.1/${servicemix-specs-version} mvn:commons-codec/commons-codec/${commons-codec-version} mvn:org.apache.commons/commons-compress/${docker-java-commons-compress-version} @@ -774,10 +782,14 @@ mvn:io.netty/netty-resolver/${netty-version} mvn:io.netty/netty-resolver-dns/${netty-version} mvn:io.netty/netty-transport/${netty-version} +mvn:io.netty/netty-transport-native-epoll/${netty-version} +mvn:io.netty/netty-transport-native-unix-common/${netty-version} +mvn:io.netty/netty-transport-classes-epoll/${netty-version} mvn:io.netty/netty-handler/${netty-version} mvn:io.netty/netty-codec/${netty-version} mvn:io.netty/netty-codec-http/${netty-version} mvn:io.netty/netty-codec-dns/${netty-version} +mvn:io.netty/netty-tcnative-classes/${netty-tcnative-classes-version} mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.elasticsearch/${elasticsearch-rest-bundle-version} mvn:org.apache.logging.log4j/log4j-core/${log4j2-version} mvn:org.apache.logging.log4j/log4j-api/${log4j2-version} @@ -798,6 +810,9 @@ mvn:io.netty/netty-resolver/${netty-version} mvn:io.netty/netty-resolver-dns/${netty-version} mvn:io.netty/netty-transport/${netty-version} +mvn:io.netty/netty-transport-native-epoll/${netty-version} +mvn:io.netty/netty-transport-native-unix-common/${netty-version} +mvn:io.netty/netty-transport-classes-epoll/${netty-version} mvn:io.netty/netty-handler/${netty-version} mvn:io.netty/netty-codec/${netty-version} mvn:io.netty/netty-codec-http/${netty-version} @@ -1096,7 +,11 @@ mvn:io.netty/netty-common/${netty-version} mvn:io.netty/netty-handler/${netty-version} mvn:io.netty/netty-transport/${netty-version} +mvn:io.netty/netty-transport-native-epoll/${netty-version} +mvn:io.netty/netty-transport-native-unix-common/${netty-version} +mvn:io.netty/netty-transport-classes-epoll/${netty-version} mvn:io.netty/netty-resolver/${netty-version} +mvn:io.netty/netty-tcnative-classes/${netty-tcnative-classes-version} mvn:org.apache.camel/camel-iec60870/${project.version} @@ -1514,8 +1533,12 @@ mvn:io.netty/netty-buffer/${netty-version} mvn:io.netty/netty-resolver/${netty-version} mvn:io.netty/netty-transport/${netty-version} +
[camel-karaf] branch camel-karaf-3.14.x updated (25f44d00 -> 9f9924f2)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch camel-karaf-3.14.x in repository https://gitbox.apache.org/repos/asf/camel-karaf.git from 25f44d00 Target Camel 3.14.6-SNAPSHOT for development new a631c587 CAMEL-18411: Fix to call method via OSGi service reference in blueprint new 40f098d7 Regen new 9f9924f2 Netty import hell The 3 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/karaf/components/activemq.json | 2 +- .../camel/catalog/karaf/components/ahc-ws.json | 2 +- .../apache/camel/catalog/karaf/components/ahc.json | 2 +- .../camel/catalog/karaf/components/amqp.json | 2 +- .../camel/catalog/karaf/components/arangodb.json | 2 +- .../apache/camel/catalog/karaf/components/as2.json | 2 +- .../camel/catalog/karaf/components/asterisk.json | 2 +- .../camel/catalog/karaf/components/atom.json | 2 +- .../camel/catalog/karaf/components/avro.json | 2 +- .../karaf/components/aws-secrets-manager.json | 2 +- .../catalog/karaf/components/aws2-athena.json | 2 +- .../camel/catalog/karaf/components/aws2-cw.json| 2 +- .../camel/catalog/karaf/components/aws2-ddb.json | 2 +- .../camel/catalog/karaf/components/aws2-ec2.json | 2 +- .../camel/catalog/karaf/components/aws2-ecs.json | 2 +- .../camel/catalog/karaf/components/aws2-eks.json | 2 +- .../catalog/karaf/components/aws2-eventbridge.json | 2 +- .../camel/catalog/karaf/components/aws2-iam.json | 2 +- .../catalog/karaf/components/aws2-kinesis.json | 2 +- .../camel/catalog/karaf/components/aws2-kms.json | 2 +- .../catalog/karaf/components/aws2-lambda.json | 2 +- .../camel/catalog/karaf/components/aws2-mq.json| 2 +- .../camel/catalog/karaf/components/aws2-msk.json | 2 +- .../camel/catalog/karaf/components/aws2-s3.json| 2 +- .../camel/catalog/karaf/components/aws2-ses.json | 2 +- .../camel/catalog/karaf/components/aws2-sns.json | 2 +- .../camel/catalog/karaf/components/aws2-sqs.json | 2 +- .../camel/catalog/karaf/components/aws2-sts.json | 2 +- .../catalog/karaf/components/aws2-translate.json | 2 +- .../catalog/karaf/components/azure-eventhubs.json | 2 +- .../karaf/components/azure-storage-blob.json | 2 +- .../karaf/components/azure-storage-datalake.json | 2 +- .../karaf/components/azure-storage-queue.json | 2 +- .../catalog/karaf/components/bean-validator.json | 2 +- .../camel/catalog/karaf/components/bean.json | 2 +- .../camel/catalog/karaf/components/beanstalk.json | 2 +- .../apache/camel/catalog/karaf/components/box.json | 2 +- .../camel/catalog/karaf/components/braintree.json | 2 +- .../camel/catalog/karaf/components/browse.json | 2 +- .../camel/catalog/karaf/components/chatscript.json | 2 +- .../camel/catalog/karaf/components/cm-sms.json | 2 +- .../camel/catalog/karaf/components/cmis.json | 2 +- .../camel/catalog/karaf/components/coap.json | 2 +- .../camel/catalog/karaf/components/cometd.json | 2 +- .../camel/catalog/karaf/components/consul.json | 2 +- .../camel/catalog/karaf/components/controlbus.json | 2 +- .../camel/catalog/karaf/components/corda.json | 2 +- .../camel/catalog/karaf/components/couchdb.json| 2 +- .../camel/catalog/karaf/components/cron.json | 2 +- .../camel/catalog/karaf/components/crypto.json | 2 +- .../apache/camel/catalog/karaf/components/cxf.json | 2 +- .../camel/catalog/karaf/components/dataformat.json | 2 +- .../camel/catalog/karaf/components/dataset.json| 2 +- .../catalog/karaf/components/digitalocean.json | 2 +- .../camel/catalog/karaf/components/direct.json | 2 +- .../camel/catalog/karaf/components/disruptor.json | 2 +- .../apache/camel/catalog/karaf/components/djl.json | 2 +- .../apache/camel/catalog/karaf/components/dns.json | 2 +- .../camel/catalog/karaf/components/docker.json | 4 +- .../camel/catalog/karaf/components/dozer.json | 2 +- .../camel/catalog/karaf/components/drill.json | 2 +- .../camel/catalog/karaf/components/dropbox.json| 2 +- .../camel/catalog/karaf/components/ehcache.json| 2 +- .../karaf/components/elasticsearch-rest.json | 2 +- .../camel/catalog/karaf/components/elsql.json | 2 +- .../camel/catalog/karaf/components/eventadmin.json | 2 +- .../camel/catalog/karaf/components/exec.json | 2 +- .../camel/catalog/karaf/components/facebook.json | 2 +- .../camel/catalog/karaf/components/file-watch.json | 2 +- .../camel/catalog/karaf/components/file.json | 2 +- .../camel/catalog/karaf/components/flatpack.json | 2 +- .../apache/camel/catalog/karaf/components/fop.json | 2 +- .../camel/catalog/k
[GitHub] [camel] oscerd merged pull request #8605: Generated sources regen
oscerd merged PR #8605: URL: https://github.com/apache/camel/pull/8605 -- 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 41e5c11c750302ebfc3d75df43459a2d62d18b35
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 5a4c366ae08 Regen for commit 41e5c11c750302ebfc3d75df43459a2d62d18b35 5a4c366ae08 is described below commit 5a4c366ae0830ae905b4759b738d7c0c5a99dc6b Author: lburgazzoli AuthorDate: Fri Oct 21 07:58:37 2022 + Regen for commit 41e5c11c750302ebfc3d75df43459a2d62d18b35 Signed-off-by: GitHub --- .../resources/org/apache/camel/catalog/dataformats/swiftMx.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/swiftMx.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/swiftMx.json index 84cd4ba4e94..2be3dbd40ff 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/swiftMx.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/swiftMx.json @@ -7,7 +7,7 @@ "deprecated": false, "firstVersion": "3.20.0", "label": "dataformat,transformation,swift", -"javaType": "org.apache.camel.dataformat.swift.SwiftMxDataFormat", +"javaType": "org.apache.camel.dataformat.swift.mx.SwiftMxDataFormat", "supportLevel": "Preview", "groupId": "org.apache.camel", "artifactId": "camel-swift",
[GitHub] [camel-k] milank78git commented on issue #3459: Camel-K initContainer
milank78git commented on issue #3459: URL: https://github.com/apache/camel-k/issues/3459#issuecomment-1286622684 it is a possible temporary solution An init container is the one that starts and executes before other containers in the same Pod and creating secret resource . Pod trait (pod template) it runs continuously and uses k8s resources -- 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] github-actions[bot] commented on pull request #8604: feat: replace custom aws health check repositories with the components one
github-actions[bot] commented on PR #8604: URL: https://github.com/apache/camel/pull/8604#issuecomment-1286623296 ### Components tested: | Total | Tested | Failed :x: | Passed :white_check_mark: | | --- | --- | --- | --- | | 1 | 1 | 1 | 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-quarkus] djcoleman commented on a diff in pull request #4200: controlbus: Added action option tests (fixes #4009)
djcoleman commented on code in PR #4200: URL: https://github.com/apache/camel-quarkus/pull/4200#discussion_r1001504099 ## integration-test-groups/foundation/controlbus/pom.xml: ## @@ -58,6 +62,20 @@ +
[GitHub] [camel-quarkus] JiriOndrusek opened a new pull request, #4201: Increased workflow memory limit to avoid java heap space errors
JiriOndrusek opened a new pull request, #4201: URL: https://github.com/apache/camel-quarkus/pull/4201 Increased memory allocation to avoid `java heap space` errors in nighthly builds of `camel-main` and `quarkus-main` branches. -- 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] djcoleman commented on a diff in pull request #4200: controlbus: Added action option tests (fixes #4009)
djcoleman commented on code in PR #4200: URL: https://github.com/apache/camel-quarkus/pull/4200#discussion_r1001505657 ## integration-test-groups/foundation/controlbus/src/test/java/org/apache/camel/quarkus/component/controlbus/it/ControlbusTest.java: ## @@ -19,13 +19,22 @@ import io.quarkus.test.junit.QuarkusTest; import io.restassured.RestAssured; import io.restassured.http.ContentType; +import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; @QuarkusTest class ControlbusTest { +@BeforeEach +public void startRoute() { +String status = RestAssured.get("/controlbus/status").asString(); +if ("Stopped".equals(status)) { +RestAssured.get("/controlbus/start"); +} +} + @Test -public void test() { +public void testStopStart() { RestAssured.given() .contentType(ContentType.TEXT).get("/controlbus/status") .then().body(org.hamcrest.CoreMatchers.equalTo("Started")); Review Comment: Good point. I refactored that test and the jvm test. https://github.com/apache/camel-quarkus/pull/4200/files#diff-c93d82c8522c8189a7514a631276500d49ef7869fec288fbfb44ba92caf2231fR25 -- 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] djcoleman commented on a diff in pull request #4200: controlbus: Added action option tests (fixes #4009)
djcoleman commented on code in PR #4200: URL: https://github.com/apache/camel-quarkus/pull/4200#discussion_r1001507832 ## integration-tests-jvm/controlbus-statistics/src/main/java/org/apache/camel/quarkus/component/controlbus/it/ControlbusRoute.java: ## @@ -0,0 +1,42 @@ +/* + * 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.quarkus.component.controlbus.it; + +import javax.enterprise.context.ApplicationScoped; + +import org.apache.camel.builder.RouteBuilder; +import org.jboss.logging.Logger; + +@ApplicationScoped +public class ControlbusRoute extends RouteBuilder { + +private static final Logger LOG = Logger.getLogger(ControlbusResource.class); + +@Override +public void configure() throws Exception { +from("direct:control") +.routeId("control") +.process(e -> LOG.info("control:" + e.getMessage().getBody(String.class))); Review Comment: That route was already in the test so I don't know why it was written that way, but I swapped it for the log() method. https://github.com/apache/camel-quarkus/pull/4200/files#diff-eeeab2ce264c21e4c0f0b9328b72f5a4162ca53507adbd9c61518a5cd4001cb9R38 -- 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] milank78git opened a new issue, #3763: Helm - missing parameters
milank78git opened a new issue, #3763: URL: https://github.com/apache/camel-k/issues/3763 Hi, I'm using helm the latest Camel-K 1.10.x and missing parameter KAMEL_OPERATOR_ID Installing via binary camel sets this parameter Please add in operator.yaml helm also : annotations imagePullSecrets Thank you very much -- 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.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-k] oscerd commented on issue #3763: Helm - missing parameters
oscerd commented on issue #3763: URL: https://github.com/apache/camel-k/issues/3763#issuecomment-1286636910 You're welcome to open a PR for this. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] github-actions[bot] commented on pull request #8603: [3.18.x] camel-fhir: Override commons-text version
github-actions[bot] commented on PR #8603: URL: https://github.com/apache/camel/pull/8603#issuecomment-1286654289 ### Components tested: | Total | Tested | Failed :x: | Passed :white_check_mark: | | --- | --- | --- | --- | | 1 | 1 | 0 | 1 | -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch camel-3.18.x updated (2b1c1202cfd -> 03d60c7ed63)
This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a change to branch camel-3.18.x in repository https://gitbox.apache.org/repos/asf/camel.git from 2b1c1202cfd CAMEL-18631: Upgrade dependencies new 366c0e1c2ef camel-fhir: Override commons-text version new 03d60c7ed63 camel-fhir: Reformat code The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: components/camel-fhir/camel-fhir-api/pom.xml | 12 + .../apache/camel/component/fhir/api/FhirRead.java | 61 +++--- .../camel/component/fhir/api/FhirUpdate.java | 44 .../camel/component/fhir/api/FhirValidate.java | 8 +-- components/camel-fhir/camel-fhir-component/pom.xml | 13 + 5 files changed, 82 insertions(+), 56 deletions(-)
[camel] 02/02: camel-fhir: Reformat code
This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a commit to branch camel-3.18.x in repository https://gitbox.apache.org/repos/asf/camel.git commit 03d60c7ed63506a22d0e178275a119660d5a111b Author: James Netherton AuthorDate: Fri Oct 21 08:55:13 2022 +0100 camel-fhir: Reformat code --- .../apache/camel/component/fhir/api/FhirRead.java | 61 +++--- .../camel/component/fhir/api/FhirUpdate.java | 44 .../camel/component/fhir/api/FhirValidate.java | 8 +-- 3 files changed, 57 insertions(+), 56 deletions(-) diff --git a/components/camel-fhir/camel-fhir-api/src/main/java/org/apache/camel/component/fhir/api/FhirRead.java b/components/camel-fhir/camel-fhir-api/src/main/java/org/apache/camel/component/fhir/api/FhirRead.java index 13663781048..a7b856f2f1c 100644 --- a/components/camel-fhir/camel-fhir-api/src/main/java/org/apache/camel/component/fhir/api/FhirRead.java +++ b/components/camel-fhir/camel-fhir-api/src/main/java/org/apache/camel/component/fhir/api/FhirRead.java @@ -18,7 +18,6 @@ package org.apache.camel.component.fhir.api; import java.util.Map; -import ca.uhn.fhir.rest.api.MethodOutcome; import ca.uhn.fhir.rest.client.api.IGenericClient; import ca.uhn.fhir.rest.gclient.IReadExecutable; import ca.uhn.fhir.rest.gclient.IReadIfNoneMatch; @@ -43,13 +42,13 @@ public class FhirRead { /** * Reads a {@link IBaseResource} on the server by id * - * @param resourceThe resource to read (e.g. Patient) - * @param id the {@link IIdType} referencing the resource + * @param resource The resource to read (e.g. Patient) + * @param id the {@link IIdType} referencing the resource * @param ifVersionMatches a version to match against the newest version on the server. * @param returnNull return null if version matches * @param returnResource return the resource if version matches * @param throwError throw error if the version matches - * @param extraParameters see {@link ExtraParameters} for a full list of parameters that can be passed, may be NULL + * @param extraParameters see {@link ExtraParameters} for a full list of parameters that can be passed, may be NULL */ public IBaseResource resourceById( Class resource, IIdType id, String ifVersionMatches, @@ -63,13 +62,13 @@ public class FhirRead { /** * Reads a {@link IBaseResource} on the server by id * - * @param resourceClass the resource to read (e.g. Patient.class) - * @param id the {@link IIdType} referencing the resource + * @param resourceClassthe resource to read (e.g. Patient.class) + * @param id the {@link IIdType} referencing the resource * @param ifVersionMatches a version to match against the newest version on the server. * @param returnNull return null if version matches * @param returnResource return the resource if version matches * @param throwError throw error if the version matches - * @param extraParameters see {@link ExtraParameters} for a full list of parameters that can be passed, may be NULL + * @param extraParameters see {@link ExtraParameters} for a full list of parameters that can be passed, may be NULL */ public IBaseResource resourceById( String resourceClass, IIdType id, String ifVersionMatches, Boolean returnNull, @@ -82,14 +81,14 @@ public class FhirRead { /** * Reads a {@link IBaseResource} on the server by id * - * @param resourceThe resource to read (e.g. Patient) - * @param stringIdThe resource ID + * @param resource The resource to read (e.g. Patient) + * @param stringId The resource ID * @param version the resource version * @param ifVersionMatches a version to match against the newest version on the server. * @param returnNull return null if version matches * @param returnResource return the resource if version matches * @param throwError throw error if the version matches - * @param extraParameters see {@link ExtraParameters} for a full list of parameters that can be passed, may be NULL + * @param extraParameters see {@link ExtraParameters} for a full list of parameters that can be passed, may be NULL */ public IBaseResource resourceById( Class resource, String stringId, String version, String ifVersionMatches, @@ -104,14 +103,14 @@ public class FhirRead { /** * Reads a {@link IBaseResource} on the server by id * - * @param resourceClass the resource to read (e.g. Patient.class) - * @param stringIdThe resource ID + * @param resourceClassthe resource to read (e.g. Patient.class) + * @param stringId The resource ID * @param vers
[GitHub] [camel] jamesnetherton merged pull request #8603: [3.18.x] camel-fhir: Override commons-text version
jamesnetherton merged PR #8603: URL: https://github.com/apache/camel/pull/8603 -- 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] 01/02: camel-fhir: Override commons-text version
This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a commit to branch camel-3.18.x in repository https://gitbox.apache.org/repos/asf/camel.git commit 366c0e1c2ef62867c6b695c7bf5f0b0d533dbd89 Author: James Netherton AuthorDate: Fri Oct 21 07:35:17 2022 +0100 camel-fhir: Override commons-text version --- components/camel-fhir/camel-fhir-api/pom.xml | 12 components/camel-fhir/camel-fhir-component/pom.xml | 13 + 2 files changed, 25 insertions(+) diff --git a/components/camel-fhir/camel-fhir-api/pom.xml b/components/camel-fhir/camel-fhir-api/pom.xml index ca2e3021635..9fc07138a8a 100644 --- a/components/camel-fhir/camel-fhir-api/pom.xml +++ b/components/camel-fhir/camel-fhir-api/pom.xml @@ -40,10 +40,22 @@ org.apache.camel camel-support + + +org.apache.commons +commons-text +${commons-text-version} + ca.uhn.hapi.fhir hapi-fhir-base ${hapi-fhir-version} + + +org.apache.commons +commons-text + + diff --git a/components/camel-fhir/camel-fhir-component/pom.xml b/components/camel-fhir/camel-fhir-component/pom.xml index 59800958f84..f49a25eaef1 100644 --- a/components/camel-fhir/camel-fhir-component/pom.xml +++ b/components/camel-fhir/camel-fhir-component/pom.xml @@ -49,10 +49,23 @@ camel-support + + +org.apache.commons +commons-text +${commons-text-version} + + ca.uhn.hapi.fhir hapi-fhir-base ${hapi-fhir-version} + + +org.apache.commons +commons-text + +
[camel-kamelets] 01/03: Added a getKameletScheme method
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch kamelet-scheme-method in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git commit df94839ce9b15fd1aafa6439a36058debdb7213f Author: Andrea Cosentino AuthorDate: Fri Oct 21 10:41:51 2022 +0200 Added a getKameletScheme method Signed-off-by: Andrea Cosentino --- .../camel/kamelets/catalog/KameletsCatalog.java| 22 +- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/library/camel-kamelets-catalog/src/main/java/org/apache/camel/kamelets/catalog/KameletsCatalog.java b/library/camel-kamelets-catalog/src/main/java/org/apache/camel/kamelets/catalog/KameletsCatalog.java index 0797c68a..31a688ec 100644 --- a/library/camel-kamelets-catalog/src/main/java/org/apache/camel/kamelets/catalog/KameletsCatalog.java +++ b/library/camel-kamelets-catalog/src/main/java/org/apache/camel/kamelets/catalog/KameletsCatalog.java @@ -18,7 +18,13 @@ package org.apache.camel.kamelets.catalog; import java.io.IOException; import java.io.InputStream; -import java.util.*; +import java.util.ArrayList; +import java.util.Collections; +import java.util.Comparator; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.TreeMap; import java.util.stream.Collectors; import com.fasterxml.jackson.databind.DeserializationFeature; @@ -193,10 +199,12 @@ public class KameletsCatalog { String prefixName = local.getMetadata().getName().substring(0, lastIndex); String schemeName = enumValue(prefixName); if (schemeName != null) { -List headers = cc.componentModel(schemeName).getEndpointHeaders(); -for (ComponentModel.EndpointHeaderModel e : headers) { -if (ObjectHelper.isEmpty(e.getLabel()) || e.getLabel().equalsIgnoreCase(camelType)) { -resultingHeaders.add(e); +if (ObjectHelper.isNotEmpty(cc.componentModel(schemeName).getEndpointHeaders())) { +List headers = cc.componentModel(schemeName).getEndpointHeaders(); +for (ComponentModel.EndpointHeaderModel e : headers) { +if (ObjectHelper.isEmpty(e.getLabel()) || e.getLabel().equalsIgnoreCase(camelType)) { +resultingHeaders.add(e); +} } } } @@ -204,6 +212,10 @@ public class KameletsCatalog { return resultingHeaders; } +public String getKameletScheme(String prefix) { +return enumValue(prefix); +} + private String enumValue(String prefix) { for (KameletPrefixSchemeEnum c : KameletPrefixSchemeEnum.values()) { if (c.name.equals(prefix)) return c.scheme;
[camel-kamelets] 02/03: Added getKameletScheme tests
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch kamelet-scheme-method in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git commit 487ad63462f30a41adbc4ce66b3d189d4a9d1381 Author: Andrea Cosentino AuthorDate: Fri Oct 21 10:44:35 2022 +0200 Added getKameletScheme tests Signed-off-by: Andrea Cosentino --- .../java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java | 6 ++ 1 file changed, 6 insertions(+) diff --git a/library/camel-kamelets-catalog/src/test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java b/library/camel-kamelets-catalog/src/test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java index 84ddf8ea..9279fb2b 100644 --- a/library/camel-kamelets-catalog/src/test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java +++ b/library/camel-kamelets-catalog/src/test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java @@ -373,4 +373,10 @@ public class KameletsCatalogTest { List headersWttrinSource= catalog.getKameletSupportedHeaders("wttrin-source"); assertEquals(5, headersWttrinSource.size()); } + +@Test +void testGetKameletScheme() throws Exception { +assertEquals("aws2-s3", catalog.getKameletScheme("aws-s3")); +assertEquals("aws2-sqs", catalog.getKameletScheme("aws-sqs")); +} }
[camel-kamelets] 03/03: Added getKameletScheme tests
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch kamelet-scheme-method in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git commit 844ba8d39db22265eafaab9eb9d2459d1cc263f6 Author: Andrea Cosentino AuthorDate: Fri Oct 21 10:45:36 2022 +0200 Added getKameletScheme tests Signed-off-by: Andrea Cosentino --- .../test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/library/camel-kamelets-catalog/src/test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java b/library/camel-kamelets-catalog/src/test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java index 9279fb2b..64f3ba9b 100644 --- a/library/camel-kamelets-catalog/src/test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java +++ b/library/camel-kamelets-catalog/src/test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java @@ -378,5 +378,6 @@ public class KameletsCatalogTest { void testGetKameletScheme() throws Exception { assertEquals("aws2-s3", catalog.getKameletScheme("aws-s3")); assertEquals("aws2-sqs", catalog.getKameletScheme("aws-sqs")); +assertNull(catalog.getKameletScheme("not-known")); } }
[camel-kamelets] branch kamelet-scheme-method created (now 844ba8d3)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a change to branch kamelet-scheme-method in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git at 844ba8d3 Added getKameletScheme tests This branch includes the following new commits: new df94839c Added a getKameletScheme method new 487ad634 Added getKameletScheme tests new 844ba8d3 Added getKameletScheme tests The 3 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] branch regen_bot_3.14.x updated (543342e28e2 -> efe6d1287b3)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot_3.14.x in repository https://gitbox.apache.org/repos/asf/camel.git from 543342e28e2 CAMEL-18421: camel-core - Adding route dynamic leak bootstraps add f204b4ba2cc Upgrade dependencies add 703ace44f68 CAMEL-18632: Upgrade dependencies add efe6d1287b3 CAMEL-18632: Upgrade dependencies No new revisions were added by this update. Summary of changes: camel-dependencies/pom.xml | 12 ++-- parent/pom.xml | 12 ++-- 2 files changed, 12 insertions(+), 12 deletions(-)
[GitHub] [camel-kamelets] oscerd merged pull request #1102: Kamelet Scheme method in catalog
oscerd merged PR #1102: URL: https://github.com/apache/camel-kamelets/pull/1102 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-kamelets] 02/03: Added getKameletScheme tests
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git commit 0b5c275fb9a6ba0e16e8671aad2104d3ff907173 Author: Andrea Cosentino AuthorDate: Fri Oct 21 10:44:35 2022 +0200 Added getKameletScheme tests Signed-off-by: Andrea Cosentino --- .../java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java | 6 ++ 1 file changed, 6 insertions(+) diff --git a/library/camel-kamelets-catalog/src/test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java b/library/camel-kamelets-catalog/src/test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java index 84ddf8ea..9279fb2b 100644 --- a/library/camel-kamelets-catalog/src/test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java +++ b/library/camel-kamelets-catalog/src/test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java @@ -373,4 +373,10 @@ public class KameletsCatalogTest { List headersWttrinSource= catalog.getKameletSupportedHeaders("wttrin-source"); assertEquals(5, headersWttrinSource.size()); } + +@Test +void testGetKameletScheme() throws Exception { +assertEquals("aws2-s3", catalog.getKameletScheme("aws-s3")); +assertEquals("aws2-sqs", catalog.getKameletScheme("aws-sqs")); +} }
[camel-kamelets] branch main updated (6c61b447 -> e39962cb)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git from 6c61b447 Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - Webhook, Websocket and Wttrin new 21725055 Added a getKameletScheme method new 0b5c275f Added getKameletScheme tests new e39962cb Added getKameletScheme tests The 3 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/kamelets/catalog/KameletsCatalog.java| 22 +- .../kamelets/catalog/KameletsCatalogTest.java | 7 +++ 2 files changed, 24 insertions(+), 5 deletions(-)
[camel-kamelets] 03/03: Added getKameletScheme tests
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git commit e39962cb9fab2ce72b1c0ad27b6d59394ec80369 Author: Andrea Cosentino AuthorDate: Fri Oct 21 10:45:36 2022 +0200 Added getKameletScheme tests Signed-off-by: Andrea Cosentino --- .../test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/library/camel-kamelets-catalog/src/test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java b/library/camel-kamelets-catalog/src/test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java index 9279fb2b..64f3ba9b 100644 --- a/library/camel-kamelets-catalog/src/test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java +++ b/library/camel-kamelets-catalog/src/test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java @@ -378,5 +378,6 @@ public class KameletsCatalogTest { void testGetKameletScheme() throws Exception { assertEquals("aws2-s3", catalog.getKameletScheme("aws-s3")); assertEquals("aws2-sqs", catalog.getKameletScheme("aws-sqs")); +assertNull(catalog.getKameletScheme("not-known")); } }
[camel-kamelets] 01/03: Added a getKameletScheme method
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git commit 21725055ebb617be23f167c04adb92be152228a7 Author: Andrea Cosentino AuthorDate: Fri Oct 21 10:41:51 2022 +0200 Added a getKameletScheme method Signed-off-by: Andrea Cosentino --- .../camel/kamelets/catalog/KameletsCatalog.java| 22 +- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/library/camel-kamelets-catalog/src/main/java/org/apache/camel/kamelets/catalog/KameletsCatalog.java b/library/camel-kamelets-catalog/src/main/java/org/apache/camel/kamelets/catalog/KameletsCatalog.java index 0797c68a..31a688ec 100644 --- a/library/camel-kamelets-catalog/src/main/java/org/apache/camel/kamelets/catalog/KameletsCatalog.java +++ b/library/camel-kamelets-catalog/src/main/java/org/apache/camel/kamelets/catalog/KameletsCatalog.java @@ -18,7 +18,13 @@ package org.apache.camel.kamelets.catalog; import java.io.IOException; import java.io.InputStream; -import java.util.*; +import java.util.ArrayList; +import java.util.Collections; +import java.util.Comparator; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.TreeMap; import java.util.stream.Collectors; import com.fasterxml.jackson.databind.DeserializationFeature; @@ -193,10 +199,12 @@ public class KameletsCatalog { String prefixName = local.getMetadata().getName().substring(0, lastIndex); String schemeName = enumValue(prefixName); if (schemeName != null) { -List headers = cc.componentModel(schemeName).getEndpointHeaders(); -for (ComponentModel.EndpointHeaderModel e : headers) { -if (ObjectHelper.isEmpty(e.getLabel()) || e.getLabel().equalsIgnoreCase(camelType)) { -resultingHeaders.add(e); +if (ObjectHelper.isNotEmpty(cc.componentModel(schemeName).getEndpointHeaders())) { +List headers = cc.componentModel(schemeName).getEndpointHeaders(); +for (ComponentModel.EndpointHeaderModel e : headers) { +if (ObjectHelper.isEmpty(e.getLabel()) || e.getLabel().equalsIgnoreCase(camelType)) { +resultingHeaders.add(e); +} } } } @@ -204,6 +212,10 @@ public class KameletsCatalog { return resultingHeaders; } +public String getKameletScheme(String prefix) { +return enumValue(prefix); +} + private String enumValue(String prefix) { for (KameletPrefixSchemeEnum c : KameletPrefixSchemeEnum.values()) { if (c.name.equals(prefix)) return c.scheme;
[camel] branch regen_bot updated (378f270e134 -> 5a4c366ae08)
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 378f270e134 Regen for commit 41e5c11c750302ebfc3d75df43459a2d62d18b35 add 5a4c366ae08 Regen for commit 41e5c11c750302ebfc3d75df43459a2d62d18b35 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 (378f270e134) \ N -- N -- N refs/heads/regen_bot (5a4c366ae08) 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-kamelets] branch regen_bot updated (6c61b447 -> e39962cb)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git from 6c61b447 Added a Catalog Method showing the supported headers (specific for consumer, producer and common) for a Kamelet - Webhook, Websocket and Wttrin add 21725055 Added a getKameletScheme method add 0b5c275f Added getKameletScheme tests add e39962cb Added getKameletScheme tests No new revisions were added by this update. Summary of changes: .../camel/kamelets/catalog/KameletsCatalog.java| 22 +- .../kamelets/catalog/KameletsCatalogTest.java | 7 +++ 2 files changed, 24 insertions(+), 5 deletions(-)
[GitHub] [camel-k] astefanutti commented on issue #3459: Camel-K initContainer
astefanutti commented on issue #3459: URL: https://github.com/apache/camel-k/issues/3459#issuecomment-1286672460 @milank78git it should already be possible to add init containers using the _pod_ trait. You can add them in the PodSpec template provided with the `--pod-template` option of the `kamel run` command. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch main updated: CAMEL-18609: camel-jbang - Export should sort dependencies in pom.xml
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 89424f57619 CAMEL-18609: camel-jbang - Export should sort dependencies in pom.xml 89424f57619 is described below commit 89424f5761942f43d170ae0521daf3791777b076 Author: Claus Ibsen AuthorDate: Fri Oct 21 11:06:38 2022 +0200 CAMEL-18609: camel-jbang - Export should sort dependencies in pom.xml --- .../camel/dsl/jbang/core/commands/Export.java | 35 ++ .../dsl/jbang/core/commands/ExportCamelMain.java | 25 +++- .../dsl/jbang/core/commands/ExportQuarkus.java | 29 +++--- .../dsl/jbang/core/commands/ExportSpringBoot.java | 28 +++-- 4 files changed, 90 insertions(+), 27 deletions(-) diff --git a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Export.java b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Export.java index 12d95034297..bfced95c678 100644 --- a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Export.java +++ b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/Export.java @@ -17,9 +17,11 @@ package org.apache.camel.dsl.jbang.core.commands; import java.io.File; +import java.util.Comparator; import java.util.Properties; import org.apache.camel.dsl.jbang.core.common.RuntimeUtil; +import org.apache.camel.main.download.MavenGav; import org.apache.camel.util.CamelCaseOrderedProperties; import picocli.CommandLine.Command; @@ -101,4 +103,37 @@ class Export extends ExportBaseCommand { return cmd.export(); } +public Comparator mavenGavComparator() { +return new Comparator() { +@Override +public int compare(MavenGav o1, MavenGav o2) { +int r1 = rankGroupId(o1); +int r2 = rankGroupId(o2); + +if (r1 > r2) { +return -1; +} else if (r2 > r1) { +return 1; +} else { +return o1.toString().compareTo(o2.toString()); +} +} + +int rankGroupId(MavenGav o1) { +String g1 = o1.getGroupId(); +if ("org.apache.camel.quarkus".equals(g1)) { +return 10; +} else if ("org.apache.camel.springboot".equals(g1)) { +return 10; +} else if ("org.apache.camel.kamelets".equals(g1)) { +return 9; +} else if ("org.apache.camel".equals(g1)) { +return 8; +} else { +return 0; +} +} +}; +} + } diff --git a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ExportCamelMain.java b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ExportCamelMain.java index e7512cd8b85..769b24b2f69 100644 --- a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ExportCamelMain.java +++ b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/ExportCamelMain.java @@ -19,6 +19,8 @@ package org.apache.camel.dsl.jbang.core.commands; import java.io.File; import java.io.FileOutputStream; import java.io.InputStream; +import java.util.ArrayList; +import java.util.List; import java.util.Properties; import java.util.Set; @@ -148,20 +150,27 @@ class ExportCamelMain extends Export { context = context.replaceFirst("\\{\\{ \\.MavenRepositories }}", sb.toString()); } -StringBuilder sb = new StringBuilder(); +List gavs = new ArrayList<>(); for (String dep : deps) { MavenGav gav = MavenGav.parseGav(dep); String gid = gav.getGroupId(); -String aid = gav.getArtifactId(); -String v = gav.getVersion(); if ("org.apache.camel".equals(gid)) { -v = null; // use version from bom +// uses BOM so version should not be included +gav.setVersion(null); } +gavs.add(gav); +} + +// sort artifacts +gavs.sort(mavenGavComparator()); + +StringBuilder sb = new StringBuilder(); +for (MavenGav gav : gavs) { sb.append("\n"); -sb.append(" ").append(gid).append("\n"); -sb.append(" ").append(aid).append("\n"); -if (v != null) { -sb.append(" ").append(v).append("\n"); +sb.append(" ").append(gav.getGroupId()).append("\n"); +sb.append("
[GitHub] [camel] jamesnetherton merged pull request #8602: camel-fhir: Override commons-text version
jamesnetherton merged PR #8602: URL: https://github.com/apache/camel/pull/8602 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch main updated: camel-fhir: Override commons-text version
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.git The following commit(s) were added to refs/heads/main by this push: new cfdd8a22a55 camel-fhir: Override commons-text version cfdd8a22a55 is described below commit cfdd8a22a5524cd76f3cdad780edb8c51ac290fc Author: James Netherton AuthorDate: Fri Oct 21 07:35:17 2022 +0100 camel-fhir: Override commons-text version --- components/camel-fhir/camel-fhir-api/pom.xml | 12 components/camel-fhir/camel-fhir-component/pom.xml | 13 + 2 files changed, 25 insertions(+) diff --git a/components/camel-fhir/camel-fhir-api/pom.xml b/components/camel-fhir/camel-fhir-api/pom.xml index 7da0b6f475f..81b518ebdb5 100644 --- a/components/camel-fhir/camel-fhir-api/pom.xml +++ b/components/camel-fhir/camel-fhir-api/pom.xml @@ -40,10 +40,22 @@ org.apache.camel camel-support + + +org.apache.commons +commons-text +${commons-text-version} + ca.uhn.hapi.fhir hapi-fhir-base ${hapi-fhir-version} + + +org.apache.commons +commons-text + + diff --git a/components/camel-fhir/camel-fhir-component/pom.xml b/components/camel-fhir/camel-fhir-component/pom.xml index 8978db4281f..a59148b0d5c 100644 --- a/components/camel-fhir/camel-fhir-component/pom.xml +++ b/components/camel-fhir/camel-fhir-component/pom.xml @@ -49,10 +49,23 @@ camel-support + + +org.apache.commons +commons-text +${commons-text-version} + + ca.uhn.hapi.fhir hapi-fhir-base ${hapi-fhir-version} + + +org.apache.commons +commons-text + +
[GitHub] [camel] github-actions[bot] commented on pull request #8602: camel-fhir: Override commons-text version
github-actions[bot] commented on PR #8602: URL: https://github.com/apache/camel/pull/8602#issuecomment-1286680310 ### Components tested: | Total | Tested | Failed :x: | Passed :white_check_mark: | | --- | --- | --- | --- | | 5 | 5 | 0 | 5 | -- 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 camel-3.14.x updated: camel-fhir: Override commons-text version
This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a commit to branch camel-3.14.x in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/camel-3.14.x by this push: new 26214cd4671 camel-fhir: Override commons-text version 26214cd4671 is described below commit 26214cd46711278749e24a46bb15fa15bfcb1ea7 Author: James Netherton AuthorDate: Fri Oct 21 07:35:17 2022 +0100 camel-fhir: Override commons-text version --- components/camel-fhir/camel-fhir-api/pom.xml | 12 components/camel-fhir/camel-fhir-component/pom.xml | 13 + 2 files changed, 25 insertions(+) diff --git a/components/camel-fhir/camel-fhir-api/pom.xml b/components/camel-fhir/camel-fhir-api/pom.xml index 1008a411c0a..4fb72d10521 100644 --- a/components/camel-fhir/camel-fhir-api/pom.xml +++ b/components/camel-fhir/camel-fhir-api/pom.xml @@ -40,10 +40,22 @@ org.apache.camel camel-support + + +org.apache.commons +commons-text +${commons-text-version} + ca.uhn.hapi.fhir hapi-fhir-base ${hapi-fhir-version} + + +org.apache.commons +commons-text + + diff --git a/components/camel-fhir/camel-fhir-component/pom.xml b/components/camel-fhir/camel-fhir-component/pom.xml index eaca384a72e..56161fd7277 100644 --- a/components/camel-fhir/camel-fhir-component/pom.xml +++ b/components/camel-fhir/camel-fhir-component/pom.xml @@ -49,10 +49,23 @@ camel-support + + +org.apache.commons +commons-text +${commons-text-version} + + ca.uhn.hapi.fhir hapi-fhir-base ${hapi-fhir-version} + + +org.apache.commons +commons-text + +
[GitHub] [camel-k] astefanutti commented on issue #3761: Ready condition message not always taken from Camel Health Check
astefanutti commented on issue #3761: URL: https://github.com/apache/camel-k/issues/3761#issuecomment-1286692583 To add some historical background, the first iteration of that mechanism, that probes into the Camel runtime, has been conservative, so the health endpoint is only probed when the underlying Deployment controller, reports a truthy _progressing_ condition. Now that this mechanism has proved both useful and reliable, the proposition would be to also probe the health endpoint when the Deployment has ended progression (and also generalising for other underlying controllers), so a more detailed error message can be reported, and fallback on the generic message provided by the underlying controller if probing the endpoint fails, e.g. when the pod(s) is/are not running. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-kamelets] 01/03: Add AWS CloudTrail Source Kamelet
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch aws-cloudtrail in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git commit 3ae90fe9c53f01d7d41bc83ff7b1221d100bd94f Author: Andrea Cosentino AuthorDate: Fri Oct 21 11:29:39 2022 +0200 Add AWS CloudTrail Source Kamelet Signed-off-by: Andrea Cosentino --- kamelets/aws-cloudtrail-source.kamelet.yaml | 84 + 1 file changed, 84 insertions(+) diff --git a/kamelets/aws-cloudtrail-source.kamelet.yaml b/kamelets/aws-cloudtrail-source.kamelet.yaml new file mode 100644 index ..1d605328 --- /dev/null +++ b/kamelets/aws-cloudtrail-source.kamelet.yaml @@ -0,0 +1,84 @@ +apiVersion: camel.apache.org/v1alpha1 +kind: Kamelet +metadata: + name: aws-cloudtrail-source + annotations: +camel.apache.org/kamelet.support.level: "Stable" +camel.apache.org/catalog.version: "main-SNAPSHOT" +camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgNzQuMzc1IDg1IiBmaWxsPSIjZmZmIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48dXNlIHhsaW5rOmhyZWY9IiNBIiB4PSIyLjE4OCIgeT0iMi41Ii8+PHN5bWJvbCBpZD0iQSIgb3ZlcmZsb3c9InZpc2libGUiPjxnIHN0cm9rZT0ibm9uZSI+PHBhdGggZD0iTTkuOTY2IDM1LjQ5M2wtMi4yODguMT [...] +camel.apache.org/provider: "Apache Software Foundation" +camel.apache.org/kamelet.group: "AWS Cloudtrail" + labels: +camel.apache.org/kamelet.type: "source" +spec: + definition: +title: "AWS Cloudtrail Source" +description: |- + Receive data from an AWS Cloudtrail. + + The basic authentication method for the Cloudtrail service is to specify an access key and a secret key. These parameters are optional because the Kamelet provides a default credentials provider. +required: + - region +type: object +properties: + accessKey: +title: Access Key +description: The access key obtained from AWS. +type: string +format: password +x-descriptors: +- urn:alm:descriptor:com.tectonic.ui:password +- urn:camel:group:credentials + secretKey: +title: Secret Key +description: The secret key obtained from AWS. +type: string +format: password +x-descriptors: +- urn:alm:descriptor:com.tectonic.ui:password +- urn:camel:group:credentials + region: +title: AWS Region +description: The AWS region to access. +type: string +enum: ["ap-south-1", "eu-south-1", "us-gov-east-1", "me-central-1", "ca-central-1", "eu-central-1", "us-iso-west-1", "us-west-1", "us-west-2", "af-south-1", "eu-north-1", "eu-west-3", "eu-west-2", "eu-west-1", "ap-northeast-3", "ap-northeast-2", "ap-northeast-1", "me-south-1", "sa-east-1", "ap-east-1", "cn-north-1", "us-gov-west-1", "ap-southeast-1", "ap-southeast-2", "us-iso-east-1", "ap-southeast-3", "us-east-1", "us-east-2", "cn-northwest-1", "us-isob-east-1", "aws-global", "a [...] + useDefaultCredentialsProvider: +title: Default Credentials Provider +description: If true, the Cloudtrail client loads credentials through a default credentials provider. If false, it uses the basic authentication method (access key and secret key). +type: boolean +x-descriptors: +- 'urn:alm:descriptor:com.tectonic.ui:checkbox' +default: false + uriEndpointOverride: +title: Overwrite Endpoint URI +description: The overriding endpoint URI. To use this option, you must also select the `overrideEndpoint` option. +type: string + overrideEndpoint: +title: Endpoint Overwrite +description: Select this option to override the endpoint URI. To use this option, you must also provide a URI for the `uriEndpointOverride` option. +type: boolean +x-descriptors: + - 'urn:alm:descriptor:com.tectonic.ui:checkbox' +default: false + maxResults: +title: Max Results +description: Maximum number of records that will be fetched in each poll. +type: integer +default: 1 + dependencies: +- "camel:core" +- "camel:aws-cloudtrail" +- "camel:kamelet" + template: +from: + uri: "aws-cloudtrail:cloudtrail" + parameters: +secretKey: "{{?secretKey}}" +accessKey: "{{?accessKey}}" +region: "{{region}}" +useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}" +uriEndpointOverride: "{{?uriEndpointOverride}}" +overrideEndpoint: "{{overrideEndpoint}}" +maxResults: "{{maxResults}}" + steps: + - to: "kamelet:sink"
[camel-kamelets] 03/03: Add AWS CloudTrail Source Kamelet
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch aws-cloudtrail in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git commit be0458b8dc19339c2a17b2717a7f16998511de3e Author: Andrea Cosentino AuthorDate: Fri Oct 21 11:34:27 2022 +0200 Add AWS CloudTrail Source Kamelet Signed-off-by: Andrea Cosentino --- .../apache/camel/kamelets/catalog/model/KameletPrefixSchemeEnum.java| 1 + .../java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java | 2 ++ 2 files changed, 3 insertions(+) diff --git a/library/camel-kamelets-catalog/src/main/java/org/apache/camel/kamelets/catalog/model/KameletPrefixSchemeEnum.java b/library/camel-kamelets-catalog/src/main/java/org/apache/camel/kamelets/catalog/model/KameletPrefixSchemeEnum.java index ed52ee89..a97cb871 100644 --- a/library/camel-kamelets-catalog/src/main/java/org/apache/camel/kamelets/catalog/model/KameletPrefixSchemeEnum.java +++ b/library/camel-kamelets-catalog/src/main/java/org/apache/camel/kamelets/catalog/model/KameletPrefixSchemeEnum.java @@ -17,6 +17,7 @@ package org.apache.camel.kamelets.catalog.model; public enum KameletPrefixSchemeEnum { +aws_cloudtrail("aws-cloudtrail","aws-cloudtrail"), aws_cloudwatch("aws-cloudwatch","aws2-cw"), aws_ddb("aws-ddb","aws2-ddb"), aws_ddb_streams("aws-ddb","aws2-ddbstream"), diff --git a/library/camel-kamelets-catalog/src/test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java b/library/camel-kamelets-catalog/src/test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java index 64f3ba9b..1a1ffc2c 100644 --- a/library/camel-kamelets-catalog/src/test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java +++ b/library/camel-kamelets-catalog/src/test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java @@ -132,6 +132,8 @@ public class KameletsCatalogTest { assertEquals(18, headersSource.size()); List headersSink = catalog.getKameletSupportedHeaders("aws-s3-sink"); assertEquals(25, headersSink.size()); +List headersCloudtrailSource = catalog.getKameletSupportedHeaders("aws-cloudtrail-source"); +assertEquals(0, headersCloudtrailSource.size()); List headersRedshiftSource = catalog.getKameletSupportedHeaders("aws-redshift-source"); assertEquals(0, headersRedshiftSource.size()); List headerNotExistent = catalog.getKameletSupportedHeaders("aws-not-exists");
[camel-kamelets] 02/03: Add AWS CloudTrail Source Kamelet
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch aws-cloudtrail in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git commit 9f5e16d4b319bd15210d62861f18f1dcab35d6f5 Author: Andrea Cosentino AuthorDate: Fri Oct 21 11:31:03 2022 +0200 Add AWS CloudTrail Source Kamelet Signed-off-by: Andrea Cosentino --- .../kamelets/aws-cloudtrail-source.kamelet.yaml| 84 ++ 1 file changed, 84 insertions(+) diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-cloudtrail-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-cloudtrail-source.kamelet.yaml new file mode 100644 index ..1d605328 --- /dev/null +++ b/library/camel-kamelets/src/main/resources/kamelets/aws-cloudtrail-source.kamelet.yaml @@ -0,0 +1,84 @@ +apiVersion: camel.apache.org/v1alpha1 +kind: Kamelet +metadata: + name: aws-cloudtrail-source + annotations: +camel.apache.org/kamelet.support.level: "Stable" +camel.apache.org/catalog.version: "main-SNAPSHOT" +camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgNzQuMzc1IDg1IiBmaWxsPSIjZmZmIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48dXNlIHhsaW5rOmhyZWY9IiNBIiB4PSIyLjE4OCIgeT0iMi41Ii8+PHN5bWJvbCBpZD0iQSIgb3ZlcmZsb3c9InZpc2libGUiPjxnIHN0cm9rZT0ibm9uZSI+PHBhdGggZD0iTTkuOTY2IDM1LjQ5M2wtMi4yODguMT [...] +camel.apache.org/provider: "Apache Software Foundation" +camel.apache.org/kamelet.group: "AWS Cloudtrail" + labels: +camel.apache.org/kamelet.type: "source" +spec: + definition: +title: "AWS Cloudtrail Source" +description: |- + Receive data from an AWS Cloudtrail. + + The basic authentication method for the Cloudtrail service is to specify an access key and a secret key. These parameters are optional because the Kamelet provides a default credentials provider. +required: + - region +type: object +properties: + accessKey: +title: Access Key +description: The access key obtained from AWS. +type: string +format: password +x-descriptors: +- urn:alm:descriptor:com.tectonic.ui:password +- urn:camel:group:credentials + secretKey: +title: Secret Key +description: The secret key obtained from AWS. +type: string +format: password +x-descriptors: +- urn:alm:descriptor:com.tectonic.ui:password +- urn:camel:group:credentials + region: +title: AWS Region +description: The AWS region to access. +type: string +enum: ["ap-south-1", "eu-south-1", "us-gov-east-1", "me-central-1", "ca-central-1", "eu-central-1", "us-iso-west-1", "us-west-1", "us-west-2", "af-south-1", "eu-north-1", "eu-west-3", "eu-west-2", "eu-west-1", "ap-northeast-3", "ap-northeast-2", "ap-northeast-1", "me-south-1", "sa-east-1", "ap-east-1", "cn-north-1", "us-gov-west-1", "ap-southeast-1", "ap-southeast-2", "us-iso-east-1", "ap-southeast-3", "us-east-1", "us-east-2", "cn-northwest-1", "us-isob-east-1", "aws-global", "a [...] + useDefaultCredentialsProvider: +title: Default Credentials Provider +description: If true, the Cloudtrail client loads credentials through a default credentials provider. If false, it uses the basic authentication method (access key and secret key). +type: boolean +x-descriptors: +- 'urn:alm:descriptor:com.tectonic.ui:checkbox' +default: false + uriEndpointOverride: +title: Overwrite Endpoint URI +description: The overriding endpoint URI. To use this option, you must also select the `overrideEndpoint` option. +type: string + overrideEndpoint: +title: Endpoint Overwrite +description: Select this option to override the endpoint URI. To use this option, you must also provide a URI for the `uriEndpointOverride` option. +type: boolean +x-descriptors: + - 'urn:alm:descriptor:com.tectonic.ui:checkbox' +default: false + maxResults: +title: Max Results +description: Maximum number of records that will be fetched in each poll. +type: integer +default: 1 + dependencies: +- "camel:core" +- "camel:aws-cloudtrail" +- "camel:kamelet" + template: +from: + uri: "aws-cloudtrail:cloudtrail" + parameters: +secretKey: "{{?secretKey}}" +accessKey: "{{?accessKey}}" +region: "{{region}}" +useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}" +uriEndpointOverride: "{{?uriEndpointOverride}}" +overrideEndpoint: "{{overrideEndpoint}}" +maxResults: "{{maxResults}}" + steps: + - to: "kamelet:sink"
[camel-kamelets] branch aws-cloudtrail created (now be0458b8)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a change to branch aws-cloudtrail in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git at be0458b8 Add AWS CloudTrail Source Kamelet This branch includes the following new commits: new 3ae90fe9 Add AWS CloudTrail Source Kamelet new 9f5e16d4 Add AWS CloudTrail Source Kamelet new be0458b8 Add AWS CloudTrail Source Kamelet The 3 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.
[GitHub] [camel] github-actions[bot] commented on pull request #8604: feat: replace custom aws health check repositories with the components one
github-actions[bot] commented on PR #8604: URL: https://github.com/apache/camel/pull/8604#issuecomment-1286711345 ### Components tested: | Total | Tested | Failed :x: | Passed :white_check_mark: | | --- | --- | --- | --- | | 1 | 1 | 1 | 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-kamelets] oscerd opened a new pull request, #1103: Add AWS CloudTrail Source Kamelet
oscerd opened a new pull request, #1103: URL: https://github.com/apache/camel-kamelets/pull/1103 Fixes #993 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-kamelets] oscerd merged pull request #1103: Add AWS CloudTrail Source Kamelet
oscerd merged PR #1103: URL: https://github.com/apache/camel-kamelets/pull/1103 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-kamelets] oscerd closed issue #993: Add AWS CloudTrail Source Kamelet
oscerd closed issue #993: Add AWS CloudTrail Source Kamelet URL: https://github.com/apache/camel-kamelets/issues/993 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-kamelets] 03/03: Add AWS CloudTrail Source Kamelet
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git commit 88d452e8f096803771e931dc9e17f2f59903bdb5 Author: Andrea Cosentino AuthorDate: Fri Oct 21 11:34:27 2022 +0200 Add AWS CloudTrail Source Kamelet Signed-off-by: Andrea Cosentino --- .../apache/camel/kamelets/catalog/model/KameletPrefixSchemeEnum.java| 1 + .../java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java | 2 ++ 2 files changed, 3 insertions(+) diff --git a/library/camel-kamelets-catalog/src/main/java/org/apache/camel/kamelets/catalog/model/KameletPrefixSchemeEnum.java b/library/camel-kamelets-catalog/src/main/java/org/apache/camel/kamelets/catalog/model/KameletPrefixSchemeEnum.java index ed52ee89..a97cb871 100644 --- a/library/camel-kamelets-catalog/src/main/java/org/apache/camel/kamelets/catalog/model/KameletPrefixSchemeEnum.java +++ b/library/camel-kamelets-catalog/src/main/java/org/apache/camel/kamelets/catalog/model/KameletPrefixSchemeEnum.java @@ -17,6 +17,7 @@ package org.apache.camel.kamelets.catalog.model; public enum KameletPrefixSchemeEnum { +aws_cloudtrail("aws-cloudtrail","aws-cloudtrail"), aws_cloudwatch("aws-cloudwatch","aws2-cw"), aws_ddb("aws-ddb","aws2-ddb"), aws_ddb_streams("aws-ddb","aws2-ddbstream"), diff --git a/library/camel-kamelets-catalog/src/test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java b/library/camel-kamelets-catalog/src/test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java index 64f3ba9b..1a1ffc2c 100644 --- a/library/camel-kamelets-catalog/src/test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java +++ b/library/camel-kamelets-catalog/src/test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java @@ -132,6 +132,8 @@ public class KameletsCatalogTest { assertEquals(18, headersSource.size()); List headersSink = catalog.getKameletSupportedHeaders("aws-s3-sink"); assertEquals(25, headersSink.size()); +List headersCloudtrailSource = catalog.getKameletSupportedHeaders("aws-cloudtrail-source"); +assertEquals(0, headersCloudtrailSource.size()); List headersRedshiftSource = catalog.getKameletSupportedHeaders("aws-redshift-source"); assertEquals(0, headersRedshiftSource.size()); List headerNotExistent = catalog.getKameletSupportedHeaders("aws-not-exists");
[camel-kamelets] 01/03: Add AWS CloudTrail Source Kamelet
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git commit 6273cf9c5503dcc1fbf47bb612608794b63b07b1 Author: Andrea Cosentino AuthorDate: Fri Oct 21 11:29:39 2022 +0200 Add AWS CloudTrail Source Kamelet Signed-off-by: Andrea Cosentino --- kamelets/aws-cloudtrail-source.kamelet.yaml | 84 + 1 file changed, 84 insertions(+) diff --git a/kamelets/aws-cloudtrail-source.kamelet.yaml b/kamelets/aws-cloudtrail-source.kamelet.yaml new file mode 100644 index ..1d605328 --- /dev/null +++ b/kamelets/aws-cloudtrail-source.kamelet.yaml @@ -0,0 +1,84 @@ +apiVersion: camel.apache.org/v1alpha1 +kind: Kamelet +metadata: + name: aws-cloudtrail-source + annotations: +camel.apache.org/kamelet.support.level: "Stable" +camel.apache.org/catalog.version: "main-SNAPSHOT" +camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgNzQuMzc1IDg1IiBmaWxsPSIjZmZmIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48dXNlIHhsaW5rOmhyZWY9IiNBIiB4PSIyLjE4OCIgeT0iMi41Ii8+PHN5bWJvbCBpZD0iQSIgb3ZlcmZsb3c9InZpc2libGUiPjxnIHN0cm9rZT0ibm9uZSI+PHBhdGggZD0iTTkuOTY2IDM1LjQ5M2wtMi4yODguMT [...] +camel.apache.org/provider: "Apache Software Foundation" +camel.apache.org/kamelet.group: "AWS Cloudtrail" + labels: +camel.apache.org/kamelet.type: "source" +spec: + definition: +title: "AWS Cloudtrail Source" +description: |- + Receive data from an AWS Cloudtrail. + + The basic authentication method for the Cloudtrail service is to specify an access key and a secret key. These parameters are optional because the Kamelet provides a default credentials provider. +required: + - region +type: object +properties: + accessKey: +title: Access Key +description: The access key obtained from AWS. +type: string +format: password +x-descriptors: +- urn:alm:descriptor:com.tectonic.ui:password +- urn:camel:group:credentials + secretKey: +title: Secret Key +description: The secret key obtained from AWS. +type: string +format: password +x-descriptors: +- urn:alm:descriptor:com.tectonic.ui:password +- urn:camel:group:credentials + region: +title: AWS Region +description: The AWS region to access. +type: string +enum: ["ap-south-1", "eu-south-1", "us-gov-east-1", "me-central-1", "ca-central-1", "eu-central-1", "us-iso-west-1", "us-west-1", "us-west-2", "af-south-1", "eu-north-1", "eu-west-3", "eu-west-2", "eu-west-1", "ap-northeast-3", "ap-northeast-2", "ap-northeast-1", "me-south-1", "sa-east-1", "ap-east-1", "cn-north-1", "us-gov-west-1", "ap-southeast-1", "ap-southeast-2", "us-iso-east-1", "ap-southeast-3", "us-east-1", "us-east-2", "cn-northwest-1", "us-isob-east-1", "aws-global", "a [...] + useDefaultCredentialsProvider: +title: Default Credentials Provider +description: If true, the Cloudtrail client loads credentials through a default credentials provider. If false, it uses the basic authentication method (access key and secret key). +type: boolean +x-descriptors: +- 'urn:alm:descriptor:com.tectonic.ui:checkbox' +default: false + uriEndpointOverride: +title: Overwrite Endpoint URI +description: The overriding endpoint URI. To use this option, you must also select the `overrideEndpoint` option. +type: string + overrideEndpoint: +title: Endpoint Overwrite +description: Select this option to override the endpoint URI. To use this option, you must also provide a URI for the `uriEndpointOverride` option. +type: boolean +x-descriptors: + - 'urn:alm:descriptor:com.tectonic.ui:checkbox' +default: false + maxResults: +title: Max Results +description: Maximum number of records that will be fetched in each poll. +type: integer +default: 1 + dependencies: +- "camel:core" +- "camel:aws-cloudtrail" +- "camel:kamelet" + template: +from: + uri: "aws-cloudtrail:cloudtrail" + parameters: +secretKey: "{{?secretKey}}" +accessKey: "{{?accessKey}}" +region: "{{region}}" +useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}" +uriEndpointOverride: "{{?uriEndpointOverride}}" +overrideEndpoint: "{{overrideEndpoint}}" +maxResults: "{{maxResults}}" + steps: + - to: "kamelet:sink"
[camel-kamelets] branch main updated (e39962cb -> 88d452e8)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git from e39962cb Added getKameletScheme tests new 6273cf9c Add AWS CloudTrail Source Kamelet new b6a6a864 Add AWS CloudTrail Source Kamelet new 88d452e8 Add AWS CloudTrail Source Kamelet The 3 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: kamelets/aws-cloudtrail-source.kamelet.yaml| 84 ++ .../catalog/model/KameletPrefixSchemeEnum.java | 1 + .../kamelets/catalog/KameletsCatalogTest.java | 2 + .../kamelets/aws-cloudtrail-source.kamelet.yaml| 84 ++ 4 files changed, 171 insertions(+) create mode 100644 kamelets/aws-cloudtrail-source.kamelet.yaml create mode 100644 library/camel-kamelets/src/main/resources/kamelets/aws-cloudtrail-source.kamelet.yaml
[camel-kamelets] 02/03: Add AWS CloudTrail Source Kamelet
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git commit b6a6a8645cf9e0d40c35f5b6faf7c1340f6d9b96 Author: Andrea Cosentino AuthorDate: Fri Oct 21 11:31:03 2022 +0200 Add AWS CloudTrail Source Kamelet Signed-off-by: Andrea Cosentino --- .../kamelets/aws-cloudtrail-source.kamelet.yaml| 84 ++ 1 file changed, 84 insertions(+) diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-cloudtrail-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-cloudtrail-source.kamelet.yaml new file mode 100644 index ..1d605328 --- /dev/null +++ b/library/camel-kamelets/src/main/resources/kamelets/aws-cloudtrail-source.kamelet.yaml @@ -0,0 +1,84 @@ +apiVersion: camel.apache.org/v1alpha1 +kind: Kamelet +metadata: + name: aws-cloudtrail-source + annotations: +camel.apache.org/kamelet.support.level: "Stable" +camel.apache.org/catalog.version: "main-SNAPSHOT" +camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgNzQuMzc1IDg1IiBmaWxsPSIjZmZmIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48dXNlIHhsaW5rOmhyZWY9IiNBIiB4PSIyLjE4OCIgeT0iMi41Ii8+PHN5bWJvbCBpZD0iQSIgb3ZlcmZsb3c9InZpc2libGUiPjxnIHN0cm9rZT0ibm9uZSI+PHBhdGggZD0iTTkuOTY2IDM1LjQ5M2wtMi4yODguMT [...] +camel.apache.org/provider: "Apache Software Foundation" +camel.apache.org/kamelet.group: "AWS Cloudtrail" + labels: +camel.apache.org/kamelet.type: "source" +spec: + definition: +title: "AWS Cloudtrail Source" +description: |- + Receive data from an AWS Cloudtrail. + + The basic authentication method for the Cloudtrail service is to specify an access key and a secret key. These parameters are optional because the Kamelet provides a default credentials provider. +required: + - region +type: object +properties: + accessKey: +title: Access Key +description: The access key obtained from AWS. +type: string +format: password +x-descriptors: +- urn:alm:descriptor:com.tectonic.ui:password +- urn:camel:group:credentials + secretKey: +title: Secret Key +description: The secret key obtained from AWS. +type: string +format: password +x-descriptors: +- urn:alm:descriptor:com.tectonic.ui:password +- urn:camel:group:credentials + region: +title: AWS Region +description: The AWS region to access. +type: string +enum: ["ap-south-1", "eu-south-1", "us-gov-east-1", "me-central-1", "ca-central-1", "eu-central-1", "us-iso-west-1", "us-west-1", "us-west-2", "af-south-1", "eu-north-1", "eu-west-3", "eu-west-2", "eu-west-1", "ap-northeast-3", "ap-northeast-2", "ap-northeast-1", "me-south-1", "sa-east-1", "ap-east-1", "cn-north-1", "us-gov-west-1", "ap-southeast-1", "ap-southeast-2", "us-iso-east-1", "ap-southeast-3", "us-east-1", "us-east-2", "cn-northwest-1", "us-isob-east-1", "aws-global", "a [...] + useDefaultCredentialsProvider: +title: Default Credentials Provider +description: If true, the Cloudtrail client loads credentials through a default credentials provider. If false, it uses the basic authentication method (access key and secret key). +type: boolean +x-descriptors: +- 'urn:alm:descriptor:com.tectonic.ui:checkbox' +default: false + uriEndpointOverride: +title: Overwrite Endpoint URI +description: The overriding endpoint URI. To use this option, you must also select the `overrideEndpoint` option. +type: string + overrideEndpoint: +title: Endpoint Overwrite +description: Select this option to override the endpoint URI. To use this option, you must also provide a URI for the `uriEndpointOverride` option. +type: boolean +x-descriptors: + - 'urn:alm:descriptor:com.tectonic.ui:checkbox' +default: false + maxResults: +title: Max Results +description: Maximum number of records that will be fetched in each poll. +type: integer +default: 1 + dependencies: +- "camel:core" +- "camel:aws-cloudtrail" +- "camel:kamelet" + template: +from: + uri: "aws-cloudtrail:cloudtrail" + parameters: +secretKey: "{{?secretKey}}" +accessKey: "{{?accessKey}}" +region: "{{region}}" +useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}" +uriEndpointOverride: "{{?uriEndpointOverride}}" +overrideEndpoint: "{{overrideEndpoint}}" +maxResults: "{{maxResults}}" + steps: + - to: "kamelet:sink"
[GitHub] [camel-k-runtime] squakez opened a new pull request, #909: chore: bump to 1.16.0
squakez opened a new pull request, #909: URL: https://github.com/apache/camel-k-runtime/pull/909 **Release Note** ```release-note chore: bump to 1.16.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-kamelets] github-actions[bot] opened a new pull request, #1104: Generated sources regen
github-actions[bot] opened a new pull request, #1104: URL: https://github.com/apache/camel-kamelets/pull/1104 Regen bot :robot: found some uncommited changes after running build on :camel: kamelets main. Please do not delete `regen_bot` branch after merge/rebase. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-kamelets] branch regen_bot updated (e39962cb -> c1760b2a)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git from e39962cb Added getKameletScheme tests add 6273cf9c Add AWS CloudTrail Source Kamelet add b6a6a864 Add AWS CloudTrail Source Kamelet add 88d452e8 Add AWS CloudTrail Source Kamelet add c1760b2a Regen for commit 88d452e8f096803771e931dc9e17f2f59903bdb5 No new revisions were added by this update. Summary of changes: docs/modules/ROOT/nav.adoc | 1 + kamelets/aws-cloudtrail-source.kamelet.yaml| 84 ++ .../catalog/model/KameletPrefixSchemeEnum.java | 1 + .../kamelets/catalog/KameletsCatalogTest.java | 2 + .../kamelets/aws-cloudtrail-source.kamelet.yaml| 84 ++ 5 files changed, 172 insertions(+) create mode 100644 kamelets/aws-cloudtrail-source.kamelet.yaml create mode 100644 library/camel-kamelets/src/main/resources/kamelets/aws-cloudtrail-source.kamelet.yaml
[camel] branch regen_bot updated (5a4c366ae08 -> cfdd8a22a55)
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 5a4c366ae08 Regen for commit 41e5c11c750302ebfc3d75df43459a2d62d18b35 add 89424f57619 CAMEL-18609: camel-jbang - Export should sort dependencies in pom.xml add cfdd8a22a55 camel-fhir: Override commons-text version No new revisions were added by this update. Summary of changes: components/camel-fhir/camel-fhir-api/pom.xml | 12 components/camel-fhir/camel-fhir-component/pom.xml | 13 .../camel/dsl/jbang/core/commands/Export.java | 35 ++ .../dsl/jbang/core/commands/ExportCamelMain.java | 25 +++- .../dsl/jbang/core/commands/ExportQuarkus.java | 29 +++--- .../dsl/jbang/core/commands/ExportSpringBoot.java | 28 +++-- 6 files changed, 115 insertions(+), 27 deletions(-)
[GitHub] [camel-kamelets] oscerd merged pull request #1104: Generated sources regen
oscerd merged PR #1104: URL: https://github.com/apache/camel-kamelets/pull/1104 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-kamelets] branch main updated: Regen for commit 88d452e8f096803771e931dc9e17f2f59903bdb5
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git The following commit(s) were added to refs/heads/main by this push: new 83b2405c Regen for commit 88d452e8f096803771e931dc9e17f2f59903bdb5 83b2405c is described below commit 83b2405c8ae155f38b2158c7121c514e1fafd25b Author: oscerd AuthorDate: Fri Oct 21 09:55:37 2022 + Regen for commit 88d452e8f096803771e931dc9e17f2f59903bdb5 Signed-off-by: GitHub --- docs/modules/ROOT/nav.adoc | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/modules/ROOT/nav.adoc b/docs/modules/ROOT/nav.adoc index 6fc66804..797945ba 100644 --- a/docs/modules/ROOT/nav.adoc +++ b/docs/modules/ROOT/nav.adoc @@ -1,6 +1,7 @@ // THIS FILE IS AUTOMATICALLY GENERATED: DO NOT EDIT * xref:avro-deserialize-action.adoc[] * xref:avro-serialize-action.adoc[] +* xref:aws-cloudtrail-source.adoc[] * xref:aws-cloudwatch-sink.adoc[] * xref:aws-ddb-sink.adoc[] * xref:aws-ddb-streams-source.adoc[]
[camel-kamelets] branch regen_bot updated (c1760b2a -> 83b2405c)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git omit c1760b2a Regen for commit 88d452e8f096803771e931dc9e17f2f59903bdb5 add 83b2405c Regen for commit 88d452e8f096803771e931dc9e17f2f59903bdb5 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 (c1760b2a) \ N -- N -- N refs/heads/regen_bot (83b2405c) 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 regen_bot_3.14.x updated (efe6d1287b3 -> 26214cd4671)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot_3.14.x in repository https://gitbox.apache.org/repos/asf/camel.git from efe6d1287b3 CAMEL-18632: Upgrade dependencies add 26214cd4671 camel-fhir: Override commons-text version No new revisions were added by this update. Summary of changes: components/camel-fhir/camel-fhir-api/pom.xml | 12 components/camel-fhir/camel-fhir-component/pom.xml | 13 + 2 files changed, 25 insertions(+)
[camel] branch regen_bot updated (cfdd8a22a55 -> 89424f57619)
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 cfdd8a22a55 camel-fhir: Override commons-text version 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 (89424f57619) \ O -- O -- O (cfdd8a22a55) 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: components/camel-fhir/camel-fhir-api/pom.xml | 12 components/camel-fhir/camel-fhir-component/pom.xml | 13 - 2 files changed, 25 deletions(-)
[GitHub] [camel-k] squakez opened a new pull request, #3764: feat(ci): latest runtime snapshot available
squakez opened a new pull request, #3764: URL: https://github.com/apache/camel-k/pull/3764 With this PR we aim to test Camel K `main` branch against the latest produced in snapshot by Camel K runtime `main`. In this way we don't have to wait the end of a release cycle to have Camel K Runtime development feedback and we may discover issues immediately when adding any change to the runtime. If we're happy with this approach, we may extend it to release branches as well and ensure that a snapshot is always pushed by Camel K runtime project. In order to run some test, this PR is using Camel K runtime `1.15.1-SNAPSHOT` while we [upgrade it to `1.16.0-SNAPSHOT`](https://github.com/apache/camel-k-runtime/pull/909) **Release Note** ```release-note feat(ci): latest runtime snapshot available ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-k] squakez commented on pull request #3764: feat(ci): latest runtime snapshot available
squakez commented on PR #3764: URL: https://github.com/apache/camel-k/pull/3764#issuecomment-1286742746 @claudio4j @oscerd @tadayosi wdyt? -- 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] oscerd commented on a diff in pull request #3764: feat(ci): latest runtime snapshot available
oscerd commented on code in PR #3764: URL: https://github.com/apache/camel-k/pull/3764#discussion_r1001616148 ## script/maven-settings.xml: ## @@ -0,0 +1,56 @@ + + + + +http://maven.apache.org/SETTINGS/1.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; + xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd";> + + +apache + + + apache-snapshots + Apache Snapshots Repository + https://repository.apache.org/content/repositories/snapshots-group + + false + never + + + true +always + + + + apache-staging + Apache Staging Repository + https://repository.apache.org/content/repositories/orgapachecamel-1484 Review Comment: I think the url is wrong. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-k] squakez commented on a diff in pull request #3764: feat(ci): latest runtime snapshot available
squakez commented on code in PR #3764: URL: https://github.com/apache/camel-k/pull/3764#discussion_r1001619067 ## script/maven-settings.xml: ## @@ -0,0 +1,56 @@ + + + + +http://maven.apache.org/SETTINGS/1.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; + xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd";> + + +apache + + + apache-snapshots + Apache Snapshots Repository + https://repository.apache.org/content/repositories/snapshots-group + + false + never + + + true +always + + + + apache-staging + Apache Staging Repository + https://repository.apache.org/content/repositories/orgapachecamel-1484 Review Comment: That URL is a placeholder. When a new staging repository is set in the `Makefile` then, it will be updated with the correct value. Likely it's the one related to some test I did to make sure it was changing. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-k] squakez commented on pull request #3764: feat(ci): latest runtime snapshot available
squakez commented on PR #3764: URL: https://github.com/apache/camel-k/pull/3764#issuecomment-1286748684 > It's a good idea, just one minor finding. We also need to be sure the deploy on snapshot always work. We need to set up a github action or ci build, to always deploy camel-k-runtime to snapshot. Every night for example. Yes, that's correct. We already push a snapshot for Camel K runtime when we add a commit, but, it would be advisable to enable the same nightly to refresh that. -- 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] oscerd commented on pull request #3764: feat(ci): latest runtime snapshot available
oscerd commented on PR #3764: URL: https://github.com/apache/camel-k/pull/3764#issuecomment-1286757482 All good then. At some point we'll need to move the runtime bits in camel quarkus, so the camel k release will be easy -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch main updated: CAMEL-18608: Fix the tests of ResequencerEngineTest
This is an automated email from the ASF dual-hosted git repository. nfilotto 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 f6a08a142b5 CAMEL-18608: Fix the tests of ResequencerEngineTest f6a08a142b5 is described below commit f6a08a142b5ab371f76402f244a12f2348a9e803 Author: Nicolas Filotto AuthorDate: Fri Oct 21 12:23:13 2022 +0200 CAMEL-18608: Fix the tests of ResequencerEngineTest --- .../resequencer/ResequencerEngineTest.java | 78 +- 1 file changed, 31 insertions(+), 47 deletions(-) diff --git a/core/camel-core/src/test/java/org/apache/camel/processor/resequencer/ResequencerEngineTest.java b/core/camel-core/src/test/java/org/apache/camel/processor/resequencer/ResequencerEngineTest.java index c436f38be1a..d827dbfa464 100644 --- a/core/camel-core/src/test/java/org/apache/camel/processor/resequencer/ResequencerEngineTest.java +++ b/core/camel-core/src/test/java/org/apache/camel/processor/resequencer/ResequencerEngineTest.java @@ -23,14 +23,14 @@ import java.util.concurrent.TimeUnit; import org.apache.camel.TestSupport; import org.junit.jupiter.api.AfterEach; -import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.condition.DisabledIf; import static org.awaitility.Awaitility.await; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; -public class ResequencerEngineTest extends TestSupport { +class ResequencerEngineTest extends TestSupport { private static final boolean IGNORE_LOAD_TESTS = Boolean.parseBoolean(System.getProperty("ignore.load.tests", "true")); @@ -38,11 +38,6 @@ public class ResequencerEngineTest extends TestSupport { private ResequencerRunner runner; private SequenceBuffer buffer; -@Override -@BeforeEach -public void setUp() throws Exception { -} - @Override @AfterEach public void tearDown() throws Exception { @@ -55,51 +50,50 @@ public class ResequencerEngineTest extends TestSupport { } @Test -public void testTimeout1() throws Exception { -initResequencer(500, 10); +void testTimeout1() throws Exception { +initResequencer(500); resequencer.insert(4); assertNull(buffer.poll(250)); -assertEquals((Object) (Integer) 4, (Object) buffer.take()); -assertEquals((Object) (Integer) 4, (Object) resequencer.getLastDelivered()); +assertEquals(4, buffer.take()); +assertEquals(4, resequencer.getLastDelivered()); } @Test -public void testTimeout2() throws Exception { -initResequencer(500, 10); +void testTimeout2() throws Exception { +initResequencer(500); resequencer.setLastDelivered(2); resequencer.insert(4); assertNull(buffer.poll(250)); -assertEquals((Object) (Integer) 4, (Object) buffer.take()); -assertEquals((Object) (Integer) 4, (Object) resequencer.getLastDelivered()); +assertEquals(4, buffer.take()); +assertEquals(4, resequencer.getLastDelivered()); } @Test -public void testTimeout3() throws Exception { -initResequencer(500, 10); +void testTimeout3() throws Exception { +initResequencer(500); resequencer.setLastDelivered(3); resequencer.insert(4); -assertEquals((Object) (Integer) 4, (Object) buffer.poll(250)); -assertEquals((Object) (Integer) 4, (Object) resequencer.getLastDelivered()); +assertEquals(4, buffer.poll(500)); +assertEquals(4, resequencer.getLastDelivered()); } @Test -public void testTimeout4() throws Exception { -initResequencer(500, 10); +void testTimeout4() throws Exception { +initResequencer(500); resequencer.setLastDelivered(2); resequencer.insert(4); resequencer.insert(3); -assertEquals((Object) (Integer) 3, (Object) buffer.poll(250)); -assertEquals((Object) (Integer) 4, (Object) buffer.poll(250)); -assertEquals((Object) (Integer) 4, (Object) resequencer.getLastDelivered()); +assertEquals(3, buffer.poll(500)); +assertEquals(4, buffer.poll(500)); +assertEquals(4, resequencer.getLastDelivered()); } +@DisabledIf(value = "isIgnoreLoadTests", +disabledReason = "Enabled only when the System property 'ignore.load.tests' is not set to 'true'") @Test -public void testRandom() throws Exception { -if (IGNORE_LOAD_TESTS) { -return; -} +void testRandom() throws Exception { int input = 1000; -initResequencer(1000, 1000); +initResequencer(1000); List list = new LinkedList<>(); for (int i = 0; i < input; i++) { list.add(i); @@ -128,24 +122,11 @@ public class
[camel] branch main updated: CAMEL-18608: Fix the test FromFtpThirdPoolOkIT.testPollFileAndShouldBeDeletedAtThirdPoll
This is an automated email from the ASF dual-hosted git repository. nfilotto 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 f4246b3280e CAMEL-18608: Fix the test FromFtpThirdPoolOkIT.testPollFileAndShouldBeDeletedAtThirdPoll f4246b3280e is described below commit f4246b3280e1647667099da4bc5368fb0bb8a58b Author: Nicolas Filotto AuthorDate: Fri Oct 21 12:38:59 2022 +0200 CAMEL-18608: Fix the test FromFtpThirdPoolOkIT.testPollFileAndShouldBeDeletedAtThirdPoll --- .../remote/integration/FromFtpThirdPoolOkIT.java | 30 ++ 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpThirdPoolOkIT.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpThirdPoolOkIT.java index 72deb07da9e..f9c42d54307 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpThirdPoolOkIT.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpThirdPoolOkIT.java @@ -18,9 +18,9 @@ package org.apache.camel.component.file.remote.integration; import java.io.File; import java.util.concurrent.TimeUnit; +import java.util.concurrent.atomic.AtomicInteger; import org.apache.camel.Exchange; -import org.apache.camel.Processor; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; import org.junit.jupiter.api.Test; @@ -30,17 +30,17 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; -public class FromFtpThirdPoolOkIT extends FtpServerTestSupport { +class FromFtpThirdPoolOkIT extends FtpServerTestSupport { -private static int counter; -private final String body = "Hello World this file will be deleted"; +private final AtomicInteger counter = new AtomicInteger(); private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/thirdpool?password=admin&delete=true";; } @Test -public void testPollFileAndShouldBeDeletedAtThirdPoll() throws Exception { +void testPollFileAndShouldBeDeletedAtThirdPoll() throws Exception { +String body = "Hello World this file will be deleted"; template.sendBodyAndHeader(getFtpUrl(), body, Exchange.FILE_NAME, "hello.txt"); getMockEndpoint("mock:result").expectedBodiesReceived(body); @@ -51,11 +51,12 @@ public class FromFtpThirdPoolOkIT extends FtpServerTestSupport { // give time to delete file await().atMost(200, TimeUnit.MILLISECONDS) -.untilAsserted(() -> assertEquals(3, counter)); +.untilAsserted(() -> assertEquals(3, counter.get())); // assert the file is deleted File file = service.ftpFile("thirdpool/hello.txt").toFile(); -assertFalse(file.exists(), "The file should have been deleted"); +await().atMost(1, TimeUnit.MINUTES) +.untilAsserted(() -> assertFalse(file.exists(), "The file should have been deleted")); } @Override @@ -66,15 +67,12 @@ public class FromFtpThirdPoolOkIT extends FtpServerTestSupport { // use no delay for fast unit testing onException(IllegalArgumentException.class).logStackTrace(false).to("mock:error"); -from(getFtpUrl()).process(new Processor() { -public void process(Exchange exchange) { -counter++; -if (counter < 3) { -// file should exists -File file = service.ftpFile("thirdpool/hello.txt").toFile(); -assertTrue(file.exists(), "The file should NOT have been deleted"); -throw new IllegalArgumentException("Forced by unittest"); -} +from(getFtpUrl()).process(exchange -> { +if (counter.incrementAndGet() < 3) { +// file should exist +File file = service.ftpFile("thirdpool/hello.txt").toFile(); +assertTrue(file.exists(), "The file should NOT have been deleted"); +throw new IllegalArgumentException("Forced by unit test"); } }).to("mock:result"); }
[GitHub] [camel-k-runtime] squakez merged pull request #909: chore: bump to 1.16.0
squakez merged PR #909: URL: https://github.com/apache/camel-k-runtime/pull/909 -- 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 main updated: chore: bump to 1.16.0
This is an automated email from the ASF dual-hosted git repository. pcongiusti pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git The following commit(s) were added to refs/heads/main by this push: new 1892c763 chore: bump to 1.16.0 1892c763 is described below commit 1892c76392de74e508c66448f2b32e28642c36ba Author: Pasquale Congiusti AuthorDate: Fri Oct 21 11:53:02 2022 +0200 chore: bump to 1.16.0 --- camel-k-cloudevents/deployment/pom.xml| 2 +- camel-k-cloudevents/pom.xml | 2 +- camel-k-cloudevents/runtime/pom.xml | 2 +- camel-k-core/api/pom.xml | 2 +- camel-k-core/deployment/pom.xml | 2 +- camel-k-core/pom.xml | 2 +- camel-k-core/runtime/pom.xml | 2 +- camel-k-core/support/pom.xml | 2 +- camel-k-cron/deployment/pom.xml | 2 +- camel-k-cron/impl/pom.xml | 2 +- camel-k-cron/pom.xml | 2 +- camel-k-cron/runtime/pom.xml | 2 +- camel-k-knative/consumer/deployment/pom.xml | 2 +- camel-k-knative/consumer/pom.xml | 2 +- camel-k-knative/consumer/runtime/pom.xml | 2 +- camel-k-knative/deployment/pom.xml| 2 +- camel-k-knative/impl/pom.xml | 2 +- camel-k-knative/pom.xml | 2 +- camel-k-knative/producer/deployment/pom.xml | 2 +- camel-k-knative/producer/pom.xml | 2 +- camel-k-knative/producer/runtime/pom.xml | 2 +- camel-k-knative/runtime/pom.xml | 2 +- camel-k-master/deployment/pom.xml | 2 +- camel-k-master/impl/pom.xml | 2 +- camel-k-master/pom.xml| 2 +- camel-k-master/runtime/pom.xml| 2 +- camel-k-resume-kafka/deployment/pom.xml | 2 +- camel-k-resume-kafka/impl/pom.xml | 2 +- camel-k-resume-kafka/pom.xml | 2 +- camel-k-resume-kafka/runtime/pom.xml | 2 +- camel-k-runtime/deployment/pom.xml| 2 +- camel-k-runtime/pom.xml | 2 +- camel-k-runtime/runtime/pom.xml | 2 +- camel-k-webhook/deployment/pom.xml| 2 +- camel-k-webhook/impl/pom.xml | 2 +- camel-k-webhook/pom.xml | 2 +- camel-k-webhook/runtime/pom.xml | 2 +- distribution/pom.xml | 2 +- examples/cron/pom.xml | 2 +- examples/groovy/pom.xml | 2 +- examples/java/pom.xml | 2 +- examples/js/pom.xml | 2 +- examples/kafka-source-s3/pom.xml | 2 +- examples/kamelets-discovery/pom.xml | 2 +- examples/kamelets/pom.xml | 2 +- examples/knative/pom.xml | 2 +- examples/kotlin/pom.xml | 2 +- examples/pom.xml | 2 +- examples/xml/pom.xml | 2 +- examples/yaml/pom.xml | 2 +- itests/camel-k-itests-core/pom.xml| 2 +- itests/camel-k-itests-cron/pom.xml| 2 +- itests/camel-k-itests-kamelet/pom.xml | 2 +- itests/camel-k-itests-knative-consumer/pom.xml| 2 +- itests/camel-k-itests-knative-env-from-properties/pom.xml | 2 +- itests/camel-k-itests-knative-env-from-registry/pom.xml | 2 +- itests/camel-k-itests-knative-producer/pom.xml| 2 +- itests/camel-k-itests-knative-sinkbinding/pom.xml | 2 +- ites
[GitHub] [camel] lburgazzoli merged pull request #8604: feat: replace custom aws health check repositories with the components one
lburgazzoli merged PR #8604: URL: https://github.com/apache/camel/pull/8604 -- 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: feat: replace custom aws health check repositories with the components one
This is an automated email from the ASF dual-hosted git repository. lburgazzoli 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 37b90d302fe feat: replace custom aws health check repositories with the components one 37b90d302fe is described below commit 37b90d302fe3f9ad82e98984ab760f417e415e4d Author: Luca Burgazzoli AuthorDate: Thu Oct 20 15:16:46 2022 +0200 feat: replace custom aws health check repositories with the components one --- .../health-check/camel-aws2-athena-repository | 2 - .../component/aws2/athena/Athena2Endpoint.java | 10 ++- .../aws2/athena/Athena2HealthCheckRepository.java | 87 -- .../camel/health-check/camel-aws2-s3-repository| 2 - .../camel/component/aws2/s3/AWS2S3Consumer.java| 9 ++- .../aws2/s3/AWS2S3HealthCheckRepository.java | 87 -- .../camel/health-check/camel-aws2-sqs-repository | 2 - .../camel/component/aws2/sqs/Sqs2Consumer.java | 10 ++- .../aws2/sqs/Sqs2HealthCheckRepository.java| 87 -- 9 files changed, 20 insertions(+), 276 deletions(-) diff --git a/components/camel-aws/camel-aws2-athena/src/generated/resources/META-INF/services/org/apache/camel/health-check/camel-aws2-athena-repository b/components/camel-aws/camel-aws2-athena/src/generated/resources/META-INF/services/org/apache/camel/health-check/camel-aws2-athena-repository deleted file mode 100644 index 4a65fadb0b7..000 --- a/components/camel-aws/camel-aws2-athena/src/generated/resources/META-INF/services/org/apache/camel/health-check/camel-aws2-athena-repository +++ /dev/null @@ -1,2 +0,0 @@ -# Generated by camel build tools - do NOT edit this file! -class=org.apache.camel.component.aws2.athena.Athena2HealthCheckRepository diff --git a/components/camel-aws/camel-aws2-athena/src/main/java/org/apache/camel/component/aws2/athena/Athena2Endpoint.java b/components/camel-aws/camel-aws2-athena/src/main/java/org/apache/camel/component/aws2/athena/Athena2Endpoint.java index 9799e0300a0..3932fc05dd8 100644 --- a/components/camel-aws/camel-aws2-athena/src/main/java/org/apache/camel/component/aws2/athena/Athena2Endpoint.java +++ b/components/camel-aws/camel-aws2-athena/src/main/java/org/apache/camel/component/aws2/athena/Athena2Endpoint.java @@ -23,6 +23,7 @@ import org.apache.camel.Processor; import org.apache.camel.Producer; import org.apache.camel.component.aws2.athena.client.Athena2ClientFactory; import org.apache.camel.health.HealthCheckHelper; +import org.apache.camel.health.WritableHealthCheckRepository; import org.apache.camel.spi.UriEndpoint; import org.apache.camel.spi.UriParam; import org.apache.camel.support.DefaultEndpoint; @@ -38,7 +39,7 @@ public class Athena2Endpoint extends DefaultEndpoint { private AthenaClient athenaClient; -private Athena2HealthCheckRepository healthCheckRepository; +private WritableHealthCheckRepository healthCheckRepository; private Athena2ClientHealthCheck clientHealthCheck; @UriParam @@ -67,8 +68,11 @@ public class Athena2Endpoint extends DefaultEndpoint { ? configuration.getAmazonAthenaClient() : Athena2ClientFactory.getAWSAthenaClient(configuration).getAthenaClient(); -healthCheckRepository = HealthCheckHelper.getHealthCheckRepository(getCamelContext(), -Athena2HealthCheckRepository.REPOSITORY_ID, Athena2HealthCheckRepository.class); +// health-check is optional so discover and resolve +healthCheckRepository = HealthCheckHelper.getHealthCheckRepository( +getCamelContext(), +"components", +WritableHealthCheckRepository.class); if (healthCheckRepository != null) { clientHealthCheck = new Athena2ClientHealthCheck(this, getId()); diff --git a/components/camel-aws/camel-aws2-athena/src/main/java/org/apache/camel/component/aws2/athena/Athena2HealthCheckRepository.java b/components/camel-aws/camel-aws2-athena/src/main/java/org/apache/camel/component/aws2/athena/Athena2HealthCheckRepository.java deleted file mode 100644 index 090671edbab..000 --- a/components/camel-aws/camel-aws2-athena/src/main/java/org/apache/camel/component/aws2/athena/Athena2HealthCheckRepository.java +++ /dev/null @@ -1,87 +0,0 @@ -/* - * 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, softwar
[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 5db583b1cc8c22bd9ec7d33c3c3ba23b2df9a48f Author: Andrea Cosentino AuthorDate: Fri Oct 21 13:05:00 2022 +0200 Sync deps Signed-off-by: Andrea Cosentino --- camel-dependencies/pom.xml | 2 +- .../apache/camel/catalog/dataformats.properties| 2 -- .../apache/camel/catalog/dataformats/swiftMt.json | 22 --- .../apache/camel/catalog/dataformats/swiftMx.json | 25 -- .../org/apache/camel/main/dataformats.properties | 2 -- 5 files changed, 1 insertion(+), 52 deletions(-) diff --git a/camel-dependencies/pom.xml b/camel-dependencies/pom.xml index a72f79bcd63..1de3a0b3b6a 100644 --- a/camel-dependencies/pom.xml +++ b/camel-dependencies/pom.xml @@ -174,7 +174,7 @@ 3.5.1 3.2.13 6.5.2 -5.4.3 +5.4.4 0.3.0 2.1.5 3.10.2 diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats.properties b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats.properties index 36b9ab17fd1..251737ada16 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats.properties +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats.properties @@ -33,8 +33,6 @@ protobufJackson rss snakeYaml soap -swiftMt -swiftMx syslog tarFile thrift diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/swiftMt.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/swiftMt.json deleted file mode 100644 index 7d532e1bbcc..000 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/swiftMt.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "dataformat": { -"kind": "dataformat", -"name": "swiftMt", -"title": "SWIFT MT", -"description": "Encode and decode SWIFT MT messages.", -"deprecated": false, -"firstVersion": "3.20.0", -"label": "dataformat,transformation,swift", -"javaType": "org.apache.camel.dataformat.swift.mt.SwiftMtDataFormat", -"supportLevel": "Preview", -"groupId": "org.apache.camel", -"artifactId": "camel-swift", -"version": "3.20.0-SNAPSHOT", -"modelName": "swiftMt", -"modelJavaType": "org.apache.camel.model.dataformat.SwiftMtDataFormat" - }, - "properties": { -"writeInJson": { "kind": "attribute", "displayName": "Write In Json", "label": "advanced", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "The flag indicating that messages must be marshalled in a JSON format." }, -"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/dataformats/swiftMx.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/swiftMx.json deleted file mode 100644 index 2be3dbd40ff..000 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/swiftMx.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "dataformat": { -"kind": "dataformat", -"name": "swiftMx", -"title": "SWIFT MX", -"description": "Encode and decode SWIFT MX messages.", -"deprecated": false, -"firstVersion": "3.20.0", -"label": "dataformat,transformation,swift", -"javaType": "org.apache.camel.dataformat.swift.mx.SwiftMxDataFormat", -"supportLevel": "Preview", -"groupId": "org.apache.camel", -"artifactId": "camel-swift", -"version": "3.20.0-SNAPSHOT", -"modelName": "swiftMx", -"modelJavaType": "org.apache.camel.model.dataformat.SwiftMxDataFormat" - }, - "properties": { -"writeConfigRef": { "kind": "attribute", "displayName": "Write Config Ref", "label": "advanced", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Refers to a specific configuration to use when marshalling a message to lookup from the registry." }, -"writeInJson": { "kind": "attribute", "displayName": "Write In Json", "label": "advanced", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "The flag indicating that messages must be marshalled in a JSON format." }, -"readMessageId": { "kind": "attribute", "displayName": "Read Message Id", "label": "advanced", "required": false, "type": "string", "javaType":
[camel] 01/02: Upgrade Dropbox SDK version to 5.4.4
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 793e5d78f054e791c6f37692d49c18b4272fdfd6 Author: Andrea Cosentino AuthorDate: Fri Oct 21 13:04:11 2022 +0200 Upgrade Dropbox SDK version to 5.4.4 Signed-off-by: Andrea Cosentino --- parent/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parent/pom.xml b/parent/pom.xml index 50ff5111873..8ed00cad58f 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -153,7 +153,7 @@ 2.4.1 3.2.13 6.5.2 -5.4.3 +5.4.4 1.9.6.Final 8.0.28 0.3.0
[camel] branch main updated (37b90d302fe -> 5db583b1cc8)
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 37b90d302fe feat: replace custom aws health check repositories with the components one new 793e5d78f05 Upgrade Dropbox SDK version to 5.4.4 new 5db583b1cc8 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 +- .../apache/camel/catalog/dataformats.properties| 2 -- .../apache/camel/catalog/dataformats/swiftMt.json | 22 --- .../apache/camel/catalog/dataformats/swiftMx.json | 25 -- .../org/apache/camel/main/dataformats.properties | 2 -- parent/pom.xml | 2 +- 6 files changed, 2 insertions(+), 53 deletions(-) delete mode 100644 catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/swiftMt.json delete mode 100644 catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/swiftMx.json
[camel] branch regen_bot updated (89424f57619 -> f6a08a142b5)
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 89424f57619 CAMEL-18609: camel-jbang - Export should sort dependencies in pom.xml add cfdd8a22a55 camel-fhir: Override commons-text version add f6a08a142b5 CAMEL-18608: Fix the tests of ResequencerEngineTest No new revisions were added by this update. Summary of changes: components/camel-fhir/camel-fhir-api/pom.xml | 12 components/camel-fhir/camel-fhir-component/pom.xml | 13 .../resequencer/ResequencerEngineTest.java | 78 +- 3 files changed, 56 insertions(+), 47 deletions(-)
[camel] branch regen_bot updated (f6a08a142b5 -> f4246b3280e)
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 f6a08a142b5 CAMEL-18608: Fix the tests of ResequencerEngineTest add f4246b3280e CAMEL-18608: Fix the test FromFtpThirdPoolOkIT.testPollFileAndShouldBeDeletedAtThirdPoll No new revisions were added by this update. Summary of changes: .../remote/integration/FromFtpThirdPoolOkIT.java | 30 ++ 1 file changed, 14 insertions(+), 16 deletions(-)
[camel] branch regen_bot updated (f4246b3280e -> 37b90d302fe)
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 f4246b3280e CAMEL-18608: Fix the test FromFtpThirdPoolOkIT.testPollFileAndShouldBeDeletedAtThirdPoll add 37b90d302fe feat: replace custom aws health check repositories with the components one No new revisions were added by this update. Summary of changes: .../health-check/camel-aws2-athena-repository | 2 - .../component/aws2/athena/Athena2Endpoint.java | 10 ++- .../aws2/athena/Athena2HealthCheckRepository.java | 87 -- .../camel/health-check/camel-aws2-s3-repository| 2 - .../camel/component/aws2/s3/AWS2S3Consumer.java| 9 ++- .../aws2/s3/AWS2S3HealthCheckRepository.java | 87 -- .../camel/health-check/camel-aws2-sqs-repository | 2 - .../camel/component/aws2/sqs/Sqs2Consumer.java | 10 ++- .../aws2/sqs/Sqs2HealthCheckRepository.java| 87 -- 9 files changed, 20 insertions(+), 276 deletions(-) delete mode 100644 components/camel-aws/camel-aws2-athena/src/generated/resources/META-INF/services/org/apache/camel/health-check/camel-aws2-athena-repository delete mode 100644 components/camel-aws/camel-aws2-athena/src/main/java/org/apache/camel/component/aws2/athena/Athena2HealthCheckRepository.java delete mode 100644 components/camel-aws/camel-aws2-s3/src/generated/resources/META-INF/services/org/apache/camel/health-check/camel-aws2-s3-repository delete mode 100644 components/camel-aws/camel-aws2-s3/src/main/java/org/apache/camel/component/aws2/s3/AWS2S3HealthCheckRepository.java delete mode 100644 components/camel-aws/camel-aws2-sqs/src/generated/resources/META-INF/services/org/apache/camel/health-check/camel-aws2-sqs-repository delete mode 100644 components/camel-aws/camel-aws2-sqs/src/main/java/org/apache/camel/component/aws2/sqs/Sqs2HealthCheckRepository.java
[camel] 02/04: camel-health - Add health checks for components that has extension for connectivity verification - AWS Kinesis
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 bc74f6b58c1672ede174efcd816fbbbd6a4360eb Author: Andrea Cosentino AuthorDate: Fri Oct 21 13:31:15 2022 +0200 camel-health - Add health checks for components that has extension for connectivity verification - AWS Kinesis Signed-off-by: Andrea Cosentino --- .../camel/component/aws2/kinesis/Kinesis2ConsumerHealthCheck.java| 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/components/camel-aws/camel-aws2-kinesis/src/main/java/org/apache/camel/component/aws2/kinesis/Kinesis2ConsumerHealthCheck.java b/components/camel-aws/camel-aws2-kinesis/src/main/java/org/apache/camel/component/aws2/kinesis/Kinesis2ConsumerHealthCheck.java index 1a420defb94..985704d7d20 100644 --- a/components/camel-aws/camel-aws2-kinesis/src/main/java/org/apache/camel/component/aws2/kinesis/Kinesis2ConsumerHealthCheck.java +++ b/components/camel-aws/camel-aws2-kinesis/src/main/java/org/apache/camel/component/aws2/kinesis/Kinesis2ConsumerHealthCheck.java @@ -16,6 +16,8 @@ */ package org.apache.camel.component.aws2.kinesis; +import java.util.Map; + import org.apache.camel.health.HealthCheckResultBuilder; import org.apache.camel.impl.health.AbstractHealthCheck; import org.apache.camel.util.ObjectHelper; @@ -26,8 +28,6 @@ import software.amazon.awssdk.regions.Region; import software.amazon.awssdk.services.kinesis.KinesisClient; import software.amazon.awssdk.services.kinesis.KinesisClientBuilder; -import java.util.Map; - public class Kinesis2ConsumerHealthCheck extends AbstractHealthCheck { private final Kinesis2Consumer kinesis2Consumer; @@ -85,5 +85,4 @@ public class Kinesis2ConsumerHealthCheck extends AbstractHealthCheck { } - }
[camel] 04/04: camel-health - Add health checks for components that has extension for connectivity verification - AWS Kinesis
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 c0401ffab6af85fece582f8be23fe16d5938c1f3 Author: Andrea Cosentino AuthorDate: Fri Oct 21 13:54:43 2022 +0200 camel-health - Add health checks for components that has extension for connectivity verification - AWS Kinesis Signed-off-by: Andrea Cosentino --- .../aws2/kinesis/Kinesis2ConsumerHealthCheckProfileCredsTest.java | 6 +++--- .../aws2/kinesis/Kinesis2ConsumerHealthCheckStaticCredsTest.java| 6 +++--- .../aws2/kinesis/Kinesis2ConsumerHealthCustomClientTest.java| 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/components/camel-aws/camel-aws2-kinesis/src/test/java/org/apache/camel/component/aws2/kinesis/Kinesis2ConsumerHealthCheckProfileCredsTest.java b/components/camel-aws/camel-aws2-kinesis/src/test/java/org/apache/camel/component/aws2/kinesis/Kinesis2ConsumerHealthCheckProfileCredsTest.java index 027815735d9..30c8e6696a3 100644 --- a/components/camel-aws/camel-aws2-kinesis/src/test/java/org/apache/camel/component/aws2/kinesis/Kinesis2ConsumerHealthCheckProfileCredsTest.java +++ b/components/camel-aws/camel-aws2-kinesis/src/test/java/org/apache/camel/component/aws2/kinesis/Kinesis2ConsumerHealthCheckProfileCredsTest.java @@ -16,6 +16,9 @@ */ package org.apache.camel.component.aws2.kinesis; +import java.util.Collection; +import java.util.concurrent.TimeUnit; + import org.apache.camel.CamelContext; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.health.HealthCheck; @@ -32,9 +35,6 @@ import org.junit.jupiter.api.extension.RegisterExtension; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import java.util.Collection; -import java.util.concurrent.TimeUnit; - import static org.testcontainers.shaded.org.awaitility.Awaitility.await; public class Kinesis2ConsumerHealthCheckProfileCredsTest extends CamelTestSupport { diff --git a/components/camel-aws/camel-aws2-kinesis/src/test/java/org/apache/camel/component/aws2/kinesis/Kinesis2ConsumerHealthCheckStaticCredsTest.java b/components/camel-aws/camel-aws2-kinesis/src/test/java/org/apache/camel/component/aws2/kinesis/Kinesis2ConsumerHealthCheckStaticCredsTest.java index c7a8df6823f..3e6e7e8e376 100644 --- a/components/camel-aws/camel-aws2-kinesis/src/test/java/org/apache/camel/component/aws2/kinesis/Kinesis2ConsumerHealthCheckStaticCredsTest.java +++ b/components/camel-aws/camel-aws2-kinesis/src/test/java/org/apache/camel/component/aws2/kinesis/Kinesis2ConsumerHealthCheckStaticCredsTest.java @@ -16,6 +16,9 @@ */ package org.apache.camel.component.aws2.kinesis; +import java.util.Collection; +import java.util.concurrent.TimeUnit; + import org.apache.camel.CamelContext; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.health.HealthCheck; @@ -32,9 +35,6 @@ import org.junit.jupiter.api.extension.RegisterExtension; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import java.util.Collection; -import java.util.concurrent.TimeUnit; - import static org.testcontainers.shaded.org.awaitility.Awaitility.await; public class Kinesis2ConsumerHealthCheckStaticCredsTest extends CamelTestSupport { diff --git a/components/camel-aws/camel-aws2-kinesis/src/test/java/org/apache/camel/component/aws2/kinesis/Kinesis2ConsumerHealthCustomClientTest.java b/components/camel-aws/camel-aws2-kinesis/src/test/java/org/apache/camel/component/aws2/kinesis/Kinesis2ConsumerHealthCustomClientTest.java index 0d0bd9fd6ab..d39aff7173d 100644 --- a/components/camel-aws/camel-aws2-kinesis/src/test/java/org/apache/camel/component/aws2/kinesis/Kinesis2ConsumerHealthCustomClientTest.java +++ b/components/camel-aws/camel-aws2-kinesis/src/test/java/org/apache/camel/component/aws2/kinesis/Kinesis2ConsumerHealthCustomClientTest.java @@ -16,6 +16,9 @@ */ package org.apache.camel.component.aws2.kinesis; +import java.util.Collection; +import java.util.concurrent.TimeUnit; + import org.apache.camel.CamelContext; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.health.HealthCheck; @@ -32,9 +35,6 @@ import org.junit.jupiter.api.extension.RegisterExtension; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import java.util.Collection; -import java.util.concurrent.TimeUnit; - import static org.testcontainers.shaded.org.awaitility.Awaitility.await; public class Kinesis2ConsumerHealthCustomClientTest extends CamelTestSupport {
[camel] 03/04: camel-health - Add health checks for components that has extension for connectivity verification - AWS Kinesis
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 6b87a31bbb4fa9a71a2c5a3f168d603673dce5a3 Author: Andrea Cosentino AuthorDate: Fri Oct 21 13:53:03 2022 +0200 camel-health - Add health checks for components that has extension for connectivity verification - AWS Kinesis Signed-off-by: Andrea Cosentino --- ...inesis2ConsumerHealthCheckProfileCredsTest.java | 106 ...Kinesis2ConsumerHealthCheckStaticCredsTest.java | 107 + .../Kinesis2ConsumerHealthCustomClientTest.java| 106 3 files changed, 319 insertions(+) diff --git a/components/camel-aws/camel-aws2-kinesis/src/test/java/org/apache/camel/component/aws2/kinesis/Kinesis2ConsumerHealthCheckProfileCredsTest.java b/components/camel-aws/camel-aws2-kinesis/src/test/java/org/apache/camel/component/aws2/kinesis/Kinesis2ConsumerHealthCheckProfileCredsTest.java new file mode 100644 index 000..027815735d9 --- /dev/null +++ b/components/camel-aws/camel-aws2-kinesis/src/test/java/org/apache/camel/component/aws2/kinesis/Kinesis2ConsumerHealthCheckProfileCredsTest.java @@ -0,0 +1,106 @@ +/* + * 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.aws2.kinesis; + +import org.apache.camel.CamelContext; +import org.apache.camel.builder.RouteBuilder; +import org.apache.camel.health.HealthCheck; +import org.apache.camel.health.HealthCheckHelper; +import org.apache.camel.health.HealthCheckRegistry; +import org.apache.camel.impl.health.DefaultHealthCheckRegistry; +import org.apache.camel.test.infra.aws.common.services.AWSService; +import org.apache.camel.test.infra.aws2.clients.AWSSDKClientUtils; +import org.apache.camel.test.infra.aws2.services.AWSServiceFactory; +import org.apache.camel.test.junit5.CamelTestSupport; +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.extension.RegisterExtension; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import java.util.Collection; +import java.util.concurrent.TimeUnit; + +import static org.testcontainers.shaded.org.awaitility.Awaitility.await; + +public class Kinesis2ConsumerHealthCheckProfileCredsTest extends CamelTestSupport { + +@RegisterExtension +public static AWSService service = AWSServiceFactory.createS3Service(); + +private static final Logger LOG = LoggerFactory.getLogger(Kinesis2ConsumerHealthCheckProfileCredsTest.class); + +CamelContext context; + +@Override +protected CamelContext createCamelContext() throws Exception { +context = super.createCamelContext(); +context.getPropertiesComponent().setLocation("ref:prop"); +Kinesis2Component component = new Kinesis2Component(context); + component.getConfiguration().setAmazonKinesisClient(AWSSDKClientUtils.newKinesisClient()); +component.init(); +context.addComponent("aws2-kinesis", component); + +HealthCheckRegistry registry = new DefaultHealthCheckRegistry(); +registry.setCamelContext(context); +Object hc = registry.resolveById("context"); +registry.register(hc); +hc = registry.resolveById("routes"); +registry.register(hc); +hc = registry.resolveById("consumers"); +registry.register(hc); +context.setExtension(HealthCheckRegistry.class, registry); + +return context; +} + +@Override +protected RouteBuilder createRouteBuilder() { +return new RouteBuilder() { + +@Override +public void configure() { + from("aws2-kinesis://stream?region=l&useDefaultCredentialsProvider=true") + .startupOrder(2).log("${body}").routeId("test-health-it"); +} +}; +} + +@Test +public void testConnectivity() { + +Collection res = HealthCheckHelper.invokeLiveness(context); +boolean up = res.stream().allMatch(r -> r.getState().equals(HealthCheck.State.UP)); +Assertions.assertTrue(up, "liveness check"); + +// health-check readiness should be d
[camel] branch main updated (5db583b1cc8 -> c0401ffab6a)
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 5db583b1cc8 Sync deps new 0f74cd588db camel-health - Add health checks for components that has extension for connectivity verification - AWS Kinesis new bc74f6b58c1 camel-health - Add health checks for components that has extension for connectivity verification - AWS Kinesis new 6b87a31bbb4 camel-health - Add health checks for components that has extension for connectivity verification - AWS Kinesis new c0401ffab6a camel-health - Add health checks for components that has extension for connectivity verification - AWS Kinesis The 4 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: components/camel-aws/camel-aws2-kinesis/pom.xml| 4 + .../component/aws2/kinesis/Kinesis2Component.java | 2 - .../component/aws2/kinesis/Kinesis2Consumer.java | 19 + .../aws2/kinesis/Kinesis2ConsumerHealthCheck.java} | 33 ...nesis2ConsumerHealthCheckProfileCredsTest.java} | 22 +++--- ...inesis2ConsumerHealthCheckStaticCredsTest.java} | 24 +++--- .../Kinesis2ConsumerHealthCustomClientTest.java} | 20 ++--- .../KinesisComponentVerifierExtensionTest.java | 91 -- 8 files changed, 73 insertions(+), 142 deletions(-) copy components/camel-aws/{camel-aws2-sqs/src/main/java/org/apache/camel/component/aws2/sqs/Sqs2ConsumerHealthCheck.java => camel-aws2-kinesis/src/main/java/org/apache/camel/component/aws2/kinesis/Kinesis2ConsumerHealthCheck.java} (71%) copy components/camel-aws/{camel-aws2-s3/src/test/java/org/apache/camel/component/aws2/s3/AWS2S3ConsumerHealthCustomClientTest.java => camel-aws2-kinesis/src/test/java/org/apache/camel/component/aws2/kinesis/Kinesis2ConsumerHealthCheckProfileCredsTest.java} (81%) copy components/camel-aws/{camel-aws2-sqs/src/test/java/org/apache/camel/component/aws2/sqs/Sqs2ConsumerHealthCheckProfileCredsTest.java => camel-aws2-kinesis/src/test/java/org/apache/camel/component/aws2/kinesis/Kinesis2ConsumerHealthCheckStaticCredsTest.java} (81%) copy components/camel-aws/{camel-aws2-s3/src/test/java/org/apache/camel/component/aws2/s3/AWS2S3ConsumerHealthCustomClientTest.java => camel-aws2-kinesis/src/test/java/org/apache/camel/component/aws2/kinesis/Kinesis2ConsumerHealthCustomClientTest.java} (85%) delete mode 100644 components/camel-aws/camel-aws2-kinesis/src/test/java/org/apache/camel/component/aws2/kinesis/KinesisComponentVerifierExtensionTest.java