[GitHub] [camel-k] astefanutti opened a new pull request #2990: feat(knative): Rely on addressable-resolver ClusterRole to transfer RBAC for Knative Sinks
astefanutti opened a new pull request #2990: URL: https://github.com/apache/camel-k/pull/2990 Backport #2958 to 1.8.x. **Release Note** ```release-note feat(knative): Rely on addressable-resolver ClusterRole to transfer RBAC for Knative Sinks ``` -- 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 #6895: Generated sources regen
github-actions[bot] opened a new pull request #6895: URL: https://github.com/apache/camel/pull/6895 Regen bot :robot: found some uncommited changes after running build on :camel: main. Please do not delete `regen_bot` branch after merge/rebase. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-k] astefanutti opened a new pull request #2991: fix(cli): kamel run -v should configure the mount trait
astefanutti opened a new pull request #2991: URL: https://github.com/apache/camel-k/pull/2991 Backport #2986 to 1.8.x. **Release Note** ```release-note fix(cli): kamel run -v should configure the mount trait ``` -- 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 (beeb116 -> af3213f)
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 beeb116 Sync deps add 039429f Upgrade Libphonenumber to version 8.12.42 add af3213f Regen for commit 039429f02727ee7691bfad6b8070f9e34c7a2838 No new revisions were added by this update. Summary of changes: camel-dependencies/pom.xml | 2 +- parent/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
[GitHub] [camel] oscerd merged pull request #6895: Generated sources regen
oscerd merged pull request #6895: URL: https://github.com/apache/camel/pull/6895 -- 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 039429f02727ee7691bfad6b8070f9e34c7a2838
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 65543fc Regen for commit 039429f02727ee7691bfad6b8070f9e34c7a2838 65543fc is described below commit 65543fc627ab02f8d464045bf26f5b88fcd33160 Author: oscerd AuthorDate: Mon Feb 7 08:00:51 2022 + Regen for commit 039429f02727ee7691bfad6b8070f9e34c7a2838 Signed-off-by: GitHub --- camel-dependencies/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/camel-dependencies/pom.xml b/camel-dependencies/pom.xml index 4bc1254..ca95296 100644 --- a/camel-dependencies/pom.xml +++ b/camel-dependencies/pom.xml @@ -378,7 +378,7 @@ 21.0 0.12 1.8 -8.12.40 +8.12.42 0.14.1 1.0.0 0.2.0
[GitHub] [camel] orpiske commented on pull request #6894: (chores) experimental ci: remove redundant workflow in CodeQL analysis
orpiske commented on pull request #6894: URL: https://github.com/apache/camel/pull/6894#issuecomment-1031195059 This seems to do the trick (the failure is not related to this change). Let's merge and in case of problems I'll rollback. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] orpiske merged pull request #6894: (chores) experimental ci: remove redundant workflow in CodeQL analysis
orpiske merged pull request #6894: URL: https://github.com/apache/camel/pull/6894 -- 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: (chores) experimental ci: remove redundant workflow in CodeQL analysis
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/main by this push: new ec64401 (chores) experimental ci: remove redundant workflow in CodeQL analysis ec64401 is described below commit ec64401a95d5238053ec81510b61a2d91fd4aeb6 Author: Otavio Rodolfo Piske AuthorDate: Sun Feb 6 12:09:11 2022 +0100 (chores) experimental ci: remove redundant workflow in CodeQL analysis --- .github/workflows/codeql-analysis.yml | 5 - 1 file changed, 5 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 0851c49..acd0d52 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -42,11 +42,6 @@ jobs: key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} restore-keys: ${{ runner.os }}-maven- -# If this run was triggered by a pull request event, then checkout -# the head of the pull request instead of the merge commit. -- run: git checkout HEAD^2 - if: ${{ github.event_name == 'pull_request' }} - # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL uses: github/codeql-action/init@v1
[camel] branch apply-website-changes-3.15 updated: Fix version and branch fields
This is an automated email from the ASF dual-hosted git repository. gzurowski pushed a commit to branch apply-website-changes-3.15 in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/apply-website-changes-3.15 by this push: new be09dfb Fix version and branch fields be09dfb is described below commit be09dfb8d7ce4419a250bef462f8f5d38b102db2 Author: Gregor Zurowski AuthorDate: Mon Feb 7 09:36:39 2022 +0100 Fix version and branch fields --- core/camel-core-engine/src/main/docs/antora.yml | 2 +- docs/components/antora.yml | 3 +-- docs/source-map.yml | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/core/camel-core-engine/src/main/docs/antora.yml b/core/camel-core-engine/src/main/docs/antora.yml index 138dd97..ce91a3e 100644 --- a/core/camel-core-engine/src/main/docs/antora.yml +++ b/core/camel-core-engine/src/main/docs/antora.yml @@ -18,4 +18,4 @@ # A distributed part of main camel "docs/components" 'components' component descriptor: name: components -version: 3.15.0 +version: 3.15.x diff --git a/docs/components/antora.yml b/docs/components/antora.yml index a2cc48c..1dbf4fd 100644 --- a/docs/components/antora.yml +++ b/docs/components/antora.yml @@ -21,8 +21,7 @@ name: components title: Camel Components -version: 3.15.0 -display-version: 3.15.0 +version: 3.15.x nav: - modules/ROOT/nav.adoc diff --git a/docs/source-map.yml b/docs/source-map.yml index 78bf03e..421a7e7 100644 --- a/docs/source-map.yml +++ b/docs/source-map.yml @@ -21,5 +21,5 @@ - url: 'https://github.com/apache/camel.git' mapped_url: './../camel' branches: -- branch: 3.15.x +- branch: camel-3.15.x mapped_branch: HEAD
[GitHub] [camel] gzurowski commented on pull request #6892: Apply website doc changes after 3.15.0 release
gzurowski commented on pull request #6892: URL: https://github.com/apache/camel/pull/6892#issuecomment-1031203274 @djencks Thanks for your feedback. I have made the requested updates, could you please take a quick look? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] coheigea commented on pull request #6894: (chores) experimental ci: remove redundant workflow in CodeQL analysis
coheigea commented on pull request #6894: URL: https://github.com/apache/camel/pull/6894#issuecomment-1031203422 Thanks @orpiske, let's see how the build goes -- 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] apupier commented on issue #2179: Provide option to have symbolic link for kamel local build --integration-directory
apupier commented on issue #2179: URL: https://github.com/apache/camel-k/issues/2179#issuecomment-1031205137 still relevant -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-spring-boot] branch main updated: ✅ Add integration test module + infinispan (#433)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git The following commit(s) were added to refs/heads/main by this push: new f42f5a9 ✅ Add integration test module + infinispan (#433) f42f5a9 is described below commit f42f5a9f71e53b0de8532af637b32f4be22be79c Author: Federico Mariani <34543311+cro...@users.noreply.github.com> AuthorDate: Mon Feb 7 09:42:56 2022 +0100 ✅ Add integration test module + infinispan (#433) --- .../infinispan/pom.xml | 55 .../springboot/infinispan/InfinispanRoutes.java| 49 +++ .../springboot/infinispan/InfinispanTest.java | 146 + .../integration-common}/pom.xml| 33 ++--- .../camel/integration/springboot/Application.java | 28 .../springboot/SpringBootBaseIntegration.java | 36 + tests/camel-spring-boot-integration-tests/pom.xml | 68 ++ tests/pom.xml | 1 + 8 files changed, 395 insertions(+), 21 deletions(-) diff --git a/tests/camel-spring-boot-integration-tests/infinispan/pom.xml b/tests/camel-spring-boot-integration-tests/infinispan/pom.xml new file mode 100644 index 000..0ee9911 --- /dev/null +++ b/tests/camel-spring-boot-integration-tests/infinispan/pom.xml @@ -0,0 +1,55 @@ + + +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";> + + camel-spring-boot-integration-tests + org.apache.camel.springboot + 3.15.0-SNAPSHOT + + 4.0.0 + + infinispan + Camel SB :: Integration Tests :: Infinispan + + + + org.apache.camel.springboot + integration-common + ${project.version} + + + + org.apache.camel.springboot + camel-infinispan-starter + ${project.version} + + + + org.apache.camel + camel-test-infra-infinispan + ${project.version} + test-jar + test + + + + diff --git a/tests/camel-spring-boot-integration-tests/infinispan/src/main/java/org/apache/camel/integration/springboot/infinispan/InfinispanRoutes.java b/tests/camel-spring-boot-integration-tests/infinispan/src/main/java/org/apache/camel/integration/springboot/infinispan/InfinispanRoutes.java new file mode 100644 index 000..4c72f3c --- /dev/null +++ b/tests/camel-spring-boot-integration-tests/infinispan/src/main/java/org/apache/camel/integration/springboot/infinispan/InfinispanRoutes.java @@ -0,0 +1,49 @@ +/* + * 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.integration.springboot.infinispan; + +import org.apache.camel.builder.RouteBuilder; +import org.apache.camel.component.infinispan.InfinispanConstants; +import org.apache.camel.component.infinispan.InfinispanOperation; + +import org.springframework.stereotype.Component; + +@Component +public class InfinispanRoutes extends RouteBuilder { + + @Override + public void configure() throws Exception { + from("direct:put") + .setHeader(InfinispanConstants.OPERATION) + .constant(InfinispanOperation.PUT) + .to("infinispanRemoteComponent://myCache"); + + from("direct:get") + .setHeader(InfinispanConstants.OPERATION) + .constant(InfinispanOperation.GET) + .to("infinispanRemoteComponent://myCache") + .to("mock:result"); + + from("direct:consumer") + .setHeader(InfinispanConstants.OPERATION) + .constant(InfinispanOperation.PUT) + .to("infinispanRemoteComponent://myC
[GitHub] [camel-spring-boot] davsclaus merged pull request #433: ✅ Add integration test module + infinispan
davsclaus merged pull request #433: URL: https://github.com/apache/camel-spring-boot/pull/433 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-spring-boot] branch main updated: Prepare for next version
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git The following commit(s) were added to refs/heads/main by this push: new 4a43586 Prepare for next version 4a43586 is described below commit 4a43586e45f6731a84bd71925adfe83a9f52c79d Author: Claus Ibsen AuthorDate: Mon Feb 7 09:44:11 2022 +0100 Prepare for next version --- tests/camel-spring-boot-integration-tests/infinispan/pom.xml | 2 +- tests/camel-spring-boot-integration-tests/integration-common/pom.xml | 2 +- tests/camel-spring-boot-integration-tests/pom.xml| 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/camel-spring-boot-integration-tests/infinispan/pom.xml b/tests/camel-spring-boot-integration-tests/infinispan/pom.xml index 0ee9911..c63683e 100644 --- a/tests/camel-spring-boot-integration-tests/infinispan/pom.xml +++ b/tests/camel-spring-boot-integration-tests/infinispan/pom.xml @@ -23,7 +23,7 @@ camel-spring-boot-integration-tests org.apache.camel.springboot - 3.15.0-SNAPSHOT + 3.16.0-SNAPSHOT 4.0.0 diff --git a/tests/camel-spring-boot-integration-tests/integration-common/pom.xml b/tests/camel-spring-boot-integration-tests/integration-common/pom.xml index e6c12c4..4e90af8 100644 --- a/tests/camel-spring-boot-integration-tests/integration-common/pom.xml +++ b/tests/camel-spring-boot-integration-tests/integration-common/pom.xml @@ -23,7 +23,7 @@ camel-spring-boot-integration-tests org.apache.camel.springboot - 3.15.0-SNAPSHOT + 3.16.0-SNAPSHOT 4.0.0 diff --git a/tests/camel-spring-boot-integration-tests/pom.xml b/tests/camel-spring-boot-integration-tests/pom.xml index bee000a..5547ada 100644 --- a/tests/camel-spring-boot-integration-tests/pom.xml +++ b/tests/camel-spring-boot-integration-tests/pom.xml @@ -23,7 +23,7 @@ tests org.apache.camel.springboot - 3.15.0-SNAPSHOT + 3.16.0-SNAPSHOT 4.0.0
[GitHub] [camel-quarkus] zhfeng commented on pull request #3481: Fix #3251 expose REST DSL services to quarkus openapis
zhfeng commented on pull request #3481: URL: https://github.com/apache/camel-quarkus/pull/3481#issuecomment-1031221788 @jamesnetherton ```Lambda RouteBuilder``` and ```CDI injection in configuration()``` can not be supported right now since we need to expose the rest services at build time. I just add a ```usage.adoc``` to include these information. Anyway, i think that could be all we can process in the CQ now. Please review the documentation. I'd like to open a following issue to improve the lrb and cdi support if ```quarkus-smallrye-openapi``` can provide a integration spi at the static runtime phase in the future. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch main updated: CAMEL-17606: Add property to route builder to refer to a property placeholder using {{ }} syntax. And also useable for EndpointDSL.
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 3486490 CAMEL-17606: Add property to route builder to refer to a property placeholder using {{ }} syntax. And also useable for EndpointDSL. 3486490 is described below commit 34864901f5da846d4a98dab7a788eae8e7808c6e Author: Claus Ibsen AuthorDate: Mon Feb 7 10:03:49 2022 +0100 CAMEL-17606: Add property to route builder to refer to a property placeholder using {{ }} syntax. And also useable for EndpointDSL. --- .../org/apache/camel/builder/RouteBuilder.java | 10 ++ .../properties/PropertiesPropertyTest.java | 33 ++ .../builder/endpoint/PropertyPlaceholderTest.java | 121 + 3 files changed, 164 insertions(+) diff --git a/core/camel-core-model/src/main/java/org/apache/camel/builder/RouteBuilder.java b/core/camel-core-model/src/main/java/org/apache/camel/builder/RouteBuilder.java index b1a760e..026a4ba 100644 --- a/core/camel-core-model/src/main/java/org/apache/camel/builder/RouteBuilder.java +++ b/core/camel-core-model/src/main/java/org/apache/camel/builder/RouteBuilder.java @@ -385,6 +385,16 @@ public abstract class RouteBuilder extends BuilderSupport implements RoutesBuild } /** + * Refers to the property placeholder + * + * @param key the property key + * @return the reference to the property using syntax {{key}} + */ +public String property(String key) { +return PropertiesComponent.PREFIX_TOKEN + key + PropertiesComponent.SUFFIX_TOKEN; +} + +/** * Adds a route for an interceptor that intercepts every processing step. * * @return the builder diff --git a/core/camel-core/src/test/java/org/apache/camel/component/properties/PropertiesPropertyTest.java b/core/camel-core/src/test/java/org/apache/camel/component/properties/PropertiesPropertyTest.java new file mode 100644 index 000..753934f --- /dev/null +++ b/core/camel-core/src/test/java/org/apache/camel/component/properties/PropertiesPropertyTest.java @@ -0,0 +1,33 @@ +/* + * 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.properties; + +import org.apache.camel.builder.RouteBuilder; + +public class PropertiesPropertyTest extends PropertiesRouteFromTest { + +@Override +protected RouteBuilder createRouteBuilder() throws Exception { +return new RouteBuilder() { +@Override +public void configure() throws Exception { + from(property("cool.start")).routeId("foo").to(property("cool.end")); +} +}; +} + +} diff --git a/dsl/camel-endpointdsl/src/test/java/org/apache/camel/builder/endpoint/PropertyPlaceholderTest.java b/dsl/camel-endpointdsl/src/test/java/org/apache/camel/builder/endpoint/PropertyPlaceholderTest.java new file mode 100644 index 000..888d8fc --- /dev/null +++ b/dsl/camel-endpointdsl/src/test/java/org/apache/camel/builder/endpoint/PropertyPlaceholderTest.java @@ -0,0 +1,121 @@ +/* + * 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.builder.endpoint; + +import java.util.Properties; + +import org.junit.jupiter.api.Test; + +import static org.junit.jupiter.api.Assertions.assertEquals; + +public class PropertyPlaceholderTest extends Ba
[GitHub] [camel-quarkus] jamesnetherton commented on a change in pull request #3481: Fix #3251 expose REST DSL services to quarkus openapis
jamesnetherton commented on a change in pull request #3481: URL: https://github.com/apache/camel-quarkus/pull/3481#discussion_r800446355 ## File path: docs/modules/ROOT/pages/reference/extensions/openapi-java.adoc ## @@ -39,6 +39,26 @@ Or add the coordinates to your existing project: Check the xref:user-guide/index.adoc[User guide] for more information about writing Camel Quarkus applications. +== Usage + +You can use this extension to expose REST DSL services to quarkus openapi. With Review comment: ```suggestion You can use this extension to expose REST DSL services to Quarkus OpenAPI. With ``` ## File path: docs/modules/ROOT/pages/reference/extensions/openapi-java.adoc ## @@ -39,6 +39,26 @@ Or add the coordinates to your existing project: Check the xref:user-guide/index.adoc[User guide] for more information about writing Camel Quarkus applications. +== Usage Review comment: You can move the usage content into `usage.adoc` and there's some [smart logic](https://camel.apache.org/camel-quarkus/2.7.x/contributor-guide/extension-documentation.html) in one of the maven plugins which will combine it into the extension docs. ## File path: docs/modules/ROOT/pages/reference/extensions/openapi-java.adoc ## @@ -39,6 +39,26 @@ Or add the coordinates to your existing project: Check the xref:user-guide/index.adoc[User guide] for more information about writing Camel Quarkus applications. +== Usage + +You can use this extension to expose REST DSL services to quarkus openapi. With +the `quarkus-smallrye-openapi`, you can access them by `/q/openapi?format=json`. + +Refer to the https://quarkus.io/guides/openapi-swaggerui[Quarkus OpenAPI guide] for further information. + +By default, this experimental feature disable. You can enable it by Review comment: ```suggestion This is an experimental feature disable. You can enable it by ``` ## File path: docs/modules/ROOT/pages/reference/extensions/openapi-java.adoc ## @@ -39,6 +39,26 @@ Or add the coordinates to your existing project: Check the xref:user-guide/index.adoc[User guide] for more information about writing Camel Quarkus applications. +== Usage + +You can use this extension to expose REST DSL services to quarkus openapi. With +the `quarkus-smallrye-openapi`, you can access them by `/q/openapi?format=json`. + +Refer to the https://quarkus.io/guides/openapi-swaggerui[Quarkus OpenAPI guide] for further information. + +By default, this experimental feature disable. You can enable it by +[source, properties] + +quarkus.camel.openapi.expose.enabled=true + + +[WARNING] + +It doesn't support the rests services used in `org.apache.camel.builder.LambdaRouteBuilder` right now. +Also, it can not use CDI injection in the RouteBuilder `configure()` since we get the rest definitions at build time while the CDI is unavailable. Review comment: ```suggestion Also, it can not use CDI injection in the RouteBuilder `configure()` since we get the rest definitions at build time while CDI is unavailable. ``` ## File path: docs/modules/ROOT/pages/reference/extensions/openapi-java.adoc ## @@ -39,6 +39,26 @@ Or add the coordinates to your existing project: Check the xref:user-guide/index.adoc[User guide] for more information about writing Camel Quarkus applications. +== Usage + +You can use this extension to expose REST DSL services to quarkus openapi. With +the `quarkus-smallrye-openapi`, you can access them by `/q/openapi?format=json`. Review comment: ```suggestion `quarkus-smallrye-openapi`, you can access them by `/q/openapi?format=json`. ``` -- 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] jamesnetherton merged pull request #3516: Add release guide notes for updating k8s version labels in example projects
jamesnetherton merged pull request #3516: URL: https://github.com/apache/camel-quarkus/pull/3516 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-quarkus] branch main updated: Add release guide notes for updating k8s version labels in example projects
This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git The following commit(s) were added to refs/heads/main by this push: new 3f3d307 Add release guide notes for updating k8s version labels in example projects 3f3d307 is described below commit 3f3d307b96e86fa48a27626eed115c44b635d6a5 Author: James Netherton AuthorDate: Wed Feb 2 14:52:03 2022 + Add release guide notes for updating k8s version labels in example projects --- docs/modules/ROOT/pages/contributor-guide/release-guide.adoc | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/modules/ROOT/pages/contributor-guide/release-guide.adoc b/docs/modules/ROOT/pages/contributor-guide/release-guide.adoc index f2ec4db..430ee28 100644 --- a/docs/modules/ROOT/pages/contributor-guide/release-guide.adoc +++ b/docs/modules/ROOT/pages/contributor-guide/release-guide.adoc @@ -274,6 +274,8 @@ $ git checkout main $ git fetch upstream $ git reset --hard upstream/main $ ./mvnw-for-each.sh versions:set -DnewVersion=$NEW_CQ_VERSION +# Update version labels in Kubernetes resources +$ ./mvnw process-sources -f file-bindy-ftp/pom.xml $ git add -A $ git commit -m "Tag $NEW_CQ_VERSION" $ git tag $NEW_CQ_VERSION @@ -292,7 +294,9 @@ $ git push upstream $BRANCH $ NEXT_CQ_VERSION=... # The version used in the current Camel Quarkus main branch without the -SNAPSHOT suffix; e.g. 2.3.0 $ git checkout camel-quarkus-main $ git reset --hard main -$ mvn org.l2x6.cq:cq-maven-plugin:2.10.0:examples-set-platform -Dcq.camel-quarkus.version=${NEXT_CQ_VERSION}-SNAPSHOT -Dcq.newVersion=${NEXT_CQ_VERSION}-SNAPSHOT +$ ./mvnw org.l2x6.cq:cq-maven-plugin:2.10.0:examples-set-platform -Dcq.camel-quarkus.version=${NEXT_CQ_VERSION}-SNAPSHOT -Dcq.newVersion=${NEXT_CQ_VERSION}-SNAPSHOT +# Update version labels in Kubernetes resources +$ ./mvnw process-sources -f file-bindy-ftp/pom.xml $ git add -A $ git commit -m "Next is $NEXT_CQ_VERSION" $ git push upstream camel-quarkus-main --force-with-lease
[camel] branch regen_bot updated (af3213f -> ec64401)
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 af3213f Regen for commit 039429f02727ee7691bfad6b8070f9e34c7a2838 add 65543fc Regen for commit 039429f02727ee7691bfad6b8070f9e34c7a2838 add ec64401 (chores) experimental ci: remove redundant workflow in CodeQL analysis 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 (af3213f) \ N -- N -- N refs/heads/regen_bot (ec64401) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. No new revisions were added by this update. Summary of changes: .github/workflows/codeql-analysis.yml | 5 - 1 file changed, 5 deletions(-)
[GitHub] [camel-website] zregvart commented on a change in pull request #741: Resolves issue #733: modifications to publish to separate git repo
zregvart commented on a change in pull request #741: URL: https://github.com/apache/camel-website/pull/741#discussion_r800490999 ## File path: Jenkinsfile ## @@ -94,7 +94,7 @@ pipeline { steps { dir('deploy/live') { deleteDir() -sh 'git clone -b asf-site https://gitbox.apache.org/repos/asf/camel-website.git .' +sh 'git clone -b asf-site https://gitbox.apache.org/repos/asf/camel-website-pub.git .' sh "git -c core.editor='sed -i 2,/\$(git log --skip=9 -1 --pretty=format:%h)/s/^pick/squash/' rebase -q --interactive $STOP_SQUASH_AT" // squash all but initial and last 9 commits Review comment: The squashing was introduced in/about July 2020 after Netlify previews stopped building due to a timeout when checking out the git repository. The issue came down to the size of the repository which was increasing and at that point reached 3.1GB. We no longer run the builds on Netlify but push the resulting site built in GitHub Actions. In spite of this to keep the ergonomics of contributing to the website we kept squashing to try to keep a cap on the repository size. If we were to push the `asf-site` branch to a different repository we can stop doing the squashing. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-website] zregvart commented on a change in pull request #741: Resolves issue #733: modifications to publish to separate git repo
zregvart commented on a change in pull request #741: URL: https://github.com/apache/camel-website/pull/741#discussion_r800490804 ## File path: .asf.yaml ## @@ -17,18 +17,6 @@ notifications: pullrequests: commits@camel.apache.org - jira_options: link label comment + jira_options: link label= publish: whoami: asf-site Review comment: This is read by the tools used to publish the website, see [chapter 5. Publishing](https://infra.apache.org/project-site.html), and might end up causing issues when publishing. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-website] zregvart commented on a change in pull request #741: Resolves issue #733: modifications to publish to separate git repo
zregvart commented on a change in pull request #741: URL: https://github.com/apache/camel-website/pull/741#discussion_r800492808 ## File path: static/.asf.yaml ## @@ -0,0 +1,34 @@ +# Review comment: As far as I understand the [documentation](https://infra.apache.org/project-site.html) on publishing the website, the built website from camel-website-pub repository will not be published without it. This is a requirement for publishing the website that the git repository with the website content contains `.asf.yaml` file. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-karaf] branch main updated: Upgrade AWS SDK v2 to version 2.17.121_1
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-karaf.git The following commit(s) were added to refs/heads/main by this push: new a2a2f1e Upgrade AWS SDK v2 to version 2.17.121_1 a2a2f1e is described below commit a2a2f1e6ed4b8e1586999ddda84e4cc5e44205fe Author: Andrea Cosentino AuthorDate: Mon Feb 7 10:59:51 2022 +0100 Upgrade AWS SDK v2 to version 2.17.121_1 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index fbbb6c8..52839f5 100644 --- a/pom.xml +++ b/pom.xml @@ -125,7 +125,7 @@ 4.3.1_1 1.21 2.12.3 -2.17.102_1 +2.17.121_1 1.16.0_1 2.0.3_1 5.8.0_1
[GitHub] [camel-website] zregvart commented on pull request #741: Resolves issue #733: modifications to publish to separate git repo
zregvart commented on pull request #741: URL: https://github.com/apache/camel-website/pull/741#issuecomment-1031286971 > I believe I'm no longer a PMC member so someone else will have to create the repository, if we proceed with this. I've created the repository (https://gitbox.apache.org/repos/asf?p=camel-website-pub.git, https://github.com/apache/camel-website-pub) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] ppalaga opened a new pull request #3528: Incorrect version of quarkus-maven-plugin may be resolved #3520
ppalaga opened a new pull request #3528: URL: https://github.com/apache/camel-quarkus/pull/3528 This should make it possible to run the build also on Maven 3.8.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-quarkus] jamesnetherton merged pull request #3527: [2.7.x] backports
jamesnetherton merged pull request #3527: URL: https://github.com/apache/camel-quarkus/pull/3527 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-quarkus] 01/05: Improve SQL extension docs for native mode aggregation repository suppport
This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a commit to branch 2.7.x in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git commit 3bf0a5f8edd3b7401dc49532a1c2e3d02edb9807 Author: James Netherton AuthorDate: Fri Feb 4 14:04:27 2022 + Improve SQL extension docs for native mode aggregation repository suppport --- .../ROOT/pages/reference/extensions/sql.adoc | 9 +- .../sql/runtime/src/main/doc/configuration.adoc| 9 +- .../cassandraql/it/CassandraqlRoutes.java | 119 + 3 files changed, 125 insertions(+), 12 deletions(-) diff --git a/docs/modules/ROOT/pages/reference/extensions/sql.adoc b/docs/modules/ROOT/pages/reference/extensions/sql.adoc index 7a4e525..675ee4d 100644 --- a/docs/modules/ROOT/pages/reference/extensions/sql.adoc +++ b/docs/modules/ROOT/pages/reference/extensions/sql.adoc @@ -79,12 +79,9 @@ When configuring `sql` or `sql-stored` endpoints to reference script files from quarkus.native.resources.includes = queries.sql, sql/*.sql -=== SQL Aggregator - -If your exchanges in native mode contain objects, which are not automatically registered for serialization (see xref:extensions/core.adoc#quarkus.camel.native.reflection.serialization-enabled[documentation]), -you have to register them manually (see xref:extensions/core.adoc#quarkus.camel.native.reflection.serialization-enabled[documentation]) - - +=== SQL aggregation repository in native mode +In order to use SQL aggregation repositories like `JdbcAggregationRepository` in native mode, you must xref:extensions/core.adoc#quarkus.camel.native.reflection.serialization-enabled[enable native serialization support]. +In addition, if your exchange bodies are custom types, they must be registered for serialization by annotating their class declaration with `@RegisterForReflection(serialization = true)`. diff --git a/extensions/sql/runtime/src/main/doc/configuration.adoc b/extensions/sql/runtime/src/main/doc/configuration.adoc index bb17fe6..ae69ede 100644 --- a/extensions/sql/runtime/src/main/doc/configuration.adoc +++ b/extensions/sql/runtime/src/main/doc/configuration.adoc @@ -27,11 +27,8 @@ When configuring `sql` or `sql-stored` endpoints to reference script files from quarkus.native.resources.includes = queries.sql, sql/*.sql -=== SQL Aggregator - -If your exchanges in native mode contain objects, which are not automatically registered for serialization (see xref:extensions/core.adoc#quarkus.camel.native.reflection.serialization-enabled[documentation]), -you have to register them manually (see xref:extensions/core.adoc#quarkus.camel.native.reflection.serialization-enabled[documentation]) - - +=== SQL aggregation repository in native mode +In order to use SQL aggregation repositories like `JdbcAggregationRepository` in native mode, you must xref:extensions/core.adoc#quarkus.camel.native.reflection.serialization-enabled[enable native serialization support]. +In addition, if your exchange bodies are custom types, they must be registered for serialization by annotating their class declaration with `@RegisterForReflection(serialization = true)`. diff --git a/integration-tests/cassandraql/src/main/java/org/apache/camel/quarkus/component/cassandraql/it/CassandraqlRoutes.java b/integration-tests/cassandraql/src/main/java/org/apache/camel/quarkus/component/cassandraql/it/CassandraqlRoutes.java new file mode 100644 index 000..d12714e --- /dev/null +++ b/integration-tests/cassandraql/src/main/java/org/apache/camel/quarkus/component/cassandraql/it/CassandraqlRoutes.java @@ -0,0 +1,119 @@ +/* + * 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.cassandraql.it; + +import java.net.InetSocketAddress; + +import javax.enterprise.context.ApplicationScoped; +import javax.inject.Inject; +import javax.inject.Named; + +import com.datastax.oss.driver.api.core.CqlSession; +import com.datastax.oss.driver.api.core.CqlSessionBuilder; +import com.datastax.oss.quarkus.runtime.api.session.QuarkusCqlSession; + +import org.apache.camel.AggregationStrategy; +import org.apache.camel.BindToRegistry; +import org.apache.camel.bu
[camel-quarkus] 05/05: Fix groovy antora update script execution
This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a commit to branch 2.7.x in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git commit f906d679af1931da99cdc6bb5064aafe9b3732ac Author: James Netherton AuthorDate: Fri Feb 4 14:55:31 2022 + Fix groovy antora update script execution --- docs/pom.xml | 12 1 file changed, 12 insertions(+) diff --git a/docs/pom.xml b/docs/pom.xml index bbb3ea3..e0b8a7f 100644 --- a/docs/pom.xml +++ b/docs/pom.xml @@ -45,6 +45,18 @@ validate file://${maven.multiModuleProjectDirectory}/tooling/scripts/update-antora-config.groovy + + ${maven.multiModuleProjectDirectory} + + + + +update-antora-yaml + +execute + +validate + file://${maven.multiModuleProjectDirectory}/tooling/scripts/update-antora-yaml.groovy ${maven.multiModuleProjectDirectory}
[camel-quarkus] branch 2.7.x updated (fc1c995 -> f906d67)
This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a change to branch 2.7.x in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git. from fc1c995 Prevent various plugins from resolving commons-logging:commons-logging #3517 new 3bf0a5f Improve SQL extension docs for native mode aggregation repository suppport new fc1f704 Expand Cassandra CQL extension test coverage new a540259 Build with Maven 3.8.4 new c6b3ac2 Clean up usage of quarkus.test.flat-class-path new f906d67 Fix groovy antora update script execution The 5 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: .mvn/wrapper/maven-wrapper.properties |2 +- .../pages/reference/extensions/cassandraql.adoc|9 + .../ROOT/pages/reference/extensions/sql.adoc |9 +- docs/pom.xml | 12 + .../deployment/CassandraqlProcessor.java |7 - .../runtime/src/main/doc/configuration.adoc|5 + .../sql/runtime/src/main/doc/configuration.adoc|9 +- integration-tests/cassandraql/pom.xml | 53 +- .../cassandraql/it/CassandraqlProducers.java | 61 + .../cassandraql/it/CassandraqlResource.java| 141 +- .../cassandraql/it/CassandraqlRoutes.java | 127 ++ .../cassandraql/it/CustomLoadBalancingPolicy.java | 47 + .../quarkus/component/cassandraql/it/Employee.java |8 +- .../src/main/resources/application.properties |5 +- .../component/cassandraql/it/CassandraqlTest.java | 208 ++- .../cassandraql/it/CassandraqlTestResource.java| 55 +- .../src/test/resources/cassandra/cassandra.yaml| 1456 .../src/main/resources/application.properties |1 - .../ftp/src/main/resources/application.properties | 17 - .../jslt/src/main/resources/application.properties |1 - .../src/main/resources/application.properties |1 - 21 files changed, 2090 insertions(+), 144 deletions(-) create mode 100644 extensions/cassandraql/runtime/src/main/doc/configuration.adoc create mode 100644 integration-tests/cassandraql/src/main/java/org/apache/camel/quarkus/component/cassandraql/it/CassandraqlProducers.java create mode 100644 integration-tests/cassandraql/src/main/java/org/apache/camel/quarkus/component/cassandraql/it/CassandraqlRoutes.java create mode 100644 integration-tests/cassandraql/src/main/java/org/apache/camel/quarkus/component/cassandraql/it/CustomLoadBalancingPolicy.java copy integration-tests/{jslt => cassandraql}/src/main/resources/application.properties (81%) create mode 100644 integration-tests/cassandraql/src/test/resources/cassandra/cassandra.yaml delete mode 100644 integration-tests/ftp/src/main/resources/application.properties
[camel-quarkus] 02/05: Expand Cassandra CQL extension test coverage
This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a commit to branch 2.7.x in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git commit fc1f7042bf15669d092ae26ed82dd28f4d7cee90 Author: James Netherton AuthorDate: Fri Feb 4 14:08:17 2022 + Expand Cassandra CQL extension test coverage Fixes #3514 --- .../pages/reference/extensions/cassandraql.adoc|9 + .../deployment/CassandraqlProcessor.java |7 - .../runtime/src/main/doc/configuration.adoc|5 + integration-tests/cassandraql/pom.xml | 53 +- .../cassandraql/it/CassandraqlProducers.java | 61 + .../cassandraql/it/CassandraqlResource.java| 141 +- .../cassandraql/it/CassandraqlRoutes.java | 56 +- .../cassandraql/it/CustomLoadBalancingPolicy.java | 47 + .../quarkus/component/cassandraql/it/Employee.java |8 +- .../src/main/resources/application.properties | 22 + .../component/cassandraql/it/CassandraqlTest.java | 208 ++- .../cassandraql/it/CassandraqlTestResource.java| 55 +- .../src/test/resources/cassandra/cassandra.yaml| 1456 13 files changed, 1994 insertions(+), 134 deletions(-) diff --git a/docs/modules/ROOT/pages/reference/extensions/cassandraql.adoc b/docs/modules/ROOT/pages/reference/extensions/cassandraql.adoc index bd63447..42bccf0 100644 --- a/docs/modules/ROOT/pages/reference/extensions/cassandraql.adoc +++ b/docs/modules/ROOT/pages/reference/extensions/cassandraql.adoc @@ -38,3 +38,12 @@ Or add the coordinates to your existing project: Check the xref:user-guide/index.adoc[User guide] for more information about writing Camel Quarkus applications. + +== Additional Camel Quarkus configuration + +=== Cassandra aggregation repository in native mode + +In order to use Cassandra aggregation repositories like `CassandraAggregationRepository` in native mode, you must xref:extensions/core.adoc#quarkus.camel.native.reflection.serialization-enabled[enable native serialization support]. + +In addition, if your exchange bodies are custom types, then they must be registered for serialization by annotating their class declaration with `@RegisterForReflection(serialization = true)`. + diff --git a/extensions/cassandraql/deployment/src/main/java/org/apache/camel/quarkus/component/cassandraql/deployment/CassandraqlProcessor.java b/extensions/cassandraql/deployment/src/main/java/org/apache/camel/quarkus/component/cassandraql/deployment/CassandraqlProcessor.java index 7a410d1..d9e7fc6 100644 --- a/extensions/cassandraql/deployment/src/main/java/org/apache/camel/quarkus/component/cassandraql/deployment/CassandraqlProcessor.java +++ b/extensions/cassandraql/deployment/src/main/java/org/apache/camel/quarkus/component/cassandraql/deployment/CassandraqlProcessor.java @@ -16,10 +16,8 @@ */ package org.apache.camel.quarkus.component.cassandraql.deployment; -import com.datastax.oss.driver.internal.core.metrics.DropwizardMetricsFactory; import io.quarkus.deployment.annotations.BuildStep; import io.quarkus.deployment.builditem.FeatureBuildItem; -import io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem; class CassandraqlProcessor { @@ -29,9 +27,4 @@ class CassandraqlProcessor { FeatureBuildItem feature() { return new FeatureBuildItem(FEATURE); } - -@BuildStep -ReflectiveClassBuildItem registerForReflection() { -return new ReflectiveClassBuildItem(false, false, DropwizardMetricsFactory.class); -} } diff --git a/extensions/cassandraql/runtime/src/main/doc/configuration.adoc b/extensions/cassandraql/runtime/src/main/doc/configuration.adoc new file mode 100644 index 000..787e853 --- /dev/null +++ b/extensions/cassandraql/runtime/src/main/doc/configuration.adoc @@ -0,0 +1,5 @@ +=== Cassandra aggregation repository in native mode + +In order to use Cassandra aggregation repositories like `CassandraAggregationRepository` in native mode, you must xref:extensions/core.adoc#quarkus.camel.native.reflection.serialization-enabled[enable native serialization support]. + +In addition, if your exchange bodies are custom types, then they must be registered for serialization by annotating their class declaration with `@RegisterForReflection(serialization = true)`. diff --git a/integration-tests/cassandraql/pom.xml b/integration-tests/cassandraql/pom.xml index f9c4109..74facf7 100644 --- a/integration-tests/cassandraql/pom.xml +++ b/integration-tests/cassandraql/pom.xml @@ -33,15 +33,23 @@ org.apache.camel.quarkus +camel-quarkus-bean + + +org.apache.camel.quarkus camel-quarkus-cassandraql -io.quarkus -quarkus-resteasy +org.apache.camel.quarkus +camel-quarkus-direct + + +org.apache.camel.quarkus +camel-quark
[camel-quarkus] 04/05: Clean up usage of quarkus.test.flat-class-path
This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a commit to branch 2.7.x in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git commit c6b3ac2e61a2a001b0302ff3da2d66b321b6a464 Author: James Netherton AuthorDate: Fri Feb 4 14:36:12 2022 + Clean up usage of quarkus.test.flat-class-path --- .../debezium/src/main/resources/application.properties | 1 - .../ftp/src/main/resources/application.properties | 17 - .../jslt/src/main/resources/application.properties | 1 - .../src/main/resources/application.properties | 1 - 4 files changed, 20 deletions(-) diff --git a/integration-tests/debezium/src/main/resources/application.properties b/integration-tests/debezium/src/main/resources/application.properties index 25fd961..6be700d 100644 --- a/integration-tests/debezium/src/main/resources/application.properties +++ b/integration-tests/debezium/src/main/resources/application.properties @@ -17,4 +17,3 @@ #sql docker container's security is enabled quarkus.ssl.native=true -quarkus.test.flat-class-path=true diff --git a/integration-tests/ftp/src/main/resources/application.properties b/integration-tests/ftp/src/main/resources/application.properties deleted file mode 100644 index eaabb9f7..000 --- a/integration-tests/ftp/src/main/resources/application.properties +++ /dev/null @@ -1,17 +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. -## --- -quarkus.test.flat-class-path=true \ No newline at end of file diff --git a/integration-tests/jslt/src/main/resources/application.properties b/integration-tests/jslt/src/main/resources/application.properties index c03db50..4e42ad5 100644 --- a/integration-tests/jslt/src/main/resources/application.properties +++ b/integration-tests/jslt/src/main/resources/application.properties @@ -16,4 +16,3 @@ ## --- quarkus.native.resources.includes = demoPlayground/*.json,objectFilter/*.json,withVariables/*.json -quarkus.test.flat-class-path=true diff --git a/integration-tests/xmlsecurity/src/main/resources/application.properties b/integration-tests/xmlsecurity/src/main/resources/application.properties index 2117679..29514b0 100644 --- a/integration-tests/xmlsecurity/src/main/resources/application.properties +++ b/integration-tests/xmlsecurity/src/main/resources/application.properties @@ -15,4 +15,3 @@ ## limitations under the License. ## --- quarkus.native.resources.includes=*.xsl -quarkus.test.flat-class-path=true
[camel-quarkus] 03/05: Build with Maven 3.8.4
This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a commit to branch 2.7.x in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git commit a5402590e44bfdb8bea62a4829c63d930883d3b4 Author: James Netherton AuthorDate: Fri Feb 4 14:26:54 2022 + Build with Maven 3.8.4 --- .mvn/wrapper/maven-wrapper.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.mvn/wrapper/maven-wrapper.properties b/.mvn/wrapper/maven-wrapper.properties index fade205..59ce113 100644 --- a/.mvn/wrapper/maven-wrapper.properties +++ b/.mvn/wrapper/maven-wrapper.properties @@ -1,2 +1,2 @@ -distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.1/apache-maven-3.8.1-bin.zip +distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.4/apache-maven-3.8.4-bin.zip wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.5/maven-wrapper-0.5.5.jar
[camel-spring-boot-examples] branch main updated: CAMEL-17587: camel-health - Make Health Check API simpler
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-spring-boot-examples.git The following commit(s) were added to refs/heads/main by this push: new ea24f89 CAMEL-17587: camel-health - Make Health Check API simpler ea24f89 is described below commit ea24f893dbb4872de3a7ea652a59874f1ecba2c8 Author: Claus Ibsen AuthorDate: Mon Feb 7 11:10:03 2022 +0100 CAMEL-17587: camel-health - Make Health Check API simpler --- health-checks/readme.adoc | 2 +- health-checks/src/main/resources/application.properties | 13 - 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/health-checks/readme.adoc b/health-checks/readme.adoc index 4d211e2..dd58f94 100644 --- a/health-checks/readme.adoc +++ b/health-checks/readme.adoc @@ -2,7 +2,7 @@ This example shows how to work with a simple Apache Camel application using Spring Boot. -NOTE: Some of the routes fail intentionally to have health check monitor their failures +NOTE: Some routes fail intentionally to have health check monitor their failures === How to run diff --git a/health-checks/src/main/resources/application.properties b/health-checks/src/main/resources/application.properties index c3d29dc..1ccbb76 100644 --- a/health-checks/src/main/resources/application.properties +++ b/health-checks/src/main/resources/application.properties @@ -66,21 +66,8 @@ camel.health.registry-enabled = true ### camel.heath.config[netty].check = routes ### camel.heath.config[netty].enabled = false -# and configure each individually -camel.health.config[timer].parent = routes -camel.health.config[timer].interval = 5000 -camel.health.config[netty].parent = routes -camel.health.config[netty].interval = 2 -camel.health.config[netty].failure-threshold = 10 - # find grained routes configuration per route (support wildcards) # (enabled is default true for discovered health-checks) ### camel.health.config[*].enabled = true -# allow 5 failures with 10s apart as slack to handle routes being flaky -# however if after 5 failures then the state will be regarded as DOWN onwards -# (the route can recover and the state will then be UP) -###camel.health.config[*].parent = routes -###camel.health.config[*].interval = 10s -###camel.health.config[*].failure-threshold = 5
[camel-spring-boot] branch main updated: CAMEL-17587: camel-health - Make Health Check API simpler
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git The following commit(s) were added to refs/heads/main by this push: new 8d10d74 CAMEL-17587: camel-health - Make Health Check API simpler 8d10d74 is described below commit 8d10d747dc3896530aea613dc12805049e24a490 Author: Claus Ibsen AuthorDate: Mon Feb 7 11:05:59 2022 +0100 CAMEL-17587: camel-health - Make Health Check API simpler --- .../src/main/docs/spring-boot.json | 12 .../health/CamelHealthCheckAutoConfiguration.java | 2 -- .../CamelHealthCheckConfigurationProperties.java | 32 -- 3 files changed, 46 deletions(-) diff --git a/core/camel-spring-boot/src/main/docs/spring-boot.json b/core/camel-spring-boot/src/main/docs/spring-boot.json index 6c83108..7409d1e 100644 --- a/core/camel-spring-boot/src/main/docs/spring-boot.json +++ b/core/camel-spring-boot/src/main/docs/spring-boot.json @@ -407,18 +407,6 @@ "sourceType": "org.apache.camel.spring.boot.actuate.health.CamelHealthCheckConfigurationProperties$HealthCheckConfigurationProperties" }, { - "name": "camel.health.config.failure-threshold", - "type": "java.lang.Integer", - "description": "Set the number of failure before reporting the service as un-healthy.", - "sourceType": "org.apache.camel.spring.boot.actuate.health.CamelHealthCheckConfigurationProperties$HealthCheckConfigurationProperties" -}, -{ - "name": "camel.health.config.interval", - "type": "java.lang.Long", - "description": "Set the check interval in milli seconds.", - "sourceType": "org.apache.camel.spring.boot.actuate.health.CamelHealthCheckConfigurationProperties$HealthCheckConfigurationProperties" -}, -{ "name": "camel.health.config.parent", "type": "java.lang.String", "description": "The id of the health check such as routes or registry (can use * as wildcard)", diff --git a/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/health/CamelHealthCheckAutoConfiguration.java b/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/health/CamelHealthCheckAutoConfiguration.java index d349c47..9edac6d 100644 --- a/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/health/CamelHealthCheckAutoConfiguration.java +++ b/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/health/CamelHealthCheckAutoConfiguration.java @@ -130,8 +130,6 @@ public class CamelHealthCheckAutoConfiguration { if (hc instanceof HealthCheck) { ((HealthCheck) hc).getConfiguration().setParent(hcc.getParent()); ((HealthCheck) hc).getConfiguration().setEnabled(hcc.getEnabled() != null ? hcc.getEnabled() : true); -((HealthCheck) hc).getConfiguration().setFailureThreshold(hcc.getFailureThreshold()); -((HealthCheck) hc).getConfiguration().setInterval(hcc.getInterval()); } else if (hc instanceof HealthCheckRepository) { ((HealthCheckRepository) hc).addConfiguration(id, hcc.toHealthCheckConfiguration()); } diff --git a/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/health/CamelHealthCheckConfigurationProperties.java b/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/health/CamelHealthCheckConfigurationProperties.java index 435161c..5ab08b8 100644 --- a/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/health/CamelHealthCheckConfigurationProperties.java +++ b/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/health/CamelHealthCheckConfigurationProperties.java @@ -128,16 +128,6 @@ public class CamelHealthCheckConfigurationProperties { */ private Boolean enabled; -/** - * Set the check interval in milli seconds. - */ -private Long interval; - -/** - * Set the number of failure before reporting the service as un-healthy. - */ -private Integer failureThreshold; - public String getParent() { return parent; } @@ -154,34 +144,12 @@ public class CamelHealthCheckConfigurationProperties { this.enabled = enabled; } -public Long getInterval() { -return interval; -} - -public void setInterval(Long interval) { -this.interval = interval; -} - -public Integer getFailureThreshold() { -return failureThreshold; -} - -public void setFailureThreshold(Integer failureThreshold) { -this.failureThreshold = failureThreshold; -} - public HealthCheckConfiguration toHealthCheckConfiguration() { Health
[camel] 01/02: CAMEL-17587: camel-health - Make Health Check API simpler
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit df1d150dc73c8bb4d118cafcf9a4f33a8c5c1a44 Author: Claus Ibsen AuthorDate: Mon Feb 7 10:56:55 2022 +0100 CAMEL-17587: camel-health - Make Health Check API simpler --- ...nsumerHealthCheckErrorDisabledConsumerTest.java | 4 - .../TelegramConsumerHealthCheckErrorTest.java | 7 -- .../camel/health/HealthCheckConfiguration.java | 89 +--- .../org/apache/camel/health/HealthCheckFilter.java | 2 +- .../apache/camel/impl/health/HealthCheckTest.java | 108 --- .../camel/impl/health/AbstractHealthCheck.java | 116 - .../impl/health/HealthCheckRegistryRepository.java | 3 - ...althCheckConfigurationPropertiesConfigurer.java | 18 .../org/apache/camel/main/BaseMainSupport.java | 3 - .../camel/main/MainHealthCheckConfigTest.java | 6 -- .../api/management/mbean/CamelOpenMBeanTypes.java | 9 +- .../camel/management/mbean/ManagedCamelHealth.java | 10 +- .../ROOT/pages/camel-3x-upgrade-guide-3_16.adoc| 28 +++-- 13 files changed, 51 insertions(+), 352 deletions(-) diff --git a/components/camel-telegram/src/test/java/org/apache/camel/component/telegram/TelegramConsumerHealthCheckErrorDisabledConsumerTest.java b/components/camel-telegram/src/test/java/org/apache/camel/component/telegram/TelegramConsumerHealthCheckErrorDisabledConsumerTest.java index 1544d99..a9424bb 100644 --- a/components/camel-telegram/src/test/java/org/apache/camel/component/telegram/TelegramConsumerHealthCheckErrorDisabledConsumerTest.java +++ b/components/camel-telegram/src/test/java/org/apache/camel/component/telegram/TelegramConsumerHealthCheckErrorDisabledConsumerTest.java @@ -45,14 +45,10 @@ public class TelegramConsumerHealthCheckErrorDisabledConsumerTest extends Telegr // enabling routes health check is a bit cumbersome via low-level Java code HealthCheckRegistry hcr = context.getExtension(HealthCheckRegistry.class); HealthCheckRepository repo = hcr.getRepository("routes").orElse((HealthCheckRepository) hcr.resolveById("routes")); -// add some slack so the check should fail 5 times in a row to be DOWN -repo.addConfiguration("*", HealthCheckConfiguration.builder().failureThreshold(5).build()); repo.setEnabled(true); hcr.register(repo); // enabling consumers health check is a bit cumbersome via low-level Java code repo = hcr.getRepository("consumers").orElse((HealthCheckRepository) hcr.resolveById("consumers")); -// add some slack so the check should fail 5 times in a row to be DOWN -repo.addConfiguration("consumer:telegram", HealthCheckConfiguration.builder().failureThreshold(5).build()); // turn off all consumer health checks repo.addConfiguration("consumer:*", HealthCheckConfiguration.builder().enabled(false).build()); repo.setEnabled(true); diff --git a/components/camel-telegram/src/test/java/org/apache/camel/component/telegram/TelegramConsumerHealthCheckErrorTest.java b/components/camel-telegram/src/test/java/org/apache/camel/component/telegram/TelegramConsumerHealthCheckErrorTest.java index 64890a4..25f586e 100644 --- a/components/camel-telegram/src/test/java/org/apache/camel/component/telegram/TelegramConsumerHealthCheckErrorTest.java +++ b/components/camel-telegram/src/test/java/org/apache/camel/component/telegram/TelegramConsumerHealthCheckErrorTest.java @@ -26,7 +26,6 @@ import org.apache.camel.component.mock.MockEndpoint; import org.apache.camel.component.telegram.util.TelegramMockRoutes; import org.apache.camel.component.telegram.util.TelegramTestSupport; import org.apache.camel.health.HealthCheck; -import org.apache.camel.health.HealthCheckConfiguration; import org.apache.camel.health.HealthCheckRegistry; import org.apache.camel.health.HealthCheckRepository; import org.awaitility.Awaitility; @@ -46,8 +45,6 @@ public class TelegramConsumerHealthCheckErrorTest extends TelegramTestSupport { HealthCheckRegistry hcr = context.getExtension(HealthCheckRegistry.class); HealthCheckRepository repo = hcr.getRepository("consumers").orElse((HealthCheckRepository) hcr.resolveById("consumers")); -// add some slack so the check should fail 5 times in a row to be DOWN -repo.addConfiguration("consumer:telegram", HealthCheckConfiguration.builder().failureThreshold(5).build()); repo.setEnabled(true); hcr.register(repo); @@ -59,10 +56,6 @@ public class TelegramConsumerHealthCheckErrorTest extends TelegramTestSupport { HealthCheckRegistry hcr = context.getExtension(HealthCheckRegistry.class); HealthCheckRepository repo = hcr.getRepository("consumers").get(); -// should not be DOWN from the start -boolean down = repo.str
[camel] 02/02: CAMEL-17587: camel-health - Make Health Check API simpler
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit f6aa927b38ff779664ea90e2b7ca476b58e6003b Author: Claus Ibsen AuthorDate: Mon Feb 7 11:06:06 2022 +0100 CAMEL-17587: camel-health - Make Health Check API simpler --- docs/user-manual/modules/ROOT/pages/health-check.adoc | 17 ++--- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/docs/user-manual/modules/ROOT/pages/health-check.adoc b/docs/user-manual/modules/ROOT/pages/health-check.adoc index a948dbc..2f331af 100644 --- a/docs/user-manual/modules/ROOT/pages/health-check.adoc +++ b/docs/user-manual/modules/ROOT/pages/health-check.adoc @@ -13,7 +13,7 @@ Camel provides support to probe the state of an integration via a pluggable Heal Camel provides the following health checks out of the box: - _context_ - A `HealthCheck` which performs check whether the `CamelContext` is started. This can be used for readiness checks; to know when Camel is fully started and ready to handle traffic. -- routes - A `HealthCheckRegistry` which discovers all the available routes in `CamelContext` and checks whether they are all started. +- _routes_ - A `HealthCheckRegistry` which discovers all the available routes in `CamelContext` and checks whether they are all started. This can be used for readiness checks; to know when Camel is fully started and ready to handle traffic. Combining with the supervised `RouteController` this allows to perform readiness check for routes that are under supervising, such as troublesome routes that may not start up the first time, and are retried to be started in the background with backoff delays. @@ -58,21 +58,10 @@ The `HealthCheckConfiguration` has the following options: [%header,cols=3*] | | Name | Default | Description +| parent | | The parent group this health check belongs to, such as context, routes, or consumers. | enabled | true | Set if the check associated to this configuration is enabled or not. -| interval | | Set the check interval in milliseconds. -| successThreshold | | Set the number of success before reporting the service as healthy. -| failureThreshold | | Set the number of failure before reporting the service as un-healthy. | -The `interval`, `successThreshold`, and `failureThreshold` are used for configuring health checks to deal with flaky checks. -For example assume you do not want to regard a check as immediately DOWN when a check for the first time returns a response as DOWN. -So you can specify the `interval=1` and `failureThreshold=5`, which means that the check has slacks, and will -only report it as DOWN when there has been 5 failures in a row, with a minimum of 10 second of interval between these checks. -So in other words after minimum 50 seconds and 5 calls then it can be reported as DOWN. - -The `successThreshold` is used for number of successful checks in a row before the check is regarded as UP. -By default, this is not in use, and the first successful check will result in UP. - == Configuring health-check Camel supports via `camel-main` to configure health-checks from configuration files. This is possible for runtimes that leverage `camel-main` @@ -116,8 +105,6 @@ camel.health.config[kafka*].parent=routes camel.health.config[kafka*].enabled=false camel.health.config[*].parent=routes camel.health.config[*].enabled=true -camel.health.config[*].success-threshold=3 -camel.health.config[*].failure-threshold=10 === Turning off consumer level health-checks
[camel] branch main updated (3486490 -> f6aa927)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel.git. from 3486490 CAMEL-17606: Add property to route builder to refer to a property placeholder using {{ }} syntax. And also useable for EndpointDSL. new df1d150 CAMEL-17587: camel-health - Make Health Check API simpler new f6aa927 CAMEL-17587: camel-health - Make Health Check API simpler 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: ...nsumerHealthCheckErrorDisabledConsumerTest.java | 4 - .../TelegramConsumerHealthCheckErrorTest.java | 7 -- .../camel/health/HealthCheckConfiguration.java | 89 +--- .../org/apache/camel/health/HealthCheckFilter.java | 2 +- .../apache/camel/impl/health/HealthCheckTest.java | 108 --- .../camel/impl/health/AbstractHealthCheck.java | 116 - .../impl/health/HealthCheckRegistryRepository.java | 3 - ...althCheckConfigurationPropertiesConfigurer.java | 18 .../org/apache/camel/main/BaseMainSupport.java | 3 - .../camel/main/MainHealthCheckConfigTest.java | 6 -- .../api/management/mbean/CamelOpenMBeanTypes.java | 9 +- .../camel/management/mbean/ManagedCamelHealth.java | 10 +- .../ROOT/pages/camel-3x-upgrade-guide-3_16.adoc| 28 +++-- .../modules/ROOT/pages/health-check.adoc | 17 +-- 14 files changed, 53 insertions(+), 367 deletions(-)
[camel] branch regen_bot updated (ec64401 -> 3486490)
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 ec64401 (chores) experimental ci: remove redundant workflow in CodeQL analysis add 3486490 CAMEL-17606: Add property to route builder to refer to a property placeholder using {{ }} syntax. And also useable for EndpointDSL. No new revisions were added by this update. Summary of changes: .../src/main/java/org/apache/camel/builder/RouteBuilder.java | 10 ++ .../properties/PropertiesPropertyTest.java}| 8 ...opertyPlaceholderTest.java => PropertyPlaceholderTest.java} | 9 + 3 files changed, 19 insertions(+), 8 deletions(-) copy core/camel-core/src/test/java/org/apache/camel/{processor/ToDynamicFluentTest.java => component/properties/PropertiesPropertyTest.java} (82%) copy dsl/camel-endpointdsl/src/test/java/org/apache/camel/builder/endpoint/{OptionalPropertyPlaceholderTest.java => PropertyPlaceholderTest.java} (93%)
[camel-examples] branch main updated: CAMEL-17587: camel-health - Make Health Check API simpler
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-examples.git The following commit(s) were added to refs/heads/main by this push: new 9f45f07 CAMEL-17587: camel-health - Make Health Check API simpler 9f45f07 is described below commit 9f45f0792e9008ad039db9c838e7689f31260f82 Author: Claus Ibsen AuthorDate: Mon Feb 7 11:11:49 2022 +0100 CAMEL-17587: camel-health - Make Health Check API simpler --- .../main-health/src/main/resources/application.properties | 14 -- 1 file changed, 14 deletions(-) diff --git a/examples/main-health/src/main/resources/application.properties b/examples/main-health/src/main/resources/application.properties index a4e51f1..3c3d6d8 100644 --- a/examples/main-health/src/main/resources/application.properties +++ b/examples/main-health/src/main/resources/application.properties @@ -50,23 +50,9 @@ camel.health.registry-enabled = true ### camel.health.config[netty].check = routes ### camel.health.config[netty].enabled = false -# and configure each individually -camel.health.config[timer].parent = routes -camel.health.config[timer].interval = 5s -camel.health.config[netty].parent = routes -camel.health.config[netty].interval = 20s -camel.health.config[netty].failure-threshold = 10 - # find grained routes configuration per route (support wildcards) # (enabled is default true for discovered health-checks) ### camel.health.config[*].enabled = true -# allow 5 failures with 10s apart as slack to handle routes being flaky -# however if after 5 failures then the state will be regarded as DOWN onwards -# (the route can recover and the state will then be UP) -###camel.health.config[*].parent = routes -###camel.health.config[*].interval = 10s -###camel.health.config[*].failure-threshold = 5 - # properties used in the route myPeriod = 10s
[GitHub] [camel] orpiske opened a new pull request #6896: (chores) experimental ci: Fix maven build for CodeQL
orpiske opened a new pull request #6896: URL: https://github.com/apache/camel/pull/6896 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus-examples] jamesnetherton merged pull request #72: Build with Maven 3.8.4
jamesnetherton merged pull request #72: URL: https://github.com/apache/camel-quarkus-examples/pull/72 -- 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-17587: camel-health - Make Health Check API simpler
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 2988390 CAMEL-17587: camel-health - Make Health Check API simpler 2988390 is described below commit 298839077b8be3fffbcfd533308e5b69ff00f723 Author: Claus Ibsen AuthorDate: Mon Feb 7 11:18:55 2022 +0100 CAMEL-17587: camel-health - Make Health Check API simpler --- .../org/apache/camel/health/HealthCheckConfiguration.java | 14 ++ docs/user-manual/modules/ROOT/pages/health-check.adoc | 12 ++-- 2 files changed, 20 insertions(+), 6 deletions(-) diff --git a/core/camel-api/src/main/java/org/apache/camel/health/HealthCheckConfiguration.java b/core/camel-api/src/main/java/org/apache/camel/health/HealthCheckConfiguration.java index 22eaeb9..ad000d0 100644 --- a/core/camel-api/src/main/java/org/apache/camel/health/HealthCheckConfiguration.java +++ b/core/camel-api/src/main/java/org/apache/camel/health/HealthCheckConfiguration.java @@ -29,8 +29,11 @@ public class HealthCheckConfiguration implements Cloneable { private String parent; private boolean enabled = true; +@Deprecated private long interval; +@Deprecated private int failureThreshold; +@Deprecated private int successThreshold; // * @@ -61,6 +64,7 @@ public class HealthCheckConfiguration implements Cloneable { this.enabled = enabled; } +@Deprecated public long getInterval() { return interval; } @@ -68,10 +72,12 @@ public class HealthCheckConfiguration implements Cloneable { /** * Set the check interval in milli seconds. */ +@Deprecated public void setInterval(long interval) { this.interval = interval; } +@Deprecated public int getFailureThreshold() { return failureThreshold; } @@ -79,10 +85,12 @@ public class HealthCheckConfiguration implements Cloneable { /** * Set the number of failure before reporting the service as un-healthy. */ +@Deprecated public void setFailureThreshold(int failureThreshold) { this.failureThreshold = failureThreshold; } +@Deprecated public int getSuccessThreshold() { return successThreshold; } @@ -90,6 +98,7 @@ public class HealthCheckConfiguration implements Cloneable { /** * Set the number of success before reporting the service as healthy. */ +@Deprecated public void setSuccessThreshold(int successThreshold) { this.successThreshold = successThreshold; } @@ -152,27 +161,32 @@ public class HealthCheckConfiguration implements Cloneable { return this; } +@Deprecated public Builder interval(Duration interval) { this.interval = interval.toMillis(); return this; } +@Deprecated public Builder interval(String interval) { return ObjectHelper.isNotEmpty(interval) ? interval(TimeUtils.toMilliSeconds(interval)) : this; } +@Deprecated public Builder interval(long interval) { this.interval = interval; return this; } +@Deprecated public Builder failureThreshold(int failureThreshold) { this.failureThreshold = failureThreshold; return this; } +@Deprecated public Builder successThreshold(int successThreshold) { this.successThreshold = successThreshold; return this; diff --git a/docs/user-manual/modules/ROOT/pages/health-check.adoc b/docs/user-manual/modules/ROOT/pages/health-check.adoc index e5c49d3..6a29938 100644 --- a/docs/user-manual/modules/ROOT/pages/health-check.adoc +++ b/docs/user-manual/modules/ROOT/pages/health-check.adoc @@ -13,7 +13,7 @@ Camel provides support to probe the state of an integration via a pluggable Heal Camel provides the following health checks out of the box: - _context_ - A `HealthCheck` which performs check whether the `CamelContext` is started. This can be used for readiness checks; to know when Camel is fully started and ready to handle traffic. -- routes - A `HealthCheckRegistry` which discovers all the available routes in `CamelContext` and checks whether they are all started. +- _routes_ - A `HealthCheckRegistry` which discovers all the available routes in `CamelContext` and checks whether they are all started. This can be used for readiness checks; to know when Camel is fully started and ready to handle traffic. Combining with the supervised `RouteController` this allows to perform readiness check for routes that are under supervising, such as troublesome routes that may not start up the
[camel-quarkus-examples] 01/02: Build with Maven 3.8.4
This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a commit to branch camel-quarkus-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus-examples.git commit e1e867b283a14b9e77e7ea43131f8aaf3ea1e149 Author: James Netherton AuthorDate: Mon Feb 7 07:49:58 2022 + Build with Maven 3.8.4 --- .mvn/wrapper/maven-wrapper.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.mvn/wrapper/maven-wrapper.properties b/.mvn/wrapper/maven-wrapper.properties index ffdc10e..598fb34 100644 --- a/.mvn/wrapper/maven-wrapper.properties +++ b/.mvn/wrapper/maven-wrapper.properties @@ -1,2 +1,2 @@ -distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.1/apache-maven-3.8.1-bin.zip +distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.8.4/apache-maven-3.8.4-bin.zip wrapperUrl=https://repo.maven.apache.org/maven2/io/takari/maven-wrapper/0.5.6/maven-wrapper-0.5.6.jar
[camel-quarkus-examples] 02/02: Fix observability example native profile quarkus-maven-plugin declaration
This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a commit to branch camel-quarkus-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus-examples.git commit faf89795ca3bb79e1fcbf1b4787f5c696aba7af9 Author: James Netherton AuthorDate: Mon Feb 7 09:26:55 2022 + Fix observability example native profile quarkus-maven-plugin declaration --- observability/pom.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/observability/pom.xml b/observability/pom.xml index f09307a..d5bd763 100644 --- a/observability/pom.xml +++ b/observability/pom.xml @@ -30,6 +30,7 @@ 2.7.0.Final + 2.8.0-SNAPSHOT io.quarkus quarkus-bom @@ -320,9 +321,9 @@ -io.quarkus +${quarkus.platform.group-id} quarkus-maven-plugin -${quarkus.version} +${quarkus.platform.version}
[camel-quarkus-examples] branch camel-quarkus-main updated (463a9c3 -> faf8979)
This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a change to branch camel-quarkus-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus-examples.git. from 463a9c3 Next is 2.8.0 new e1e867b Build with Maven 3.8.4 new faf8979 Fix observability example native profile quarkus-maven-plugin declaration 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: .mvn/wrapper/maven-wrapper.properties | 2 +- observability/pom.xml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-)
[camel-spring-boot] branch camel-spring-boot-3.14.x updated: CAMEL-17587: camel-health - Make Health Check API simpler
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 The following commit(s) were added to refs/heads/camel-spring-boot-3.14.x by this push: new a6bec36 CAMEL-17587: camel-health - Make Health Check API simpler a6bec36 is described below commit a6bec36c2c795fd8d279002cef5b7b64dee48462 Author: Claus Ibsen AuthorDate: Mon Feb 7 11:20:27 2022 +0100 CAMEL-17587: camel-health - Make Health Check API simpler --- .../actuate/health/CamelHealthCheckConfigurationProperties.java | 6 ++ 1 file changed, 6 insertions(+) diff --git a/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/health/CamelHealthCheckConfigurationProperties.java b/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/health/CamelHealthCheckConfigurationProperties.java index 435161c..d593877 100644 --- a/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/health/CamelHealthCheckConfigurationProperties.java +++ b/core/camel-spring-boot/src/main/java/org/apache/camel/spring/boot/actuate/health/CamelHealthCheckConfigurationProperties.java @@ -131,11 +131,13 @@ public class CamelHealthCheckConfigurationProperties { /** * Set the check interval in milli seconds. */ +@Deprecated private Long interval; /** * Set the number of failure before reporting the service as un-healthy. */ +@Deprecated private Integer failureThreshold; public String getParent() { @@ -154,18 +156,22 @@ public class CamelHealthCheckConfigurationProperties { this.enabled = enabled; } +@Deprecated public Long getInterval() { return interval; } +@Deprecated public void setInterval(Long interval) { this.interval = interval; } +@Deprecated public Integer getFailureThreshold() { return failureThreshold; } +@Deprecated public void setFailureThreshold(Integer failureThreshold) { this.failureThreshold = failureThreshold; }
[camel-examples] branch main updated: CAMEL-17587: camel-health - Make Health Check API simpler
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-examples.git The following commit(s) were added to refs/heads/main by this push: new 92661bc CAMEL-17587: camel-health - Make Health Check API simpler 92661bc is described below commit 92661bcea3bc99f35ce7db77e642ca8668ebd7be Author: Claus Ibsen AuthorDate: Mon Feb 7 11:27:25 2022 +0100 CAMEL-17587: camel-health - Make Health Check API simpler --- examples/main-health/src/main/resources/application.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/main-health/src/main/resources/application.properties b/examples/main-health/src/main/resources/application.properties index 3c3d6d8..f61d6e2 100644 --- a/examples/main-health/src/main/resources/application.properties +++ b/examples/main-health/src/main/resources/application.properties @@ -47,7 +47,7 @@ camel.health.registry-enabled = true # you can turn on or off individual routes as shown below ### camel.health.config[timer].parent = routes ### camel.health.config[timer].enabled = true -### camel.health.config[netty].check = routes +### camel.health.config[netty].parent = routes ### camel.health.config[netty].enabled = false # find grained routes configuration per route (support wildcards)
[camel-spring-boot-examples] branch main updated: CAMEL-17587: camel-health - Make Health Check API simpler
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-spring-boot-examples.git The following commit(s) were added to refs/heads/main by this push: new b1bfbf8 CAMEL-17587: camel-health - Make Health Check API simpler b1bfbf8 is described below commit b1bfbf82c22ce53c26a1b9b4fe9ab71adf263e9f Author: Claus Ibsen AuthorDate: Mon Feb 7 11:27:36 2022 +0100 CAMEL-17587: camel-health - Make Health Check API simpler --- health-checks/src/main/resources/application.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/health-checks/src/main/resources/application.properties b/health-checks/src/main/resources/application.properties index 1ccbb76..23c25dc 100644 --- a/health-checks/src/main/resources/application.properties +++ b/health-checks/src/main/resources/application.properties @@ -63,7 +63,7 @@ camel.health.registry-enabled = true # you can turn on or off individual routes as shown below ### camel.heath.config[timer].parent = routes ### camel.heath.config[timer].enabled = true -### camel.heath.config[netty].check = routes +### camel.heath.config[netty].parent = routes ### camel.heath.config[netty].enabled = false # find grained routes configuration per route (support wildcards)
[GitHub] [camel-quarkus] jamesnetherton opened a new issue #3529: `CamelMainRoutesIncludePatternWithAbsoluteFilePrefixDevModeTest` fails on Windows
jamesnetherton opened a new issue #3529: URL: https://github.com/apache/camel-quarkus/issues/3529 This test maybe needs to be a bit smarter as it fails on Windows. Or there's some genuine bug with live reload on Windows. What seems to happen is that when the updated route XML file is copied to replace the previous version, live reload kicks in and restarts the app. But the app seems to pick up the old file content, even though the file was modified. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] ppalaga commented on pull request #3528: Incorrect version of quarkus-maven-plugin may be resolved #3520
ppalaga commented on pull request #3528: URL: https://github.com/apache/camel-quarkus/pull/3528#issuecomment-1031312652 [2d2ef65](https://github.com/apache/camel-quarkus/pull/3528/commits/2d2ef655bd959cd9a342056bb2ba65dcb8ca573a) back at mvnw 3.8.4 -- 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-kafka-connector] branch camel-kafka-connector-0.11.x updated: fix: regenerate nav.adoc and index.adoc
This is an automated email from the ASF dual-hosted git repository. zregvart pushed a commit to branch camel-kafka-connector-0.11.x in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git The following commit(s) were added to refs/heads/camel-kafka-connector-0.11.x by this push: new 3fd1e01 fix: regenerate nav.adoc and index.adoc 3fd1e01 is described below commit 3fd1e01ef0d98badd7f78365f532ae069634fd28 Author: Zoran Regvart AuthorDate: Mon Feb 7 11:49:27 2022 +0100 fix: regenerate nav.adoc and index.adoc --- docs/modules/ROOT/nav.adoc | 63 docs/modules/ROOT/pages/reference/index.adoc | 33 +++ 2 files changed, 14 insertions(+), 82 deletions(-) diff --git a/docs/modules/ROOT/nav.adoc b/docs/modules/ROOT/nav.adoc index 750f47c..ef96a4d 100644 --- a/docs/modules/ROOT/nav.adoc +++ b/docs/modules/ROOT/nav.adoc @@ -88,10 +88,6 @@ xref:reference/connectors/camel-aws-kinesis-source-kafka-source-connector.adoc[Source Docs] *** camel-aws-lambda-sink-kafka-connector xref:reference/connectors/camel-aws-lambda-sink-kafka-sink-connector.adoc[Sink Docs] -*** camel-aws-redshift-sink-kafka-connector - xref:reference/connectors/camel-aws-redshift-sink-kafka-sink-connector.adoc[Sink Docs] -*** camel-aws-redshift-source-kafka-connector - xref:reference/connectors/camel-aws-redshift-source-kafka-source-connector.adoc[Source Docs] *** camel-aws-s3-sink-kafka-connector xref:reference/connectors/camel-aws-s3-sink-kafka-sink-connector.adoc[Sink Docs] *** camel-aws-s3-source-kafka-connector @@ -100,8 +96,6 @@ xref:reference/connectors/camel-aws-s3-streaming-upload-sink-kafka-sink-connector.adoc[Sink Docs] *** camel-aws-secrets-manager-kafka-connector xref:reference/connectors/camel-aws-secrets-manager-kafka-sink-connector.adoc[Sink Docs] -*** camel-aws-secrets-manager-sink-kafka-connector - xref:reference/connectors/camel-aws-secrets-manager-sink-kafka-sink-connector.adoc[Sink Docs] *** camel-aws-sns-fifo-sink-kafka-connector xref:reference/connectors/camel-aws-sns-fifo-sink-kafka-sink-connector.adoc[Sink Docs] *** camel-aws-sns-sink-kafka-connector @@ -162,8 +156,6 @@ *** camel-azure-cosmosdb-kafka-connector xref:reference/connectors/camel-azure-cosmosdb-kafka-source-connector.adoc[Source Docs] xref:reference/connectors/camel-azure-cosmosdb-kafka-sink-connector.adoc[Sink Docs] -*** camel-azure-cosmosdb-source-kafka-connector - xref:reference/connectors/camel-azure-cosmosdb-source-kafka-source-connector.adoc[Source Docs] *** camel-azure-eventhubs-kafka-connector xref:reference/connectors/camel-azure-eventhubs-kafka-source-connector.adoc[Source Docs] xref:reference/connectors/camel-azure-eventhubs-kafka-sink-connector.adoc[Sink Docs] @@ -248,8 +240,6 @@ *** camel-couchbase-kafka-connector xref:reference/connectors/camel-couchbase-kafka-source-connector.adoc[Source Docs] xref:reference/connectors/camel-couchbase-kafka-sink-connector.adoc[Sink Docs] -*** camel-couchbase-sink-kafka-connector - xref:reference/connectors/camel-couchbase-sink-kafka-sink-connector.adoc[Sink Docs] *** camel-couchdb-kafka-connector xref:reference/connectors/camel-couchdb-kafka-source-connector.adoc[Source Docs] xref:reference/connectors/camel-couchdb-kafka-sink-connector.adoc[Sink Docs] @@ -391,8 +381,6 @@ xref:reference/connectors/camel-google-drive-kafka-sink-connector.adoc[Sink Docs] *** camel-google-functions-kafka-connector xref:reference/connectors/camel-google-functions-kafka-sink-connector.adoc[Sink Docs] -*** camel-google-functions-sink-kafka-connector - xref:reference/connectors/camel-google-functions-sink-kafka-sink-connector.adoc[Sink Docs] *** camel-google-mail-kafka-connector xref:reference/connectors/camel-google-mail-kafka-source-connector.adoc[Source Docs] xref:reference/connectors/camel-google-mail-kafka-sink-connector.adoc[Sink Docs] @@ -403,10 +391,6 @@ *** camel-google-pubsub-kafka-connector xref:reference/connectors/camel-google-pubsub-kafka-source-connector.adoc[Source Docs] xref:reference/connectors/camel-google-pubsub-kafka-sink-connector.adoc[Sink Docs] -*** camel-google-pubsub-sink-kafka-connector - xref:reference/connectors/camel-google-pubsub-sink-kafka-sink-connector.adoc[Sink Docs] -*** camel-google-pubsub-source-kafka-connector - xref:reference/connectors/camel-google-pubsub-source-kafka-source-connector.adoc[Source Docs] *** camel-google-sheets-kafka-connector xref:reference/connectors/camel-google-sheets-kafka-source-connector.adoc[Source Docs] xref:reference/connectors/camel-google-sheets-kafka-sink-connector.adoc[Sink Docs] @@ -417,10 +401,6 @@ *** camel-google-storage-kafka-connector xref:reference/connectors/camel-google-storage-kafka-source-connector.adoc[Source Docs] xref:refe
[camel] branch regen_bot updated (3486490 -> f6aa927)
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 3486490 CAMEL-17606: Add property to route builder to refer to a property placeholder using {{ }} syntax. And also useable for EndpointDSL. add df1d150 CAMEL-17587: camel-health - Make Health Check API simpler add f6aa927 CAMEL-17587: camel-health - Make Health Check API simpler No new revisions were added by this update. Summary of changes: ...nsumerHealthCheckErrorDisabledConsumerTest.java | 4 - .../TelegramConsumerHealthCheckErrorTest.java | 7 -- .../camel/health/HealthCheckConfiguration.java | 89 +--- .../org/apache/camel/health/HealthCheckFilter.java | 2 +- .../apache/camel/impl/health/HealthCheckTest.java | 108 --- .../camel/impl/health/AbstractHealthCheck.java | 116 - .../impl/health/HealthCheckRegistryRepository.java | 3 - ...althCheckConfigurationPropertiesConfigurer.java | 18 .../org/apache/camel/main/BaseMainSupport.java | 3 - .../camel/main/MainHealthCheckConfigTest.java | 6 -- .../api/management/mbean/CamelOpenMBeanTypes.java | 9 +- .../camel/management/mbean/ManagedCamelHealth.java | 10 +- .../ROOT/pages/camel-3x-upgrade-guide-3_16.adoc| 28 +++-- .../modules/ROOT/pages/health-check.adoc | 17 +-- 14 files changed, 53 insertions(+), 367 deletions(-)
[camel] branch regen_bot_3.14.x updated (0d41912 -> 2988390)
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 0d41912 CAMEL-17599: camel-jdbc - ensure Statement is closed to not leak. add 2988390 CAMEL-17587: camel-health - Make Health Check API simpler No new revisions were added by this update. Summary of changes: .../org/apache/camel/health/HealthCheckConfiguration.java | 14 ++ docs/user-manual/modules/ROOT/pages/health-check.adoc | 12 ++-- 2 files changed, 20 insertions(+), 6 deletions(-)
[camel] branch camel-3.14.x updated: Remove unused pom.xml in camel-resteasy test resources
This is an automated email from the ASF dual-hosted git repository. klease 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 7559ae0 Remove unused pom.xml in camel-resteasy test resources 7559ae0 is described below commit 7559ae0dcec4b876826fbf9d1b8d8735518e30f3 Author: klease AuthorDate: Mon Feb 7 12:40:20 2022 +0100 Remove unused pom.xml in camel-resteasy test resources --- .../camel-resteasy/src/test/resources/pom.xml | 107 - 1 file changed, 107 deletions(-) diff --git a/components/camel-resteasy/src/test/resources/pom.xml b/components/camel-resteasy/src/test/resources/pom.xml deleted file mode 100644 index aea3f6d..000 --- a/components/camel-resteasy/src/test/resources/pom.xml +++ /dev/null @@ -1,107 +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/maven-v4_0_0.xsd";> - - 4.0.0 - org.apache.camel.example - RESTfulExample - - 1.0-SNAPSHOT - RESTfulExample - - war - - - - - - - - org.junit.jupiter -junit-jupiter - 5.8.2 - test - - - - org.springframework - spring-core - 5.3.15.RELEASE - - - - org.springframework - spring-context - 5.3.15.RELEASE - - - - org.springframework - spring-web - 5.3.15.RELEASEq - - - - org.apache.camel - camel-core - 3.14.1 - - - org.apache.camel - camel-http - 3.14.1 - - - org.apache.camel - camel-test - 3.14.1 - - - org.apache.camel - camel-jackson - 3.14.1 - - - org.apache.camel - camel-spring-xml - 3.14.1 - - -org.apache.commons -commons-lang3 -3.12.0 - - - - - RESTfulExample - - - maven-compiler-plugin - - 1.8 - 1.8 - - - - - - \ No newline at end of file
[camel-kafka-connector] branch camel-kafka-connector-0.11.x updated: fix: regenerate nav.adoc and index.adoc
This is an automated email from the ASF dual-hosted git repository. zregvart pushed a commit to branch camel-kafka-connector-0.11.x in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git The following commit(s) were added to refs/heads/camel-kafka-connector-0.11.x by this push: new 8f80903 fix: regenerate nav.adoc and index.adoc 8f80903 is described below commit 8f809038254de92c6862b25f4f24038e2c9e6dd7 Author: Zoran Regvart AuthorDate: Mon Feb 7 12:56:10 2022 +0100 fix: regenerate nav.adoc and index.adoc Ran `git clean -dfx` before `./mvnw install`. --- docs/modules/ROOT/nav.adoc | 181 --- docs/modules/ROOT/pages/reference/index.adoc | 92 +- 2 files changed, 1 insertion(+), 272 deletions(-) diff --git a/docs/modules/ROOT/nav.adoc b/docs/modules/ROOT/nav.adoc index ef96a4d..7e02f5b 100644 --- a/docs/modules/ROOT/nav.adoc +++ b/docs/modules/ROOT/nav.adoc @@ -74,40 +74,8 @@ *** camel-avro-kafka-connector xref:reference/connectors/camel-avro-kafka-source-connector.adoc[Source Docs] xref:reference/connectors/camel-avro-kafka-sink-connector.adoc[Sink Docs] -*** camel-aws-cloudwatch-sink-kafka-connector - xref:reference/connectors/camel-aws-cloudwatch-sink-kafka-sink-connector.adoc[Sink Docs] -*** camel-aws-ddb-streams-source-kafka-connector - xref:reference/connectors/camel-aws-ddb-streams-source-kafka-source-connector.adoc[Source Docs] -*** camel-aws-ec2-sink-kafka-connector - xref:reference/connectors/camel-aws-ec2-sink-kafka-sink-connector.adoc[Sink Docs] -*** camel-aws-kinesis-firehose-sink-kafka-connector - xref:reference/connectors/camel-aws-kinesis-firehose-sink-kafka-sink-connector.adoc[Sink Docs] -*** camel-aws-kinesis-sink-kafka-connector - xref:reference/connectors/camel-aws-kinesis-sink-kafka-sink-connector.adoc[Sink Docs] -*** camel-aws-kinesis-source-kafka-connector - xref:reference/connectors/camel-aws-kinesis-source-kafka-source-connector.adoc[Source Docs] -*** camel-aws-lambda-sink-kafka-connector - xref:reference/connectors/camel-aws-lambda-sink-kafka-sink-connector.adoc[Sink Docs] -*** camel-aws-s3-sink-kafka-connector - xref:reference/connectors/camel-aws-s3-sink-kafka-sink-connector.adoc[Sink Docs] -*** camel-aws-s3-source-kafka-connector - xref:reference/connectors/camel-aws-s3-source-kafka-source-connector.adoc[Source Docs] -*** camel-aws-s3-streaming-upload-sink-kafka-connector - xref:reference/connectors/camel-aws-s3-streaming-upload-sink-kafka-sink-connector.adoc[Sink Docs] *** camel-aws-secrets-manager-kafka-connector xref:reference/connectors/camel-aws-secrets-manager-kafka-sink-connector.adoc[Sink Docs] -*** camel-aws-sns-fifo-sink-kafka-connector - xref:reference/connectors/camel-aws-sns-fifo-sink-kafka-sink-connector.adoc[Sink Docs] -*** camel-aws-sns-sink-kafka-connector - xref:reference/connectors/camel-aws-sns-sink-kafka-sink-connector.adoc[Sink Docs] -*** camel-aws-sqs-batch-sink-kafka-connector - xref:reference/connectors/camel-aws-sqs-batch-sink-kafka-sink-connector.adoc[Sink Docs] -*** camel-aws-sqs-fifo-sink-kafka-connector - xref:reference/connectors/camel-aws-sqs-fifo-sink-kafka-sink-connector.adoc[Sink Docs] -*** camel-aws-sqs-sink-kafka-connector - xref:reference/connectors/camel-aws-sqs-sink-kafka-sink-connector.adoc[Sink Docs] -*** camel-aws-sqs-source-kafka-connector - xref:reference/connectors/camel-aws-sqs-source-kafka-source-connector.adoc[Source Docs] *** camel-aws2-athena-kafka-connector xref:reference/connectors/camel-aws2-athena-kafka-sink-connector.adoc[Sink Docs] *** camel-aws2-cw-kafka-connector @@ -159,34 +127,20 @@ *** camel-azure-eventhubs-kafka-connector xref:reference/connectors/camel-azure-eventhubs-kafka-source-connector.adoc[Source Docs] xref:reference/connectors/camel-azure-eventhubs-kafka-sink-connector.adoc[Sink Docs] -*** camel-azure-eventhubs-sink-kafka-connector - xref:reference/connectors/camel-azure-eventhubs-sink-kafka-sink-connector.adoc[Sink Docs] -*** camel-azure-eventhubs-source-kafka-connector - xref:reference/connectors/camel-azure-eventhubs-source-kafka-source-connector.adoc[Source Docs] *** camel-azure-storage-blob-kafka-connector xref:reference/connectors/camel-azure-storage-blob-kafka-source-connector.adoc[Source Docs] xref:reference/connectors/camel-azure-storage-blob-kafka-sink-connector.adoc[Sink Docs] -*** camel-azure-storage-blob-sink-kafka-connector - xref:reference/connectors/camel-azure-storage-blob-sink-kafka-sink-connector.adoc[Sink Docs] -*** camel-azure-storage-blob-source-kafka-connector - xref:reference/connectors/camel-azure-storage-blob-source-kafka-source-connector.adoc[Source Docs] *** camel-azure-storage-datalake-kafka-connector xref:reference/connectors/camel-azure-storage-datalake-kafka-source-connector.adoc[Source
[camel] branch regen_bot_3.14.x updated (2988390 -> 7559ae0)
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 2988390 CAMEL-17587: camel-health - Make Health Check API simpler add 7559ae0 Remove unused pom.xml in camel-resteasy test resources No new revisions were added by this update. Summary of changes: .../camel-resteasy/src/test/resources/pom.xml | 107 - 1 file changed, 107 deletions(-) delete mode 100644 components/camel-resteasy/src/test/resources/pom.xml
[camel-website] branch asf-site updated (bef68a9 -> 363b6a3)
This is an automated email from the ASF dual-hosted git repository. git-site-role pushed a change to branch asf-site in repository https://gitbox.apache.org/repos/asf/camel-website.git. discard bef68a9 Website updated to 4f326ecd28c61b73d85fbce00578a8749f7a58bc discard 04cfe30 Website updated to 325e929157412b27394080f4d4dba3d821476ddf new c42e54e Website updated to 325e929157412b27394080f4d4dba3d821476ddf new 363b6a3 Website updated to 4f326ecd28c61b73d85fbce00578a8749f7a58bc 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 (bef68a9) \ N -- N -- N refs/heads/asf-site (363b6a3) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .htaccess | 78 +- blog/2019/05/RELEASE-2.24.0/index.html |2 +- blog/2019/09/ApacheConNA-2019/index.html |2 +- blog/2019/09/RELEASE-2.23.4/index.html |2 +- blog/2019/09/RELEASE-2.24.2/index.html |2 +- blog/2019/09/RELEASE-3.0.0-RC1/index.html |2 +- blog/2019/10/Camel3-2monthsaway/index.html |2 +- blog/2019/10/RELEASE-3.0.0-RC2/index.html |2 +- blog/2019/10/RELEASE-3.0.0-RC3/index.html |2 +- blog/2019/11/ASF-Report-2019/index.html|2 +- blog/2019/11/RELEASE-3.0.0/index.html |2 +- blog/2019/12/2019-Numbers/index.html |4 +- .../2019/12/Camel-Kafka-connector-intro/index.html |2 +- blog/2019/12/Camel3-Whatsnew/index.html|2 +- .../12/LanguageSupportTooling-0.0.20/index.html|2 +- blog/2019/12/Podcast47/index.html |2 +- blog/2019/12/RELEASE-2.24.3/index.html |2 +- blog/2020/01/CustomWebApiComponent/index.html |2 +- blog/2020/01/FOSDEM-2020/index.html|2 +- blog/2020/01/RELEASE-2.25.0/index.html |2 +- blog/2020/01/RELEASE-3.0.1/index.html |2 +- blog/2020/01/capi-gateway/index.html |2 +- blog/2020/02/ApacheConNA-2020-CFP/index.html |2 +- blog/2020/02/GSoC-2020-announced/index.html|2 +- blog/2020/02/RELEASE-3.1.0/index.html |2 +- blog/2020/03/Camel3-AWS2-Whatsnew/index.html |2 +- blog/2020/03/LTS-Release-Schedule/index.html |2 +- blog/2020/03/Outreachy-May2020-Update/index.html |2 +- blog/2020/03/Outreachy-May2020/index.html |2 +- blog/2020/04/100Camels/index.html |2 +- .../Camel-Kafka-connector-release-0.1.0/index.html |2 +- .../04/Camel-Quarkus-release-1.0.0-M7/index.html |2 +- blog/2020/04/Camel32-Whatsnew/index.html |4 +- blog/2020/04/RELEASE-2.25.1/index.html |2 +- blog/2020/04/RELEASE-3.2.0/index.html |2 +- blog/2020/05/Camel33-Whatsnew/index.html |2 +- blog/2020/05/CdcWithCamelAndDebezium/index.html|4 +- blog/2020/05/RELEASE-3.3.0/index.html |2 +- blog/2020/06/RELEASE-3.4.0/index.html |2 +- blog/2020/06/camel-k-release-1.0.0/index.html |2 +- .../06/camel-quarkus-release-1.0.0-CR2/index.html |2 +- blog/2020/06/camel34-whatsnew/index.html |4 +- blog/2020/06/whatsnew-camel-3-webinar/index.html |2 +- blog/2020/07/ApacheCon-2020-at-home/index.html |2 +- blog/2020/07/RELEASE-2.25.2/index.html |2 +- blog/2020/07/RELEASE-3.4.1/index.html |2 +- blog/2020/07/RELEASE-3.4.2/index.html |2 +- .../07/camel-quarkus-release-1.0.0-CR3/index.html |2 +- .../index.html |4 +- .../Camel-kafka-connector-0.4.0-RELEASE/index.html |2 +- blog/2020/08/RELEASE-3.4.3/index.html |2 +- .../2020/08/camel-quarkus-release-1.0.0/index.html |2 +- .../2020/08/camel-quarkus-release-1.0.1/index.html |2 +- blog/2020/09/ApacheCon-at-Home-starts/index.html |2 +- .../Camel-kafka-connector-050-Whatsnew/index.html |2 +- blog/2020/09/Camel35-Whatsnew/index.html |4 +- blog/2020/09/RELEASE-3.4.4/index.html |2 +- blog/2020/09/RE
[GitHub] [camel-k] bouskaJ opened a new pull request #2992: Enhance Http proxy test about the OLM
bouskaJ opened a new pull request #2992: URL: https://github.com/apache/camel-k/pull/2992 **Release Note** ```release-note NONE ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-k] bouskaJ commented on pull request #2992: Enhance Http proxy test about the OLM
bouskaJ commented on pull request #2992: URL: https://github.com/apache/camel-k/pull/2992#issuecomment-1031437038 @astefanutti can you take a look at this? 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
[camel-kamelets] 05/13: Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Batch
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch 735-completed in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git commit e0f82fc622abd32a7ac2eae066791c854f0c96bc Author: Andrea Cosentino AuthorDate: Mon Feb 7 14:14:53 2022 +0100 Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Batch --- kamelets/aws-sqs-batch-sink.kamelet.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kamelets/aws-sqs-batch-sink.kamelet.yaml b/kamelets/aws-sqs-batch-sink.kamelet.yaml index b571e46..eb1d27d 100644 --- a/kamelets/aws-sqs-batch-sink.kamelet.yaml +++ b/kamelets/aws-sqs-batch-sink.kamelet.yaml @@ -91,7 +91,7 @@ spec: default: https useDefaultCredentialsProvider: title: Default Credentials Provider -description: Set whether the SNS client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in. +description: Set whether the SQS client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in. type: boolean x-descriptors: - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
[camel-kamelets] 01/13: Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Batch
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch 735-completed in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git commit 83f9e04e6611e31ee29d7b237bbd109914c0d8ac Author: Andrea Cosentino AuthorDate: Mon Feb 7 14:10:43 2022 +0100 Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Batch --- kamelets/aws-sqs-batch-sink.kamelet.yaml | 24 +--- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/kamelets/aws-sqs-batch-sink.kamelet.yaml b/kamelets/aws-sqs-batch-sink.kamelet.yaml index 2ca7079..b571e46 100644 --- a/kamelets/aws-sqs-batch-sink.kamelet.yaml +++ b/kamelets/aws-sqs-batch-sink.kamelet.yaml @@ -31,11 +31,13 @@ spec: definition: title: AWS SQS Batch Sink description: |- - Send Batch message to an AWS SQS Queue + Send Batch message to an AWS SQS Queue. + + Access Key/Secret Key are the basic method for authenticating to the AWS SQS Service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'. + + When using a default Credentials Provider the SQS client will load the credentials through this provider and won't use the static credential. This is reason for not having the access key and secret key as mandatory parameter for this Kamelet. required: - queueNameOrArn - - accessKey - - secretKey - region - batchSeparator type: object @@ -86,7 +88,14 @@ spec: description: The underlying protocol used to communicate with SQS type: string example: http or https -default: https +default: https + useDefaultCredentialsProvider: +title: Default Credentials Provider +description: Set whether the SNS client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in. +type: boolean +x-descriptors: +- 'urn:alm:descriptor:com.tectonic.ui:checkbox' +default: false dependencies: - "camel:aws2-sqs" - "camel:kamelet" @@ -98,10 +107,11 @@ spec: uri: "aws2-sqs:{{queueNameOrArn}}" parameters: autoCreateQueue: "{{autoCreateQueue}}" -accessKey: "{{accessKey}}" -secretKey: "{{secretKey}}" +accessKey: "{{?accessKey}}" +secretKey: "{{?secretKey}}" region: "{{region}}" batchSeparator: "{{batchSeparator}}" operation: "sendBatchMessage" amazonAWSHost: "{{?amazonAWSHost}}" -protocol: "{{?protocol}}" +protocol: "{{?protocol}}" +useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
[camel-kamelets] 07/13: Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Sink
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch 735-completed in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git commit a76429e372cd1c98a3c8476a6ec3dbbe03a9803f Author: Andrea Cosentino AuthorDate: Mon Feb 7 14:18:15 2022 +0100 Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Sink --- kamelets/aws-sqs-sink.kamelet.yaml | 24 +--- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/kamelets/aws-sqs-sink.kamelet.yaml b/kamelets/aws-sqs-sink.kamelet.yaml index 6777602..42e0688 100644 --- a/kamelets/aws-sqs-sink.kamelet.yaml +++ b/kamelets/aws-sqs-sink.kamelet.yaml @@ -31,11 +31,13 @@ spec: definition: title: AWS SQS Sink description: |- - Send message to an AWS SQS Queue + Send message to an AWS SQS Queue. + + Access Key/Secret Key are the basic method for authenticating to the AWS SQS Service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'. + + When using a default Credentials Provider the SQS client will load the credentials through this provider and won't use the static credential. This is reason for not having the access key and secret key as mandatory parameter for this Kamelet. required: - queueNameOrArn - - accessKey - - secretKey - region type: object properties: @@ -80,7 +82,14 @@ spec: description: The underlying protocol used to communicate with SQS type: string example: http or https -default: https +default: https + useDefaultCredentialsProvider: +title: Default Credentials Provider +description: Set whether the SQS client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in. +type: boolean +x-descriptors: +- 'urn:alm:descriptor:com.tectonic.ui:checkbox' +default: false dependencies: - "camel:aws2-sqs" - "camel:kamelet" @@ -92,8 +101,9 @@ spec: uri: "aws2-sqs:{{queueNameOrArn}}" parameters: autoCreateQueue: "{{autoCreateQueue}}" -accessKey: "{{accessKey}}" -secretKey: "{{secretKey}}" +accessKey: "{{?accessKey}}" +secretKey: "{{?secretKey}}" region: "{{region}}" amazonAWSHost: "{{?amazonAWSHost}}" -protocol: "{{?protocol}}" +protocol: "{{?protocol}}" +useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
[camel-kamelets] 10/13: Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Source
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch 735-completed in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git commit eb8a3e453c0e993d1c38b1ba2df1644a447a69db Author: Andrea Cosentino AuthorDate: Mon Feb 7 14:20:46 2022 +0100 Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Source --- .../resources/kamelets/aws-sqs-source.kamelet.yaml | 18 ++ 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-source.kamelet.yaml index 32ecfd9..3eb688b 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-source.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-source.kamelet.yaml @@ -33,10 +33,12 @@ spec: title: "AWS SQS Source" description: |- Receive data from AWS SQS. + + Access Key/Secret Key are the basic method for authenticating to the AWS SQS Service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'. + + When using a default Credentials Provider the SQS client will load the credentials through this provider and won't use the static credential. This is reason for not having the access key and secret key as mandatory parameter for this Kamelet. required: - queueNameOrArn - - accessKey - - secretKey - region type: object properties: @@ -103,6 +105,13 @@ spec: x-descriptors: - urn:keda:metadata:queueURL - urn:keda:required + useDefaultCredentialsProvider: +title: Default Credentials Provider +description: Set whether the SQS client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in. +type: boolean +x-descriptors: +- 'urn:alm:descriptor:com.tectonic.ui:checkbox' +default: false dependencies: - "camel:aws2-sqs" - "camel:kamelet" @@ -111,11 +120,12 @@ spec: uri: "aws2-sqs:{{queueNameOrArn}}" parameters: autoCreateQueue: "{{autoCreateQueue}}" -secretKey: "{{secretKey}}" -accessKey: "{{accessKey}}" +secretKey: "{{?secretKey}}" +accessKey: "{{?accessKey}}" region: "{{region}}" deleteAfterRead: "{{deleteAfterRead}}" amazonAWSHost: "{{?amazonAWSHost}}" protocol: "{{?protocol}}" +useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}" steps: - to: "kamelet:sink"
[camel-kamelets] 04/13: Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS FIFO Sink
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch 735-completed in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git commit c0c45bc762f9861fcc2705062cf63228dde1d03a Author: Andrea Cosentino AuthorDate: Mon Feb 7 14:14:15 2022 +0100 Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS FIFO Sink --- .../kamelets/aws-sqs-fifo-sink.kamelet.yaml| 29 -- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-fifo-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-fifo-sink.kamelet.yaml index dc93be8..59b8153 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-fifo-sink.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-fifo-sink.kamelet.yaml @@ -30,11 +30,15 @@ metadata: spec: definition: title: AWS SQS FIFO Sink -description: Send message to an AWS SQS FIFO Queue +description: |- + + Send message to an AWS SQS FIFO Queue. + + Access Key/Secret Key are the basic method for authenticating to the AWS SQS Service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'. + + When using a default Credentials Provider the SQS client will load the credentials through this provider and won't use the static credential. This is reason for not having the access key and secret key as mandatory parameter for this Kamelet. required: - queueNameOrArn - - accessKey - - secretKey - region type: object properties: @@ -86,7 +90,14 @@ spec: description: The underlying protocol used to communicate with SQS type: string example: http or https -default: https +default: https + useDefaultCredentialsProvider: +title: Default Credentials Provider +description: Set whether the SQS client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in. +type: boolean +x-descriptors: +- 'urn:alm:descriptor:com.tectonic.ui:checkbox' +default: false dependencies: - "camel:aws2-sqs" - "camel:core" @@ -123,9 +134,10 @@ spec: uri: "aws2-sqs:{{queueNameOrArn}}" parameters: autoCreateQueue: "{{autoCreateQueue}}" - accessKey: "{{accessKey}}" - secretKey: "{{secretKey}}" + accessKey: "{{?accessKey}}" + secretKey: "{{?secretKey}}" region: "{{region}}" + useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}" messageGroupIdStrategy: "usePropertyValue" messageDeduplicationIdStrategy: "useContentBasedDeduplication" otherwise: @@ -134,9 +146,10 @@ spec: uri: "aws2-sqs:{{queueNameOrArn}}" parameters: autoCreateQueue: "{{autoCreateQueue}}" - accessKey: "{{accessKey}}" - secretKey: "{{secretKey}}" + accessKey: "{{?accessKey}}" + secretKey: "{{?secretKey}}" region: "{{region}}" + useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}" messageGroupIdStrategy: "usePropertyValue" messageDeduplicationIdStrategy: "useExchangeId" amazonAWSHost: "{{?amazonAWSHost}}"
[camel-kamelets] 06/13: Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Batch
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch 735-completed in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git commit 92a711a9bf88088331f5f746bf78a1586e818c2c Author: Andrea Cosentino AuthorDate: Mon Feb 7 14:15:53 2022 +0100 Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Batch --- .../src/main/resources/kamelets/aws-sqs-batch-sink.kamelet.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-batch-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-batch-sink.kamelet.yaml index b571e46..eb1d27d 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-batch-sink.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-batch-sink.kamelet.yaml @@ -91,7 +91,7 @@ spec: default: https useDefaultCredentialsProvider: title: Default Credentials Provider -description: Set whether the SNS client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in. +description: Set whether the SQS client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in. type: boolean x-descriptors: - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
[camel-kamelets] 03/13: Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS FIFO Sink
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch 735-completed in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git commit b1d51f922d318e40008cf81ad8b8be9eb94618ae Author: Andrea Cosentino AuthorDate: Mon Feb 7 14:13:45 2022 +0100 Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS FIFO Sink --- kamelets/aws-sqs-fifo-sink.kamelet.yaml | 29 + 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/kamelets/aws-sqs-fifo-sink.kamelet.yaml b/kamelets/aws-sqs-fifo-sink.kamelet.yaml index dc93be8..59b8153 100644 --- a/kamelets/aws-sqs-fifo-sink.kamelet.yaml +++ b/kamelets/aws-sqs-fifo-sink.kamelet.yaml @@ -30,11 +30,15 @@ metadata: spec: definition: title: AWS SQS FIFO Sink -description: Send message to an AWS SQS FIFO Queue +description: |- + + Send message to an AWS SQS FIFO Queue. + + Access Key/Secret Key are the basic method for authenticating to the AWS SQS Service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'. + + When using a default Credentials Provider the SQS client will load the credentials through this provider and won't use the static credential. This is reason for not having the access key and secret key as mandatory parameter for this Kamelet. required: - queueNameOrArn - - accessKey - - secretKey - region type: object properties: @@ -86,7 +90,14 @@ spec: description: The underlying protocol used to communicate with SQS type: string example: http or https -default: https +default: https + useDefaultCredentialsProvider: +title: Default Credentials Provider +description: Set whether the SQS client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in. +type: boolean +x-descriptors: +- 'urn:alm:descriptor:com.tectonic.ui:checkbox' +default: false dependencies: - "camel:aws2-sqs" - "camel:core" @@ -123,9 +134,10 @@ spec: uri: "aws2-sqs:{{queueNameOrArn}}" parameters: autoCreateQueue: "{{autoCreateQueue}}" - accessKey: "{{accessKey}}" - secretKey: "{{secretKey}}" + accessKey: "{{?accessKey}}" + secretKey: "{{?secretKey}}" region: "{{region}}" + useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}" messageGroupIdStrategy: "usePropertyValue" messageDeduplicationIdStrategy: "useContentBasedDeduplication" otherwise: @@ -134,9 +146,10 @@ spec: uri: "aws2-sqs:{{queueNameOrArn}}" parameters: autoCreateQueue: "{{autoCreateQueue}}" - accessKey: "{{accessKey}}" - secretKey: "{{secretKey}}" + accessKey: "{{?accessKey}}" + secretKey: "{{?secretKey}}" region: "{{region}}" + useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}" messageGroupIdStrategy: "usePropertyValue" messageDeduplicationIdStrategy: "useExchangeId" amazonAWSHost: "{{?amazonAWSHost}}"
[camel-kamelets] branch 735-completed created (now 387aaf0)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a change to branch 735-completed in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git. at 387aaf0 Kamelets Catalog: Fixed tests This branch includes the following new commits: new 83f9e04 Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Batch new 0ef1c51 Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Batch new b1d51f9 Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS FIFO Sink new c0c45bc Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS FIFO Sink new e0f82fc Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Batch new 92a711a Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Batch new a76429e Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Sink new a8e7d9e Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Sink new b45ff43 Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Source new eb8a3e4 Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Source new 5cac094 Support DefaultCredentialProvider in the AWS Kamelets - AWS Translate Action new ebdbfcf Support DefaultCredentialProvider in the AWS Kamelets - AWS Translate Action new 387aaf0 Kamelets Catalog: Fixed tests The 13 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference.
[camel-kamelets] 02/13: Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Batch
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch 735-completed in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git commit 0ef1c5147cb149e334bb64bf659ab47c6cee8c1f Author: Andrea Cosentino AuthorDate: Mon Feb 7 14:11:15 2022 +0100 Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Batch --- .../kamelets/aws-sqs-batch-sink.kamelet.yaml | 24 +++--- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-batch-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-batch-sink.kamelet.yaml index 2ca7079..b571e46 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-batch-sink.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-batch-sink.kamelet.yaml @@ -31,11 +31,13 @@ spec: definition: title: AWS SQS Batch Sink description: |- - Send Batch message to an AWS SQS Queue + Send Batch message to an AWS SQS Queue. + + Access Key/Secret Key are the basic method for authenticating to the AWS SQS Service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'. + + When using a default Credentials Provider the SQS client will load the credentials through this provider and won't use the static credential. This is reason for not having the access key and secret key as mandatory parameter for this Kamelet. required: - queueNameOrArn - - accessKey - - secretKey - region - batchSeparator type: object @@ -86,7 +88,14 @@ spec: description: The underlying protocol used to communicate with SQS type: string example: http or https -default: https +default: https + useDefaultCredentialsProvider: +title: Default Credentials Provider +description: Set whether the SNS client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in. +type: boolean +x-descriptors: +- 'urn:alm:descriptor:com.tectonic.ui:checkbox' +default: false dependencies: - "camel:aws2-sqs" - "camel:kamelet" @@ -98,10 +107,11 @@ spec: uri: "aws2-sqs:{{queueNameOrArn}}" parameters: autoCreateQueue: "{{autoCreateQueue}}" -accessKey: "{{accessKey}}" -secretKey: "{{secretKey}}" +accessKey: "{{?accessKey}}" +secretKey: "{{?secretKey}}" region: "{{region}}" batchSeparator: "{{batchSeparator}}" operation: "sendBatchMessage" amazonAWSHost: "{{?amazonAWSHost}}" -protocol: "{{?protocol}}" +protocol: "{{?protocol}}" +useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
[camel-kamelets] 11/13: Support DefaultCredentialProvider in the AWS Kamelets - AWS Translate Action
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch 735-completed in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git commit 5cac094903801f8a8fc32d07f413ce4d8c805719 Author: Andrea Cosentino AuthorDate: Mon Feb 7 14:22:23 2022 +0100 Support DefaultCredentialProvider in the AWS Kamelets - AWS Translate Action --- kamelets/aws-translate-action.kamelet.yaml | 20 +++- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/kamelets/aws-translate-action.kamelet.yaml b/kamelets/aws-translate-action.kamelet.yaml index d9ef445..f5fa921 100644 --- a/kamelets/aws-translate-action.kamelet.yaml +++ b/kamelets/aws-translate-action.kamelet.yaml @@ -31,10 +31,12 @@ spec: definition: title: "AWS Translate Action" description: |- - Translate a text in a specific language + Translate a text in a specific language. + + Access Key/Secret Key are the basic method for authenticating to the AWS Translate Service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'. + + When using a default Credentials Provider the Translate client will load the credentials through this provider and won't use the static credential. This is reason for not having the access key and secret key as mandatory parameter for this Kamelet. required: - - accessKey - - secretKey - region - sourceLanguage - targetLanguage @@ -71,6 +73,13 @@ spec: description: The target language of the translating text. Possible values are ARABIC("ar"), CHINESE_SIMPLIFIED("zh"), CHINESE_TRADITIONAL("zh-TW"), CZECH("cs"), DANISH("da"), DUTCH("nl"), ENGLISH("en"), FINNISH("fi"), FRENCH("fr"), GERMAN("de"), HEBREW("he"), HINDI("hi"), INDONESIAN("id"), ITALIAN("it"), JAPANESE("ja"), KOREAN("ko"), MALAY("ms"), NORWEGIAN("no"), PERSIAN("fa"), POLISH("pl"), PORTUGUESE("pt"), RUSSIAN("ru"), SPANISH("es"), SWEDISH("sv") and TURKISH("tr"). type: string example: en + useDefaultCredentialsProvider: +title: Default Credentials Provider +description: Set whether the Translate client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in. +type: boolean +x-descriptors: +- 'urn:alm:descriptor:com.tectonic.ui:checkbox' +default: false dependencies: - "camel:dns" - "camel:kamelet" @@ -82,8 +91,9 @@ spec: - to: uri: "aws2-translate://translate" parameters: -secretKey: "{{secretKey}}" -accessKey: "{{accessKey}}" +secretKey: "{{?secretKey}}" +accessKey: "{{?accessKey}}" region: "{{region}}" sourceLanguage: "{{sourceLanguage}}" targetLanguage: "{{targetLanguage}}" +useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
[camel-kamelets] 09/13: Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Source
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch 735-completed in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git commit b45ff43674def0ab98ea74d7cb902d2a8f97c2a8 Author: Andrea Cosentino AuthorDate: Mon Feb 7 14:20:16 2022 +0100 Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Source --- kamelets/aws-sqs-source.kamelet.yaml | 18 ++ 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/kamelets/aws-sqs-source.kamelet.yaml b/kamelets/aws-sqs-source.kamelet.yaml index 32ecfd9..3eb688b 100644 --- a/kamelets/aws-sqs-source.kamelet.yaml +++ b/kamelets/aws-sqs-source.kamelet.yaml @@ -33,10 +33,12 @@ spec: title: "AWS SQS Source" description: |- Receive data from AWS SQS. + + Access Key/Secret Key are the basic method for authenticating to the AWS SQS Service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'. + + When using a default Credentials Provider the SQS client will load the credentials through this provider and won't use the static credential. This is reason for not having the access key and secret key as mandatory parameter for this Kamelet. required: - queueNameOrArn - - accessKey - - secretKey - region type: object properties: @@ -103,6 +105,13 @@ spec: x-descriptors: - urn:keda:metadata:queueURL - urn:keda:required + useDefaultCredentialsProvider: +title: Default Credentials Provider +description: Set whether the SQS client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in. +type: boolean +x-descriptors: +- 'urn:alm:descriptor:com.tectonic.ui:checkbox' +default: false dependencies: - "camel:aws2-sqs" - "camel:kamelet" @@ -111,11 +120,12 @@ spec: uri: "aws2-sqs:{{queueNameOrArn}}" parameters: autoCreateQueue: "{{autoCreateQueue}}" -secretKey: "{{secretKey}}" -accessKey: "{{accessKey}}" +secretKey: "{{?secretKey}}" +accessKey: "{{?accessKey}}" region: "{{region}}" deleteAfterRead: "{{deleteAfterRead}}" amazonAWSHost: "{{?amazonAWSHost}}" protocol: "{{?protocol}}" +useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}" steps: - to: "kamelet:sink"
[camel-kamelets] 13/13: Kamelets Catalog: Fixed tests
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch 735-completed in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git commit 387aaf089caa31371fcfcb20346deffbe60a1402 Author: Andrea Cosentino AuthorDate: Mon Feb 7 14:25:31 2022 +0100 Kamelets Catalog: Fixed tests --- .../java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 7156888..5a84a94 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 @@ -56,14 +56,14 @@ public class KameletsCatalogTest { @Test void testGetKameletsDefinition() throws Exception { JSONSchemaProps props = catalog.getKameletDefinition("aws-sqs-source"); -assertEquals(9, props.getProperties().keySet().size()); +assertEquals(10, props.getProperties().keySet().size()); assertTrue(props.getProperties().keySet().contains("queueNameOrArn")); } @Test void testGetKameletsRequiredProperties() throws Exception { List props = catalog.getKameletRequiredProperties("aws-sqs-source"); -assertEquals(4, props.size()); +assertEquals(2, props.size()); assertTrue(props.contains("queueNameOrArn")); }
[camel-kamelets] 12/13: Support DefaultCredentialProvider in the AWS Kamelets - AWS Translate Action
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch 735-completed in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git commit ebdbfcf8e126030478001a7fdd6be3704b552348 Author: Andrea Cosentino AuthorDate: Mon Feb 7 14:23:16 2022 +0100 Support DefaultCredentialProvider in the AWS Kamelets - AWS Translate Action --- .../kamelets/aws-translate-action.kamelet.yaml | 20 +++- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-translate-action.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-translate-action.kamelet.yaml index d9ef445..f5fa921 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/aws-translate-action.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/aws-translate-action.kamelet.yaml @@ -31,10 +31,12 @@ spec: definition: title: "AWS Translate Action" description: |- - Translate a text in a specific language + Translate a text in a specific language. + + Access Key/Secret Key are the basic method for authenticating to the AWS Translate Service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'. + + When using a default Credentials Provider the Translate client will load the credentials through this provider and won't use the static credential. This is reason for not having the access key and secret key as mandatory parameter for this Kamelet. required: - - accessKey - - secretKey - region - sourceLanguage - targetLanguage @@ -71,6 +73,13 @@ spec: description: The target language of the translating text. Possible values are ARABIC("ar"), CHINESE_SIMPLIFIED("zh"), CHINESE_TRADITIONAL("zh-TW"), CZECH("cs"), DANISH("da"), DUTCH("nl"), ENGLISH("en"), FINNISH("fi"), FRENCH("fr"), GERMAN("de"), HEBREW("he"), HINDI("hi"), INDONESIAN("id"), ITALIAN("it"), JAPANESE("ja"), KOREAN("ko"), MALAY("ms"), NORWEGIAN("no"), PERSIAN("fa"), POLISH("pl"), PORTUGUESE("pt"), RUSSIAN("ru"), SPANISH("es"), SWEDISH("sv") and TURKISH("tr"). type: string example: en + useDefaultCredentialsProvider: +title: Default Credentials Provider +description: Set whether the Translate client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in. +type: boolean +x-descriptors: +- 'urn:alm:descriptor:com.tectonic.ui:checkbox' +default: false dependencies: - "camel:dns" - "camel:kamelet" @@ -82,8 +91,9 @@ spec: - to: uri: "aws2-translate://translate" parameters: -secretKey: "{{secretKey}}" -accessKey: "{{accessKey}}" +secretKey: "{{?secretKey}}" +accessKey: "{{?accessKey}}" region: "{{region}}" sourceLanguage: "{{sourceLanguage}}" targetLanguage: "{{targetLanguage}}" +useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
[camel-kamelets] 08/13: Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Sink
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch 735-completed in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git commit a8e7d9e4fd3f81fdb6b9cf54145a94edce5b6af3 Author: Andrea Cosentino AuthorDate: Mon Feb 7 14:19:03 2022 +0100 Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Sink --- .../resources/kamelets/aws-sqs-sink.kamelet.yaml | 24 +++--- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-sink.kamelet.yaml index 6777602..42e0688 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-sink.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-sink.kamelet.yaml @@ -31,11 +31,13 @@ spec: definition: title: AWS SQS Sink description: |- - Send message to an AWS SQS Queue + Send message to an AWS SQS Queue. + + Access Key/Secret Key are the basic method for authenticating to the AWS SQS Service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'. + + When using a default Credentials Provider the SQS client will load the credentials through this provider and won't use the static credential. This is reason for not having the access key and secret key as mandatory parameter for this Kamelet. required: - queueNameOrArn - - accessKey - - secretKey - region type: object properties: @@ -80,7 +82,14 @@ spec: description: The underlying protocol used to communicate with SQS type: string example: http or https -default: https +default: https + useDefaultCredentialsProvider: +title: Default Credentials Provider +description: Set whether the SQS client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in. +type: boolean +x-descriptors: +- 'urn:alm:descriptor:com.tectonic.ui:checkbox' +default: false dependencies: - "camel:aws2-sqs" - "camel:kamelet" @@ -92,8 +101,9 @@ spec: uri: "aws2-sqs:{{queueNameOrArn}}" parameters: autoCreateQueue: "{{autoCreateQueue}}" -accessKey: "{{accessKey}}" -secretKey: "{{secretKey}}" +accessKey: "{{?accessKey}}" +secretKey: "{{?secretKey}}" region: "{{region}}" amazonAWSHost: "{{?amazonAWSHost}}" -protocol: "{{?protocol}}" +protocol: "{{?protocol}}" +useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
[GitHub] [camel] chrysophylax opened a new pull request #6897: aws2-ses: Add support for CC and BCC addresses
chrysophylax opened a new pull request #6897: URL: https://github.com/apache/camel/pull/6897 Implements [camel-17610](https://issues.apache.org/jira/browse/CAMEL-17610) Adds support for CC and BCC type of destinations. Updates tests too. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] ppalaga commented on pull request #3528: Incorrect version of quarkus-maven-plugin may be resolved #3520
ppalaga commented on pull request #3528: URL: https://github.com/apache/camel-quarkus/pull/3528#issuecomment-1031469560 [6cf668e](https://github.com/apache/camel-quarkus/pull/3528/commits/6cf668e6ef02f7e32ed22e83e60f5869275f94f3) - a simpler fix that will hopefully work also in native mode. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] oscerd commented on a change in pull request #6897: aws2-ses: Add support for CC and BCC addresses
oscerd commented on a change in pull request #6897: URL: https://github.com/apache/camel/pull/6897#discussion_r800653723 ## File path: components/camel-aws/camel-aws2-ses/src/main/java/org/apache/camel/component/aws2/ses/Ses2Producer.java ## @@ -148,15 +148,39 @@ private String determineReturnPath(Exchange exchange) { return returnPath; } -private Destination determineTo(Exchange exchange) { -String to = exchange.getIn().getHeader(Ses2Constants.TO, String.class); -if (to == null) { -to = getConfiguration().getTo(); +private Destination determineDestination(Exchange exchange) { +List to = determineRawTo(exchange); +List cc = determineRawCc(exchange); +List bcc = determineRawBcc(exchange); +return Destination.builder().toAddresses(to).ccAddresses(cc).bccAddresses(bcc).build(); +} + +private List determineRawCc(Exchange exchange) { +String cc = exchange.getIn().getHeader(Ses2Constants.CC, String.class); +if (cc == null) { Review comment: Please use ObjectHelper to check for null ## File path: components/camel-aws/camel-aws2-ses/src/main/java/org/apache/camel/component/aws2/ses/Ses2Producer.java ## @@ -148,15 +148,39 @@ private String determineReturnPath(Exchange exchange) { return returnPath; } -private Destination determineTo(Exchange exchange) { -String to = exchange.getIn().getHeader(Ses2Constants.TO, String.class); -if (to == null) { -to = getConfiguration().getTo(); +private Destination determineDestination(Exchange exchange) { +List to = determineRawTo(exchange); +List cc = determineRawCc(exchange); +List bcc = determineRawBcc(exchange); +return Destination.builder().toAddresses(to).ccAddresses(cc).bccAddresses(bcc).build(); +} + +private List determineRawCc(Exchange exchange) { +String cc = exchange.getIn().getHeader(Ses2Constants.CC, String.class); +if (cc == null) { +cc = getConfiguration().getCc(); +} +if (ObjectHelper.isNotEmpty(cc)) { +return Stream.of(cc.split(",")) +.map(String::trim) +.collect(Collectors.toList()); +} else { +return Collections.emptyList(); +} +} + +private List determineRawBcc(Exchange exchange) { +String bcc = exchange.getIn().getHeader(Ses2Constants.BCC, String.class); +if (bcc == null) { Review comment: same -- 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 #774: Support Default Credentials Provider for AWS Kamelets
oscerd opened a new pull request #774: URL: https://github.com/apache/camel-kamelets/pull/774 Fixes #735 -- 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] 05/13: Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Batch
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 59f9dd712ae2d48671581277333445a6c2420de2 Author: Andrea Cosentino AuthorDate: Mon Feb 7 14:14:53 2022 +0100 Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Batch --- kamelets/aws-sqs-batch-sink.kamelet.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kamelets/aws-sqs-batch-sink.kamelet.yaml b/kamelets/aws-sqs-batch-sink.kamelet.yaml index b571e46..eb1d27d 100644 --- a/kamelets/aws-sqs-batch-sink.kamelet.yaml +++ b/kamelets/aws-sqs-batch-sink.kamelet.yaml @@ -91,7 +91,7 @@ spec: default: https useDefaultCredentialsProvider: title: Default Credentials Provider -description: Set whether the SNS client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in. +description: Set whether the SQS client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in. type: boolean x-descriptors: - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
[camel-kamelets] 03/13: Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS FIFO Sink
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 3d099b83f8ba7995ea4402e5cbedfb165c1c5054 Author: Andrea Cosentino AuthorDate: Mon Feb 7 14:13:45 2022 +0100 Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS FIFO Sink --- kamelets/aws-sqs-fifo-sink.kamelet.yaml | 29 + 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/kamelets/aws-sqs-fifo-sink.kamelet.yaml b/kamelets/aws-sqs-fifo-sink.kamelet.yaml index dc93be8..59b8153 100644 --- a/kamelets/aws-sqs-fifo-sink.kamelet.yaml +++ b/kamelets/aws-sqs-fifo-sink.kamelet.yaml @@ -30,11 +30,15 @@ metadata: spec: definition: title: AWS SQS FIFO Sink -description: Send message to an AWS SQS FIFO Queue +description: |- + + Send message to an AWS SQS FIFO Queue. + + Access Key/Secret Key are the basic method for authenticating to the AWS SQS Service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'. + + When using a default Credentials Provider the SQS client will load the credentials through this provider and won't use the static credential. This is reason for not having the access key and secret key as mandatory parameter for this Kamelet. required: - queueNameOrArn - - accessKey - - secretKey - region type: object properties: @@ -86,7 +90,14 @@ spec: description: The underlying protocol used to communicate with SQS type: string example: http or https -default: https +default: https + useDefaultCredentialsProvider: +title: Default Credentials Provider +description: Set whether the SQS client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in. +type: boolean +x-descriptors: +- 'urn:alm:descriptor:com.tectonic.ui:checkbox' +default: false dependencies: - "camel:aws2-sqs" - "camel:core" @@ -123,9 +134,10 @@ spec: uri: "aws2-sqs:{{queueNameOrArn}}" parameters: autoCreateQueue: "{{autoCreateQueue}}" - accessKey: "{{accessKey}}" - secretKey: "{{secretKey}}" + accessKey: "{{?accessKey}}" + secretKey: "{{?secretKey}}" region: "{{region}}" + useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}" messageGroupIdStrategy: "usePropertyValue" messageDeduplicationIdStrategy: "useContentBasedDeduplication" otherwise: @@ -134,9 +146,10 @@ spec: uri: "aws2-sqs:{{queueNameOrArn}}" parameters: autoCreateQueue: "{{autoCreateQueue}}" - accessKey: "{{accessKey}}" - secretKey: "{{secretKey}}" + accessKey: "{{?accessKey}}" + secretKey: "{{?secretKey}}" region: "{{region}}" + useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}" messageGroupIdStrategy: "usePropertyValue" messageDeduplicationIdStrategy: "useExchangeId" amazonAWSHost: "{{?amazonAWSHost}}"
[camel-kamelets] 04/13: Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS FIFO Sink
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 05289ea0a2140031fb15ba774ceaf557d5b490d3 Author: Andrea Cosentino AuthorDate: Mon Feb 7 14:14:15 2022 +0100 Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS FIFO Sink --- .../kamelets/aws-sqs-fifo-sink.kamelet.yaml| 29 -- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-fifo-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-fifo-sink.kamelet.yaml index dc93be8..59b8153 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-fifo-sink.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-fifo-sink.kamelet.yaml @@ -30,11 +30,15 @@ metadata: spec: definition: title: AWS SQS FIFO Sink -description: Send message to an AWS SQS FIFO Queue +description: |- + + Send message to an AWS SQS FIFO Queue. + + Access Key/Secret Key are the basic method for authenticating to the AWS SQS Service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'. + + When using a default Credentials Provider the SQS client will load the credentials through this provider and won't use the static credential. This is reason for not having the access key and secret key as mandatory parameter for this Kamelet. required: - queueNameOrArn - - accessKey - - secretKey - region type: object properties: @@ -86,7 +90,14 @@ spec: description: The underlying protocol used to communicate with SQS type: string example: http or https -default: https +default: https + useDefaultCredentialsProvider: +title: Default Credentials Provider +description: Set whether the SQS client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in. +type: boolean +x-descriptors: +- 'urn:alm:descriptor:com.tectonic.ui:checkbox' +default: false dependencies: - "camel:aws2-sqs" - "camel:core" @@ -123,9 +134,10 @@ spec: uri: "aws2-sqs:{{queueNameOrArn}}" parameters: autoCreateQueue: "{{autoCreateQueue}}" - accessKey: "{{accessKey}}" - secretKey: "{{secretKey}}" + accessKey: "{{?accessKey}}" + secretKey: "{{?secretKey}}" region: "{{region}}" + useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}" messageGroupIdStrategy: "usePropertyValue" messageDeduplicationIdStrategy: "useContentBasedDeduplication" otherwise: @@ -134,9 +146,10 @@ spec: uri: "aws2-sqs:{{queueNameOrArn}}" parameters: autoCreateQueue: "{{autoCreateQueue}}" - accessKey: "{{accessKey}}" - secretKey: "{{secretKey}}" + accessKey: "{{?accessKey}}" + secretKey: "{{?secretKey}}" region: "{{region}}" + useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}" messageGroupIdStrategy: "usePropertyValue" messageDeduplicationIdStrategy: "useExchangeId" amazonAWSHost: "{{?amazonAWSHost}}"
[camel-kamelets] 13/13: Kamelets Catalog: Fixed 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 2975bdcfc55e2983c5012b0ef7a3d3b4f1e2581c Author: Andrea Cosentino AuthorDate: Mon Feb 7 14:25:31 2022 +0100 Kamelets Catalog: Fixed tests --- .../java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 7156888..5a84a94 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 @@ -56,14 +56,14 @@ public class KameletsCatalogTest { @Test void testGetKameletsDefinition() throws Exception { JSONSchemaProps props = catalog.getKameletDefinition("aws-sqs-source"); -assertEquals(9, props.getProperties().keySet().size()); +assertEquals(10, props.getProperties().keySet().size()); assertTrue(props.getProperties().keySet().contains("queueNameOrArn")); } @Test void testGetKameletsRequiredProperties() throws Exception { List props = catalog.getKameletRequiredProperties("aws-sqs-source"); -assertEquals(4, props.size()); +assertEquals(2, props.size()); assertTrue(props.contains("queueNameOrArn")); }
[camel-kamelets] 12/13: Support DefaultCredentialProvider in the AWS Kamelets - AWS Translate Action
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 0721e49bc43830b041196b518f894e6d92e5e81e Author: Andrea Cosentino AuthorDate: Mon Feb 7 14:23:16 2022 +0100 Support DefaultCredentialProvider in the AWS Kamelets - AWS Translate Action --- .../kamelets/aws-translate-action.kamelet.yaml | 20 +++- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-translate-action.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-translate-action.kamelet.yaml index d9ef445..f5fa921 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/aws-translate-action.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/aws-translate-action.kamelet.yaml @@ -31,10 +31,12 @@ spec: definition: title: "AWS Translate Action" description: |- - Translate a text in a specific language + Translate a text in a specific language. + + Access Key/Secret Key are the basic method for authenticating to the AWS Translate Service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'. + + When using a default Credentials Provider the Translate client will load the credentials through this provider and won't use the static credential. This is reason for not having the access key and secret key as mandatory parameter for this Kamelet. required: - - accessKey - - secretKey - region - sourceLanguage - targetLanguage @@ -71,6 +73,13 @@ spec: description: The target language of the translating text. Possible values are ARABIC("ar"), CHINESE_SIMPLIFIED("zh"), CHINESE_TRADITIONAL("zh-TW"), CZECH("cs"), DANISH("da"), DUTCH("nl"), ENGLISH("en"), FINNISH("fi"), FRENCH("fr"), GERMAN("de"), HEBREW("he"), HINDI("hi"), INDONESIAN("id"), ITALIAN("it"), JAPANESE("ja"), KOREAN("ko"), MALAY("ms"), NORWEGIAN("no"), PERSIAN("fa"), POLISH("pl"), PORTUGUESE("pt"), RUSSIAN("ru"), SPANISH("es"), SWEDISH("sv") and TURKISH("tr"). type: string example: en + useDefaultCredentialsProvider: +title: Default Credentials Provider +description: Set whether the Translate client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in. +type: boolean +x-descriptors: +- 'urn:alm:descriptor:com.tectonic.ui:checkbox' +default: false dependencies: - "camel:dns" - "camel:kamelet" @@ -82,8 +91,9 @@ spec: - to: uri: "aws2-translate://translate" parameters: -secretKey: "{{secretKey}}" -accessKey: "{{accessKey}}" +secretKey: "{{?secretKey}}" +accessKey: "{{?accessKey}}" region: "{{region}}" sourceLanguage: "{{sourceLanguage}}" targetLanguage: "{{targetLanguage}}" +useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
[GitHub] [camel-kamelets] oscerd closed issue #735: Support DefaultCredentialProvider in the AWS Kamelets
oscerd closed issue #735: URL: https://github.com/apache/camel-kamelets/issues/735 -- 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 (26c74f8 -> 2975bdc)
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 26c74f8 Support DefaultCredentialProvider in the AWS Kamelets - AWS SNS new 4353e3f Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Batch new 1233602 Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Batch new 3d099b8 Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS FIFO Sink new 05289ea Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS FIFO Sink new 59f9dd7 Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Batch new 49156da Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Batch new a5567ca Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Sink new 71dda11 Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Sink new 550d6d4 Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Source new ad46b08 Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Source new d0d7da0 Support DefaultCredentialProvider in the AWS Kamelets - AWS Translate Action new 0721e49 Support DefaultCredentialProvider in the AWS Kamelets - AWS Translate Action new 2975bdc Kamelets Catalog: Fixed tests The 13 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-sqs-batch-sink.kamelet.yaml | 24 -- kamelets/aws-sqs-fifo-sink.kamelet.yaml| 29 -- kamelets/aws-sqs-sink.kamelet.yaml | 24 -- kamelets/aws-sqs-source.kamelet.yaml | 18 +++--- kamelets/aws-translate-action.kamelet.yaml | 20 +++ .../kamelets/catalog/KameletsCatalogTest.java | 4 +-- .../kamelets/aws-sqs-batch-sink.kamelet.yaml | 24 -- .../kamelets/aws-sqs-fifo-sink.kamelet.yaml| 29 -- .../resources/kamelets/aws-sqs-sink.kamelet.yaml | 24 -- .../resources/kamelets/aws-sqs-source.kamelet.yaml | 18 +++--- .../kamelets/aws-translate-action.kamelet.yaml | 20 +++ 11 files changed, 170 insertions(+), 64 deletions(-)
[camel-kamelets] 01/13: Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Batch
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 4353e3f2dd82228c8a587e27fde3f5c77414c6a9 Author: Andrea Cosentino AuthorDate: Mon Feb 7 14:10:43 2022 +0100 Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Batch --- kamelets/aws-sqs-batch-sink.kamelet.yaml | 24 +--- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/kamelets/aws-sqs-batch-sink.kamelet.yaml b/kamelets/aws-sqs-batch-sink.kamelet.yaml index 2ca7079..b571e46 100644 --- a/kamelets/aws-sqs-batch-sink.kamelet.yaml +++ b/kamelets/aws-sqs-batch-sink.kamelet.yaml @@ -31,11 +31,13 @@ spec: definition: title: AWS SQS Batch Sink description: |- - Send Batch message to an AWS SQS Queue + Send Batch message to an AWS SQS Queue. + + Access Key/Secret Key are the basic method for authenticating to the AWS SQS Service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'. + + When using a default Credentials Provider the SQS client will load the credentials through this provider and won't use the static credential. This is reason for not having the access key and secret key as mandatory parameter for this Kamelet. required: - queueNameOrArn - - accessKey - - secretKey - region - batchSeparator type: object @@ -86,7 +88,14 @@ spec: description: The underlying protocol used to communicate with SQS type: string example: http or https -default: https +default: https + useDefaultCredentialsProvider: +title: Default Credentials Provider +description: Set whether the SNS client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in. +type: boolean +x-descriptors: +- 'urn:alm:descriptor:com.tectonic.ui:checkbox' +default: false dependencies: - "camel:aws2-sqs" - "camel:kamelet" @@ -98,10 +107,11 @@ spec: uri: "aws2-sqs:{{queueNameOrArn}}" parameters: autoCreateQueue: "{{autoCreateQueue}}" -accessKey: "{{accessKey}}" -secretKey: "{{secretKey}}" +accessKey: "{{?accessKey}}" +secretKey: "{{?secretKey}}" region: "{{region}}" batchSeparator: "{{batchSeparator}}" operation: "sendBatchMessage" amazonAWSHost: "{{?amazonAWSHost}}" -protocol: "{{?protocol}}" +protocol: "{{?protocol}}" +useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
[camel-kamelets] 02/13: Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Batch
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 123360238317f6fa601b26ee68154bf3731d Author: Andrea Cosentino AuthorDate: Mon Feb 7 14:11:15 2022 +0100 Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Batch --- .../kamelets/aws-sqs-batch-sink.kamelet.yaml | 24 +++--- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-batch-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-batch-sink.kamelet.yaml index 2ca7079..b571e46 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-batch-sink.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-batch-sink.kamelet.yaml @@ -31,11 +31,13 @@ spec: definition: title: AWS SQS Batch Sink description: |- - Send Batch message to an AWS SQS Queue + Send Batch message to an AWS SQS Queue. + + Access Key/Secret Key are the basic method for authenticating to the AWS SQS Service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'. + + When using a default Credentials Provider the SQS client will load the credentials through this provider and won't use the static credential. This is reason for not having the access key and secret key as mandatory parameter for this Kamelet. required: - queueNameOrArn - - accessKey - - secretKey - region - batchSeparator type: object @@ -86,7 +88,14 @@ spec: description: The underlying protocol used to communicate with SQS type: string example: http or https -default: https +default: https + useDefaultCredentialsProvider: +title: Default Credentials Provider +description: Set whether the SNS client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in. +type: boolean +x-descriptors: +- 'urn:alm:descriptor:com.tectonic.ui:checkbox' +default: false dependencies: - "camel:aws2-sqs" - "camel:kamelet" @@ -98,10 +107,11 @@ spec: uri: "aws2-sqs:{{queueNameOrArn}}" parameters: autoCreateQueue: "{{autoCreateQueue}}" -accessKey: "{{accessKey}}" -secretKey: "{{secretKey}}" +accessKey: "{{?accessKey}}" +secretKey: "{{?secretKey}}" region: "{{region}}" batchSeparator: "{{batchSeparator}}" operation: "sendBatchMessage" amazonAWSHost: "{{?amazonAWSHost}}" -protocol: "{{?protocol}}" +protocol: "{{?protocol}}" +useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
[camel-kamelets] 10/13: Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Source
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 ad46b085d83d60cd6b0b5603729b3f652d7cf39c Author: Andrea Cosentino AuthorDate: Mon Feb 7 14:20:46 2022 +0100 Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Source --- .../resources/kamelets/aws-sqs-source.kamelet.yaml | 18 ++ 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-source.kamelet.yaml index 32ecfd9..3eb688b 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-source.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-source.kamelet.yaml @@ -33,10 +33,12 @@ spec: title: "AWS SQS Source" description: |- Receive data from AWS SQS. + + Access Key/Secret Key are the basic method for authenticating to the AWS SQS Service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'. + + When using a default Credentials Provider the SQS client will load the credentials through this provider and won't use the static credential. This is reason for not having the access key and secret key as mandatory parameter for this Kamelet. required: - queueNameOrArn - - accessKey - - secretKey - region type: object properties: @@ -103,6 +105,13 @@ spec: x-descriptors: - urn:keda:metadata:queueURL - urn:keda:required + useDefaultCredentialsProvider: +title: Default Credentials Provider +description: Set whether the SQS client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in. +type: boolean +x-descriptors: +- 'urn:alm:descriptor:com.tectonic.ui:checkbox' +default: false dependencies: - "camel:aws2-sqs" - "camel:kamelet" @@ -111,11 +120,12 @@ spec: uri: "aws2-sqs:{{queueNameOrArn}}" parameters: autoCreateQueue: "{{autoCreateQueue}}" -secretKey: "{{secretKey}}" -accessKey: "{{accessKey}}" +secretKey: "{{?secretKey}}" +accessKey: "{{?accessKey}}" region: "{{region}}" deleteAfterRead: "{{deleteAfterRead}}" amazonAWSHost: "{{?amazonAWSHost}}" protocol: "{{?protocol}}" +useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}" steps: - to: "kamelet:sink"
[camel-kamelets] 06/13: Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Batch
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 49156da81597964fb821797e480ffefb78f50a32 Author: Andrea Cosentino AuthorDate: Mon Feb 7 14:15:53 2022 +0100 Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Batch --- .../src/main/resources/kamelets/aws-sqs-batch-sink.kamelet.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-batch-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-batch-sink.kamelet.yaml index b571e46..eb1d27d 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-batch-sink.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-batch-sink.kamelet.yaml @@ -91,7 +91,7 @@ spec: default: https useDefaultCredentialsProvider: title: Default Credentials Provider -description: Set whether the SNS client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in. +description: Set whether the SQS client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in. type: boolean x-descriptors: - 'urn:alm:descriptor:com.tectonic.ui:checkbox'
[camel-kamelets] 09/13: Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Source
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 550d6d43ef3b3cb991be972591fabef974626f14 Author: Andrea Cosentino AuthorDate: Mon Feb 7 14:20:16 2022 +0100 Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Source --- kamelets/aws-sqs-source.kamelet.yaml | 18 ++ 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/kamelets/aws-sqs-source.kamelet.yaml b/kamelets/aws-sqs-source.kamelet.yaml index 32ecfd9..3eb688b 100644 --- a/kamelets/aws-sqs-source.kamelet.yaml +++ b/kamelets/aws-sqs-source.kamelet.yaml @@ -33,10 +33,12 @@ spec: title: "AWS SQS Source" description: |- Receive data from AWS SQS. + + Access Key/Secret Key are the basic method for authenticating to the AWS SQS Service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'. + + When using a default Credentials Provider the SQS client will load the credentials through this provider and won't use the static credential. This is reason for not having the access key and secret key as mandatory parameter for this Kamelet. required: - queueNameOrArn - - accessKey - - secretKey - region type: object properties: @@ -103,6 +105,13 @@ spec: x-descriptors: - urn:keda:metadata:queueURL - urn:keda:required + useDefaultCredentialsProvider: +title: Default Credentials Provider +description: Set whether the SQS client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in. +type: boolean +x-descriptors: +- 'urn:alm:descriptor:com.tectonic.ui:checkbox' +default: false dependencies: - "camel:aws2-sqs" - "camel:kamelet" @@ -111,11 +120,12 @@ spec: uri: "aws2-sqs:{{queueNameOrArn}}" parameters: autoCreateQueue: "{{autoCreateQueue}}" -secretKey: "{{secretKey}}" -accessKey: "{{accessKey}}" +secretKey: "{{?secretKey}}" +accessKey: "{{?accessKey}}" region: "{{region}}" deleteAfterRead: "{{deleteAfterRead}}" amazonAWSHost: "{{?amazonAWSHost}}" protocol: "{{?protocol}}" +useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}" steps: - to: "kamelet:sink"
[camel-kamelets] 08/13: Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Sink
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 71dda11083d40903570c0902e9d907c580115b26 Author: Andrea Cosentino AuthorDate: Mon Feb 7 14:19:03 2022 +0100 Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Sink --- .../resources/kamelets/aws-sqs-sink.kamelet.yaml | 24 +++--- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-sink.kamelet.yaml index 6777602..42e0688 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-sink.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-sink.kamelet.yaml @@ -31,11 +31,13 @@ spec: definition: title: AWS SQS Sink description: |- - Send message to an AWS SQS Queue + Send message to an AWS SQS Queue. + + Access Key/Secret Key are the basic method for authenticating to the AWS SQS Service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'. + + When using a default Credentials Provider the SQS client will load the credentials through this provider and won't use the static credential. This is reason for not having the access key and secret key as mandatory parameter for this Kamelet. required: - queueNameOrArn - - accessKey - - secretKey - region type: object properties: @@ -80,7 +82,14 @@ spec: description: The underlying protocol used to communicate with SQS type: string example: http or https -default: https +default: https + useDefaultCredentialsProvider: +title: Default Credentials Provider +description: Set whether the SQS client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in. +type: boolean +x-descriptors: +- 'urn:alm:descriptor:com.tectonic.ui:checkbox' +default: false dependencies: - "camel:aws2-sqs" - "camel:kamelet" @@ -92,8 +101,9 @@ spec: uri: "aws2-sqs:{{queueNameOrArn}}" parameters: autoCreateQueue: "{{autoCreateQueue}}" -accessKey: "{{accessKey}}" -secretKey: "{{secretKey}}" +accessKey: "{{?accessKey}}" +secretKey: "{{?secretKey}}" region: "{{region}}" amazonAWSHost: "{{?amazonAWSHost}}" -protocol: "{{?protocol}}" +protocol: "{{?protocol}}" +useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
[camel-kamelets] 11/13: Support DefaultCredentialProvider in the AWS Kamelets - AWS Translate Action
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 d0d7da036b59909d672e95744fb15efdd5d9945c Author: Andrea Cosentino AuthorDate: Mon Feb 7 14:22:23 2022 +0100 Support DefaultCredentialProvider in the AWS Kamelets - AWS Translate Action --- kamelets/aws-translate-action.kamelet.yaml | 20 +++- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/kamelets/aws-translate-action.kamelet.yaml b/kamelets/aws-translate-action.kamelet.yaml index d9ef445..f5fa921 100644 --- a/kamelets/aws-translate-action.kamelet.yaml +++ b/kamelets/aws-translate-action.kamelet.yaml @@ -31,10 +31,12 @@ spec: definition: title: "AWS Translate Action" description: |- - Translate a text in a specific language + Translate a text in a specific language. + + Access Key/Secret Key are the basic method for authenticating to the AWS Translate Service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'. + + When using a default Credentials Provider the Translate client will load the credentials through this provider and won't use the static credential. This is reason for not having the access key and secret key as mandatory parameter for this Kamelet. required: - - accessKey - - secretKey - region - sourceLanguage - targetLanguage @@ -71,6 +73,13 @@ spec: description: The target language of the translating text. Possible values are ARABIC("ar"), CHINESE_SIMPLIFIED("zh"), CHINESE_TRADITIONAL("zh-TW"), CZECH("cs"), DANISH("da"), DUTCH("nl"), ENGLISH("en"), FINNISH("fi"), FRENCH("fr"), GERMAN("de"), HEBREW("he"), HINDI("hi"), INDONESIAN("id"), ITALIAN("it"), JAPANESE("ja"), KOREAN("ko"), MALAY("ms"), NORWEGIAN("no"), PERSIAN("fa"), POLISH("pl"), PORTUGUESE("pt"), RUSSIAN("ru"), SPANISH("es"), SWEDISH("sv") and TURKISH("tr"). type: string example: en + useDefaultCredentialsProvider: +title: Default Credentials Provider +description: Set whether the Translate client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in. +type: boolean +x-descriptors: +- 'urn:alm:descriptor:com.tectonic.ui:checkbox' +default: false dependencies: - "camel:dns" - "camel:kamelet" @@ -82,8 +91,9 @@ spec: - to: uri: "aws2-translate://translate" parameters: -secretKey: "{{secretKey}}" -accessKey: "{{accessKey}}" +secretKey: "{{?secretKey}}" +accessKey: "{{?accessKey}}" region: "{{region}}" sourceLanguage: "{{sourceLanguage}}" targetLanguage: "{{targetLanguage}}" +useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
[camel-kamelets] 07/13: Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Sink
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 a5567ca418a8259f4f6b0a1327656af8aec580d4 Author: Andrea Cosentino AuthorDate: Mon Feb 7 14:18:15 2022 +0100 Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Sink --- kamelets/aws-sqs-sink.kamelet.yaml | 24 +--- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/kamelets/aws-sqs-sink.kamelet.yaml b/kamelets/aws-sqs-sink.kamelet.yaml index 6777602..42e0688 100644 --- a/kamelets/aws-sqs-sink.kamelet.yaml +++ b/kamelets/aws-sqs-sink.kamelet.yaml @@ -31,11 +31,13 @@ spec: definition: title: AWS SQS Sink description: |- - Send message to an AWS SQS Queue + Send message to an AWS SQS Queue. + + Access Key/Secret Key are the basic method for authenticating to the AWS SQS Service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'. + + When using a default Credentials Provider the SQS client will load the credentials through this provider and won't use the static credential. This is reason for not having the access key and secret key as mandatory parameter for this Kamelet. required: - queueNameOrArn - - accessKey - - secretKey - region type: object properties: @@ -80,7 +82,14 @@ spec: description: The underlying protocol used to communicate with SQS type: string example: http or https -default: https +default: https + useDefaultCredentialsProvider: +title: Default Credentials Provider +description: Set whether the SQS client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in. +type: boolean +x-descriptors: +- 'urn:alm:descriptor:com.tectonic.ui:checkbox' +default: false dependencies: - "camel:aws2-sqs" - "camel:kamelet" @@ -92,8 +101,9 @@ spec: uri: "aws2-sqs:{{queueNameOrArn}}" parameters: autoCreateQueue: "{{autoCreateQueue}}" -accessKey: "{{accessKey}}" -secretKey: "{{secretKey}}" +accessKey: "{{?accessKey}}" +secretKey: "{{?secretKey}}" region: "{{region}}" amazonAWSHost: "{{?amazonAWSHost}}" -protocol: "{{?protocol}}" +protocol: "{{?protocol}}" +useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
[GitHub] [camel-kamelets] oscerd merged pull request #774: Support Default Credentials Provider for AWS Kamelets
oscerd merged pull request #774: URL: https://github.com/apache/camel-kamelets/pull/774 -- 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 (26c74f8 -> 2975bdc)
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 26c74f8 Support DefaultCredentialProvider in the AWS Kamelets - AWS SNS add 4353e3f Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Batch add 1233602 Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Batch add 3d099b8 Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS FIFO Sink add 05289ea Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS FIFO Sink add 59f9dd7 Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Batch add 49156da Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Batch add a5567ca Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Sink add 71dda11 Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Sink add 550d6d4 Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Source add ad46b08 Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Source add d0d7da0 Support DefaultCredentialProvider in the AWS Kamelets - AWS Translate Action add 0721e49 Support DefaultCredentialProvider in the AWS Kamelets - AWS Translate Action add 2975bdc Kamelets Catalog: Fixed tests No new revisions were added by this update. Summary of changes: kamelets/aws-sqs-batch-sink.kamelet.yaml | 24 -- kamelets/aws-sqs-fifo-sink.kamelet.yaml| 29 -- kamelets/aws-sqs-sink.kamelet.yaml | 24 -- kamelets/aws-sqs-source.kamelet.yaml | 18 +++--- kamelets/aws-translate-action.kamelet.yaml | 20 +++ .../kamelets/catalog/KameletsCatalogTest.java | 4 +-- .../kamelets/aws-sqs-batch-sink.kamelet.yaml | 24 -- .../kamelets/aws-sqs-fifo-sink.kamelet.yaml| 29 -- .../resources/kamelets/aws-sqs-sink.kamelet.yaml | 24 -- .../resources/kamelets/aws-sqs-source.kamelet.yaml | 18 +++--- .../kamelets/aws-translate-action.kamelet.yaml | 20 +++ 11 files changed, 170 insertions(+), 64 deletions(-)
[camel-kamelets] 03/13: Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS FIFO Sink
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch 0.7.x-735-comp in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git commit 6deccc4c548fc5bee58bb67f75587fe7571240b2 Author: Andrea Cosentino AuthorDate: Mon Feb 7 14:13:45 2022 +0100 Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS FIFO Sink --- kamelets/aws-sqs-fifo-sink.kamelet.yaml | 29 + 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/kamelets/aws-sqs-fifo-sink.kamelet.yaml b/kamelets/aws-sqs-fifo-sink.kamelet.yaml index 791787f..a3a8fff 100644 --- a/kamelets/aws-sqs-fifo-sink.kamelet.yaml +++ b/kamelets/aws-sqs-fifo-sink.kamelet.yaml @@ -30,11 +30,15 @@ metadata: spec: definition: title: AWS SQS FIFO Sink -description: Send message to an AWS SQS FIFO Queue +description: |- + + Send message to an AWS SQS FIFO Queue. + + Access Key/Secret Key are the basic method for authenticating to the AWS SQS Service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'. + + When using a default Credentials Provider the SQS client will load the credentials through this provider and won't use the static credential. This is reason for not having the access key and secret key as mandatory parameter for this Kamelet. required: - queueNameOrArn - - accessKey - - secretKey - region type: object properties: @@ -86,7 +90,14 @@ spec: description: The underlying protocol used to communicate with SQS type: string example: http or https -default: https +default: https + useDefaultCredentialsProvider: +title: Default Credentials Provider +description: Set whether the SQS client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in. +type: boolean +x-descriptors: +- 'urn:alm:descriptor:com.tectonic.ui:checkbox' +default: false dependencies: - "camel:aws2-sqs" - "camel:core" @@ -123,9 +134,10 @@ spec: uri: "aws2-sqs:{{queueNameOrArn}}" parameters: autoCreateQueue: "{{autoCreateQueue}}" - accessKey: "{{accessKey}}" - secretKey: "{{secretKey}}" + accessKey: "{{?accessKey}}" + secretKey: "{{?secretKey}}" region: "{{region}}" + useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}" messageGroupIdStrategy: "usePropertyValue" messageDeduplicationIdStrategy: "useContentBasedDeduplication" otherwise: @@ -134,9 +146,10 @@ spec: uri: "aws2-sqs:{{queueNameOrArn}}" parameters: autoCreateQueue: "{{autoCreateQueue}}" - accessKey: "{{accessKey}}" - secretKey: "{{secretKey}}" + accessKey: "{{?accessKey}}" + secretKey: "{{?secretKey}}" region: "{{region}}" + useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}" messageGroupIdStrategy: "usePropertyValue" messageDeduplicationIdStrategy: "useExchangeId" amazonAWSHost: "{{?amazonAWSHost}}"
[camel-kamelets] 01/13: Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Batch
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch 0.7.x-735-comp in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git commit 3dcd4af8a8f19b45ed82baa29092c7d7c08dec66 Author: Andrea Cosentino AuthorDate: Mon Feb 7 14:10:43 2022 +0100 Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Batch --- kamelets/aws-sqs-batch-sink.kamelet.yaml | 24 +--- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/kamelets/aws-sqs-batch-sink.kamelet.yaml b/kamelets/aws-sqs-batch-sink.kamelet.yaml index cbafb84..6b975c1 100644 --- a/kamelets/aws-sqs-batch-sink.kamelet.yaml +++ b/kamelets/aws-sqs-batch-sink.kamelet.yaml @@ -31,11 +31,13 @@ spec: definition: title: AWS SQS Batch Sink description: |- - Send Batch message to an AWS SQS Queue + Send Batch message to an AWS SQS Queue. + + Access Key/Secret Key are the basic method for authenticating to the AWS SQS Service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'. + + When using a default Credentials Provider the SQS client will load the credentials through this provider and won't use the static credential. This is reason for not having the access key and secret key as mandatory parameter for this Kamelet. required: - queueNameOrArn - - accessKey - - secretKey - region - batchSeparator type: object @@ -86,7 +88,14 @@ spec: description: The underlying protocol used to communicate with SQS type: string example: http or https -default: https +default: https + useDefaultCredentialsProvider: +title: Default Credentials Provider +description: Set whether the SNS client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in. +type: boolean +x-descriptors: +- 'urn:alm:descriptor:com.tectonic.ui:checkbox' +default: false dependencies: - "camel:aws2-sqs" - "camel:kamelet" @@ -98,10 +107,11 @@ spec: uri: "aws2-sqs:{{queueNameOrArn}}" parameters: autoCreateQueue: "{{autoCreateQueue}}" -accessKey: "{{accessKey}}" -secretKey: "{{secretKey}}" +accessKey: "{{?accessKey}}" +secretKey: "{{?secretKey}}" region: "{{region}}" batchSeparator: "{{batchSeparator}}" operation: "sendBatchMessage" amazonAWSHost: "{{?amazonAWSHost}}" -protocol: "{{?protocol}}" +protocol: "{{?protocol}}" +useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
[camel-kamelets] 06/13: Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Batch
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch 0.7.x-735-comp in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git commit 55d0696e8080e30dd120cbb34df4332805d9b9e9 Author: Andrea Cosentino AuthorDate: Mon Feb 7 14:15:53 2022 +0100 Support DefaultCredentialProvider in the AWS Kamelets - AWS SQS Batch --- .../src/main/resources/kamelets/aws-sqs-batch-sink.kamelet.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-batch-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-batch-sink.kamelet.yaml index 6b975c1..e3664ad 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-batch-sink.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/aws-sqs-batch-sink.kamelet.yaml @@ -91,7 +91,7 @@ spec: default: https useDefaultCredentialsProvider: title: Default Credentials Provider -description: Set whether the SNS client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in. +description: Set whether the SQS client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in. type: boolean x-descriptors: - 'urn:alm:descriptor:com.tectonic.ui:checkbox'