Re: [I] DataTypes: Initial list of Kamelets to enrich [camel-kamelets]
oscerd closed issue #1343: DataTypes: Initial list of Kamelets to enrich URL: https://github.com/apache/camel-kamelets/issues/1343 -- 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
Re: [I] Tidy up kamelets docs and remove knative binding [camel-kamelets]
oscerd commented on issue #1705: URL: https://github.com/apache/camel-kamelets/issues/1705#issuecomment-2036205392 I would like to restart the discussion on this but we need some help from @zregvart Do you think is feasible to go away from js generation on-the-fly and have generated .adoc directly in the repository? That way we could focus on improving one/two Kamelets and see how it goes and go through all of them later. Working on the js side of thing keep things harder. -- 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 (ae40341c -> 524758ff)
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 ae40341c Restore Kamelets for development add 6e36de71 Updated CHANGELOG.md add be54ee27 Support Camel AWS Bedrock Agent Runtime as Sink add 2393ac41 Support Camel AWS Bedrock Agent Runtime as Sink add c9752dab Support Camel AWS Bedrock Agent Runtime as Sink add 32ef0445 Support Camel AWS Bedrock Agent Runtime as Sink add e751e524 Support Camel AWS Bedrock Agent Runtime as Sink add 77cb53a4 Support Camel AWS Bedrock Agent Runtime as Sink add 70f0d7d9 Bump org.apache.maven.plugin-tools:maven-plugin-annotations (#1981) add 524758ff Bump org.apache.maven.plugins:maven-plugin-plugin from 3.11.0 to 3.12.0 (#1982) No new revisions were added by this update. Summary of changes: CHANGELOG.md | 54 +- docs/modules/ROOT/nav.adoc | 1 + .../aws-bedrock-agent-runtime-sink.kamelet.yaml| 30 ++-- .../kamelets/catalog/KameletsCatalogTest.java | 2 +- ...=> aws-bedrock-agent-runtime-sink.kamelet.yaml} | 30 ++-- library/kamelets-maven-plugin/pom.xml | 4 +- 6 files changed, 86 insertions(+), 35 deletions(-) copy library/camel-kamelets/src/main/resources/kamelets/aws-bedrock-text-sink.kamelet.yaml => kamelets/aws-bedrock-agent-runtime-sink.kamelet.yaml (92%) copy library/camel-kamelets/src/main/resources/kamelets/{aws-bedrock-text-sink.kamelet.yaml => aws-bedrock-agent-runtime-sink.kamelet.yaml} (92%)
(camel-kamelets) branch main updated: Bump org.apache.maven.plugin-tools:maven-plugin-annotations (#1981)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git The following commit(s) were added to refs/heads/main by this push: new 70f0d7d9 Bump org.apache.maven.plugin-tools:maven-plugin-annotations (#1981) 70f0d7d9 is described below commit 70f0d7d93551b8ac3e1ed3ff9f714332ff47b51f Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> AuthorDate: Thu Apr 4 07:01:33 2024 +0200 Bump org.apache.maven.plugin-tools:maven-plugin-annotations (#1981) Bumps [org.apache.maven.plugin-tools:maven-plugin-annotations](https://github.com/apache/maven-plugin-tools) from 3.11.0 to 3.12.0. - [Release notes](https://github.com/apache/maven-plugin-tools/releases) - [Commits](https://github.com/apache/maven-plugin-tools/compare/maven-plugin-tools-3.11.0...maven-plugin-tools-3.12.0) --- updated-dependencies: - dependency-name: org.apache.maven.plugin-tools:maven-plugin-annotations dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- library/kamelets-maven-plugin/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/kamelets-maven-plugin/pom.xml b/library/kamelets-maven-plugin/pom.xml index 98f7e66f..a94e50b3 100644 --- a/library/kamelets-maven-plugin/pom.xml +++ b/library/kamelets-maven-plugin/pom.xml @@ -69,7 +69,7 @@ org.apache.maven.plugin-tools maven-plugin-annotations -3.11.0 +3.12.0 org.apache.maven
(camel-kamelets) branch dependabot/maven/org.apache.maven.plugin-tools-maven-plugin-annotations-3.12.0 deleted (was 16f637bf)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/org.apache.maven.plugin-tools-maven-plugin-annotations-3.12.0 in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git was 16f637bf Bump org.apache.maven.plugin-tools:maven-plugin-annotations The revisions that were on this branch are still contained in other references; therefore, this change does not discard any commits from the repository.
(camel-kamelets) branch dependabot/maven/org.apache.maven.plugins-maven-plugin-plugin-3.12.0 deleted (was d91d85d6)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/org.apache.maven.plugins-maven-plugin-plugin-3.12.0 in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git was d91d85d6 Bump org.apache.maven.plugins:maven-plugin-plugin from 3.11.0 to 3.12.0 The revisions that were on this branch are still contained in other references; therefore, this change does not discard any commits from the repository.
(camel-kamelets) branch main updated: Bump org.apache.maven.plugins:maven-plugin-plugin from 3.11.0 to 3.12.0 (#1982)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git The following commit(s) were added to refs/heads/main by this push: new 524758ff Bump org.apache.maven.plugins:maven-plugin-plugin from 3.11.0 to 3.12.0 (#1982) 524758ff is described below commit 524758ffae4141ec1d7f21f3347efa035a6f85d4 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> AuthorDate: Thu Apr 4 07:01:42 2024 +0200 Bump org.apache.maven.plugins:maven-plugin-plugin from 3.11.0 to 3.12.0 (#1982) Bumps [org.apache.maven.plugins:maven-plugin-plugin](https://github.com/apache/maven-plugin-tools) from 3.11.0 to 3.12.0. - [Release notes](https://github.com/apache/maven-plugin-tools/releases) - [Commits](https://github.com/apache/maven-plugin-tools/compare/maven-plugin-tools-3.11.0...maven-plugin-tools-3.12.0) --- updated-dependencies: - dependency-name: org.apache.maven.plugins:maven-plugin-plugin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- library/kamelets-maven-plugin/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/kamelets-maven-plugin/pom.xml b/library/kamelets-maven-plugin/pom.xml index a94e50b3..404b3045 100644 --- a/library/kamelets-maven-plugin/pom.xml +++ b/library/kamelets-maven-plugin/pom.xml @@ -109,7 +109,7 @@ org.apache.maven.plugins maven-plugin-plugin -3.11.0 +3.12.0 org.apache.maven:maven-plugin-api
Re: [PR] Bump org.apache.maven.plugin-tools:maven-plugin-annotations from 3.11.0 to 3.12.0 [camel-kamelets]
oscerd merged PR #1981: URL: https://github.com/apache/camel-kamelets/pull/1981 -- 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 (6e36de71 -> 77cb53a4)
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 6e36de71 Updated CHANGELOG.md new be54ee27 Support Camel AWS Bedrock Agent Runtime as Sink new 2393ac41 Support Camel AWS Bedrock Agent Runtime as Sink new c9752dab Support Camel AWS Bedrock Agent Runtime as Sink new 32ef0445 Support Camel AWS Bedrock Agent Runtime as Sink new e751e524 Support Camel AWS Bedrock Agent Runtime as Sink new 77cb53a4 Support Camel AWS Bedrock Agent Runtime as Sink The 6 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: docs/modules/ROOT/nav.adoc | 1 + .../aws-bedrock-agent-runtime-sink.kamelet.yaml| 30 +++--- .../kamelets/catalog/KameletsCatalogTest.java | 2 +- ...=> aws-bedrock-agent-runtime-sink.kamelet.yaml} | 30 +++--- 4 files changed, 32 insertions(+), 31 deletions(-) copy library/camel-kamelets/src/main/resources/kamelets/aws-bedrock-text-sink.kamelet.yaml => kamelets/aws-bedrock-agent-runtime-sink.kamelet.yaml (92%) copy library/camel-kamelets/src/main/resources/kamelets/{aws-bedrock-text-sink.kamelet.yaml => aws-bedrock-agent-runtime-sink.kamelet.yaml} (92%)
(camel-kamelets) 06/06: Support Camel AWS Bedrock Agent Runtime as 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 77cb53a46ebad19da0db06c999516b22dba0c1e2 Author: Andrea Cosentino AuthorDate: Thu Apr 4 06:57:15 2024 +0200 Support Camel AWS Bedrock Agent Runtime as Sink Signed-off-by: Andrea Cosentino --- .../main/resources/kamelets/aws-bedrock-agent-runtime-sink.kamelet.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-bedrock-agent-runtime-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-bedrock-agent-runtime-sink.kamelet.yaml index 30f54401..90ee1b1c 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/aws-bedrock-agent-runtime-sink.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/aws-bedrock-agent-runtime-sink.kamelet.yaml @@ -30,7 +30,7 @@ metadata: camel.apache.org/kamelet.type: "sink" spec: definition: -title: "AWS Bedrock Text Sink" +title: "AWS Bedrock Agent Runtime Sink" description: |- Send data for invoking a knowledge base from AWS Bedrock.
Re: [PR] Support Camel AWS Bedrock Agent Runtime as Sink [camel-kamelets]
oscerd merged PR #1983: URL: https://github.com/apache/camel-kamelets/pull/1983 -- 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
Re: [I] Support Camel AWS Bedrock Agent Runtime as Sink [camel-kamelets]
oscerd closed issue #1935: Support Camel AWS Bedrock Agent Runtime as Sink URL: https://github.com/apache/camel-kamelets/issues/1935 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel-kamelets) 01/06: Support Camel AWS Bedrock Agent Runtime as 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 be54ee27bcf7d98b300a2962a826cbd0c98af1bc Author: Andrea Cosentino AuthorDate: Thu Apr 4 06:53:55 2024 +0200 Support Camel AWS Bedrock Agent Runtime as Sink Signed-off-by: Andrea Cosentino --- .../aws-bedrock-agent-runtime-sink.kamelet.yaml| 107 + 1 file changed, 107 insertions(+) diff --git a/kamelets/aws-bedrock-agent-runtime-sink.kamelet.yaml b/kamelets/aws-bedrock-agent-runtime-sink.kamelet.yaml new file mode 100644 index ..30f54401 --- /dev/null +++ b/kamelets/aws-bedrock-agent-runtime-sink.kamelet.yaml @@ -0,0 +1,107 @@ +# --- +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# --- + +apiVersion: camel.apache.org/v1 +kind: Kamelet +metadata: + name: aws-bedrock-agent-runtime-sink + annotations: +camel.apache.org/kamelet.support.level: "Stable" +camel.apache.org/catalog.version: "4.6.0-SNAPSHOT" +camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjxzdmcgZGF0YS1uYW1lPSJMYXllciAxIiBpZD0iTGF5ZXJfMSIgdmlld0JveD0iMCAwIDUxMiA1MTIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTQzMC40MiwxOTYuMzJjOC0xMS4zOSwyMS4xNS0zOC4zMywwLTcyLjEzYTUyLjc5LDUyLjc5LDAsMCwwLTE3LjA2LTE3LjMxYy0xLjUzLTgtNy41NC0yNy4yNi0zMS40Mi00My45MUMzNTksNDcsMzI1LjUyLDQ5LjUzLDMxOS40NCw1MC4xNmE2NC4yNyw2NC4yNywwLDAsMC0xNi4wNy0yLjk0Yy0xNy4xNy0uODEtMzAuMzcsMy44OS0zOS43OCwxNC [...] +camel.apache.org/provider: "Apache Software Foundation" +camel.apache.org/kamelet.group: "AWS Bedrock" +camel.apache.org/kamelet.namespace: "AWS" + labels: +camel.apache.org/kamelet.type: "sink" +spec: + definition: +title: "AWS Bedrock Text Sink" +description: |- + Send data for invoking a knowledge base from AWS Bedrock. + + The basic authentication method for the Bedrock service is to specify an access key and a secret key. These parameters are optional because the Kamelet provides a default credentials provider. + + If you use the default credentials provider, the Bedrock client loads the credentials through this provider and doesn't use the basic authentication method. +required: + - modelId + - knowledgeBaseId + - region +type: object +properties: + modelId: +title: Model Id +description: The model Id to be used to generate responses. +type: string +enum: ["anthropic.claude-instant-v1", "anthropic.claude-v2", "anthropic.claude-v2:1", "anthropic.claude-3-sonnet-20240229-v1:0"] + knowledgeBaseId: +title: Knowledge Base Id +description: The Knowledge Base Id to be used to retrieve and generate responses. +type: string + accessKey: +title: Access Key +description: The access key obtained from AWS. +type: string +format: password +x-descriptors: +- urn:camel:group:credentials + secretKey: +title: Secret Key +description: The secret key obtained from AWS. +type: string +format: password +x-descriptors: +- urn:camel:group:credentials + region: +title: AWS Region +description: The AWS region to access. +type: string +enum: ["us-east-1", "us-west-1"] + useDefaultCredentialsProvider: +title: Default Credentials Provider +description: If true, the Bedrock client loads credentials through a default credentials provider. If false, it uses the basic authentication method (access key and secret key). +type: boolean +default: false + uriEndpointOverride: +title: Overwrite Endpoint URI +description: The overriding endpoint URI. To use this option, you must also select the `overrideEndpoint` option. +type: string + overrideEndpoint: +title: Endpoint Overwrite +description: Select this option to override the endpoint URI. To use this option,
Re: [PR] Bump org.apache.maven.plugins:maven-plugin-plugin from 3.11.0 to 3.12.0 [camel-kamelets]
oscerd merged PR #1982: URL: https://github.com/apache/camel-kamelets/pull/1982 -- 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/06: Support Camel AWS Bedrock Agent Runtime as 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 e751e524a5682886e7737cec1bf9b84d936a939e Author: Andrea Cosentino AuthorDate: Thu Apr 4 06:56:44 2024 +0200 Support Camel AWS Bedrock Agent Runtime as Sink Signed-off-by: Andrea Cosentino --- kamelets/aws-bedrock-agent-runtime-sink.kamelet.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kamelets/aws-bedrock-agent-runtime-sink.kamelet.yaml b/kamelets/aws-bedrock-agent-runtime-sink.kamelet.yaml index 30f54401..90ee1b1c 100644 --- a/kamelets/aws-bedrock-agent-runtime-sink.kamelet.yaml +++ b/kamelets/aws-bedrock-agent-runtime-sink.kamelet.yaml @@ -30,7 +30,7 @@ metadata: camel.apache.org/kamelet.type: "sink" spec: definition: -title: "AWS Bedrock Text Sink" +title: "AWS Bedrock Agent Runtime Sink" description: |- Send data for invoking a knowledge base from AWS Bedrock.
(camel-kamelets) 03/06: Support Camel AWS Bedrock Agent Runtime as 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 c9752dab64103da62c5a40034127f7830636caf0 Author: Andrea Cosentino AuthorDate: Thu Apr 4 06:56:00 2024 +0200 Support Camel AWS Bedrock Agent Runtime as Sink Signed-off-by: Andrea Cosentino --- .../java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 04765857..2fa5ae3c 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 @@ -103,7 +103,7 @@ public class KameletsCatalogTest { void testGetKameletsByNamespace() throws Exception { List c = catalog.getKameletsByNamespace("AWS"); assertFalse(c.isEmpty()); -assertEquals(28, c.size()); +assertEquals(29, c.size()); c = catalog.getKameletsByGroups("Not-existing-group"); assertTrue(c.isEmpty()); }
(camel-kamelets) 04/06: Support Camel AWS Bedrock Agent Runtime as 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 32ef0445b99ba0ef7c00e5b475ebbf00843d39fd Author: Andrea Cosentino AuthorDate: Thu Apr 4 06:56:12 2024 +0200 Support Camel AWS Bedrock Agent Runtime as Sink Signed-off-by: Andrea Cosentino --- docs/modules/ROOT/nav.adoc | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/modules/ROOT/nav.adoc b/docs/modules/ROOT/nav.adoc index 39773960..f9cb6062 100644 --- a/docs/modules/ROOT/nav.adoc +++ b/docs/modules/ROOT/nav.adoc @@ -1,6 +1,7 @@ // THIS FILE IS AUTOMATICALLY GENERATED: DO NOT EDIT * xref:avro-deserialize-action.adoc[] * xref:avro-serialize-action.adoc[] +* xref:aws-bedrock-agent-runtime-sink.adoc[] * xref:aws-bedrock-text-sink.adoc[] * xref:aws-cloudtrail-source.adoc[] * xref:aws-cloudwatch-sink.adoc[]
(camel-kamelets) 02/06: Support Camel AWS Bedrock Agent Runtime as 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 2393ac41c55a722c8628e0a70e36d6a84e886c8b Author: Andrea Cosentino AuthorDate: Thu Apr 4 06:54:34 2024 +0200 Support Camel AWS Bedrock Agent Runtime as Sink Signed-off-by: Andrea Cosentino --- .../aws-bedrock-agent-runtime-sink.kamelet.yaml| 107 + 1 file changed, 107 insertions(+) diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-bedrock-agent-runtime-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-bedrock-agent-runtime-sink.kamelet.yaml new file mode 100644 index ..30f54401 --- /dev/null +++ b/library/camel-kamelets/src/main/resources/kamelets/aws-bedrock-agent-runtime-sink.kamelet.yaml @@ -0,0 +1,107 @@ +# --- +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# --- + +apiVersion: camel.apache.org/v1 +kind: Kamelet +metadata: + name: aws-bedrock-agent-runtime-sink + annotations: +camel.apache.org/kamelet.support.level: "Stable" +camel.apache.org/catalog.version: "4.6.0-SNAPSHOT" +camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjxzdmcgZGF0YS1uYW1lPSJMYXllciAxIiBpZD0iTGF5ZXJfMSIgdmlld0JveD0iMCAwIDUxMiA1MTIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTQzMC40MiwxOTYuMzJjOC0xMS4zOSwyMS4xNS0zOC4zMywwLTcyLjEzYTUyLjc5LDUyLjc5LDAsMCwwLTE3LjA2LTE3LjMxYy0xLjUzLTgtNy41NC0yNy4yNi0zMS40Mi00My45MUMzNTksNDcsMzI1LjUyLDQ5LjUzLDMxOS40NCw1MC4xNmE2NC4yNyw2NC4yNywwLDAsMC0xNi4wNy0yLjk0Yy0xNy4xNy0uODEtMzAuMzcsMy44OS0zOS43OCwxNC [...] +camel.apache.org/provider: "Apache Software Foundation" +camel.apache.org/kamelet.group: "AWS Bedrock" +camel.apache.org/kamelet.namespace: "AWS" + labels: +camel.apache.org/kamelet.type: "sink" +spec: + definition: +title: "AWS Bedrock Text Sink" +description: |- + Send data for invoking a knowledge base from AWS Bedrock. + + The basic authentication method for the Bedrock service is to specify an access key and a secret key. These parameters are optional because the Kamelet provides a default credentials provider. + + If you use the default credentials provider, the Bedrock client loads the credentials through this provider and doesn't use the basic authentication method. +required: + - modelId + - knowledgeBaseId + - region +type: object +properties: + modelId: +title: Model Id +description: The model Id to be used to generate responses. +type: string +enum: ["anthropic.claude-instant-v1", "anthropic.claude-v2", "anthropic.claude-v2:1", "anthropic.claude-3-sonnet-20240229-v1:0"] + knowledgeBaseId: +title: Knowledge Base Id +description: The Knowledge Base Id to be used to retrieve and generate responses. +type: string + accessKey: +title: Access Key +description: The access key obtained from AWS. +type: string +format: password +x-descriptors: +- urn:camel:group:credentials + secretKey: +title: Secret Key +description: The secret key obtained from AWS. +type: string +format: password +x-descriptors: +- urn:camel:group:credentials + region: +title: AWS Region +description: The AWS region to access. +type: string +enum: ["us-east-1", "us-west-1"] + useDefaultCredentialsProvider: +title: Default Credentials Provider +description: If true, the Bedrock client loads credentials through a default credentials provider. If false, it uses the basic authentication method (access key and secret key). +type: boolean +default: false + uriEndpointOverride: +title: Overwrite Endpoint URI +description: The overriding endpoint URI. To use this option, you must also select the `overrideEndpoint` option. +type: string + overrideEndpoint:
(camel-kamelets) 01/06: Support Camel AWS Bedrock Agent Runtime as Sink
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch bedrock-agent-runtime-sink in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git commit 7e3daf9584bbfdb7649edbb024273a0d327351dd Author: Andrea Cosentino AuthorDate: Thu Apr 4 06:53:55 2024 +0200 Support Camel AWS Bedrock Agent Runtime as Sink Signed-off-by: Andrea Cosentino --- .../aws-bedrock-agent-runtime-sink.kamelet.yaml| 107 + 1 file changed, 107 insertions(+) diff --git a/kamelets/aws-bedrock-agent-runtime-sink.kamelet.yaml b/kamelets/aws-bedrock-agent-runtime-sink.kamelet.yaml new file mode 100644 index ..30f54401 --- /dev/null +++ b/kamelets/aws-bedrock-agent-runtime-sink.kamelet.yaml @@ -0,0 +1,107 @@ +# --- +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# --- + +apiVersion: camel.apache.org/v1 +kind: Kamelet +metadata: + name: aws-bedrock-agent-runtime-sink + annotations: +camel.apache.org/kamelet.support.level: "Stable" +camel.apache.org/catalog.version: "4.6.0-SNAPSHOT" +camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjxzdmcgZGF0YS1uYW1lPSJMYXllciAxIiBpZD0iTGF5ZXJfMSIgdmlld0JveD0iMCAwIDUxMiA1MTIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTQzMC40MiwxOTYuMzJjOC0xMS4zOSwyMS4xNS0zOC4zMywwLTcyLjEzYTUyLjc5LDUyLjc5LDAsMCwwLTE3LjA2LTE3LjMxYy0xLjUzLTgtNy41NC0yNy4yNi0zMS40Mi00My45MUMzNTksNDcsMzI1LjUyLDQ5LjUzLDMxOS40NCw1MC4xNmE2NC4yNyw2NC4yNywwLDAsMC0xNi4wNy0yLjk0Yy0xNy4xNy0uODEtMzAuMzcsMy44OS0zOS43OCwxNC [...] +camel.apache.org/provider: "Apache Software Foundation" +camel.apache.org/kamelet.group: "AWS Bedrock" +camel.apache.org/kamelet.namespace: "AWS" + labels: +camel.apache.org/kamelet.type: "sink" +spec: + definition: +title: "AWS Bedrock Text Sink" +description: |- + Send data for invoking a knowledge base from AWS Bedrock. + + The basic authentication method for the Bedrock service is to specify an access key and a secret key. These parameters are optional because the Kamelet provides a default credentials provider. + + If you use the default credentials provider, the Bedrock client loads the credentials through this provider and doesn't use the basic authentication method. +required: + - modelId + - knowledgeBaseId + - region +type: object +properties: + modelId: +title: Model Id +description: The model Id to be used to generate responses. +type: string +enum: ["anthropic.claude-instant-v1", "anthropic.claude-v2", "anthropic.claude-v2:1", "anthropic.claude-3-sonnet-20240229-v1:0"] + knowledgeBaseId: +title: Knowledge Base Id +description: The Knowledge Base Id to be used to retrieve and generate responses. +type: string + accessKey: +title: Access Key +description: The access key obtained from AWS. +type: string +format: password +x-descriptors: +- urn:camel:group:credentials + secretKey: +title: Secret Key +description: The secret key obtained from AWS. +type: string +format: password +x-descriptors: +- urn:camel:group:credentials + region: +title: AWS Region +description: The AWS region to access. +type: string +enum: ["us-east-1", "us-west-1"] + useDefaultCredentialsProvider: +title: Default Credentials Provider +description: If true, the Bedrock client loads credentials through a default credentials provider. If false, it uses the basic authentication method (access key and secret key). +type: boolean +default: false + uriEndpointOverride: +title: Overwrite Endpoint URI +description: The overriding endpoint URI. To use this option, you must also select the `overrideEndpoint` option. +type: string + overrideEndpoint: +title: Endpoint Overwrite +description: Select this option to override the endpoint URI.
[PR] Support Camel AWS Bedrock Agent Runtime as Sink [camel-kamelets]
oscerd opened a new pull request, #1983: URL: https://github.com/apache/camel-kamelets/pull/1983 Fixes #1935 -- 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/06: Support Camel AWS Bedrock Agent Runtime as Sink
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch bedrock-agent-runtime-sink in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git commit 5aabdf67ffaed42dbc7bc971ba0e7c47e37eb268 Author: Andrea Cosentino AuthorDate: Thu Apr 4 06:56:44 2024 +0200 Support Camel AWS Bedrock Agent Runtime as Sink Signed-off-by: Andrea Cosentino --- kamelets/aws-bedrock-agent-runtime-sink.kamelet.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kamelets/aws-bedrock-agent-runtime-sink.kamelet.yaml b/kamelets/aws-bedrock-agent-runtime-sink.kamelet.yaml index 30f54401..90ee1b1c 100644 --- a/kamelets/aws-bedrock-agent-runtime-sink.kamelet.yaml +++ b/kamelets/aws-bedrock-agent-runtime-sink.kamelet.yaml @@ -30,7 +30,7 @@ metadata: camel.apache.org/kamelet.type: "sink" spec: definition: -title: "AWS Bedrock Text Sink" +title: "AWS Bedrock Agent Runtime Sink" description: |- Send data for invoking a knowledge base from AWS Bedrock.
(camel-kamelets) branch dependabot/maven/org.apache.maven.plugins-maven-plugin-plugin-3.12.0 created (now d91d85d6)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/org.apache.maven.plugins-maven-plugin-plugin-3.12.0 in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git at d91d85d6 Bump org.apache.maven.plugins:maven-plugin-plugin from 3.11.0 to 3.12.0 No new revisions were added by this update.
(camel-kamelets) 02/06: Support Camel AWS Bedrock Agent Runtime as Sink
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch bedrock-agent-runtime-sink in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git commit 3200154c9fa7e329c3d6422c337bf171ce723468 Author: Andrea Cosentino AuthorDate: Thu Apr 4 06:54:34 2024 +0200 Support Camel AWS Bedrock Agent Runtime as Sink Signed-off-by: Andrea Cosentino --- .../aws-bedrock-agent-runtime-sink.kamelet.yaml| 107 + 1 file changed, 107 insertions(+) diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-bedrock-agent-runtime-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-bedrock-agent-runtime-sink.kamelet.yaml new file mode 100644 index ..30f54401 --- /dev/null +++ b/library/camel-kamelets/src/main/resources/kamelets/aws-bedrock-agent-runtime-sink.kamelet.yaml @@ -0,0 +1,107 @@ +# --- +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# --- + +apiVersion: camel.apache.org/v1 +kind: Kamelet +metadata: + name: aws-bedrock-agent-runtime-sink + annotations: +camel.apache.org/kamelet.support.level: "Stable" +camel.apache.org/catalog.version: "4.6.0-SNAPSHOT" +camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/PjxzdmcgZGF0YS1uYW1lPSJMYXllciAxIiBpZD0iTGF5ZXJfMSIgdmlld0JveD0iMCAwIDUxMiA1MTIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTQzMC40MiwxOTYuMzJjOC0xMS4zOSwyMS4xNS0zOC4zMywwLTcyLjEzYTUyLjc5LDUyLjc5LDAsMCwwLTE3LjA2LTE3LjMxYy0xLjUzLTgtNy41NC0yNy4yNi0zMS40Mi00My45MUMzNTksNDcsMzI1LjUyLDQ5LjUzLDMxOS40NCw1MC4xNmE2NC4yNyw2NC4yNywwLDAsMC0xNi4wNy0yLjk0Yy0xNy4xNy0uODEtMzAuMzcsMy44OS0zOS43OCwxNC [...] +camel.apache.org/provider: "Apache Software Foundation" +camel.apache.org/kamelet.group: "AWS Bedrock" +camel.apache.org/kamelet.namespace: "AWS" + labels: +camel.apache.org/kamelet.type: "sink" +spec: + definition: +title: "AWS Bedrock Text Sink" +description: |- + Send data for invoking a knowledge base from AWS Bedrock. + + The basic authentication method for the Bedrock service is to specify an access key and a secret key. These parameters are optional because the Kamelet provides a default credentials provider. + + If you use the default credentials provider, the Bedrock client loads the credentials through this provider and doesn't use the basic authentication method. +required: + - modelId + - knowledgeBaseId + - region +type: object +properties: + modelId: +title: Model Id +description: The model Id to be used to generate responses. +type: string +enum: ["anthropic.claude-instant-v1", "anthropic.claude-v2", "anthropic.claude-v2:1", "anthropic.claude-3-sonnet-20240229-v1:0"] + knowledgeBaseId: +title: Knowledge Base Id +description: The Knowledge Base Id to be used to retrieve and generate responses. +type: string + accessKey: +title: Access Key +description: The access key obtained from AWS. +type: string +format: password +x-descriptors: +- urn:camel:group:credentials + secretKey: +title: Secret Key +description: The secret key obtained from AWS. +type: string +format: password +x-descriptors: +- urn:camel:group:credentials + region: +title: AWS Region +description: The AWS region to access. +type: string +enum: ["us-east-1", "us-west-1"] + useDefaultCredentialsProvider: +title: Default Credentials Provider +description: If true, the Bedrock client loads credentials through a default credentials provider. If false, it uses the basic authentication method (access key and secret key). +type: boolean +default: false + uriEndpointOverride: +title: Overwrite Endpoint URI +description: The overriding endpoint URI. To use this option, you must also select the `overrideEndpoint` option. +type: string +
(camel-kamelets) 04/06: Support Camel AWS Bedrock Agent Runtime as Sink
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch bedrock-agent-runtime-sink in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git commit 279f9a323fbc3d8be519a1f8565c0505db11ee85 Author: Andrea Cosentino AuthorDate: Thu Apr 4 06:56:12 2024 +0200 Support Camel AWS Bedrock Agent Runtime as Sink Signed-off-by: Andrea Cosentino --- docs/modules/ROOT/nav.adoc | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/modules/ROOT/nav.adoc b/docs/modules/ROOT/nav.adoc index 39773960..f9cb6062 100644 --- a/docs/modules/ROOT/nav.adoc +++ b/docs/modules/ROOT/nav.adoc @@ -1,6 +1,7 @@ // THIS FILE IS AUTOMATICALLY GENERATED: DO NOT EDIT * xref:avro-deserialize-action.adoc[] * xref:avro-serialize-action.adoc[] +* xref:aws-bedrock-agent-runtime-sink.adoc[] * xref:aws-bedrock-text-sink.adoc[] * xref:aws-cloudtrail-source.adoc[] * xref:aws-cloudwatch-sink.adoc[]
(camel-kamelets) 06/06: Support Camel AWS Bedrock Agent Runtime as Sink
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch bedrock-agent-runtime-sink in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git commit 83dccc745947927e25659a8529d2376478752a60 Author: Andrea Cosentino AuthorDate: Thu Apr 4 06:57:15 2024 +0200 Support Camel AWS Bedrock Agent Runtime as Sink Signed-off-by: Andrea Cosentino --- .../main/resources/kamelets/aws-bedrock-agent-runtime-sink.kamelet.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-bedrock-agent-runtime-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-bedrock-agent-runtime-sink.kamelet.yaml index 30f54401..90ee1b1c 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/aws-bedrock-agent-runtime-sink.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/aws-bedrock-agent-runtime-sink.kamelet.yaml @@ -30,7 +30,7 @@ metadata: camel.apache.org/kamelet.type: "sink" spec: definition: -title: "AWS Bedrock Text Sink" +title: "AWS Bedrock Agent Runtime Sink" description: |- Send data for invoking a knowledge base from AWS Bedrock.
(camel-kamelets) 03/06: Support Camel AWS Bedrock Agent Runtime as Sink
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch bedrock-agent-runtime-sink in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git commit eacaefde60e501c8ff87e6ef44003542b01a692e Author: Andrea Cosentino AuthorDate: Thu Apr 4 06:56:00 2024 +0200 Support Camel AWS Bedrock Agent Runtime as Sink Signed-off-by: Andrea Cosentino --- .../java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 04765857..2fa5ae3c 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 @@ -103,7 +103,7 @@ public class KameletsCatalogTest { void testGetKameletsByNamespace() throws Exception { List c = catalog.getKameletsByNamespace("AWS"); assertFalse(c.isEmpty()); -assertEquals(28, c.size()); +assertEquals(29, c.size()); c = catalog.getKameletsByGroups("Not-existing-group"); assertTrue(c.isEmpty()); }
(camel-kamelets) branch bedrock-agent-runtime-sink created (now 83dccc74)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a change to branch bedrock-agent-runtime-sink in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git at 83dccc74 Support Camel AWS Bedrock Agent Runtime as Sink This branch includes the following new commits: new 7e3daf95 Support Camel AWS Bedrock Agent Runtime as Sink new 3200154c Support Camel AWS Bedrock Agent Runtime as Sink new eacaefde Support Camel AWS Bedrock Agent Runtime as Sink new 279f9a32 Support Camel AWS Bedrock Agent Runtime as Sink new 5aabdf67 Support Camel AWS Bedrock Agent Runtime as Sink new 83dccc74 Support Camel AWS Bedrock Agent Runtime as Sink The 6 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.
[PR] Bump org.apache.maven.plugins:maven-plugin-plugin from 3.11.0 to 3.12.0 [camel-kamelets]
dependabot[bot] opened a new pull request, #1982: URL: https://github.com/apache/camel-kamelets/pull/1982 Bumps [org.apache.maven.plugins:maven-plugin-plugin](https://github.com/apache/maven-plugin-tools) from 3.11.0 to 3.12.0. Release notes Sourced from https://github.com/apache/maven-plugin-tools/releases;>org.apache.maven.plugins:maven-plugin-plugin's releases. 3.12.0 https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317820version=12354176;>Release Notes - Maven Plugin Tools - Version 3.12.0 Commits https://github.com/apache/maven-plugin-tools/commit/0b69acc43ead6efb336c78895e59749f463cc899;>0b69acc [maven-release-plugin] prepare release maven-plugin-tools-3.12.0 https://github.com/apache/maven-plugin-tools/commit/e5e3dd235d572956d49ea461346466d54aec7195;>e5e3dd2 code simplifications https://github.com/apache/maven-plugin-tools/commit/e97ba772405c20849f5e47aa9b4971ddcbc9826b;>e97ba77 [MPLUGIN-510] group history per common requirements https://github.com/apache/maven-plugin-tools/commit/6f9c3d9371155f6a826f8052e099adb716163689;>6f9c3d9 use https://github.com/Component;>@Component instead of https://github.com/Parameter;>@Parameter when possible https://github.com/apache/maven-plugin-tools/commit/d8fecbc1f8b83e9f38b20bd41bac907a9fa0bef4;>d8fecbc Bump org.codehaus.plexus:plexus-archiver from 4.9.1 to 4.9.2 https://github.com/apache/maven-plugin-tools/commit/a9dd57dbdd83e3bb295b9c1bf39c128b4eefc0d3;>a9dd57d rename mavenVersion to maven3Version https://github.com/apache/maven-plugin-tools/commit/1aad21414b8ad92a880d22ffb2b935b3fefa85d8;>1aad214 [MPLUGIN-514] switch from png+imagemap to svg https://github.com/apache/maven-plugin-tools/commit/ddbaa5b46aff5581af5b16ab6ffec2ba3c466705;>ddbaa5b Bump apache/maven-gh-actions-shared from 3 to 4 https://github.com/apache/maven-plugin-tools/commit/cd747611b768031b57fda87bb8e19845d2dc69fa;>cd74761 [MPLUGIN-511] add versions history requirements detection https://github.com/apache/maven-plugin-tools/commit/d9f8d8941d6996ad39b6f4c427f8e126c1176154;>d9f8d89 [MPLUGIN-511] prepare method to list releases history Additional commits viewable in https://github.com/apache/maven-plugin-tools/compare/maven-plugin-tools-3.11.0...maven-plugin-tools-3.12.0;>compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.maven.plugins:maven-plugin-plugin=maven=3.11.0=3.12.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -- 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 dependabot/maven/org.apache.maven.plugin-tools-maven-plugin-annotations-3.12.0 created (now 16f637bf)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/org.apache.maven.plugin-tools-maven-plugin-annotations-3.12.0 in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git at 16f637bf Bump org.apache.maven.plugin-tools:maven-plugin-annotations No new revisions were added by this update.
[PR] Bump org.apache.maven.plugin-tools:maven-plugin-annotations from 3.11.0 to 3.12.0 [camel-kamelets]
dependabot[bot] opened a new pull request, #1981: URL: https://github.com/apache/camel-kamelets/pull/1981 Bumps [org.apache.maven.plugin-tools:maven-plugin-annotations](https://github.com/apache/maven-plugin-tools) from 3.11.0 to 3.12.0. Release notes Sourced from https://github.com/apache/maven-plugin-tools/releases;>org.apache.maven.plugin-tools:maven-plugin-annotations's releases. 3.12.0 https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12317820version=12354176;>Release Notes - Maven Plugin Tools - Version 3.12.0 Commits https://github.com/apache/maven-plugin-tools/commit/0b69acc43ead6efb336c78895e59749f463cc899;>0b69acc [maven-release-plugin] prepare release maven-plugin-tools-3.12.0 https://github.com/apache/maven-plugin-tools/commit/e5e3dd235d572956d49ea461346466d54aec7195;>e5e3dd2 code simplifications https://github.com/apache/maven-plugin-tools/commit/e97ba772405c20849f5e47aa9b4971ddcbc9826b;>e97ba77 [MPLUGIN-510] group history per common requirements https://github.com/apache/maven-plugin-tools/commit/6f9c3d9371155f6a826f8052e099adb716163689;>6f9c3d9 use https://github.com/Component;>@Component instead of https://github.com/Parameter;>@Parameter when possible https://github.com/apache/maven-plugin-tools/commit/d8fecbc1f8b83e9f38b20bd41bac907a9fa0bef4;>d8fecbc Bump org.codehaus.plexus:plexus-archiver from 4.9.1 to 4.9.2 https://github.com/apache/maven-plugin-tools/commit/a9dd57dbdd83e3bb295b9c1bf39c128b4eefc0d3;>a9dd57d rename mavenVersion to maven3Version https://github.com/apache/maven-plugin-tools/commit/1aad21414b8ad92a880d22ffb2b935b3fefa85d8;>1aad214 [MPLUGIN-514] switch from png+imagemap to svg https://github.com/apache/maven-plugin-tools/commit/ddbaa5b46aff5581af5b16ab6ffec2ba3c466705;>ddbaa5b Bump apache/maven-gh-actions-shared from 3 to 4 https://github.com/apache/maven-plugin-tools/commit/cd747611b768031b57fda87bb8e19845d2dc69fa;>cd74761 [MPLUGIN-511] add versions history requirements detection https://github.com/apache/maven-plugin-tools/commit/d9f8d8941d6996ad39b6f4c427f8e126c1176154;>d9f8d89 [MPLUGIN-511] prepare method to list releases history Additional commits viewable in https://github.com/apache/maven-plugin-tools/compare/maven-plugin-tools-3.11.0...maven-plugin-tools-3.12.0;>compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.maven.plugin-tools:maven-plugin-annotations=maven=3.11.0=3.12.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -- 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
Re: [PR] [Github Actions] Periodic Sync Camel Spring Boot (Camel 4) [camel-spring-boot]
davsclaus closed pull request #1123: [Github Actions] Periodic Sync Camel Spring Boot (Camel 4) URL: https://github.com/apache/camel-spring-boot/pull/1123 -- 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
Re: [I] [CI] - Quarkus Main Branch Build Failure [camel-quarkus]
github-actions[bot] commented on issue #2926: URL: https://github.com/apache/camel-quarkus/issues/2926#issuecomment-2036100373 The [quarkus-main](https://github.com/apache/camel-quarkus/tree/quarkus-main) branch build has failed: * Build ID: 8548272766-1442-64980cc4-d540-41c5-a2d5-a7ca1a143e9b * Camel Quarkus Commit: a56cba415dbbc6c22410048afb9d126f8c95257a * Quarkus Main Commit: 1dbb69b7b897ab0d7e3a7bdb0011b7e2a413c380 * Link to build: https://github.com/apache/camel-quarkus/actions/runs/8548272766 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel-k) branch release-2.2.x updated: chore: changelog automatic update
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch release-2.2.x in repository https://gitbox.apache.org/repos/asf/camel-k.git The following commit(s) were added to refs/heads/release-2.2.x by this push: new ceaebbe2e chore: changelog automatic update ceaebbe2e is described below commit ceaebbe2e86e5f84b010de155b14ba683e0c2113 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Thu Apr 4 01:22:04 2024 + chore: changelog automatic update --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3467bcece..74d6f1da7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ **Closed issues:** +- Annotations for dapr.io Sidecar Not Applied in Camel K Integration Deployment [\#5313](https://github.com/apache/camel-k/issues/5313) - Java CRDs plugin error [\#5310](https://github.com/apache/camel-k/issues/5310) - Upgrade error traces [\#5271](https://github.com/apache/camel-k/issues/5271) - Multi architecture support - Integrations [\#4149](https://github.com/apache/camel-k/issues/4149)
(camel-k) branch release-2.3.x updated: chore: nightly automatic updates
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch release-2.3.x in repository https://gitbox.apache.org/repos/asf/camel-k.git The following commit(s) were added to refs/heads/release-2.3.x by this push: new 77159252d chore: nightly automatic updates 77159252d is described below commit 77159252d0057205036d4479f29e5f71cb1868be Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Thu Apr 4 00:40:21 2024 + chore: nightly automatic updates --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3467bcece..74d6f1da7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ **Closed issues:** +- Annotations for dapr.io Sidecar Not Applied in Camel K Integration Deployment [\#5313](https://github.com/apache/camel-k/issues/5313) - Java CRDs plugin error [\#5310](https://github.com/apache/camel-k/issues/5310) - Upgrade error traces [\#5271](https://github.com/apache/camel-k/issues/5271) - Multi architecture support - Integrations [\#4149](https://github.com/apache/camel-k/issues/4149)
Re: [I] [CI] - Camel Main Branch Build Failure [camel-quarkus]
github-actions[bot] commented on issue #2927: URL: https://github.com/apache/camel-quarkus/issues/2927#issuecomment-2035858652 The [camel-main](https://github.com/apache/camel-quarkus/tree/camel-main) branch build has failed: * Build ID: 8547200228-1338-b75b6ef7-0502-40fb-8d65-5614ee620920 * Camel Quarkus Commit: ccfd4c5a48a22ed831e2a292e19fde9c422ebc4c * Camel Main Commit: 1dbb69b7b897ab0d7e3a7bdb0011b7e2a413c380 * Link to build: https://github.com/apache/camel-quarkus/actions/runs/8547200228 -- 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
[PR] [Github Actions] Periodic Sync Camel Spring Boot (Camel 4) [camel-spring-boot]
github-actions[bot] opened a new pull request, #1123: URL: https://github.com/apache/camel-spring-boot/pull/1123 Periodic Sync of Camel Spring Boot Main Branch with main Camel Main. see https://github.com/apache/camel-spring-boot/blob/main/.github/workflows/automatic-sync-main.yml -- 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
[PR] chore(deps): bump github.com/prometheus/common from 0.51.1 to 0.52.2 [camel-k]
dependabot[bot] opened a new pull request, #5320: URL: https://github.com/apache/camel-k/pull/5320 Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.51.1 to 0.52.2. Release notes Sourced from https://github.com/prometheus/common/releases;>github.com/prometheus/common's releases. v0.52.2 What's Changed Drop support for Go older than 1.18 by https://github.com/SuperQ;>@SuperQ in https://redirect.github.com/prometheus/common/pull/612;>prometheus/common#612 fix(protobuf): Correctly decode multi-messages streams by https://github.com/srebhan;>@srebhan in https://redirect.github.com/prometheus/common/pull/616;>prometheus/common#616 Bump github.com/aws/aws-sdk-go from 1.50.31 to 1.51.11 in /sigv4 by https://github.com/dependabot;>@dependabot in https://redirect.github.com/prometheus/common/pull/615;>prometheus/common#615 New Contributors https://github.com/srebhan;>@srebhan made their first contribution in https://redirect.github.com/prometheus/common/pull/616;>prometheus/common#616 Full Changelog: https://github.com/prometheus/common/compare/v0.51.1...v0.52.2;>https://github.com/prometheus/common/compare/v0.51.1...v0.52.2 Commits https://github.com/prometheus/common/commit/4433931c73f27e6145c038d45883f5f3ff8563cd;>4433931 Merge pull request https://redirect.github.com/prometheus/common/issues/615;>#615 from prometheus/dependabot/go_modules/sigv4/github.co... https://github.com/prometheus/common/commit/728e910f29f1770116d1f5ce368fa8fdcd08521d;>728e910 Merge pull request https://redirect.github.com/prometheus/common/issues/616;>#616 from srebhan/fix_protobuf_decode https://github.com/prometheus/common/commit/78585cf51e25f67c820ee6637cfe5560cdc5f55d;>78585cf fix(protobuf): Correctly decode multi-messages streams https://github.com/prometheus/common/commit/5fef1dfd581f01d80edbde44b9a9d12dd183b09b;>5fef1df Bump github.com/aws/aws-sdk-go from 1.50.31 to 1.51.11 in /sigv4 https://github.com/prometheus/common/commit/3dec13c1d77234f3586f17596f65c36dd32e30d0;>3dec13c Drop support for Go older than 1.18 (https://redirect.github.com/prometheus/common/issues/612;>#612) https://github.com/prometheus/common/commit/95edf51c76170f15aea32f1fcd77c689c64219fb;>95edf51 Update common Prometheus files (https://redirect.github.com/prometheus/common/issues/613;>#613) See full diff in https://github.com/prometheus/common/compare/v0.51.1...v0.52.2;>compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/prometheus/common=go_modules=0.51.1=0.52.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel-k) branch dependabot/go_modules/github.com/prometheus/client_model-0.6.1 created (now 5f72086f8)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/go_modules/github.com/prometheus/client_model-0.6.1 in repository https://gitbox.apache.org/repos/asf/camel-k.git at 5f72086f8 chore(deps): bump github.com/prometheus/client_model from 0.6.0 to 0.6.1 No new revisions were added by this update.
[PR] chore(deps): bump github.com/prometheus/client_model from 0.6.0 to 0.6.1 [camel-k]
dependabot[bot] opened a new pull request, #5319: URL: https://github.com/apache/camel-k/pull/5319 Bumps [github.com/prometheus/client_model](https://github.com/prometheus/client_model) from 0.6.0 to 0.6.1. Release notes Sourced from https://github.com/prometheus/client_model/releases;>github.com/prometheus/client_model's releases. v0.6.1 What's Changed Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 by https://github.com/dependabot;>@dependabot in https://redirect.github.com/prometheus/client_model/pull/84;>prometheus/client_model#84 Full Changelog: https://github.com/prometheus/client_model/compare/v0.6.0...v0.6.1;>https://github.com/prometheus/client_model/compare/v0.6.0...v0.6.1 Commits https://github.com/prometheus/client_model/commit/571429e996ba2d9499e3dcb12926767ba953c0ef;>571429e Merge pull request https://redirect.github.com/prometheus/client_model/issues/86;>#86 from prometheus/repo_sync https://github.com/prometheus/client_model/commit/cc727ab9a811bb6780745ba3f506b05215f54ee4;>cc727ab Update common Prometheus files https://github.com/prometheus/client_model/commit/6fe50078c39afce70675c95eb2777bfd8cc6c1ca;>6fe5007 Merge pull request https://redirect.github.com/prometheus/client_model/issues/85;>#85 from prometheus/repo_sync https://github.com/prometheus/client_model/commit/bce87c19fb5621b8abec7b89cd4579db4852a1b4;>bce87c1 Update common Prometheus files https://github.com/prometheus/client_model/commit/64c33c99062b19a40e0a251eb341ffae7609bd80;>64c33c9 Merge pull request https://redirect.github.com/prometheus/client_model/issues/84;>#84 from prometheus/dependabot/go_modules/google.golang.or... https://github.com/prometheus/client_model/commit/d954a8af7a4d933883c25ec3ce3522d3fdf0f91e;>d954a8a Bump google.golang.org/protobuf from 1.32.0 to 1.33.0 https://github.com/prometheus/client_model/commit/5c259930e4b9d04a82d81a876cad8475270190a0;>5c25993 Merge pull request https://redirect.github.com/prometheus/client_model/issues/82;>#82 from prometheus/repo_sync https://github.com/prometheus/client_model/commit/bb45f9532338410787773a9810b1c26bda1ee3b4;>bb45f95 Update common Prometheus files https://github.com/prometheus/client_model/commit/01ca24cafc7877ed5ce091083068cde086b7c3dc;>01ca24c Merge pull request https://redirect.github.com/prometheus/client_model/issues/81;>#81 from prometheus/repo_sync https://github.com/prometheus/client_model/commit/ccd682313a2134dbdf0adde11ea75fb617ac2f8a;>ccd6823 Update common Prometheus files See full diff in https://github.com/prometheus/client_model/compare/v0.6.0...v0.6.1;>compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/prometheus/client_model=go_modules=0.6.0=0.6.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel-k) branch dependabot/go_modules/github.com/prometheus/common-0.52.2 created (now 3fd69bfb4)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/go_modules/github.com/prometheus/common-0.52.2 in repository https://gitbox.apache.org/repos/asf/camel-k.git at 3fd69bfb4 chore(deps): bump github.com/prometheus/common from 0.51.1 to 0.52.2 No new revisions were added by this update.
(camel-k) branch main updated: chore: nightly automatic updates
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k.git The following commit(s) were added to refs/heads/main by this push: new 69a952da1 chore: nightly automatic updates 69a952da1 is described below commit 69a952da15508be5cfef5754440752e1cd516995 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Wed Apr 3 23:46:28 2024 + chore: nightly automatic updates --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3eb503295..8dd2e4fb0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ **Closed issues:** +- Annotations for dapr.io Sidecar Not Applied in Camel K Integration Deployment [\#5313](https://github.com/apache/camel-k/issues/5313) - Java CRDs plugin error [\#5310](https://github.com/apache/camel-k/issues/5310) - Upgrade error traces [\#5271](https://github.com/apache/camel-k/issues/5271) - Multi architecture support - Integrations [\#4149](https://github.com/apache/camel-k/issues/4149)
(camel-k-runtime) branch main updated: chore: update changelog
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git The following commit(s) were added to refs/heads/main by this push: new 561dd418 chore: update changelog 561dd418 is described below commit 561dd4187d96f1ecc514749bb7be74e849252a4e Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Wed Apr 3 23:34:32 2024 + chore: update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 723a63c6..19f6f386 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ **Merged pull requests:** +- Remove tracing capability [\#1204](https://github.com/apache/camel-k-runtime/pull/1204) ([claudio4j](https://github.com/claudio4j)) - Update quarkus platform to 3.9.1 [\#1202](https://github.com/apache/camel-k-runtime/pull/1202) ([claudio4j](https://github.com/claudio4j)) - fix\(ci\): keep updating 3.6.x [\#1196](https://github.com/apache/camel-k-runtime/pull/1196) ([squakez](https://github.com/squakez)) - fix\(catalog\): compatibility Camel K \< 2.2.0 [\#1195](https://github.com/apache/camel-k-runtime/pull/1195) ([squakez](https://github.com/squakez))
(camel-quarkus) branch dependabot/maven/quarkus.platform.version-3.9.2 deleted (was bb95ef57c4)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/quarkus.platform.version-3.9.2 in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git was bb95ef57c4 Bump quarkus.platform.version from 3.9.0 to 3.9.2 The revisions that were on this branch are still contained in other references; therefore, this change does not discard any commits from the repository.
Re: [PR] Bump quarkus.platform.version from 3.9.0 to 3.9.2 [camel-quarkus]
dependabot[bot] commented on PR #5950: URL: https://github.com/apache/camel-quarkus/pull/5950#issuecomment-2035684871 OK, I won't notify you again about this release, but will get in touch when a new version is available. You can also ignore all major, minor, or patch releases for a dependency by adding an [`ignore` condition](https://docs.github.com/en/code-security/supply-chain-security/configuration-options-for-dependency-updates#ignore) with the desired `update_types` to your config file. If you change your mind, just re-open this PR and I'll resolve any conflicts on it. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [PR] Bump quarkus.platform.version from 3.9.0 to 3.9.2 [camel-quarkus]
jamesnetherton closed pull request #5950: Bump quarkus.platform.version from 3.9.0 to 3.9.2 URL: https://github.com/apache/camel-quarkus/pull/5950 -- 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 dependabot/maven/quarkus.platform.version-3.9.2 created (now bb95ef57c4)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/quarkus.platform.version-3.9.2 in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git at bb95ef57c4 Bump quarkus.platform.version from 3.9.0 to 3.9.2 No new revisions were added by this update.
[PR] Bump quarkus.platform.version from 3.9.0 to 3.9.2 [camel-quarkus]
dependabot[bot] opened a new pull request, #5950: URL: https://github.com/apache/camel-quarkus/pull/5950 Bumps `quarkus.platform.version` from 3.9.0 to 3.9.2. Updates `io.quarkus:quarkus-bom` from 3.9.0 to 3.9.2 Release notes Sourced from https://github.com/quarkusio/quarkus/releases;>io.quarkus:quarkus-bom's releases. 3.9.2 Complete changelog https://redirect.github.com/quarkusio/quarkus/pull/38964;>#38964 - Add smallrye metrics capability https://redirect.github.com/quarkusio/quarkus/pull/39668;>#39668 - Recompute cache when the redis connection pool is exhausted https://redirect.github.com/quarkusio/quarkus/pull/39705;>#39705 - WebSockets Next: error handlers part 1 https://redirect.github.com/quarkusio/quarkus/issues/39717;>#39717 - OIDC code flow access token verification is enforced even if the application code does not use it as JWT https://redirect.github.com/quarkusio/quarkus/pull/39718;>#39718 - Enforce OIDC code flow access token verification only if JWT is in the application code https://redirect.github.com/quarkusio/quarkus/pull/39725;>#39725 - Setting the correct CodeFlowVerifyAccessTokenDisabledTest test class name https://redirect.github.com/quarkusio/quarkus/pull/39742;>#39742 - Fix a remaining reference to quarkus.resteasy-reactive. prefix https://redirect.github.com/quarkusio/quarkus/issues/39746;>#39746 - ScheduledExecutorService: cannot remove future task from the scheduler https://redirect.github.com/quarkusio/quarkus/pull/39763;>#39763 - WebSockets Next: error handlers part 2 https://redirect.github.com/quarkusio/quarkus/pull/39766;>#39766 - Properly handle array class types to be looked up https://redirect.github.com/quarkusio/quarkus/pull/39770;>#39770 - Improve the multipart encoded mode handling in the rest client https://redirect.github.com/quarkusio/quarkus/issues/39776;>#39776 - Cannot build native image after 3.9.1 upgrade - missing configuration properties but they exist https://redirect.github.com/quarkusio/quarkus/issues/39777;>#39777 - Bean Param init issue - java.lang.NoClassDefFoundError: io/quarkus/generated/int$quarkusrestparamConverter$ https://redirect.github.com/quarkusio/quarkus/pull/39790;>#39790 - Add quarkus-credentials-deployment where it's missing https://redirect.github.com/quarkusio/quarkus/pull/39794;>#39794 - Bump org.jboss.threads:jboss-threads from 3.6.0.Final to 3.6.1.Final https://redirect.github.com/quarkusio/quarkus/pull/39797;>#39797 - Docs: fix typo in OIDC tenant resolution by configuration https://redirect.github.com/quarkusio/quarkus/issues/39798;>#39798 - Update documentation for QUARKUS AND GRADLE - Development mode: quarkusDev#workingDir has been deprecated https://redirect.github.com/quarkusio/quarkus/pull/39804;>#39804 - Always record profiles https://redirect.github.com/quarkusio/quarkus/pull/39823;>#39823 - Ensure ParameterConverter is loaded from the TCCL https://redirect.github.com/quarkusio/quarkus/pull/39829;>#39829 - Use quarkusDev#workingDirectory https://redirect.github.com/quarkusio/quarkus/pull/39835;>#39835 - Bump maven-model-helper to 36 3.9.1 Complete changelog https://redirect.github.com/quarkusio/quarkus/issues/25682;>#25682 - Dev Services for Postgresql not working with Rancher https://redirect.github.com/quarkusio/quarkus/pull/36736;>#36736 - Manage Jose4j dependency in the bom https://redirect.github.com/quarkusio/quarkus/issues/36737;>#36737 - Add OpenAPI Filter usage to documentation https://redirect.github.com/quarkusio/quarkus/issues/39088;>#39088 - Solve POM formatting issues when creating project/adding extension/removing extension https://redirect.github.com/quarkusio/quarkus/issues/39224;>#39224 - WebSockets Next: support method parameter injection https://redirect.github.com/quarkusio/quarkus/issues/39313;>#39313 - prod-profile configuration pollutes test profile in integration tests https://redirect.github.com/quarkusio/quarkus/pull/39371;>#39371 - Avoid resolving plugin command after the first option https://redirect.github.com/quarkusio/quarkus/pull/39382;>#39382 - Preserve POM format when extensions are added/removed https://redirect.github.com/quarkusio/quarkus/issues/39385;>#39385 - smallrye-health should hande the case when Vert.x current context is null https://redirect.github.com/quarkusio/quarkus/issues/39388;>#39388 - Hibernate runtime property persisting after build https://redirect.github.com/quarkusio/quarkus/pull/39394;>#39394 - Handle null Vert.x context in smallrye-health https://redirect.github.com/quarkusio/quarkus/pull/39426;>#39426 - Do not record active profile configuration name if a profile one exists https://redirect.github.com/quarkusio/quarkus/pull/39443;>#39443 - Use Quarkus wide version of jna-platform in azure-functions https://redirect.github.com/quarkusio/quarkus/issues/39496;>#39496 -
(camel-karavan) branch main updated: Fix #1214
This is an automated email from the ASF dual-hosted git repository. marat pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-karavan.git The following commit(s) were added to refs/heads/main by this push: new 2f3336ab Fix #1214 2f3336ab is described below commit 2f3336abe4e37dbffab1a6c534165029c3b5e3bd Author: Marat Gubaidullin AuthorDate: Wed Apr 3 17:04:42 2024 -0400 Fix #1214 --- karavan-app/src/main/webui/src/editor/DesignerEditor.tsx | 5 +++-- karavan-designer/src/designer/DesignerStore.ts | 4 +--- .../designer/property/property/ComponentPropertyField.tsx | 14 +++--- karavan-space/src/designer/DesignerStore.ts| 4 +--- .../designer/property/property/ComponentPropertyField.tsx | 14 +++--- 5 files changed, 19 insertions(+), 22 deletions(-) diff --git a/karavan-app/src/main/webui/src/editor/DesignerEditor.tsx b/karavan-app/src/main/webui/src/editor/DesignerEditor.tsx index 1ff1e947..cd1ad6f4 100644 --- a/karavan-app/src/main/webui/src/editor/DesignerEditor.tsx +++ b/karavan-app/src/main/webui/src/editor/DesignerEditor.tsx @@ -38,7 +38,7 @@ export function DesignerEditor(props: Props) { const [files] = useFilesStore((s) => [s.files], shallow); const [propertyPlaceholders, setPropertyPlaceholders] = useState([]); const [beans, setBeans] = useState([]); -const [key, setKey] = useState(Math.random().toString()); +const [key, setKey] = useState(); const [code, setCode] = useState(); useEffect(() => { @@ -55,6 +55,7 @@ export function DesignerEditor(props: Props) { prevState.push(...bs); return prevState; }); +setKey(Math.random().toString()); return () => { //save custom kamelet on page unload if (props.projectId.includes('kamelets') && file) { @@ -110,7 +111,7 @@ export function DesignerEditor(props: Props) { } } -return (file !== undefined ? +return (file !== undefined && key !== undefined ? { set((state: DesignerState) => { -state.beans.length = 0; -state.beans.push(...beans); -return state; +return {beans: [...beans]}; }) }, }), shallow) \ No newline at end of file diff --git a/karavan-designer/src/designer/property/property/ComponentPropertyField.tsx b/karavan-designer/src/designer/property/property/ComponentPropertyField.tsx index 52488a89..5e05ceb7 100644 --- a/karavan-designer/src/designer/property/property/ComponentPropertyField.tsx +++ b/karavan-designer/src/designer/property/property/ComponentPropertyField.tsx @@ -114,7 +114,7 @@ export function ComponentPropertyField(props: Props) { } function getSelectBean(property: ComponentProperty, value: any) { -const selectOptions: JSX.Element[] = []; +const selectOptions: React.JSX.Element[] = []; if (beans) { selectOptions.push(); selectOptions.push(...beans.map((bean) => +/> } @@ -288,11 +288,11 @@ export function ComponentPropertyField(props: Props) { title={property.displayName} onClose={() => setShowEditor(false)} onSave={(fieldId, value1) => { - setTextValue(value1); - parametersChanged(property.name, value1, property.kind === 'path') - setShowEditor(false); - setCheckChanges(false); - }}/> + setTextValue(value1); + parametersChanged(property.name, value1, property.kind === 'path') + setShowEditor(false); + setCheckChanges(false); + }}/> } {property.secret && diff --git a/karavan-space/src/designer/DesignerStore.ts b/karavan-space/src/designer/DesignerStore.ts index 40418fb1..ddd9b91a 100644 --- a/karavan-space/src/designer/DesignerStore.ts +++ b/karavan-space/src/designer/DesignerStore.ts @@ -310,9 +310,7 @@ export const useDesignerStore = createWithEqualityFn { set((state: DesignerState) => { -state.beans.length = 0; -state.beans.push(...beans); -return state; +return {beans: [...beans]}; }) }, }), shallow) \ No newline at end of file diff --git a/karavan-space/src/designer/property/property/ComponentPropertyField.tsx b/karavan-space/src/designer/property/property/ComponentPropertyField.tsx index 52488a89..5e05ceb7 100644 --- a/karavan-space/src/designer/property/property/ComponentPropertyField.tsx +++
Re: [I] Beans selectors in UI designers (like DataSource in SQL component) are not working [camel-karavan]
mgubaidullin closed issue #1214: Beans selectors in UI designers (like DataSource in SQL component) are not working URL: https://github.com/apache/camel-karavan/issues/1214 -- 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: Adjust UpdateExtensionDocPageMojo to filter on supported catalog model kinds
This is an automated email from the ASF dual-hosted git repository. aldettinger 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 1dbb69b7b8 Adjust UpdateExtensionDocPageMojo to filter on supported catalog model kinds 1dbb69b7b8 is described below commit 1dbb69b7b897ab0d7e3a7bdb0011b7e2a413c380 Author: James Netherton AuthorDate: Wed Apr 3 14:03:29 2024 +0100 Adjust UpdateExtensionDocPageMojo to filter on supported catalog model kinds --- .../camel/quarkus/maven/UpdateExtensionDocPageMojo.java | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/tooling/maven-plugin/src/main/java/org/apache/camel/quarkus/maven/UpdateExtensionDocPageMojo.java b/tooling/maven-plugin/src/main/java/org/apache/camel/quarkus/maven/UpdateExtensionDocPageMojo.java index 62f58e6be5..8218464e8e 100644 --- a/tooling/maven-plugin/src/main/java/org/apache/camel/quarkus/maven/UpdateExtensionDocPageMojo.java +++ b/tooling/maven-plugin/src/main/java/org/apache/camel/quarkus/maven/UpdateExtensionDocPageMojo.java @@ -31,6 +31,7 @@ import java.util.Locale; import java.util.Map; import java.util.Optional; import java.util.concurrent.ConcurrentHashMap; +import java.util.function.Predicate; import java.util.regex.Pattern; import java.util.stream.Collectors; import java.util.stream.Stream; @@ -54,9 +55,7 @@ import org.apache.camel.quarkus.maven.processor.SectionIdPostProcessor; import org.apache.camel.tooling.model.ArtifactModel; import org.apache.camel.tooling.model.BaseModel; import org.apache.camel.tooling.model.ComponentModel; -import org.apache.camel.tooling.model.DevConsoleModel; import org.apache.camel.tooling.model.Kind; -import org.apache.camel.tooling.model.TransformerModel; import org.apache.maven.model.Dependency; import org.apache.maven.plugin.MojoExecutionException; import org.apache.maven.plugin.MojoFailureException; @@ -71,6 +70,13 @@ public class UpdateExtensionDocPageMojo extends AbstractDocGeneratorMojo { new AppendNewLinePostProcessor(), new SectionIdPostProcessor() }; +static final Predicate> SUPPORTED_MODEL_KIND_FILTER = artifactModel -> { +Kind kind = artifactModel.getKind(); +return kind.equals(Kind.component) || +kind.equals(Kind.dataformat) || +kind.equals(Kind.language) || +kind.equals(Kind.other); +}; @Parameter(defaultValue = "false", property = "camel-quarkus.update-extension-doc-page.skip") boolean skip = false; @@ -113,8 +119,7 @@ public class UpdateExtensionDocPageMojo extends AbstractDocGeneratorMojo { templatesUriBase, encoding); final List> models = catalog.filterModels(ext.getRuntimeArtifactIdBase()) -.filter(artifactModel -> !(artifactModel instanceof DevConsoleModel)) -.filter(artifactModel -> !(artifactModel instanceof TransformerModel)) +.filter(SUPPORTED_MODEL_KIND_FILTER) .filter(artifactModel -> !artifactModel.getArtifactId().equals("camel-management")) .filter(artifactModel -> !artifactModel.getArtifactId().equals("camel-yaml-io")) .sorted(BaseModel.compareTitle())
Re: [PR] Adjust UpdateExtensionDocPageMojo to filter on supported catalog model kinds [camel-quarkus]
aldettinger merged PR #5947: URL: https://github.com/apache/camel-quarkus/pull/5947 -- 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
Re: [PR] CAMEL-20643: Add option to propagate Opentelemetry Context even when t… [camel]
johnpoth commented on PR #13690: URL: https://github.com/apache/camel/pull/13690#issuecomment-2034948213 Thanks ! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel) branch main updated: CAMEL-20643: Add option to propagate Opentelemtry Context even when tracing is disabled for a Camel Processor
This is an automated email from the ASF dual-hosted git repository. jpoth 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 26dd138bac5 CAMEL-20643: Add option to propagate Opentelemtry Context even when tracing is disabled for a Camel Processor 26dd138bac5 is described below commit 26dd138bac51761fb4e82684dbffb3e9c6195587 Author: John Poth AuthorDate: Wed Apr 3 11:11:56 2024 +0200 CAMEL-20643: Add option to propagate Opentelemtry Context even when tracing is disabled for a Camel Processor --- .../OpenTelemetryTracingStrategy.java | 72 +++- .../CamelOpenTelemetryTestSupport.java | 4 + ...lemetryTracingStrategyPropagateContextTest.java | 128 + 3 files changed, 201 insertions(+), 3 deletions(-) diff --git a/components/camel-opentelemetry/src/main/java/org/apache/camel/opentelemetry/OpenTelemetryTracingStrategy.java b/components/camel-opentelemetry/src/main/java/org/apache/camel/opentelemetry/OpenTelemetryTracingStrategy.java index 7208d53dd8b..c827ca06c5a 100644 --- a/components/camel-opentelemetry/src/main/java/org/apache/camel/opentelemetry/OpenTelemetryTracingStrategy.java +++ b/components/camel-opentelemetry/src/main/java/org/apache/camel/opentelemetry/OpenTelemetryTracingStrategy.java @@ -36,6 +36,8 @@ public class OpenTelemetryTracingStrategy implements InterceptStrategy { private final OpenTelemetryTracer tracer; +private boolean propagateContext; + public OpenTelemetryTracingStrategy(OpenTelemetryTracer tracer) { this.tracer = tracer; } @@ -45,11 +47,34 @@ public class OpenTelemetryTracingStrategy implements InterceptStrategy { CamelContext camelContext, NamedNode processorDefinition, Processor target, Processor nextTarget) throws Exception { -if (!shouldTrace(processorDefinition)) { +if (shouldTrace(processorDefinition)) { +return new PropagateContextAndCreateSpan(processorDefinition, target); +} else if (isPropagateContext()) { +return new PropagateContext(target); +} else { return new DelegateAsyncProcessor(target); } +} + +public boolean isPropagateContext() { +return propagateContext; +} + +public void setPropagateContext(boolean propagateContext) { +this.propagateContext = propagateContext; +} -return new DelegateAsyncProcessor((Exchange exchange) -> { +private class PropagateContextAndCreateSpan implements Processor { +private final NamedNode processorDefinition; +private final Processor target; + +public PropagateContextAndCreateSpan(NamedNode processorDefinition, Processor target) { +this.processorDefinition = processorDefinition; +this.target = target; +} + +@Override +public void process(Exchange exchange) throws Exception { Span span = null; OpenTelemetrySpanAdapter spanWrapper = (OpenTelemetrySpanAdapter) ActiveSpanManager.getSpan(exchange); if (spanWrapper != null) { @@ -86,7 +111,48 @@ public class OpenTelemetryTracingStrategy implements InterceptStrategy { processorSpan.end(); } -}); +} +} + +private class PropagateContext implements Processor { +private final Processor target; + +public PropagateContext(Processor target) { +this.target = target; +} + +@Override +public void process(Exchange exchange) throws Exception { +Span span = null; +OpenTelemetrySpanAdapter spanWrapper = (OpenTelemetrySpanAdapter) ActiveSpanManager.getSpan(exchange); +if (spanWrapper != null) { +span = spanWrapper.getOpenTelemetrySpan(); +} + +if (span == null) { +target.process(exchange); +return; +} + +boolean activateExchange = !(target instanceof GetCorrelationContextProcessor +|| target instanceof SetCorrelationContextProcessor); + +if (activateExchange) { +ActiveSpanManager.activate(exchange, new OpenTelemetrySpanAdapter(span)); +} + +try { +target.process(exchange); +} catch (Exception ex) { +span.setStatus(StatusCode.ERROR); +span.recordException(ex); +throw ex; +} finally { +if (activateExchange) { +ActiveSpanManager.deactivate(exchange); +} +} +} } private static String getComponentName(NamedNode processorDefinition) { diff --git
Re: [PR] CAMEL-20643: Add option to propagate Opentelemetry Context even when t… [camel]
johnpoth merged PR #13690: URL: https://github.com/apache/camel/pull/13690 -- 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
[PR] [Backport 2.3.x]: fix(cli): openshift cli install rbac path [camel-k]
gansheer opened a new pull request, #5318: URL: https://github.com/apache/camel-k/pull/5318 Backport from https://github.com/apache/camel-k/pull/5316 **Release Note** ```release-note fix(cli): openshift cli install global operator rbac path ``` -- 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
Re: [PR] CAMEL-20643: Add option to propagate Opentelemetry Context even when t… [camel]
johnpoth commented on PR #13690: URL: https://github.com/apache/camel/pull/13690#issuecomment-2034857391 :-) I see ! Updated, should be good, thanks ! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] Connection leaks on SQL components [camel-karavan]
davsclaus commented on issue #1213: URL: https://github.com/apache/camel-karavan/issues/1213#issuecomment-2034838818 okay I dont have a DB2 datbase, and would need to have some other kind of database. I am not sure if you can try to put together with another database - for example some basic database from a public docker image, you can run via docker, and try. I don't have much time this and next week for tracking this down. -- 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
Re: [I] Connection leaks on SQL components [camel-karavan]
davsclaus closed issue #1213: Connection leaks on SQL components URL: https://github.com/apache/camel-karavan/issues/1213 -- 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
Re: [PR] rest-dsl openapi binding part 2 [camel]
davsclaus merged PR #13691: URL: https://github.com/apache/camel/pull/13691 -- 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 binding2 deleted (was 7b198381f0e)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch binding2 in repository https://gitbox.apache.org/repos/asf/camel.git was 7b198381f0e CAMEL-20557: Rest DSL to use openapi spec directly The revisions that were on this branch are still contained in other references; therefore, this change does not discard any commits from the repository.
(camel) branch main updated: rest-dsl openapi binding part 2 (#13691)
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 ab8dd797ae8 rest-dsl openapi binding part 2 (#13691) ab8dd797ae8 is described below commit ab8dd797ae8bf5f4d979ac43c0dd1994e45bd179 Author: Claus Ibsen AuthorDate: Wed Apr 3 16:48:35 2024 +0200 rest-dsl openapi binding part 2 (#13691) CAMEL-20557: Rest DSL to use openapi spec directly --- .../camel/catalog/components/rest-openapi.json | 59 - ...mHttpRestOpenApiConsumerRestDslBindingTest.java | 43 +- .../openapi/RestOpenApiComponentConfigurer.java| 6 + .../camel/component/rest/openapi/rest-openapi.json | 59 - .../rest/openapi/RestOpenApiComponent.java | 18 ++- .../rest/openapi/RestOpenApiEndpoint.java | 16 ++- .../rest/openapi/RestOpenApiProcessor.java | 79 ++- .../apache/camel/model/rest/RestDefinition.java| 26 ++-- .../dsl/RestOpenapiComponentBuilderFactory.java| 54 +--- .../dsl/RestOpenApiEndpointBuilderFactory.java | 144 ++--- .../camel/kotlin/components/RestOpenapiUriDsl.kt | 52 11 files changed, 326 insertions(+), 230 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/rest-openapi.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/rest-openapi.json index 3179dafec36..41b59cebba5 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/rest-openapi.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/rest-openapi.json @@ -27,39 +27,40 @@ "specificationUri": { "index": 1, "kind": "property", "displayName": "Specification Uri", "group": "common", "label": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "openapi.json", "description": "Path to the OpenApi specification file. The scheme, host base path are taken from this specification, but these can be overridden with properties on the component or endpoint level. If [...] "apiContextPath": { "index": 2, "kind": "property", "displayName": "Api Context Path", "group": "consumer", "label": "consumer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Sets the context-path to use for servicing the OpenAPI specification" }, "bridgeErrorHandler": { "index": 3, "kind": "property", "displayName": "Bridge Error Handler", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions (if possible) occurred while the Camel consumer is trying to pickup incoming messages, or the like [...] -"missingOperation": { "index": 4, "kind": "property", "displayName": "Missing Operation", "group": "consumer", "label": "consumer", "required": false, "type": "string", "javaType": "java.lang.String", "enum": [ "fail", "ignore", "mock" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "fail", "description": "Whether the consumer should fail,ignore or return a mock response for OpenAPI operations that are not mapped to a corresponding route." }, -"consumerComponentName": { "index": 5, "kind": "property", "displayName": "Consumer Component Name", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Name of the Camel component that will service the requests. The component must be present in Camel registry and it must implement RestOpenApiConsumerFactory service provider interfac [...] -"mockIncludePattern": { "index": 6, "kind": "property", "displayName": "Mock Include Pattern", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "classpath:camel-mock\/**", "description": "Used for inclusive filtering of mock data from directories. The pattern is using Ant-path style pattern. Multiple patterns can be specified sepa [...] -"restOpenapiProcessorStrategy": { "index": 7, "kind": "property", "displayName": "Rest Openapi Processor Strategy", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "object", "javaType":
Re: [PR] Promote Qdrant extension to native [camel-quarkus]
aldettinger closed pull request #5897: Promote Qdrant extension to native URL: https://github.com/apache/camel-quarkus/pull/5897 -- 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
[PR] Camel quarkus 5815 rebase main [camel-quarkus]
aldettinger opened a new pull request, #5948: URL: https://github.com/apache/camel-quarkus/pull/5948 -- 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
Re: [PR] CAMEL-20643: Add option to propagate Opentelemetry Context even when t… [camel]
oscerd commented on PR #13690: URL: https://github.com/apache/camel/pull/13690#issuecomment-2034784542 What I meant it's just that set that to false is not needed. It could be false by default, but a primitive boolean is false when you declare the variable -- 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
Re: [PR] Promote Qdrant extension to native [camel-quarkus]
aldettinger commented on PR #5897: URL: https://github.com/apache/camel-quarkus/pull/5897#issuecomment-2034796734 Closing in favor of #5948 -- 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
[PR] rest-dsl openapi binding part 2 [camel]
davsclaus opened a new pull request, #13691: URL: https://github.com/apache/camel/pull/13691 # Description # Target - [ ] I checked that the commit is targeting the correct branch (note that Camel 3 uses `camel-3.x`, whereas Camel 4 uses the `main` branch) # Tracking - [ ] If this is a large change, bug fix, or code improvement, I checked there is a [JIRA issue](https://issues.apache.org/jira/browse/CAMEL) filed for the change (usually before you start working on it). # Apache Camel coding standards and style - [ ] I checked that each commit in the pull request has a meaningful subject line and body. - [ ] I have run `mvn clean install -DskipTests` locally and I have committed all auto-generated changes -- 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 binding2 created (now 7b198381f0e)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch binding2 in repository https://gitbox.apache.org/repos/asf/camel.git at 7b198381f0e CAMEL-20557: Rest DSL to use openapi spec directly This branch includes the following new commits: new d5db0a2a5cd CAMEL-20557: Rest DSL to use openapi spec directly new 249bd4bc84c CAMEL-20557: Rest DSL to use openapi spec directly new 8a31974e9df CAMEL-20557: Rest DSL to use openapi spec directly new a7f84e296a7 CAMEL-20557: Rest DSL to use openapi spec directly new 7b198381f0e CAMEL-20557: Rest DSL to use openapi spec directly 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.
(camel) 03/05: CAMEL-20557: Rest DSL to use openapi spec directly
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch binding2 in repository https://gitbox.apache.org/repos/asf/camel.git commit 8a31974e9dfce88eaa6b829636d6515f42127a62 Author: Claus Ibsen AuthorDate: Wed Apr 3 16:01:12 2024 +0200 CAMEL-20557: Rest DSL to use openapi spec directly --- .../dsl/RestOpenApiEndpointBuilderFactory.java | 144 ++--- .../camel/kotlin/components/RestOpenapiUriDsl.kt | 52 2 files changed, 63 insertions(+), 133 deletions(-) diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/RestOpenApiEndpointBuilderFactory.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/RestOpenApiEndpointBuilderFactory.java index 423af987aeb..335c442808e 100644 --- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/RestOpenApiEndpointBuilderFactory.java +++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/RestOpenApiEndpointBuilderFactory.java @@ -58,23 +58,6 @@ public interface RestOpenApiEndpointBuilderFactory { doSetProperty("apiContextPath", apiContextPath); return this; } -/** - * Whether the consumer should fail,ignore or return a mock response for - * OpenAPI operations that are not mapped to a corresponding route. - * - * The option is a: codejava.lang.String/code type. - * - * Default: fail - * Group: consumer - * - * @param missingOperation the value to set - * @return the dsl builder - */ -default RestOpenApiEndpointConsumerBuilder missingOperation( -String missingOperation) { -doSetProperty("missingOperation", missingOperation); -return this; -} /** * Whether to enable validation of the client request to check if the * incoming request is valid according to the OpenAPI specification. @@ -82,7 +65,7 @@ public interface RestOpenApiEndpointBuilderFactory { * The option is a: codeboolean/code type. * * Default: false - * Group: consumes + * Group: consumer * * @param clientRequestValidation the value to set * @return the dsl builder @@ -100,7 +83,7 @@ public interface RestOpenApiEndpointBuilderFactory { * type. * * Default: false - * Group: consumes + * Group: consumer * * @param clientRequestValidation the value to set * @return the dsl builder @@ -110,6 +93,41 @@ public interface RestOpenApiEndpointBuilderFactory { doSetProperty("clientRequestValidation", clientRequestValidation); return this; } +/** + * What payload type this component capable of consuming. Could be one + * type, like application/json or multiple types as application/json, + * application/xml; q=0.5 according to the RFC7231. This equates to the + * value of Accept HTTP header. If set overrides any value found in the + * OpenApi specification and. in the component configuration. + * + * The option is a: codejava.lang.String/code type. + * + * Group: consumer + * + * @param consumes the value to set + * @return the dsl builder + */ +default RestOpenApiEndpointConsumerBuilder consumes(String consumes) { +doSetProperty("consumes", consumes); +return this; +} +/** + * Whether the consumer should fail,ignore or return a mock response for + * OpenAPI operations that are not mapped to a corresponding route. + * + * The option is a: codejava.lang.String/code type. + * + * Default: fail + * Group: consumer + * + * @param missingOperation the value to set + * @return the dsl builder + */ +default RestOpenApiEndpointConsumerBuilder missingOperation( +String missingOperation) { +doSetProperty("missingOperation", missingOperation); +return this; +} } /** @@ -342,24 +360,6 @@ public interface RestOpenApiEndpointBuilderFactory { doSetProperty("basePath", basePath); return this; } -/** - * What payload type this component capable of consuming. Could be one - * type, like application/json or multiple types as application/json, - * application/xml; q=0.5 according to the RFC7231. This equates to the - * value of Accept HTTP header. If set overrides any value found in the - * OpenApi specification and. in the component configuration. - * - * The option is a: codejava.lang.String/code type. - *
Re: [I] Website preview action is broken [camel-website]
zregvart commented on issue #1170: URL: https://github.com/apache/camel-website/issues/1170#issuecomment-2034760799 See https://github.com/netlify/cli/issues/5977 and https://github.com/netlify/cli/pull/6362 -- 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
Re: [PR] CAMEL-20643: Add option to propagate Opentelemetry Context even when t… [camel]
johnpoth commented on PR #13690: URL: https://github.com/apache/camel/pull/13690#issuecomment-2034776087 Thanks @oscerd for reviewing! I changed the default to `true`. In that case we might want to consider this as a bug ? I'm not sure why someone wouldn't want the OpenTelemetry Context propagated ... WDYT ? Thanks ! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [PR] rest-dsl openapi binding part 2 [camel]
github-actions[bot] commented on PR #13691: URL: https://github.com/apache/camel/pull/13691#issuecomment-2034774696 :star2: Thank you for your contribution to the Apache Camel project! :star2: :robot: CI automation will test this PR automatically. :camel: Apache Camel Committers, please review the following items: * First-time contributors **require MANUAL approval** for the GitHub Actions to run * You can use the command `/component-test (camel-)component-name1 (camel-)component-name2..` to request a test from the test bot. * You can label PRs using `build-all`, `build-dependents`, `skip-tests` and `test-dependents` to fine-tune the checks executed by this PR. * Build and test logs are available in the Summary page. **Only** [Apache Camel committers](https://camel.apache.org/community/team/#committers) have access to the summary. * :warning: Be careful when sharing logs. Review their contents before sharing them publicly. -- 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) 04/05: CAMEL-20557: Rest DSL to use openapi spec directly
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch binding2 in repository https://gitbox.apache.org/repos/asf/camel.git commit a7f84e296a794db51c0b132702bc4e4f21216d68 Author: Claus Ibsen AuthorDate: Wed Apr 3 16:12:18 2024 +0200 CAMEL-20557: Rest DSL to use openapi spec directly --- ...mHttpRestOpenApiConsumerRestDslBindingTest.java | 44 +- 1 file changed, 43 insertions(+), 1 deletion(-) diff --git a/components/camel-platform-http-vertx/src/test/java/org/apache/camel/component/platform/http/vertx/PlatformHttpRestOpenApiConsumerRestDslBindingTest.java b/components/camel-platform-http-vertx/src/test/java/org/apache/camel/component/platform/http/vertx/PlatformHttpRestOpenApiConsumerRestDslBindingTest.java index ab62516d8c6..d36a362e056 100644 --- a/components/camel-platform-http-vertx/src/test/java/org/apache/camel/component/platform/http/vertx/PlatformHttpRestOpenApiConsumerRestDslBindingTest.java +++ b/components/camel-platform-http-vertx/src/test/java/org/apache/camel/component/platform/http/vertx/PlatformHttpRestOpenApiConsumerRestDslBindingTest.java @@ -19,6 +19,7 @@ package org.apache.camel.component.platform.http.vertx; import org.apache.camel.CamelContext; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.platform.http.vertx.model.Pet; +import org.apache.camel.component.rest.openapi.RestOpenApiComponent; import org.apache.camel.model.rest.RestBindingMode; import org.junit.jupiter.api.Test; @@ -28,7 +29,7 @@ import static org.hamcrest.Matchers.equalTo; public class PlatformHttpRestOpenApiConsumerRestDslBindingTest { @Test -public void testRestOpenApi() throws Exception { +public void testRestOpenApiOutType() throws Exception { final CamelContext context = VertxPlatformHttpEngineTest.createCamelContext(); try { @@ -65,4 +66,45 @@ public class PlatformHttpRestOpenApiConsumerRestDslBindingTest { } } +@Test +public void testRestOpenApiInType() throws Exception { +final CamelContext context = VertxPlatformHttpEngineTest.createCamelContext(); + +try { +context.addRoutes(new RouteBuilder() { +@Override +public void configure() { +// TODO: make it easy to set binding package name +RestOpenApiComponent rac = context.getComponent("rest-openapi", RestOpenApiComponent.class); +rac.setBindingPackageName(Pet.class.getPackageName()); + +restConfiguration().bindingMode(RestBindingMode.json); + + rest().openApi().specification("openapi-v3.json").missingOperation("ignore"); + +from("direct:updatePet") +.process(e -> { +Pet pet = e.getMessage().getBody(Pet.class); +pet.setStatus(Pet.Status.PENDING); +e.getMessage().setBody(pet); +}); +} +}); + +context.start(); + +given() +.when() +.contentType("application/json") +.body("{\"id\":123,\"name\":\"tony the tiger\"}") +.put("/api/v3/pet") +.then() +.statusCode(200) +.body(equalTo("{\"id\":123,\"name\":\"tony the tiger\",\"status\":\"PENDING\"}")); + +} finally { +context.stop(); +} +} + }
(camel) 01/05: CAMEL-20557: Rest DSL to use openapi spec directly
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch binding2 in repository https://gitbox.apache.org/repos/asf/camel.git commit d5db0a2a5cd3c1c357945982f663ac6413de5b6a Author: Claus Ibsen AuthorDate: Wed Apr 3 15:54:37 2024 +0200 CAMEL-20557: Rest DSL to use openapi spec directly --- .../openapi/RestOpenApiComponentConfigurer.java| 6 ++ .../camel/component/rest/openapi/rest-openapi.json | 59 .../rest/openapi/RestOpenApiComponent.java | 18 +++-- .../rest/openapi/RestOpenApiEndpoint.java | 16 - .../rest/openapi/RestOpenApiProcessor.java | 79 +- .../apache/camel/model/rest/RestDefinition.java| 26 +++ 6 files changed, 155 insertions(+), 49 deletions(-) diff --git a/components/camel-rest-openapi/src/generated/java/org/apache/camel/component/rest/openapi/RestOpenApiComponentConfigurer.java b/components/camel-rest-openapi/src/generated/java/org/apache/camel/component/rest/openapi/RestOpenApiComponentConfigurer.java index a4da07cffbb..4b19529401f 100644 --- a/components/camel-rest-openapi/src/generated/java/org/apache/camel/component/rest/openapi/RestOpenApiComponentConfigurer.java +++ b/components/camel-rest-openapi/src/generated/java/org/apache/camel/component/rest/openapi/RestOpenApiComponentConfigurer.java @@ -27,6 +27,8 @@ public class RestOpenApiComponentConfigurer extends PropertyConfigurerSupport im case "autowiredEnabled": target.setAutowiredEnabled(property(camelContext, boolean.class, value)); return true; case "basepath": case "basePath": target.setBasePath(property(camelContext, java.lang.String.class, value)); return true; +case "bindingpackagename": +case "bindingPackageName": target.setBindingPackageName(property(camelContext, java.lang.String.class, value)); return true; case "bridgeerrorhandler": case "bridgeErrorHandler": target.setBridgeErrorHandler(property(camelContext, boolean.class, value)); return true; case "clientrequestvalidation": @@ -67,6 +69,8 @@ public class RestOpenApiComponentConfigurer extends PropertyConfigurerSupport im case "autowiredEnabled": return boolean.class; case "basepath": case "basePath": return java.lang.String.class; +case "bindingpackagename": +case "bindingPackageName": return java.lang.String.class; case "bridgeerrorhandler": case "bridgeErrorHandler": return boolean.class; case "clientrequestvalidation": @@ -108,6 +112,8 @@ public class RestOpenApiComponentConfigurer extends PropertyConfigurerSupport im case "autowiredEnabled": return target.isAutowiredEnabled(); case "basepath": case "basePath": return target.getBasePath(); +case "bindingpackagename": +case "bindingPackageName": return target.getBindingPackageName(); case "bridgeerrorhandler": case "bridgeErrorHandler": return target.isBridgeErrorHandler(); case "clientrequestvalidation": diff --git a/components/camel-rest-openapi/src/generated/resources/META-INF/org/apache/camel/component/rest/openapi/rest-openapi.json b/components/camel-rest-openapi/src/generated/resources/META-INF/org/apache/camel/component/rest/openapi/rest-openapi.json index 3179dafec36..41b59cebba5 100644 --- a/components/camel-rest-openapi/src/generated/resources/META-INF/org/apache/camel/component/rest/openapi/rest-openapi.json +++ b/components/camel-rest-openapi/src/generated/resources/META-INF/org/apache/camel/component/rest/openapi/rest-openapi.json @@ -27,39 +27,40 @@ "specificationUri": { "index": 1, "kind": "property", "displayName": "Specification Uri", "group": "common", "label": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "openapi.json", "description": "Path to the OpenApi specification file. The scheme, host base path are taken from this specification, but these can be overridden with properties on the component or endpoint level. If [...] "apiContextPath": { "index": 2, "kind": "property", "displayName": "Api Context Path", "group": "consumer", "label": "consumer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Sets the context-path to use for servicing the OpenAPI specification" }, "bridgeErrorHandler": { "index": 3, "kind": "property", "displayName": "Bridge Error Handler", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions (if possible) occurred while the Camel consumer is trying
(camel) 05/05: CAMEL-20557: Rest DSL to use openapi spec directly
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch binding2 in repository https://gitbox.apache.org/repos/asf/camel.git commit 7b198381f0edddef763e33f53a0dd5a8b2dd8182 Author: Claus Ibsen AuthorDate: Wed Apr 3 16:16:06 2024 +0200 CAMEL-20557: Rest DSL to use openapi spec directly --- .../http/vertx/PlatformHttpRestOpenApiConsumerRestDslBindingTest.java| 1 - 1 file changed, 1 deletion(-) diff --git a/components/camel-platform-http-vertx/src/test/java/org/apache/camel/component/platform/http/vertx/PlatformHttpRestOpenApiConsumerRestDslBindingTest.java b/components/camel-platform-http-vertx/src/test/java/org/apache/camel/component/platform/http/vertx/PlatformHttpRestOpenApiConsumerRestDslBindingTest.java index d36a362e056..548cfb9635f 100644 --- a/components/camel-platform-http-vertx/src/test/java/org/apache/camel/component/platform/http/vertx/PlatformHttpRestOpenApiConsumerRestDslBindingTest.java +++ b/components/camel-platform-http-vertx/src/test/java/org/apache/camel/component/platform/http/vertx/PlatformHttpRestOpenApiConsumerRestDslBindingTest.java @@ -86,7 +86,6 @@ public class PlatformHttpRestOpenApiConsumerRestDslBindingTest { .process(e -> { Pet pet = e.getMessage().getBody(Pet.class); pet.setStatus(Pet.Status.PENDING); -e.getMessage().setBody(pet); }); } });
(camel) 02/05: CAMEL-20557: Rest DSL to use openapi spec directly
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch binding2 in repository https://gitbox.apache.org/repos/asf/camel.git commit 249bd4bc84c2d6e926856adbbd677e21108fdd74 Author: Claus Ibsen AuthorDate: Wed Apr 3 15:57:12 2024 +0200 CAMEL-20557: Rest DSL to use openapi spec directly --- .../camel/catalog/components/rest-openapi.json | 59 +++--- .../dsl/RestOpenapiComponentBuilderFactory.java| 54 +--- 2 files changed, 66 insertions(+), 47 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/rest-openapi.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/rest-openapi.json index 3179dafec36..41b59cebba5 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/rest-openapi.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/rest-openapi.json @@ -27,39 +27,40 @@ "specificationUri": { "index": 1, "kind": "property", "displayName": "Specification Uri", "group": "common", "label": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "openapi.json", "description": "Path to the OpenApi specification file. The scheme, host base path are taken from this specification, but these can be overridden with properties on the component or endpoint level. If [...] "apiContextPath": { "index": 2, "kind": "property", "displayName": "Api Context Path", "group": "consumer", "label": "consumer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Sets the context-path to use for servicing the OpenAPI specification" }, "bridgeErrorHandler": { "index": 3, "kind": "property", "displayName": "Bridge Error Handler", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions (if possible) occurred while the Camel consumer is trying to pickup incoming messages, or the like [...] -"missingOperation": { "index": 4, "kind": "property", "displayName": "Missing Operation", "group": "consumer", "label": "consumer", "required": false, "type": "string", "javaType": "java.lang.String", "enum": [ "fail", "ignore", "mock" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "fail", "description": "Whether the consumer should fail,ignore or return a mock response for OpenAPI operations that are not mapped to a corresponding route." }, -"consumerComponentName": { "index": 5, "kind": "property", "displayName": "Consumer Component Name", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Name of the Camel component that will service the requests. The component must be present in Camel registry and it must implement RestOpenApiConsumerFactory service provider interfac [...] -"mockIncludePattern": { "index": 6, "kind": "property", "displayName": "Mock Include Pattern", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "classpath:camel-mock\/**", "description": "Used for inclusive filtering of mock data from directories. The pattern is using Ant-path style pattern. Multiple patterns can be specified sepa [...] -"restOpenapiProcessorStrategy": { "index": 7, "kind": "property", "displayName": "Rest Openapi Processor Strategy", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "object", "javaType": "org.apache.camel.component.rest.openapi.RestOpenapiProcessorStrategy", "deprecated": false, "autowired": false, "secret": false, "description": "To use a custom strategy for how to process Rest DSL requests" }, -"host": { "index": 8, "kind": "property", "displayName": "Host", "group": "producer", "label": "producer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Scheme hostname and port to direct the HTTP requests to in the form of https:\/\/hostname:port. Can be configured at the endpoint, component or in the corresponding REST configuration in the Camel Context. If you give this component a nam [...] -"lazyStartProducer": { "index": 9, "kind": "property", "displayName": "Lazy Start Producer", "group": "producer", "label":
Re: [PR] CAMEL-19533 - camel-mail: replace Thread.sleep in tests. [camel]
orpiske commented on code in PR #13678: URL: https://github.com/apache/camel/pull/13678#discussion_r1549846065 ## components/camel-mail/src/test/java/org/apache/camel/component/mail/MailAttachmentsUmlautIssueTest.java: ## @@ -71,28 +73,28 @@ public void testSendAndReceiveMailWithAttachments() throws Exception { producer.process(exchange); // need some time for the mail to arrive on the inbox (consumed and sent to the mock) -Thread.sleep(2000); - -MockEndpoint mock = getMockEndpoint("mock:result"); -mock.expectedMessageCount(1); -Exchange out = mock.assertExchangeReceived(0); -mock.assertIsSatisfied(); - -// plain text -assertEquals("Hello World", out.getIn().getBody(String.class)); - -// attachment -Map attachments = out.getIn(AttachmentMessage.class).getAttachments(); -assertNotNull(attachments, "Should have attachments"); -assertEquals(1, attachments.size()); - -DataHandler handler = out.getIn(AttachmentMessage.class).getAttachment(name); -assertNotNull(handler, "The " + name + " should be there"); - -String nameURLEncoded = URLEncoder.encode(name, Charset.defaultCharset().name()); -assertTrue(handler.getContentType().endsWith(nameURLEncoded), "Handler content type should end with URL-encoded name"); - -assertEquals(name, handler.getName(), "Handler name should be the file name"); +Awaitility.await().pollDelay(2, TimeUnit.SECONDS).untilAsserted(() -> { +MockEndpoint mock = getMockEndpoint("mock:result"); Review Comment: Setting up the expectations should be done outside the untilAsserted. In general we should have only the assertion code within that. Can you adjust this, please? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[I] Website preview action is broken [camel-website]
squakez opened a new issue, #1170: URL: https://github.com/apache/camel-website/issues/1170 Just happened in a couple of PR I did. This is the error trace: ``` parse error: Invalid numeric literal at line 1, column 2 Error: Process completed with exit code 4. ``` https://github.com/apache/camel-website/actions/runs/8537724107/job/23388903274 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [PR] feat: camel k 2.3.0 [camel-website]
squakez commented on code in PR #1169: URL: https://github.com/apache/camel-website/pull/1169#discussion_r1549826491 ## content/blog/2024/04/camel-k-2-3/index.md: ## @@ -0,0 +1,66 @@ +--- +title: "Camel K 2.3.0" +date: 2024-04-08 +draft: false +authors: [squakez] +categories: ["Releases", "Camel K", "Roadmap"] +preview: "What's new in Camel K 2.3.0!" +--- +© Sir John Soane’s Museum London + +Apache Camel community is happy to announce the general availability of **Camel K 2.3.0**. This release version contains several fix which are increasing the operator stability and a few hidden changes which are making the software more modular, therefore future feature development quicker and independent from the Camel runtime chosen. + +First of all, we have changed the default runtime to Camel K Runtime version 3.8.1 which is based on same Camel Quarkus version (and Camel 4.4.1 version). It follows a list of the most important features you'll be able to use from now on. + +## Multi architecture manifest (ARM64) +The possibility to run an ARM64 based platform was already available since version 2.0. However, the procedure to run the new architecture platform was a bit clumsy as you had to declare most of the things manually. In this version we have published a manifest that will contain the various architecture we support (AMD64 and ARM64). Your cloud provider will be able to pick the right platform from the manifest, freeing you up from specifying the platform. + +In order to maintain backward compatibility we still had to let the user declare which is the platform to use introducing the `builder.platform` trait configuration. Configure this parameter either in each Integration or in general into the IntegrationPlatform in order to specify which platform you want to run for all your Integrations. +``` +kamel run test.yaml -t builder.platforms=linux/arm64 -t builder.platforms=linux/amd64 Review Comment: Yes, that's how it works. Thanks. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [PR] fix(cli): openshift cli install rbac path [camel-k]
squakez commented on PR #5316: URL: https://github.com/apache/camel-k/pull/5316#issuecomment-2034592775 This one must be backported to release-2.3.x as well please. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[PR] Adjust UpdateExtensionDocPageMojo to filter on supported catalog model kinds [camel-quarkus]
jamesnetherton opened a new pull request, #5947: URL: https://github.com/apache/camel-quarkus/pull/5947 Minor improvement for maintenance if new model kinds get added in 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
Re: [PR] CAMEL-20643: Add option to propagate Opentelemetry Context even when t… [camel]
oscerd commented on code in PR #13690: URL: https://github.com/apache/camel/pull/13690#discussion_r1549687317 ## components/camel-opentelemetry/src/main/java/org/apache/camel/opentelemetry/OpenTelemetryTracingStrategy.java: ## @@ -36,6 +36,8 @@ public class OpenTelemetryTracingStrategy implements InterceptStrategy { private final OpenTelemetryTracer tracer; +private boolean propagateContext = false; Review Comment: This is false by default. -- 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
[PR] CAMEL-20643: Add option to propagate Opentelemetry Context even when t… [camel]
johnpoth opened a new pull request, #13690: URL: https://github.com/apache/camel/pull/13690 …racing is disabled for a Camel Processor https://issues.apache.org/jira/browse/CAMEL-20643 Adds `propagateContext` option to `OpenTelemetryTracingStrategy` that propagates the Opentelemetry Context even when the Processor is excluded. This is useful when custom Spans are created with @WithSpan for fine grained tracing. It is turned off by default for backward compatibility. Thanks ! # Description # Target - [ ] I checked that the commit is targeting the correct branch (note that Camel 3 uses `camel-3.x`, whereas Camel 4 uses the `main` branch) # Tracking - [ ] If this is a large change, bug fix, or code improvement, I checked there is a [JIRA issue](https://issues.apache.org/jira/browse/CAMEL) filed for the change (usually before you start working on it). # Apache Camel coding standards and style - [ ] I checked that each commit in the pull request has a meaningful subject line and body. - [ ] I have run `mvn clean install -DskipTests` locally and I have committed all auto-generated changes -- 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
Re: [PR] CAMEL-20643: Add option to propagate Opentelemetry Context even when t… [camel]
github-actions[bot] commented on PR #13690: URL: https://github.com/apache/camel/pull/13690#issuecomment-2034515292 :star2: Thank you for your contribution to the Apache Camel project! :star2: :robot: CI automation will test this PR automatically. :camel: Apache Camel Committers, please review the following items: * First-time contributors **require MANUAL approval** for the GitHub Actions to run * You can use the command `/component-test (camel-)component-name1 (camel-)component-name2..` to request a test from the test bot. * You can label PRs using `build-all`, `build-dependents`, `skip-tests` and `test-dependents` to fine-tune the checks executed by this PR. * Build and test logs are available in the Summary page. **Only** [Apache Camel committers](https://camel.apache.org/community/team/#committers) have access to the summary. * :warning: Be careful when sharing logs. Review their contents before sharing them publicly. -- 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
Re: [PR] Remove tracing capability [camel-k-runtime]
claudio4j merged PR #1204: URL: https://github.com/apache/camel-k-runtime/pull/1204 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel-k-runtime) branch main updated: Remove tracing capability (#1204)
This is an automated email from the ASF dual-hosted git repository. claudio4j pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git The following commit(s) were added to refs/heads/main by this push: new 5308e096 Remove tracing capability (#1204) 5308e096 is described below commit 5308e096fef4ed14215cff82cba67396e09a2c90 Author: Claudio Miranda AuthorDate: Wed Apr 3 09:36:00 2024 -0300 Remove tracing capability (#1204) the camel-quarkus-opentracing was removed from camel-quarkus 3.0 --- support/camel-k-maven-plugin/src/it/generate-catalog/verify.groovy| 2 -- .../java/org/apache/camel/k/tooling/maven/GenerateCatalogMojo.java| 4 2 files changed, 6 deletions(-) diff --git a/support/camel-k-maven-plugin/src/it/generate-catalog/verify.groovy b/support/camel-k-maven-plugin/src/it/generate-catalog/verify.groovy index 7719c721..7727ac7b 100644 --- a/support/camel-k-maven-plugin/src/it/generate-catalog/verify.groovy +++ b/support/camel-k-maven-plugin/src/it/generate-catalog/verify.groovy @@ -40,8 +40,6 @@ new File(basedir, "catalog.yaml").withReader { assert catalog.spec.runtime.capabilities['platform-http'].dependencies[0].artifactId == 'camel-quarkus-platform-http' assert catalog.spec.runtime.capabilities['circuit-breaker'].dependencies[0].groupId == 'org.apache.camel.quarkus' assert catalog.spec.runtime.capabilities['circuit-breaker'].dependencies[0].artifactId == 'camel-quarkus-microprofile-fault-tolerance' -assert catalog.spec.runtime.capabilities['tracing'].dependencies[0].groupId == 'org.apache.camel.quarkus' -assert catalog.spec.runtime.capabilities['tracing'].dependencies[0].artifactId == 'camel-quarkus-opentracing' assert catalog.spec.runtime.capabilities['telemetry'].dependencies[0].groupId == 'org.apache.camel.quarkus' assert catalog.spec.runtime.capabilities['telemetry'].dependencies[0].artifactId == 'camel-quarkus-opentelemetry' assert catalog.spec.runtime.capabilities['master'].dependencies[0].groupId == 'org.apache.camel.k' diff --git a/support/camel-k-maven-plugin/src/main/java/org/apache/camel/k/tooling/maven/GenerateCatalogMojo.java b/support/camel-k-maven-plugin/src/main/java/org/apache/camel/k/tooling/maven/GenerateCatalogMojo.java index f99af214..feeaa685 100644 --- a/support/camel-k-maven-plugin/src/main/java/org/apache/camel/k/tooling/maven/GenerateCatalogMojo.java +++ b/support/camel-k-maven-plugin/src/main/java/org/apache/camel/k/tooling/maven/GenerateCatalogMojo.java @@ -484,10 +484,6 @@ public class GenerateCatalogMojo extends AbstractMojo { artifacts.add(Artifact.from("org.apache.camel.quarkus", "camel-quarkus-microprofile-fault-tolerance")); addCapabilityAndDependecies(runtimeSpec, catalogSpec, "circuit-breaker", artifacts, false); -artifacts.clear(); -artifacts.add(Artifact.from("org.apache.camel.quarkus", "camel-quarkus-opentracing")); -addCapabilityAndDependecies(runtimeSpec, catalogSpec, "tracing", artifacts, false); - // Telemetry capability artifacts.clear(); artifacts.add(Artifact.from("org.apache.camel.quarkus", "camel-quarkus-opentelemetry"));
[PR] fatal error: concurrent map read and map write [camel-k]
tdiesler opened a new pull request, #5317: URL: https://github.com/apache/camel-k/pull/5317 (no comment) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel-spring-boot) branch main updated: Regen
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git The following commit(s) were added to refs/heads/main by this push: new 04135231b63 Regen 04135231b63 is described below commit 04135231b637a7dbb80a2d40a29e49d554fd9899 Author: Claus Ibsen AuthorDate: Wed Apr 3 14:25:22 2024 +0200 Regen --- .../org/apache/camel/springboot/catalog/components/aws-bedrock.json | 4 ++-- tooling/camel-spring-boot-dependencies/pom.xml| 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws-bedrock.json b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws-bedrock.json index 12daddf3515..4ee9f575f9b 100644 --- a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws-bedrock.json +++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws-bedrock.json @@ -25,7 +25,7 @@ "componentProperties": { "configuration": { "index": 0, "kind": "property", "displayName": "Configuration", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration", "deprecated": false, "autowired": false, "secret": false, "description": "Component configuration" }, "lazyStartProducer": { "index": 1, "kind": "property", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail [...] -"modelId": { "index": 2, "kind": "property", "displayName": "Model Id", "group": "producer", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "enum": [ "amazon.titan-text-express-v1", "amazon.titan-text-lite-v1", "amazon.titan-image-generator-v1", "amazon.titan-embed-text-v1", "ai21.j2-ultra-v1", "ai21.j2-mid-v1" ], "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.aws2.be [...] +"modelId": { "index": 2, "kind": "property", "displayName": "Model Id", "group": "producer", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "enum": [ "amazon.titan-text-express-v1", "amazon.titan-text-lite-v1", "amazon.titan-image-generator-v1", "amazon.titan-embed-text-v1", "ai21.j2-ultra-v1", "ai21.j2-mid-v1", "anthropic.claude-instant-v1", "anthropic.claude-v2", "anthropic.claude-v2:1", "anthropic.claude-3-sonnet-20240229-v1:0", "anthropic.claude- [...] "operation": { "index": 3, "kind": "property", "displayName": "Operation", "group": "producer", "label": "", "required": true, "type": "object", "javaType": "org.apache.camel.component.aws2.bedrock.runtime.BedrockOperations", "enum": [ "invokeTextModel", "invokeImageModel", "invokeEmbeddingsModel" ], "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration", "configurat [...] "overrideEndpoint": { "index": 4, "kind": "property", "displayName": "Override Endpoint", "group": "producer", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration", "configurationField": "configuration", "description": "Set the need for overriding the endpoint. This option needs to be used in [...] "pojoRequest": { "index": 5, "kind": "property", "displayName": "Pojo Request", "group": "producer", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration", "configurationField": "configuration", "description": "If we want to use a POJO request as body or not" }, @@ -54,7 +54,7 @@ }, "properties": { "label": { "index": 0, "kind": "path", "displayName": "Label", "group": "producer", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "configurationClass":
Re: [PR] CAMEL-19543 - camel-sjms2: replace Thread.sleep in tests. [camel]
VaishnaviR18 commented on code in PR #13685: URL: https://github.com/apache/camel/pull/13685#discussion_r1549629772 ## components/camel-sjms2/src/test/java/org/apache/camel/component/sjms2/consumer/InOnlyTopicDurableConsumerTest.java: ## @@ -25,13 +28,15 @@ import org.apache.camel.component.sjms2.support.Jms2TestSupport; import org.apache.camel.test.infra.artemis.services.ArtemisService; import org.apache.camel.test.infra.artemis.services.ArtemisServiceFactory; +import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.RegisterExtension; import org.messaginghub.pooled.jms.JmsPoolConnectionFactory; public class InOnlyTopicDurableConsumerTest extends Jms2TestSupport { private static final String CONNECTION_ID = "test-connection-1"; +private CountDownLatch latch = new CountDownLatch(1); Review Comment: I have changed it to 2 . Thanks! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel) branch main updated: rest-dsl binding part 1 (#13688)
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 0c5dae902a0 rest-dsl binding part 1 (#13688) 0c5dae902a0 is described below commit 0c5dae902a0add088ce30587c4302dd699dc9170 Author: Claus Ibsen AuthorDate: Wed Apr 3 14:17:21 2024 +0200 rest-dsl binding part 1 (#13688) CAMEL-20557: Rest DSL to use openapi spec directly --- ...mHttpRestOpenApiConsumerRestDslBindingTest.java | 68 +++ ...PlatformHttpRestOpenApiConsumerRestDslTest.java | 4 + .../platform/http/vertx/model/Category.java} | 47 +++-- .../component/platform/http/vertx/model/Pet.java | 99 +++ .../component/platform/http/vertx/model/Tag.java} | 47 +++-- .../DefaultRestOpenapiProcessorStrategy.java | 25 ++- .../rest/openapi/RestOpenApiConsumerPath.java | 10 +- .../rest/openapi/RestOpenApiProcessor.java | 115 +++- .../rest/openapi/RestOpenapiProcessorStrategy.java | 7 +- .../openapi/validator/DefaultRequestValidator.java | 19 -- .../camel/reifier/rest/RestBindingReifier.java | 196 +++-- .../support}/processor/RestBindingAdvice.java | 25 ++- .../processor/RestBindingAdviceFactory.java} | 121 ++--- .../processor/RestBindingConfiguration.java| 171 ++ 14 files changed, 626 insertions(+), 328 deletions(-) diff --git a/components/camel-platform-http-vertx/src/test/java/org/apache/camel/component/platform/http/vertx/PlatformHttpRestOpenApiConsumerRestDslBindingTest.java b/components/camel-platform-http-vertx/src/test/java/org/apache/camel/component/platform/http/vertx/PlatformHttpRestOpenApiConsumerRestDslBindingTest.java new file mode 100644 index 000..ab62516d8c6 --- /dev/null +++ b/components/camel-platform-http-vertx/src/test/java/org/apache/camel/component/platform/http/vertx/PlatformHttpRestOpenApiConsumerRestDslBindingTest.java @@ -0,0 +1,68 @@ +/* + * 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.platform.http.vertx; + +import org.apache.camel.CamelContext; +import org.apache.camel.builder.RouteBuilder; +import org.apache.camel.component.platform.http.vertx.model.Pet; +import org.apache.camel.model.rest.RestBindingMode; +import org.junit.jupiter.api.Test; + +import static io.restassured.RestAssured.given; +import static org.hamcrest.Matchers.equalTo; + +public class PlatformHttpRestOpenApiConsumerRestDslBindingTest { + +@Test +public void testRestOpenApi() throws Exception { +final CamelContext context = VertxPlatformHttpEngineTest.createCamelContext(); + +try { +context.addRoutes(new RouteBuilder() { +@Override +public void configure() { +restConfiguration().bindingMode(RestBindingMode.json); + + rest().openApi().specification("openapi-v3.json").missingOperation("ignore"); + +from("direct:getPetById") +.process(e -> { +// build response body as POJO +Pet pet = new Pet(); +pet.setId(e.getMessage().getHeader("petId", long.class)); +pet.setName("tony the tiger"); +pet.setStatus(Pet.Status.AVAILABLE); +e.getMessage().setBody(pet); +}); +} +}); + +context.start(); + +given() +.when() +.get("/api/v3/pet/123") +.then() +.statusCode(200) +.body(equalTo("{\"id\":123,\"name\":\"tony the tiger\",\"status\":\"AVAILABLE\"}")); + +} finally { +context.stop(); +} +} + +} diff --git a/components/camel-platform-http-vertx/src/test/java/org/apache/camel/component/platform/http/vertx/PlatformHttpRestOpenApiConsumerRestDslTest.java
(camel) branch binding deleted (was 492676c73f7)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch binding in repository https://gitbox.apache.org/repos/asf/camel.git was 492676c73f7 CAMEL-20557: Rest DSL to use openapi spec directly The revisions that were on this branch are still contained in other references; therefore, this change does not discard any commits from the repository.
Re: [PR] rest-dsl binding part 1 [camel]
davsclaus merged PR #13688: URL: https://github.com/apache/camel/pull/13688 -- 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
Re: [PR] CAMEL-19543 - camel-sjms2: replace Thread.sleep in tests. [camel]
davsclaus commented on code in PR #13685: URL: https://github.com/apache/camel/pull/13685#discussion_r1549620216 ## components/camel-sjms2/src/test/java/org/apache/camel/component/sjms2/consumer/InOnlyTopicDurableConsumerTest.java: ## @@ -25,13 +28,15 @@ import org.apache.camel.component.sjms2.support.Jms2TestSupport; import org.apache.camel.test.infra.artemis.services.ArtemisService; import org.apache.camel.test.infra.artemis.services.ArtemisServiceFactory; +import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.RegisterExtension; import org.messaginghub.pooled.jms.JmsPoolConnectionFactory; public class InOnlyTopicDurableConsumerTest extends Jms2TestSupport { private static final String CONNECTION_ID = "test-connection-1"; +private CountDownLatch latch = new CountDownLatch(1); Review Comment: Should the count be 2 instead of 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
Re: [PR] CAMEL-19533 - camel-mail: replace Thread.sleep in tests. [camel]
VaishnaviR18 commented on code in PR #13678: URL: https://github.com/apache/camel/pull/13678#discussion_r1549618196 ## components/camel-mail/src/test/java/org/apache/camel/component/mail/MailDisconnectTest.java: ## @@ -39,14 +43,17 @@ public void testDisconnect() throws Exception { template.sendBodyAndHeader(jones.uriPrefix(Protocol.smtp), "A Bla bla", "Subject", "Hello A"); template.sendBodyAndHeader(jones.uriPrefix(Protocol.smtp), "B Bla bla", "Subject", "Hello B"); -Thread.sleep(500); -template.sendBodyAndHeader(jones.uriPrefix(Protocol.smtp), "C Bla bla", "Subject", "Hello C"); +Awaitility.await().pollDelay(500, TimeUnit.MILLISECONDS).untilAsserted(() -> Assertions +.assertDoesNotThrow( +() -> template.sendBodyAndHeader(jones.uriPrefix(Protocol.smtp), "C Bla bla", "Subject", "Hello C"))); -Thread.sleep(500); -template.sendBodyAndHeader(jones.uriPrefix(Protocol.smtp), "D Bla bla", "Subject", "Hello D"); +Awaitility.await().pollDelay(500, TimeUnit.MILLISECONDS).untilAsserted(() -> Assertions +.assertDoesNotThrow( +() -> template.sendBodyAndHeader(jones.uriPrefix(Protocol.smtp), "D Bla bla", "Subject", "Hello D"))); -Thread.sleep(500); -template.sendBodyAndHeader(jones.uriPrefix(Protocol.smtp), "E Bla bla", "Subject", "Hello E"); +Awaitility.await().pollDelay(500, TimeUnit.MILLISECONDS).untilAsserted(() -> Assertions +.assertDoesNotThrow( +() -> template.sendBodyAndHeader(jones.uriPrefix(Protocol.smtp), "E Bla bla", "Subject", "Hello E"))); Review Comment: @davsclaus i have updated the code. Can you please review it? Thanks! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [PR] CAMEL-19543 - camel-sjms2: replace Thread.sleep in tests. [camel]
VaishnaviR18 commented on code in PR #13685: URL: https://github.com/apache/camel/pull/13685#discussion_r1549617761 ## components/camel-sjms2/src/test/java/org/apache/camel/component/sjms2/consumer/InOnlyTopicDurableConsumerTest.java: ## @@ -49,9 +53,8 @@ public void testDurableTopic() throws Exception { mock2.expectedBodiesReceived("Hello World"); // wait a bit and send the message -Thread.sleep(1000); - -template.sendBody("sjms2:topic:foo", "Hello World"); +Awaitility.await().pollDelay(1, TimeUnit.SECONDS).untilAsserted(() -> Assertions Review Comment: @davsclaus i have updated the code. Can you please review it? Thanks! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] Connection leaks on SQL components [camel-karavan]
davsclaus commented on issue #1213: URL: https://github.com/apache/camel-karavan/issues/1213#issuecomment-2034417672 You set a very low connection timeout of only 1s (1000 millis). The default value in Hikari is 30s (3) And as such I think its a false warning. private static final long CONNECTION_TIMEOUT = SECONDS.toMillis(30); The camel-sql component uses Spring JDBC that does all the connection acquire/release to the datasource, and that is known to be working fine world-wide. -- 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
[PR] fix(cli): openshift cli install rbac path [camel-k]
gansheer opened a new pull request, #5316: URL: https://github.com/apache/camel-k/pull/5316 The CLI install in openshift on global operator fails because it can't find the file. **Release Note** ```release-note fix(cli): openshift cli install global operator rbac path ``` -- 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) 04/04: CAMEL-20642 - Camel-AWS-Bedrock: Support Anthropic Haiku model
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit a3f0c8530cf261b00769aad7481e400135af6ee4 Author: Andrea Cosentino AuthorDate: Wed Apr 3 13:41:35 2024 +0200 CAMEL-20642 - Camel-AWS-Bedrock: Support Anthropic Haiku model Signed-off-by: Andrea Cosentino --- .../resources/org/apache/camel/catalog/components/aws-bedrock.json| 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws-bedrock.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws-bedrock.json index d60b0e4559f..81632b556d9 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws-bedrock.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws-bedrock.json @@ -25,7 +25,7 @@ "componentProperties": { "configuration": { "index": 0, "kind": "property", "displayName": "Configuration", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration", "deprecated": false, "autowired": false, "secret": false, "description": "Component configuration" }, "lazyStartProducer": { "index": 1, "kind": "property", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail [...] -"modelId": { "index": 2, "kind": "property", "displayName": "Model Id", "group": "producer", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "enum": [ "amazon.titan-text-express-v1", "amazon.titan-text-lite-v1", "amazon.titan-image-generator-v1", "amazon.titan-embed-text-v1", "ai21.j2-ultra-v1", "ai21.j2-mid-v1", "anthropic.claude-instant-v1", "anthropic.claude-v2", "anthropic.claude-v2:1", "anthropic.claude-3-sonnet-20240229-v1:0" ], "deprecated": fa [...] +"modelId": { "index": 2, "kind": "property", "displayName": "Model Id", "group": "producer", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "enum": [ "amazon.titan-text-express-v1", "amazon.titan-text-lite-v1", "amazon.titan-image-generator-v1", "amazon.titan-embed-text-v1", "ai21.j2-ultra-v1", "ai21.j2-mid-v1", "anthropic.claude-instant-v1", "anthropic.claude-v2", "anthropic.claude-v2:1", "anthropic.claude-3-sonnet-20240229-v1:0", "anthropic.claude- [...] "operation": { "index": 3, "kind": "property", "displayName": "Operation", "group": "producer", "label": "", "required": true, "type": "object", "javaType": "org.apache.camel.component.aws2.bedrock.runtime.BedrockOperations", "enum": [ "invokeTextModel", "invokeImageModel", "invokeEmbeddingsModel" ], "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration", "configurat [...] "overrideEndpoint": { "index": 4, "kind": "property", "displayName": "Override Endpoint", "group": "producer", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration", "configurationField": "configuration", "description": "Set the need for overriding the endpoint. This option needs to be used in [...] "pojoRequest": { "index": 5, "kind": "property", "displayName": "Pojo Request", "group": "producer", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration", "configurationField": "configuration", "description": "If we want to use a POJO request as body or not" }, @@ -54,7 +54,7 @@ }, "properties": { "label": { "index": 0, "kind": "path", "displayName": "Label", "group": "producer", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.aws2.bedrock.runtime.BedrockConfiguration", "configurationField": "configuration", "description": "Logical name" }, -"modelId": { "index": 1, "kind": "parameter", "displayName": "Model Id", "group": "producer", "label": "", "required": true, "type":
(camel) 01/04: CAMEL-20642 - Camel-AWS-Bedrock: Support Anthropic Haiku model
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit 8ecf93604d73accfe8b04384ce44fe1be3206701 Author: Andrea Cosentino AuthorDate: Wed Apr 3 13:23:32 2024 +0200 CAMEL-20642 - Camel-AWS-Bedrock: Support Anthropic Haiku model Signed-off-by: Andrea Cosentino --- .../component/aws2/bedrock/BedrockModels.java | 3 +- .../aws2/bedrock/runtime/BedrockProducer.java | 2 +- .../runtime/integration/BedrockProducerIT.java | 44 ++ 3 files changed, 47 insertions(+), 2 deletions(-) diff --git a/components/camel-aws/camel-aws-bedrock/src/main/java/org/apache/camel/component/aws2/bedrock/BedrockModels.java b/components/camel-aws/camel-aws-bedrock/src/main/java/org/apache/camel/component/aws2/bedrock/BedrockModels.java index d8d9bf561a9..ecbf2966a9d 100644 --- a/components/camel-aws/camel-aws-bedrock/src/main/java/org/apache/camel/component/aws2/bedrock/BedrockModels.java +++ b/components/camel-aws/camel-aws-bedrock/src/main/java/org/apache/camel/component/aws2/bedrock/BedrockModels.java @@ -27,7 +27,8 @@ public enum BedrockModels { ANTROPHIC_CLAUDE_INSTANT_V1("anthropic.claude-instant-v1"), ANTROPHIC_CLAUDE_V2("anthropic.claude-v2"), ANTROPHIC_CLAUDE_V2_1("anthropic.claude-v2:1"), -ANTROPHIC_CLAUDE_V3("anthropic.claude-3-sonnet-20240229-v1:0"); +ANTROPHIC_CLAUDE_V3("anthropic.claude-3-sonnet-20240229-v1:0"), +ANTROPHIC_CLAUDE_HAIKU_V3("anthropic.claude-3-haiku-20240307-v1:0"); public final String model; diff --git a/components/camel-aws/camel-aws-bedrock/src/main/java/org/apache/camel/component/aws2/bedrock/runtime/BedrockProducer.java b/components/camel-aws/camel-aws-bedrock/src/main/java/org/apache/camel/component/aws2/bedrock/runtime/BedrockProducer.java index e553972684f..98f48abbcd1 100644 --- a/components/camel-aws/camel-aws-bedrock/src/main/java/org/apache/camel/component/aws2/bedrock/runtime/BedrockProducer.java +++ b/components/camel-aws/camel-aws-bedrock/src/main/java/org/apache/camel/component/aws2/bedrock/runtime/BedrockProducer.java @@ -249,7 +249,7 @@ public class BedrockProducer extends DefaultProducer { throw new RuntimeException(e); } } -case "anthropic.claude-3-sonnet-20240229-v1:0" -> { +case "anthropic.claude-3-sonnet-20240229-v1:0", "anthropic.claude-3-haiku-20240307-v1:0" -> { try { setAnthropicV3Text(result, message); } catch (JsonProcessingException e) { diff --git a/components/camel-aws/camel-aws-bedrock/src/test/java/org/apache/camel/component/aws2/bedrock/runtime/integration/BedrockProducerIT.java b/components/camel-aws/camel-aws-bedrock/src/test/java/org/apache/camel/component/aws2/bedrock/runtime/integration/BedrockProducerIT.java index b0a9bb36346..85600c4d4a2 100644 --- a/components/camel-aws/camel-aws-bedrock/src/test/java/org/apache/camel/component/aws2/bedrock/runtime/integration/BedrockProducerIT.java +++ b/components/camel-aws/camel-aws-bedrock/src/test/java/org/apache/camel/component/aws2/bedrock/runtime/integration/BedrockProducerIT.java @@ -336,6 +336,44 @@ class BedrockProducerIT extends CamelTestSupport { MockEndpoint.assertIsSatisfied(context); } +@Test +public void testInvokeAnthropicV3HaikuModel() throws InterruptedException { + +result.expectedMessageCount(1); +final Exchange result = template.send("direct:send_anthropic_v3_haiku_model", exchange -> { +ObjectMapper mapper = new ObjectMapper(); +ObjectNode rootNode = mapper.createObjectNode(); + +ArrayNode messages = mapper.createArrayNode(); + +ObjectNode element = mapper.createObjectNode(); +element.putIfAbsent("role", new TextNode("user")); + +ArrayNode content = mapper.createArrayNode(); + +ObjectNode textContent = mapper.createObjectNode(); + +textContent.putIfAbsent("type", new TextNode("text")); +textContent.putIfAbsent("text", new TextNode("Can you tell the history of Mayflower?")); + +content.add(textContent); + +element.putIfAbsent("content", content); + +messages.add(element); + +rootNode.putIfAbsent("messages", messages); +rootNode.putIfAbsent("max_tokens", new IntNode(1000)); +rootNode.putIfAbsent("anthropic_version", new TextNode("bedrock-2023-05-31")); + + exchange.getMessage().setBody(mapper.writer().writeValueAsString(rootNode)); + exchange.getMessage().setHeader(BedrockConstants.MODEL_CONTENT_TYPE, "application/json"); + exchange.getMessage().setHeader(BedrockConstants.MODEL_ACCEPT_CONTENT_TYPE, "application/json"); +}); + +MockEndpoint.assertIsSatisfied(context); +} +
Re: [PR] CAMEL-20642 - Camel-AWS-Bedrock: Support Anthropic Haiku model [camel]
oscerd merged PR #13689: URL: https://github.com/apache/camel/pull/13689 -- 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 haiku-claude-support deleted (was 5209aa03fdd)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a change to branch haiku-claude-support in repository https://gitbox.apache.org/repos/asf/camel.git was 5209aa03fdd CAMEL-20642 - Camel-AWS-Bedrock: Support Anthropic Haiku model The revisions that were on this branch are still contained in other references; therefore, this change does not discard any commits from the repository.