Re: [PR] Unshade Google and Micrometer related packages from kudu-client [camel-quarkus]
jamesnetherton commented on PR #5727: URL: https://github.com/apache/camel-quarkus/pull/5727#issuecomment-1935467976 > com.sangupta:murmur Latest commit unshades murmur. -- 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/quarkiverse-groovy.version-3.7.0 deleted (was 961c644532)
This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a change to branch dependabot/maven/quarkiverse-groovy.version-3.7.0 in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git was 961c644532 Auto generated changes for dependabot commit 48a6614db5a702e434e52b0915517b7f58833e5f 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-quarkus) branch main updated: Bump quarkiverse-groovy.version from 3.6.4 to 3.7.0
This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git The following commit(s) were added to refs/heads/main by this push: new 9afee8e4f3 Bump quarkiverse-groovy.version from 3.6.4 to 3.7.0 9afee8e4f3 is described below commit 9afee8e4f35eced0e44f7ea63dc9261db4d36a24 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> AuthorDate: Fri Feb 9 07:38:34 2024 + Bump quarkiverse-groovy.version from 3.6.4 to 3.7.0 * Bump quarkiverse-groovy.version from 3.6.4 to 3.7.0 Bumps `quarkiverse-groovy.version` from 3.6.4 to 3.7.0. Updates `io.quarkiverse.groovy:quarkus-groovy` from 3.6.4 to 3.7.0 Updates `io.quarkiverse.groovy:quarkus-groovy-deployment` from 3.6.4 to 3.7.0 --- updated-dependencies: - dependency-name: io.quarkiverse.groovy:quarkus-groovy dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: io.quarkiverse.groovy:quarkus-groovy-deployment dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * Auto generated changes for dependabot commit 48a6614db5a702e434e52b0915517b7f58833e5f - Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- pom.xml| 4 +- poms/bom/src/main/generated/flattened-full-pom.xml | 164 ++--- .../src/main/generated/flattened-reduced-pom.xml | 6 +- .../generated/flattened-reduced-verbose-pom.xml| 6 +- 4 files changed, 90 insertions(+), 90 deletions(-) diff --git a/pom.xml b/pom.xml index fa11ba6f20..3d564417ac 100644 --- a/pom.xml +++ b/pom.xml @@ -52,7 +52,7 @@ 3.1.4 2.7.1 1.0.0 -3.6.4 +3.7.0 2.0.2 3.0.6 3.0.6 @@ -103,7 +103,7 @@ 1.125.13 23.0.1 jdk21 -4.0.17 +4.0.18 1.59.1 ${hapi-version} ${hapi-base-version} diff --git a/poms/bom/src/main/generated/flattened-full-pom.xml b/poms/bom/src/main/generated/flattened-full-pom.xml index b061d36bd4..877fe35999 100644 --- a/poms/bom/src/main/generated/flattened-full-pom.xml +++ b/poms/bom/src/main/generated/flattened-full-pom.xml @@ -6250,12 +6250,12 @@ io.quarkiverse.groovy quarkus-groovy -3.6.4 +3.7.0 io.quarkiverse.groovy quarkus-groovy-deployment -3.6.4 +3.7.0 io.quarkiverse.jackson-jq @@ -6421,27 +6421,27 @@ org.apache.groovy groovy -4.0.17 +4.0.18 org.apache.groovy groovy-json -4.0.17 +4.0.18 org.apache.groovy groovy-test -4.0.17 +4.0.18 org.apache.groovy groovy-xml -4.0.17 +4.0.18 org.apache.groovy groovy-yaml -4.0.17 +4.0.18 org.apache.httpcomponents.client5 @@ -7332,129 +7332,129 @@ 4.0.3 -org.apache.groovy -groovy-ant -4.0.17 +org.apache.groovy +groovy-ant +4.0.18 -org.apache.groovy -groovy-astbuilder -4.0.17 +org.apache.groovy +groovy-astbuilder +4.0.18 -org.apache.groovy -groovy-cli-commons -4.0.17 +org.apache.groovy +groovy-cli-commons +4.0.18 -org.apache.groovy -groovy-cli-picocli -4.0.17 +org.apache.groovy +groovy-cli-picocli +4.0.18 -org.apache.groovy -groovy-console -4.0.17 +org.apache.groovy +groovy-console +4.0.18 -org.apache.groovy -groovy-contracts -4.0.17 +org.apache.groovy +groovy-contracts +4.0.18 -org.apache.groovy -groovy-datetime -4.0.17 +org.apache.groovy +groovy-datetime +4.0.18 -org.apache.groovy -groovy-dateutil -4.0.17 +org.apache.groovy +groovy-dateutil +4.0.18 -org.apache.groovy -groovy-docgenerator -4.0.17 +org.apache.groovy +groovy-docgenerator +4.0.18 -org.apache.groovy -groovy-ginq -4.0.17 +org.apache.groovy +groovy-ginq +4.0.18 -org.apache.groovy -groovy-groovydoc -4.0.17 +
Re: [PR] Bump quarkiverse-groovy.version from 3.6.4 to 3.7.0 [camel-quarkus]
jamesnetherton merged PR #5735: URL: https://github.com/apache/camel-quarkus/pull/5735 -- 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] Error when upload file [camel-karavan]
mvolf commented on issue #1114: URL: https://github.com/apache/camel-karavan/issues/1114#issuecomment-1935457198 When do you get this exception? I can't reproduce upload file not working. Can you please give me the steps to reproduce the issue? -- 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-20399: String to short type conversion fails [camel]
valdar commented on PR #13060: URL: https://github.com/apache/camel/pull/13060#issuecomment-1935454350 > why do you need a short, any real use-case for using it I found out because of a component option that is set to short. -- 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 com.google.auth:google-auth-library-oauth2-http from 1.22.0 to 1.23.0 [camel]
github-actions[bot] commented on PR #13063: URL: https://github.com/apache/camel/pull/13063#issuecomment-1935450778 :robot: The Apache Camel test robot will run the tests for you :+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] Bump com.google.auth:google-auth-library-oauth2-http from 1.22.0 to 1.23.0 [camel]
oscerd commented on PR #13063: URL: https://github.com/apache/camel/pull/13063#issuecomment-1935450347 /component-test google -- 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] Add Elasticsearch Low Level Rest Client [camel-quarkus]
jamesnetherton commented on PR #5738: URL: https://github.com/apache/camel-quarkus/pull/5738#issuecomment-1935450271 > The test failure seems unrelated. Is master-openshift considered a flaky test ? It got enabled yesterday after being disabled for a long time. I will try to take a look into 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] Add Elasticsearch Low Level Rest Client [camel-quarkus]
jamesnetherton commented on code in PR #5738: URL: https://github.com/apache/camel-quarkus/pull/5738#discussion_r1483951773 ## integration-tests-jvm/elasticsearch-rest-client/src/test/java/org/apache/camel/quarkus/component/elasticsearch/rest/client/it/ElasticsearchTestResource.java: ## @@ -0,0 +1,83 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.camel.quarkus.component.elasticsearch.rest.client.it; + +import java.util.Map; + +import io.quarkus.test.common.QuarkusTestResourceLifecycleManager; +import org.apache.camel.util.CollectionHelper; +import org.eclipse.microprofile.config.ConfigProvider; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.testcontainers.containers.GenericContainer; +import org.testcontainers.containers.output.Slf4jLogConsumer; +import org.testcontainers.containers.wait.strategy.Wait; +import org.testcontainers.utility.TestcontainersConfiguration; + +public class ElasticsearchTestResource implements QuarkusTestResourceLifecycleManager { + +private static final Logger LOGGER = LoggerFactory.getLogger(ElasticsearchTestResource.class); +private static final String ELASTICSEARCH_IMAGE = ConfigProvider.getConfig().getValue("elasticsearch.container.image", +String.class); +private static final String ELASTICSEARCH_USERNAME = "elastic"; +private static final String ELASTICSEARCH_PASSWORD = "changeme"; +private static final int ELASTICSEARCH_PORT = 9200; + +private GenericContainer container; + +@Override +public Map start() { +LOGGER.info(TestcontainersConfiguration.getInstance().toString()); + +try { +container = new GenericContainer<>(ELASTICSEARCH_IMAGE) +.withExposedPorts(ELASTICSEARCH_PORT) +.withLogConsumer(new Slf4jLogConsumer(LOGGER)) +.withEnv("discovery.type", "single-node") +.withEnv("xpack.security.enabled", "true") +.withEnv("action.destructive_requires_name", "false") // needed for deleting all indexes after each test (allowing _all wildcard) +.withEnv("ELASTIC_USERNAME", ELASTICSEARCH_USERNAME) +.withEnv("ELASTIC_PASSWORD", ELASTICSEARCH_PASSWORD) +.waitingFor(Wait.forListeningPort()); + +container.start(); + +String hostAddresses = String.format("localhost:%s", container.getMappedPort(ELASTICSEARCH_PORT)); Review Comment: ```suggestion String hostAddresses = String.format("%s:%s", container.getHost(), container.getMappedPort(ELASTICSEARCH_PORT)); ``` -- 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 dependabot/maven/quarkus-platform-version-3.7.2 deleted (was ea59971e)
This is an automated email from the ASF dual-hosted git repository. pcongiusti pushed a change to branch dependabot/maven/quarkus-platform-version-3.7.2 in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git was ea59971e build(deps): bump quarkus-platform-version from 3.6.0 to 3.7.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] build(deps): bump quarkus-platform-version from 3.6.0 to 3.7.2 [camel-k-runtime]
dependabot[bot] commented on PR #1171: URL: https://github.com/apache/camel-k-runtime/pull/1171#issuecomment-1935448084 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] build(deps): bump quarkus-platform-version from 3.6.0 to 3.7.2 [camel-k-runtime]
squakez closed pull request #1171: build(deps): bump quarkus-platform-version from 3.6.0 to 3.7.2 URL: https://github.com/apache/camel-k-runtime/pull/1171 -- 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 com.google.auth:google-auth-library-oauth2-http from 1.22.0 to 1.23.0 [camel]
github-actions[bot] commented on PR #13063: URL: https://github.com/apache/camel/pull/13063#issuecomment-1935432727 :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
[PR] Bump com.google.auth:google-auth-library-oauth2-http from 1.22.0 to 1.23.0 [camel]
dependabot[bot] opened a new pull request, #13063: URL: https://github.com/apache/camel/pull/13063 Bumps com.google.auth:google-auth-library-oauth2-http from 1.22.0 to 1.23.0. [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.auth:google-auth-library-oauth2-http&package-manager=maven&previous-version=1.22.0&new-version=1.23.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) branch dependabot/maven/com.google.auth-google-auth-library-oauth2-http-1.23.0 created (now 4c00cb60d96)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/com.google.auth-google-auth-library-oauth2-http-1.23.0 in repository https://gitbox.apache.org/repos/asf/camel.git at 4c00cb60d96 Bump com.google.auth:google-auth-library-oauth2-http No new revisions were added by this update.
Re: [PR] Add Elasticsearch Low Level Rest Client [camel-quarkus]
zbendhiba commented on PR #5738: URL: https://github.com/apache/camel-quarkus/pull/5738#issuecomment-1935409231 The test failure seems unrelated. Is master-openshift considered a flaky test ? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel) branch regen_bot updated (92a8b38c5fd -> d13379d05d4)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot in repository https://gitbox.apache.org/repos/asf/camel.git from 92a8b38c5fd Fixed xref add d13379d05d4 CAMEL-20281 - Camel-AWS Components: Make it possible to use AwsSessionCredentials to support temporary credentials - AWS MQ (#13062) No new revisions were added by this update. Summary of changes: .../apache/camel/catalog/components/aws2-mq.json | 16 - .../component/aws2/mq/MQ2ComponentConfigurer.java | 12 ++ .../component/aws2/mq/MQ2EndpointConfigurer.java | 12 ++ .../component/aws2/mq/MQ2EndpointUriFactory.java | 7 -- .../apache/camel/component/aws2/mq/aws2-mq.json| 16 - .../camel/component/aws2/mq/MQ2Component.java | 3 ++- .../camel/component/aws2/mq/MQ2Configuration.java | 28 ++ .../component/aws2/mq/client/MQ2ClientFactory.java | 3 +++ ...ardImpl.java => MQ2ClientSessionTokenImpl.java} | 14 ++- .../component/aws2/mq/MQ2ClientFactoryTest.java| 8 +++ 10 files changed, 98 insertions(+), 21 deletions(-) copy components/camel-aws/camel-aws2-mq/src/main/java/org/apache/camel/component/aws2/mq/client/impl/{MQ2ClientStandardImpl.java => MQ2ClientSessionTokenImpl.java} (90%)
(camel) branch CAMEL-20281-mq deleted (was f9ceee86283)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a change to branch CAMEL-20281-mq in repository https://gitbox.apache.org/repos/asf/camel.git was f9ceee86283 CAMEL-20281 - Camel-AWS Components: Make it possible to use AwsSessionCredentials to support temporary credentials - AWS MQ 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: CAMEL-20281 - Camel-AWS Components: Make it possible to use AwsSessionCredentials to support temporary credentials - AWS MQ (#13062)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/main by this push: new d13379d05d4 CAMEL-20281 - Camel-AWS Components: Make it possible to use AwsSessionCredentials to support temporary credentials - AWS MQ (#13062) d13379d05d4 is described below commit d13379d05d447beee5309cd81f8de0f2c7ee3d4b Author: Andrea Cosentino AuthorDate: Fri Feb 9 07:23:23 2024 +0100 CAMEL-20281 - Camel-AWS Components: Make it possible to use AwsSessionCredentials to support temporary credentials - AWS MQ (#13062) Signed-off-by: Andrea Cosentino --- .../apache/camel/catalog/components/aws2-mq.json | 16 +-- .../component/aws2/mq/MQ2ComponentConfigurer.java | 12 +++ .../component/aws2/mq/MQ2EndpointConfigurer.java | 12 +++ .../component/aws2/mq/MQ2EndpointUriFactory.java | 7 +- .../apache/camel/component/aws2/mq/aws2-mq.json| 16 +-- .../camel/component/aws2/mq/MQ2Component.java | 3 +- .../camel/component/aws2/mq/MQ2Configuration.java | 28 ++ .../component/aws2/mq/client/MQ2ClientFactory.java | 3 + .../mq/client/impl/MQ2ClientSessionTokenImpl.java | 111 + .../component/aws2/mq/MQ2ClientFactoryTest.java| 8 ++ 10 files changed, 201 insertions(+), 15 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws2-mq.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws2-mq.json index 13079e5ba64..31d67120285 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws2-mq.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws2-mq.json @@ -40,9 +40,11 @@ "accessKey": { "index": 14, "kind": "property", "displayName": "Access Key", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.aws2.mq.MQ2Configuration", "configurationField": "configuration", "description": "Amazon AWS Access Key" }, "profileCredentialsName": { "index": 15, "kind": "property", "displayName": "Profile Credentials Name", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.aws2.mq.MQ2Configuration", "configurationField": "configuration", "description": "If using a profile credentials provider this parameter will set the profile name" }, "secretKey": { "index": 16, "kind": "property", "displayName": "Secret Key", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.aws2.mq.MQ2Configuration", "configurationField": "configuration", "description": "Amazon AWS Secret Key" }, -"trustAllCertificates": { "index": 17, "kind": "property", "displayName": "Trust All Certificates", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.aws2.mq.MQ2Configuration", "configurationField": "configuration", "description": "If we want to trust all certificates in case of overriding the endpoint" }, -"useDefaultCredentialsProvider": { "index": 18, "kind": "property", "displayName": "Use Default Credentials Provider", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.aws2.mq.MQ2Configuration", "configurationField": "configuration", "description": "Set whether the MQ client should expect to load crede [...] -"useProfileCredentialsProvider": { "index": 19, "kind": "property", "displayName": "Use Profile Credentials Provider", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.aws2.mq.MQ2Configuration", "configurationField": "configuration", "description": "Set whether the MQ client should expect to load crede [...] +"sessionToken": { "index": 17, "kind": "property", "displayName": "Session Token", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "config
Re: [PR] CAMEL-20281 - Camel-AWS Components: Make it possible to use AwsSessio… [camel]
oscerd merged PR #13062: URL: https://github.com/apache/camel/pull/13062 -- 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-20281 - Camel-AWS Components: Make it possible to use AwsSessio… [camel]
github-actions[bot] commented on PR #13062: URL: https://github.com/apache/camel/pull/13062#issuecomment-1935387919 :robot: The Apache Camel test robot will run the tests for you :+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-20281 - Camel-AWS Components: Make it possible to use AwsSessio… [camel]
oscerd commented on PR #13062: URL: https://github.com/apache/camel/pull/13062#issuecomment-1935387596 /component-test aws -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel) branch regen_bot updated (0289969a6ea -> 92a8b38c5fd)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot in repository https://gitbox.apache.org/repos/asf/camel.git from 0289969a6ea (chores) camel-kafka: documentation fixes add 92a8b38c5fd Fixed xref No new revisions were added by this update. Summary of changes: .../modules/ROOT/pages/camel-4x-upgrade-guide-4_4.adoc| 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-)
Re: [PR] CAMEL-20281 - Camel-AWS Components: Make it possible to use AwsSessio… [camel]
github-actions[bot] commented on PR #13062: URL: https://github.com/apache/camel/pull/13062#issuecomment-1935384745 :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
[PR] CAMEL-20281 - Camel-AWS Components: Make it possible to use AwsSessio… [camel]
oscerd opened a new pull request, #13062: URL: https://github.com/apache/camel/pull/13062 …nCredentials to support temporary credentials - AWS MQ # Description # Target - [x] 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 - [x] 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 - [x] I checked that each commit in the pull request has a meaningful subject line and body. - [x] 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 CAMEL-20281-mq created (now f9ceee86283)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a change to branch CAMEL-20281-mq in repository https://gitbox.apache.org/repos/asf/camel.git at f9ceee86283 CAMEL-20281 - Camel-AWS Components: Make it possible to use AwsSessionCredentials to support temporary credentials - AWS MQ This branch includes the following new commits: new f9ceee86283 CAMEL-20281 - Camel-AWS Components: Make it possible to use AwsSessionCredentials to support temporary credentials - AWS MQ The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference.
(camel) 01/01: CAMEL-20281 - Camel-AWS Components: Make it possible to use AwsSessionCredentials to support temporary credentials - AWS MQ
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch CAMEL-20281-mq in repository https://gitbox.apache.org/repos/asf/camel.git commit f9ceee86283dc8e751a49f0e29c839ad22ab1ede Author: Andrea Cosentino AuthorDate: Fri Feb 9 07:06:43 2024 +0100 CAMEL-20281 - Camel-AWS Components: Make it possible to use AwsSessionCredentials to support temporary credentials - AWS MQ Signed-off-by: Andrea Cosentino --- .../apache/camel/catalog/components/aws2-mq.json | 16 +-- .../component/aws2/mq/MQ2ComponentConfigurer.java | 12 +++ .../component/aws2/mq/MQ2EndpointConfigurer.java | 12 +++ .../component/aws2/mq/MQ2EndpointUriFactory.java | 7 +- .../apache/camel/component/aws2/mq/aws2-mq.json| 16 +-- .../camel/component/aws2/mq/MQ2Component.java | 3 +- .../camel/component/aws2/mq/MQ2Configuration.java | 28 ++ .../component/aws2/mq/client/MQ2ClientFactory.java | 3 + .../mq/client/impl/MQ2ClientSessionTokenImpl.java | 111 + .../component/aws2/mq/MQ2ClientFactoryTest.java| 8 ++ 10 files changed, 201 insertions(+), 15 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws2-mq.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws2-mq.json index 13079e5ba64..31d67120285 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws2-mq.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/aws2-mq.json @@ -40,9 +40,11 @@ "accessKey": { "index": 14, "kind": "property", "displayName": "Access Key", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.aws2.mq.MQ2Configuration", "configurationField": "configuration", "description": "Amazon AWS Access Key" }, "profileCredentialsName": { "index": 15, "kind": "property", "displayName": "Profile Credentials Name", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.aws2.mq.MQ2Configuration", "configurationField": "configuration", "description": "If using a profile credentials provider this parameter will set the profile name" }, "secretKey": { "index": 16, "kind": "property", "displayName": "Secret Key", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.aws2.mq.MQ2Configuration", "configurationField": "configuration", "description": "Amazon AWS Secret Key" }, -"trustAllCertificates": { "index": 17, "kind": "property", "displayName": "Trust All Certificates", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.aws2.mq.MQ2Configuration", "configurationField": "configuration", "description": "If we want to trust all certificates in case of overriding the endpoint" }, -"useDefaultCredentialsProvider": { "index": 18, "kind": "property", "displayName": "Use Default Credentials Provider", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.aws2.mq.MQ2Configuration", "configurationField": "configuration", "description": "Set whether the MQ client should expect to load crede [...] -"useProfileCredentialsProvider": { "index": 19, "kind": "property", "displayName": "Use Profile Credentials Provider", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.aws2.mq.MQ2Configuration", "configurationField": "configuration", "description": "Set whether the MQ client should expect to load crede [...] +"sessionToken": { "index": 17, "kind": "property", "displayName": "Session Token", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.aws2.mq.MQ2Configuration", "configurationField": "configuration", "description": "Amazon AWS Session Token used when the user needs to assume a IAM role" }, +"trustAllCertificates": { "index": 18, "kind":
(camel) branch main updated: Fixed xref
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 92a8b38c5fd Fixed xref 92a8b38c5fd is described below commit 92a8b38c5fdd8ebaad76336537f3e379ee5e1b31 Author: Claus Ibsen AuthorDate: Fri Feb 9 07:02:54 2024 +0100 Fixed xref --- .../modules/ROOT/pages/camel-4x-upgrade-guide-4_4.adoc| 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_4.adoc b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_4.adoc index a9311bec5d3..b11b5545d81 100644 --- a/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_4.adoc +++ b/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_4.adoc @@ -101,17 +101,11 @@ The reason is that this link should only be for EIPs with sub exchanges such as Throttle EIP -// We refactored the Throttle EIP implementation so that Camel can support two different modes of throttling. -// -// One based on the total number of requests over a period of time ("TotalRequests" mode), that was the default on Camel up to -// version 4.2.0. On Camel 4.3.0 we introduced a new one based on the number of concurrent requests and replaced the former. - - Previously Camel used a throttler based on the total number of requests over a period of time ("TotalRequests" mode). That was the default on Camel up to version 4.2.0. On Camel 4.3.0 we introduced a new one based on the number of concurrent requests and replaced the former. -With Camel 4.4.0 we refactored the xref:next@components:eips:throttle-eip.adoc[Throttle EIP] implementation so that Camel can support two different modes of throttling. +With Camel 4.4.0 we refactored the xref:components:eips:throttle-eip.adoc[Throttle EIP] implementation so that Camel can support two different modes of throttling. Check the component documentation for details about how to use each mode.
(camel) branch regen_bot updated (b3f89ab05f2 -> 0289969a6ea)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot in repository https://gitbox.apache.org/repos/asf/camel.git from b3f89ab05f2 CAMEL-20399: String to short type conversion fails (#13060) add 0289969a6ea (chores) camel-kafka: documentation fixes No new revisions were added by this update. Summary of changes: .../org/apache/camel/catalog/components/kafka.json | 124 ++--- .../org/apache/camel/component/kafka/kafka.json| 124 ++--- .../camel-kafka/src/main/docs/kafka-component.adoc | 50 - .../camel/component/kafka/KafkaConfiguration.java | 112 +-- 4 files changed, 205 insertions(+), 205 deletions(-)
Re: [PR] CAMEL-15252: Allow manual acknowlegement when ackMode=NONE [camel]
davsclaus commented on PR #13061: URL: https://github.com/apache/camel/pull/13061#issuecomment-1935368522 I wonder if you would update the doc file a little bit also - such as adding a section about manual ack, see in the src/docs folder. -- 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] (chores) camel-kafka: documentation fixes [camel]
orpiske merged PR #13057: URL: https://github.com/apache/camel/pull/13057 -- 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-20399: String to short type conversion fails [camel]
davsclaus commented on PR #13060: URL: https://github.com/apache/camel/pull/13060#issuecomment-1935362994 ok thanks. Yeah I was trying to say since we have not had this reported before then I wondered how you found out eg what did you did = what is the use-case. But its a simple and good fix and indeed missing -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel) branch regen_bot updated (6ac1302e665 -> b3f89ab05f2)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot in repository https://gitbox.apache.org/repos/asf/camel.git from 6ac1302e665 Regen add 68ca4abb8cc Regen for commit eb589824aed01ef718ddb8351a45e1fe73fbe35f (#13059) add b3f89ab05f2 CAMEL-20399: String to short type conversion fails (#13060) No new revisions were added by this update. Summary of changes: .../apache/camel/converter/CamelBaseBulkConverterLoader.java | 4 ++-- .../org/apache/camel/impl/converter/TypeConvertersTest.java | 12 .../maven/packaging/TypeConverterLoaderGeneratorMojo.java| 2 ++ 3 files changed, 16 insertions(+), 2 deletions(-)
Re: [PR] CAMEL-20399: String to short type conversion fails [camel]
oscerd commented on PR #13060: URL: https://github.com/apache/camel/pull/13060#issuecomment-1935359022 I think there is an option in hdfs changed from int to short in 4.3.0.. we removed hdfs in 4.4.0 but I guess is useful anyway -- 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-20399: String to short type conversion fails (#13060)
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 b3f89ab05f2 CAMEL-20399: String to short type conversion fails (#13060) b3f89ab05f2 is described below commit b3f89ab05f2d93ce471349fa3f565d46f33b5c35 Author: Andrea Tarocchi AuthorDate: Fri Feb 9 06:30:36 2024 +0100 CAMEL-20399: String to short type conversion fails (#13060) --- .../apache/camel/converter/CamelBaseBulkConverterLoader.java | 4 ++-- .../org/apache/camel/impl/converter/TypeConvertersTest.java | 12 .../maven/packaging/TypeConverterLoaderGeneratorMojo.java| 2 ++ 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/core/camel-base/src/generated/java/org/apache/camel/converter/CamelBaseBulkConverterLoader.java b/core/camel-base/src/generated/java/org/apache/camel/converter/CamelBaseBulkConverterLoader.java index ed59bef03e0..d28d0c8abf9 100644 --- a/core/camel-base/src/generated/java/org/apache/camel/converter/CamelBaseBulkConverterLoader.java +++ b/core/camel-base/src/generated/java/org/apache/camel/converter/CamelBaseBulkConverterLoader.java @@ -297,7 +297,7 @@ public final class CamelBaseBulkConverterLoader implements TypeConverterLoader, if (value instanceof byte[]) { return org.apache.camel.converter.ObjectConverter.toNumber((byte[]) value, exchange); } -} else if (to == java.lang.Short.class) { +} else if (to == java.lang.Short.class || to == short.class) { if (value instanceof java.lang.Number) { Object obj = org.apache.camel.converter.ObjectConverter.toShort((java.lang.Number) value); if (obj == null) { @@ -845,7 +845,7 @@ public final class CamelBaseBulkConverterLoader implements TypeConverterLoader, if (from == byte[].class) { return this; } -} else if (to == java.lang.Short.class) { +} else if (to == java.lang.Short.class || to == short.class) { if (from == java.lang.Number.class) { return this; } diff --git a/core/camel-core/src/test/java/org/apache/camel/impl/converter/TypeConvertersTest.java b/core/camel-core/src/test/java/org/apache/camel/impl/converter/TypeConvertersTest.java index 6910540cd2c..ae02af2d52f 100644 --- a/core/camel-core/src/test/java/org/apache/camel/impl/converter/TypeConvertersTest.java +++ b/core/camel-core/src/test/java/org/apache/camel/impl/converter/TypeConvertersTest.java @@ -45,4 +45,16 @@ public class TypeConvertersTest extends ContextTestSupport { assertEquals("en", iso); } +@Test +public void testStringToPrimitiveTypes() throws Exception { +assertEquals(Short.parseShort("1"), context.getTypeConverter().mandatoryConvertTo(short.class, "1")); +assertEquals(Integer.parseInt("1"), context.getTypeConverter().mandatoryConvertTo(int.class, "1")); +assertEquals(Long.parseLong("1"), context.getTypeConverter().mandatoryConvertTo(long.class, "1")); + +assertEquals(Float.parseFloat("1.1"), context.getTypeConverter().mandatoryConvertTo(float.class, "1.1")); +assertEquals(Double.parseDouble("1.1"), context.getTypeConverter().mandatoryConvertTo(double.class, "1.1")); + +assertEquals("a".charAt(0), context.getTypeConverter().mandatoryConvertTo(char.class, "a")); +assertEquals(Boolean.parseBoolean("true"), context.getTypeConverter().mandatoryConvertTo(boolean.class, "true")); +} } diff --git a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/TypeConverterLoaderGeneratorMojo.java b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/TypeConverterLoaderGeneratorMojo.java index aa0a306e49c..60b9dafb1b6 100644 --- a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/TypeConverterLoaderGeneratorMojo.java +++ b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/TypeConverterLoaderGeneratorMojo.java @@ -471,6 +471,8 @@ public class TypeConverterLoaderGeneratorMojo extends AbstractGeneratorMojo { return "int"; } else if ("java.lang.Long".equals(to)) { return "long"; +} else if ("java.lang.Short".equals(to)) { +return "short"; } else if ("java.lang.Character".equals(to)) { return "char"; } else if ("java.lang.Boolean".equals(to)) {
Re: [PR] CAMEL-20399: String to short type conversion fails [camel]
davsclaus merged PR #13060: URL: https://github.com/apache/camel/pull/13060 -- 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-20399: String to short type conversion fails [camel]
davsclaus commented on PR #13060: URL: https://github.com/apache/camel/pull/13060#issuecomment-1935356273 why do you need a short, any real use-case for using 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] CAMEL-15252: Allow manual acknowlegement when ackMode=NONE [camel]
github-actions[bot] commented on PR #13061: URL: https://github.com/apache/camel/pull/13061#issuecomment-1935237556 :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
[PR] CAMEL-15252: Allow manual acknowlegement when ackMode=NONE [camel]
bricefrisco opened a new pull request, #13061: URL: https://github.com/apache/camel/pull/13061 # Description Implements https://issues.apache.org/jira/browse/CAMEL-15252 by allowing manual acknowledgement of messages for both the synchronous and asynchronous consumers when `ackMode=NONE`. It can be used like: ```java from("google-pubsub:{{project.id}}:{{subscription.name}}?ackMode=NONE") .process(exchange -> { GooglePubsubAcknowledge acknowledge = exchange.getIn().getHeader(GooglePubsubConstants.GOOGLE_PUBSUB_ACKNOWLEDGE, GooglePubsubAcknowledge.class); acknowledge.ack(exchange); // or .nack(exchange) }); ``` # Target - [X] 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 - [X] 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 - [X] I checked that each commit in the pull request has a meaningful subject line and body. - [X] 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: [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-1935142865 The [camel-main](https://github.com/apache/camel-quarkus/tree/camel-main) branch build has failed: * Build ID: 7837676297-1283-874f8981-dcfd-4b06-885b-bd5b4f5dcba4 * Camel Quarkus Commit: 845285bd8d2fc3dc9cba85a666873008e5864452 * Camel Main Commit: 0dd9df2ccd13979a827746bcca451778b7b7528e * Link to build: https://github.com/apache/camel-quarkus/actions/runs/7837676297 -- 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/golang.org/x/oauth2-0.17.0 created (now baae5c1bf)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/go_modules/golang.org/x/oauth2-0.17.0 in repository https://gitbox.apache.org/repos/asf/camel-k.git at baae5c1bf chore(deps): bump golang.org/x/oauth2 from 0.16.0 to 0.17.0 No new revisions were added by this update.
[PR] chore(deps): bump golang.org/x/oauth2 from 0.16.0 to 0.17.0 [camel-k]
dependabot[bot] opened a new pull request, #5149: URL: https://github.com/apache/camel-k/pull/5149 Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.16.0 to 0.17.0. Commits https://github.com/golang/oauth2/commit/ebe81ad83719fe3426335b22e40a1e3a76fa45c0";>ebe81ad go.mod: update golang.org/x dependencies https://github.com/golang/oauth2/commit/adffd94437cee5e033b67282039fc9c21708ffc7";>adffd94 google/internal/externalaccount: update serviceAccountImpersonationRE to supp... https://github.com/golang/oauth2/commit/deefa7e836e5aa043b2b8102b5b098da53a43903";>deefa7e google/downscope: add DownscopingConfig.UniverseDomain to support TPC See full diff in https://github.com/golang/oauth2/compare/v0.16.0...v0.17.0";>compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=golang.org/x/oauth2&package-manager=go_modules&previous-version=0.16.0&new-version=0.17.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-karavan) branch main updated: Updates for #1115
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 3da76e97 Updates for #1115 3da76e97 is described below commit 3da76e97f52a0bc9ec288c76db3e46efbbcc8241 Author: Marat Gubaidullin AuthorDate: Thu Feb 8 18:28:14 2024 -0500 Updates for #1115 --- .../camel/karavan/cache/KaravanCacheService.java | 12 +-- .../karavan-app/src/main/resources/hazelcast.xml | 21 --- .../karavan-app/src/main/resources/hazelcast.yaml | 24 ++ .../src/main/webui/src/project/ProjectPage.tsx | 1 + 4 files changed, 30 insertions(+), 28 deletions(-) diff --git a/karavan-web/karavan-app/src/main/java/org/apache/camel/karavan/cache/KaravanCacheService.java b/karavan-web/karavan-app/src/main/java/org/apache/camel/karavan/cache/KaravanCacheService.java index 34b33dd4..a8aa1086 100644 --- a/karavan-web/karavan-app/src/main/java/org/apache/camel/karavan/cache/KaravanCacheService.java +++ b/karavan-web/karavan-app/src/main/java/org/apache/camel/karavan/cache/KaravanCacheService.java @@ -16,7 +16,7 @@ */ package org.apache.camel.karavan.cache; -import com.hazelcast.config.ClasspathXmlConfig; +import com.hazelcast.config.ClasspathYamlConfig; import com.hazelcast.config.Config; import com.hazelcast.core.Hazelcast; import com.hazelcast.core.HazelcastInstance; @@ -29,7 +29,6 @@ import jakarta.enterprise.event.Observes; import jakarta.enterprise.inject.Default; import jakarta.inject.Singleton; import org.apache.camel.karavan.cache.model.*; -import org.eclipse.microprofile.health.Readiness; import org.jboss.logging.Logger; import java.io.BufferedReader; @@ -41,11 +40,10 @@ import java.util.concurrent.atomic.AtomicBoolean; import java.util.stream.Collectors; @Default -@Readiness @Singleton public class KaravanCacheService { -Config config = new ClasspathXmlConfig("hazelcast.xml"); +Config config = new ClasspathYamlConfig("hazelcast.yaml"); HazelcastInstance hz = Hazelcast.getOrCreateHazelcastInstance(config); private final IMap projects = hz.getMap(Project.CACHE); @@ -94,9 +92,9 @@ public class KaravanCacheService { public ProjectFile getProjectFile(String projectId, String filename) { Predicate predicate = Predicates.and( -Predicates.equal("name", filename), -Predicates.equal("projectId", projectId) -); +Predicates.equal("name", filename), +Predicates.equal("projectId", projectId) +); List list = files.values(predicate).stream().toList(); return !list.isEmpty() ? list.get(0) : null; } diff --git a/karavan-web/karavan-app/src/main/resources/hazelcast.xml b/karavan-web/karavan-app/src/main/resources/hazelcast.xml deleted file mode 100644 index 37836362.. --- a/karavan-web/karavan-app/src/main/resources/hazelcast.xml +++ /dev/null @@ -1,21 +0,0 @@ -http://www.hazelcast.com/schema/config"; - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; - xsi:schemaLocation="http://www.hazelcast.com/schema/config - http://www.hazelcast.com/schema/config/hazelcast-config-5.3.xsd";> -karavan -karavan - - - -5900 - -0 - - - - - - - - - diff --git a/karavan-web/karavan-app/src/main/resources/hazelcast.yaml b/karavan-web/karavan-app/src/main/resources/hazelcast.yaml new file mode 100644 index ..149ddfe0 --- /dev/null +++ b/karavan-web/karavan-app/src/main/resources/hazelcast.yaml @@ -0,0 +1,24 @@ +hazelcast: + cluster-name: karavan + instance-name: karavan + jet: +enabled: false +resource-upload-enabled: false + integrity-checker: +enabled: false + network: +port: + auto-increment: true + port-count: 100 + port: 5900 +outbound-ports: + ports: 0 +join: + auto-detection: +enabled: false + multicast: +enabled: false + tcp-ip: +enabled: false + metrics: +enabled: false diff --git a/karavan-web/karavan-app/src/main/webui/src/project/ProjectPage.tsx b/karavan-web/karavan-app/src/main/webui/src/project/ProjectPage.tsx index 59950bb6..6ed5ad4e 100644 --- a/karavan-web/karavan-app/src/main/webui/src/project/ProjectPage.tsx +++ b/karavan-web/karavan-app/src/main/webui/src/project/ProjectPage.tsx @@ -62,6 +62,7 @@ export function ProjectPage() { const interval = setInterval(() => { if (tabIndex === 'build' || tabIndex === 'container') { ProjectService.refreshAllContainerStatuses(); +ProjectService.refreshAllDeploymentStatuses(); ProjectService.refreshImages(project.projectId); } }, 2
Re: [PR] CAMEL-20399: String to short type conversion fails [camel]
github-actions[bot] commented on PR #13060: URL: https://github.com/apache/camel/pull/13060#issuecomment-1935053828 :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
[PR] CAMEL-20399: String to short type conversion fails [camel]
valdar opened a new pull request, #13060: URL: https://github.com/apache/camel/pull/13060 # Description String to short type conversion fails with: `NoTypeConversionAvailable No type converter available to convert from type: java.lang.String to the required type: short` to reproduce it just test: `assertEquals(Short.parseShort("1"), context.getTypeConverter().mandatoryConvertTo(short.class, "1"));` # Target - [X] 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 - [X] 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 - [X] I checked that each commit in the pull request has a meaningful subject line and body. - [X] 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] Unshade Google and Micrometer related packages from kudu-client [camel-quarkus]
ppalaga commented on PR #5727: URL: https://github.com/apache/camel-quarkus/pull/5727#issuecomment-1935038913 Could we perhaps unshade also com.sangupta:murmur? -- 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] Add Elasticsearch Low Level Rest Client [camel-quarkus]
zbendhiba opened a new pull request, #5738: URL: https://github.com/apache/camel-quarkus/pull/5738 Fixes #5736 I created a follow up issue to add more test coverage. https://github.com/apache/camel-quarkus/issues/5737 -- 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/quarkiverse-groovy.version-3.7.0 updated (48a6614db5 -> 961c644532)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/quarkiverse-groovy.version-3.7.0 in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git from 48a6614db5 Bump quarkiverse-groovy.version from 3.6.4 to 3.7.0 add 961c644532 Auto generated changes for dependabot commit 48a6614db5a702e434e52b0915517b7f58833e5f No new revisions were added by this update. Summary of changes: pom.xml| 2 +- poms/bom/src/main/generated/flattened-full-pom.xml | 164 ++--- .../src/main/generated/flattened-reduced-pom.xml | 6 +- .../generated/flattened-reduced-verbose-pom.xml| 6 +- 4 files changed, 89 insertions(+), 89 deletions(-)
Re: [PR] Bump quarkiverse-groovy.version from 3.6.4 to 3.7.0 [camel-quarkus]
github-actions[bot] commented on PR #5735: URL: https://github.com/apache/camel-quarkus/pull/5735#issuecomment-1934966919 :warning: :warning: :warning: Branch auto synchronized due to changes in generated files. New workflow run triggered: https://github.com/apache/camel-quarkus/actions/runs/7836206749 Please check the workflow result before merging. :warning: :warning: :warning: -- 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] Bump quarkiverse-groovy.version from 3.6.4 to 3.7.0 [camel-quarkus]
dependabot[bot] opened a new pull request, #5735: URL: https://github.com/apache/camel-quarkus/pull/5735 Bumps `quarkiverse-groovy.version` from 3.6.4 to 3.7.0. Updates `io.quarkiverse.groovy:quarkus-groovy` from 3.6.4 to 3.7.0 Updates `io.quarkiverse.groovy:quarkus-groovy-deployment` from 3.6.4 to 3.7.0 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-quarkus) branch dependabot/maven/quarkiverse-groovy.version-3.7.0 created (now 48a6614db5)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/quarkiverse-groovy.version-3.7.0 in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git at 48a6614db5 Bump quarkiverse-groovy.version from 3.6.4 to 3.7.0 No new revisions were added by this update.
(camel-k-runtime) branch dependabot/maven/quarkus-platform-version-3.7.2 created (now ea59971e)
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.7.2 in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git at ea59971e build(deps): bump quarkus-platform-version from 3.6.0 to 3.7.2 No new revisions were added by this update.
[PR] build(deps): bump quarkus-platform-version from 3.6.0 to 3.7.2 [camel-k-runtime]
dependabot[bot] opened a new pull request, #1171: URL: https://github.com/apache/camel-k-runtime/pull/1171 Bumps `quarkus-platform-version` from 3.6.0 to 3.7.2. Updates `io.quarkus.platform:quarkus-camel-bom` from 3.6.0 to 3.7.2 Commits https://github.com/quarkusio/quarkus-platform/commit/360afe7d5f4a58a013659354e1315670c0331224";>360afe7 [maven-release-plugin] prepare release 3.7.2 https://github.com/quarkusio/quarkus-platform/commit/eae47042d117a989d7bbc9b579e9ced8cbbd969e";>eae4704 Merge pull request https://redirect.github.com/quarkusio/quarkus-platform/issues/1110";>#1110 from gsmet/quarkus-3.7.2 https://github.com/quarkusio/quarkus-platform/commit/e424808ec7c475d2c04ccb757005c35428e87df4";>e424808 Upgrade to Google Cloud Services extension pack 2.7.0 https://github.com/quarkusio/quarkus-platform/commit/3a586cd2e3dee20f725cd5bb41e32bb5b81738ef";>3a586cd Upgrade to Quarkus 3.7.2 https://github.com/quarkusio/quarkus-platform/commit/7336e4c0549ab5276f44dd506c89062e97fd4770";>7336e4c Merge pull request https://redirect.github.com/quarkusio/quarkus-platform/issues/1107";>#1107 from metacosm/qosdk-release-6.6.2-3.7 https://github.com/quarkusio/quarkus-platform/commit/effa5b93e881f69bf4aab112aedc33204a34d309";>effa5b9 Update QOSDK to 6.6.2 https://github.com/quarkusio/quarkus-platform/commit/dd26d046e640f3fa24e6016c7ea87921aede0f04";>dd26d04 [maven-release-plugin] prepare for next development iteration https://github.com/quarkusio/quarkus-platform/commit/ef73c3d1f247297197496395f8a86365c7e1ef9c";>ef73c3d [maven-release-plugin] prepare release 3.7.1 https://github.com/quarkusio/quarkus-platform/commit/c28d6755e80c21e45a1a53d032a925f68b96387f";>c28d675 Merge pull request https://redirect.github.com/quarkusio/quarkus-platform/issues/1105";>#1105 from gsmet/quarkus-3.7.1 https://github.com/quarkusio/quarkus-platform/commit/4cf2afafc9fae4a3006733d36d37ee8f612fe8f4";>4cf2afa Update XSL template to add com.mysql:mysql-connector-j instead of mysql:mysql... Additional commits viewable in https://github.com/quarkusio/quarkus-platform/compare/3.6.0...3.7.2";>compare view Updates `io.quarkus.platform:quarkus-bom` from 3.6.0 to 3.7.2 Commits https://github.com/quarkusio/quarkus-platform/commit/360afe7d5f4a58a013659354e1315670c0331224";>360afe7 [maven-release-plugin] prepare release 3.7.2 https://github.com/quarkusio/quarkus-platform/commit/eae47042d117a989d7bbc9b579e9ced8cbbd969e";>eae4704 Merge pull request https://redirect.github.com/quarkusio/quarkus-platform/issues/1110";>#1110 from gsmet/quarkus-3.7.2 https://github.com/quarkusio/quarkus-platform/commit/e424808ec7c475d2c04ccb757005c35428e87df4";>e424808 Upgrade to Google Cloud Services extension pack 2.7.0 https://github.com/quarkusio/quarkus-platform/commit/3a586cd2e3dee20f725cd5bb41e32bb5b81738ef";>3a586cd Upgrade to Quarkus 3.7.2 https://github.com/quarkusio/quarkus-platform/commit/7336e4c0549ab5276f44dd506c89062e97fd4770";>7336e4c Merge pull request https://redirect.github.com/quarkusio/quarkus-platform/issues/1107";>#1107 from metacosm/qosdk-release-6.6.2-3.7 https://github.com/quarkusio/quarkus-platform/commit/effa5b93e881f69bf4aab112aedc33204a34d309";>effa5b9 Update QOSDK to 6.6.2 https://github.com/quarkusio/quarkus-platform/commit/dd26d046e640f3fa24e6016c7ea87921aede0f04";>dd26d04 [maven-release-plugin] prepare for next development iteration https://github.com/quarkusio/quarkus-platform/commit/ef73c3d1f247297197496395f8a86365c7e1ef9c";>ef73c3d [maven-release-plugin] prepare release 3.7.1 https://github.com/quarkusio/quarkus-platform/commit/c28d6755e80c21e45a1a53d032a925f68b96387f";>c28d675 Merge pull request https://redirect.github.com/quarkusio/quarkus-platform/issues/1105";>#1105 from gsmet/quarkus-3.7.1 https://github.com/quarkusio/quarkus-platform/commit/4cf2afafc9fae4a3006733d36d37ee8f612fe8f4";>4cf2afa Update XSL template to add com.mysql:mysql-connector-j instead of mysql:mysql... Additional commits viewable in https://github.com/quarkusio/quarkus-platform/compare/3.6.0...3.7.2";>compare view Updates `io.quarkus.platform:quarkus-maven-plugin` from 3.6.0 to 3.7.2 Commits https://github.com/quarkusio/quarkus-platform/commit/360afe7d5f4a58a013659354e1315670c0331224";>360afe7 [maven-release-plugin] prepare release 3.7.2 https://github.com/quarkusio/quarkus-platform/commit/eae47042d117a989d7bbc9b579e9ced8cbbd969e";>eae4704 Merge pull request https://redirect.github.com/quarkusio/quarkus-platform/issues/1110";>#1110 from gsmet/quarkus-3.7.2 https://github.com/quarkusio/quarkus-platform/commit/e424808ec7c475d2c04ccb757005c35428e87df4";>e424808 Upgrade to Google Cloud Services extension pack 2.7.0 https://github.com/quarkusio/quarkus-platform/commit/3a586cd2e3dee20f725cd5bb41e32bb5b81738ef";>3a586cd Upgrade to Quarkus 3.7.2 https://github.com/quarkusio/quarkus-platf
(camel-karavan) branch main updated: Updates for #1115
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 ad5bdd2e Updates for #1115 ad5bdd2e is described below commit ad5bdd2e965a196d316a0983363cecb114ebb94f Author: Marat Gubaidullin AuthorDate: Thu Feb 8 14:38:29 2024 -0500 Updates for #1115 --- .../main/java/org/apache/camel/karavan/code/CodeService.java | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/karavan-web/karavan-app/src/main/java/org/apache/camel/karavan/code/CodeService.java b/karavan-web/karavan-app/src/main/java/org/apache/camel/karavan/code/CodeService.java index e7962262..6880bc6a 100644 --- a/karavan-web/karavan-app/src/main/java/org/apache/camel/karavan/code/CodeService.java +++ b/karavan-web/karavan-app/src/main/java/org/apache/camel/karavan/code/CodeService.java @@ -327,10 +327,13 @@ public class CodeService { } public Integer getProjectPort(ProjectFile composeFile) { -DockerComposeService dcs = DockerComposeConverter.fromCode(composeFile.getCode(), composeFile.getProjectId()); -Optional port = dcs.getPortsMap().entrySet().stream() -.filter(e -> Objects.equals(e.getValue(), INTERNAL_PORT)).map(Map.Entry::getKey).findFirst(); -return port.orElse(null); +if (composeFile != null) { +DockerComposeService dcs = DockerComposeConverter.fromCode(composeFile.getCode(), composeFile.getProjectId()); +Optional port = dcs.getPortsMap().entrySet().stream() +.filter(e -> Objects.equals(e.getValue(), INTERNAL_PORT)).map(Map.Entry::getKey).findFirst(); +return port.orElse(null); +} +return null; } public Integer getProjectPort(String projectId) {
(camel-karavan) branch main updated: Updates for #1115
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 64b82f15 Updates for #1115 64b82f15 is described below commit 64b82f15c12b381e4505a71ecba6d6d1d4362ae5 Author: Marat Gubaidullin AuthorDate: Thu Feb 8 14:35:47 2024 -0500 Updates for #1115 --- .../main/java/org/apache/camel/karavan/cache/KaravanCacheService.java | 4 ++-- .../java/org/apache/camel/karavan/service/ContainerStatusService.java | 4 ++-- .../main/java/org/apache/camel/karavan/service/ProjectService.java| 3 ++- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/karavan-web/karavan-app/src/main/java/org/apache/camel/karavan/cache/KaravanCacheService.java b/karavan-web/karavan-app/src/main/java/org/apache/camel/karavan/cache/KaravanCacheService.java index 6e62ba11..34b33dd4 100644 --- a/karavan-web/karavan-app/src/main/java/org/apache/camel/karavan/cache/KaravanCacheService.java +++ b/karavan-web/karavan-app/src/main/java/org/apache/camel/karavan/cache/KaravanCacheService.java @@ -62,12 +62,12 @@ public class KaravanCacheService { private static final String DEFAULT_ENVIRONMENT = "dev"; void onStart(@Observes StartupEvent ev) { -LOGGER.info("The application is starting..."); +LOGGER.info("KaravanCacheService is started"); ready.set(true); } void onStop(@Observes ShutdownEvent ev) { -LOGGER.info("The application is stopping..."); +LOGGER.info("KaravanCacheService is stopped"); ready.set(false); } diff --git a/karavan-web/karavan-app/src/main/java/org/apache/camel/karavan/service/ContainerStatusService.java b/karavan-web/karavan-app/src/main/java/org/apache/camel/karavan/service/ContainerStatusService.java index b5458262..e8d34d20 100644 --- a/karavan-web/karavan-app/src/main/java/org/apache/camel/karavan/service/ContainerStatusService.java +++ b/karavan-web/karavan-app/src/main/java/org/apache/camel/karavan/service/ContainerStatusService.java @@ -78,9 +78,9 @@ public class ContainerStatusService { void cleanContainersStatuses(List statusesInDocker) { if (karavanCacheService.isReady() && !ConfigService.inKubernetes()) { List namesInDocker = statusesInDocker.stream().map(ContainerStatus::getContainerName).toList(); -List statusesInInfinispan = karavanCacheService.getContainerStatuses(environment); +List statusesInCache = karavanCacheService.getContainerStatuses(environment); // clean deleted -statusesInInfinispan.stream() +statusesInCache.stream() .filter(cs -> !checkTransit(cs)) .filter(cs -> !namesInDocker.contains(cs.getContainerName())) .forEach(containerStatus -> { diff --git a/karavan-web/karavan-app/src/main/java/org/apache/camel/karavan/service/ProjectService.java b/karavan-web/karavan-app/src/main/java/org/apache/camel/karavan/service/ProjectService.java index 528d54fd..e3f2aa1a 100644 --- a/karavan-web/karavan-app/src/main/java/org/apache/camel/karavan/service/ProjectService.java +++ b/karavan-web/karavan-app/src/main/java/org/apache/camel/karavan/service/ProjectService.java @@ -41,6 +41,7 @@ import org.apache.camel.karavan.validation.project.ProjectModifyValidator; import org.apache.commons.lang3.StringUtils; import org.eclipse.jgit.revwalk.RevCommit; import org.eclipse.microprofile.config.inject.ConfigProperty; +import org.eclipse.microprofile.faulttolerance.Retry; import org.eclipse.microprofile.health.HealthCheck; import org.eclipse.microprofile.health.HealthCheckResponse; import org.eclipse.microprofile.health.Readiness; @@ -266,7 +267,7 @@ public class ProjectService implements HealthCheck { return codeService.getProjectPort(projectId); } -//@Retry(maxRetries = 100, delay = 2000) +@Retry(maxRetries = 100, delay = 2000) public void tryStart() throws Exception { if (karavanCacheService.isReady() && gitService.checkGit()) { if (karavanCacheService.getProjects().isEmpty()) {
Re: [PR] CAMEL-20333 Camel Kotlin API [camel]
davsclaus commented on PR #12786: URL: https://github.com/apache/camel/pull/12786#issuecomment-1934795255 and btw those are the last expected model changes. So after that we should be ready for your PR -- 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-karavan) 04/04: Update Docs #1115
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 commit 920e3c500236da5cdaaab18f9fac7feeb77b6632 Author: Marat Gubaidullin AuthorDate: Thu Feb 8 14:01:56 2024 -0500 Update Docs #1115 --- docs/DEV.md| 1 - docs/WEB_KUBERNETES.md | 7 +-- docs/WEB_OPENSHIFT.md | 7 +-- 3 files changed, 2 insertions(+), 13 deletions(-) diff --git a/docs/DEV.md b/docs/DEV.md index 4b590d0a..e23a1da4 100644 --- a/docs/DEV.md +++ b/docs/DEV.md @@ -73,7 +73,6 @@ Docker Engine 24+ ``` # Local %local.karavan.image-registry=localhost:5000 -%local.karavan.infinispan.hosts=localhost:11222 %local.karavan.git-repository=http://localhost:3000/karavan/karavan.git %local.karavan.image-registry-install=true %local.karavan.git-install-gitea=true diff --git a/docs/WEB_KUBERNETES.md b/docs/WEB_KUBERNETES.md index e1d3480d..f92760fb 100644 --- a/docs/WEB_KUBERNETES.md +++ b/docs/WEB_KUBERNETES.md @@ -62,9 +62,4 @@ `--image-registry` - Image registry `--image-group` - Image group, defaultValue = `karavan` `--image-registry-username` - Image registry username -`--image-registry-password` - Image registry password - -`--infinispan-image` - Infinispan Image -`--infinispan-username` - Infinispan Username -`--infinispan-password` - Infinispan Password -`--install-infinispan` - Install Infinispan \ No newline at end of file +`--image-registry-password` - Image registry password \ No newline at end of file diff --git a/docs/WEB_OPENSHIFT.md b/docs/WEB_OPENSHIFT.md index 0f789abd..d79052c0 100644 --- a/docs/WEB_OPENSHIFT.md +++ b/docs/WEB_OPENSHIFT.md @@ -62,9 +62,4 @@ `--image-registry` - Image registry `--image-group` - Image group, defaultValue = `karavan` `--image-registry-username` - Image registry username -`--image-registry-password` - Image registry password - -`--infinispan-image` - Infinispan Image -`--infinispan-username` - Infinispan Username -`--infinispan-password` - Infinispan Password -`--install-infinispan` - Install Infinispan \ No newline at end of file +`--image-registry-password` - Image registry password \ No newline at end of file
(camel-karavan) 01/04: First try for #1115
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 commit aa7f4df7e04755c76e86bbfd48bdd23de66ab35b Author: Marat Gubaidullin AuthorDate: Thu Feb 8 13:47:18 2024 -0500 First try for #1115 --- karavan-web/karavan-app/pom.xml| 4 +- .../org/apache/camel/karavan/api/AuthResource.java | 5 +- .../apache/camel/karavan/api/BuildResource.java| 6 +- .../camel/karavan/api/ContainerResource.java | 20 +- .../apache/camel/karavan/api/DevModeResource.java | 16 +- .../camel/karavan/api/InfrastructureResource.java | 24 +- .../apache/camel/karavan/api/KameletResources.java | 16 +- .../camel/karavan/api/ProjectFileResource.java | 22 +- .../camel/karavan/api/ProjectGitResource.java | 2 +- .../apache/camel/karavan/api/ProjectResource.java | 24 +- .../apache/camel/karavan/api/StatusResource.java | 32 +- .../camel/karavan/cache/KaravanCacheService.java | 322 + .../{infinispan => cache}/model/CamelStatus.java | 11 +- .../model/CamelStatusValue.java| 25 +- .../{infinispan => cache}/model/ContainerPort.java | 9 +- .../model/ContainerStatus.java | 47 +-- .../model/DeploymentStatus.java| 13 +- .../{infinispan => cache}/model/GroupedKey.java| 10 +- .../{infinispan => cache}/model/Project.java | 22 +- .../{infinispan => cache}/model/ProjectFile.java | 12 +- .../{infinispan => cache}/model/ServiceStatus.java | 14 +- .../org/apache/camel/karavan/code/CodeService.java | 26 +- .../camel/karavan/docker/DockerEventListener.java | 18 +- .../camel/karavan/docker/DockerForGitea.java | 2 +- .../camel/karavan/docker/DockerForInfinispan.java | 57 --- .../camel/karavan/docker/DockerForKaravan.java | 4 +- .../camel/karavan/docker/DockerForRegistry.java| 2 +- .../apache/camel/karavan/docker/DockerService.java | 2 +- .../camel/karavan/docker/DockerServiceUtils.java | 4 +- .../org/apache/camel/karavan/git/GitService.java | 4 +- .../karavan/infinispan/InfinispanService.java | 401 - .../karavan/infinispan/model/KaravanSchema.java| 45 --- .../karavan/kubernetes/DeploymentEventHandler.java | 18 +- .../karavan/kubernetes/KubernetesService.java | 14 +- .../camel/karavan/kubernetes/PodEventHandler.java | 14 +- .../karavan/kubernetes/ServiceEventHandler.java| 16 +- .../apache/camel/karavan/service/CamelService.java | 18 +- .../karavan/service/ContainerStatusService.java| 26 +- .../camel/karavan/service/KaravanService.java | 10 +- .../camel/karavan/service/ProjectService.java | 78 ++-- .../project/ProjectFileCreateValidator.java| 12 +- .../validation/project/ProjectModifyValidator.java | 12 +- .../src/main/resources/application.properties | 8 - .../src/main/resources/cache/data-cache-config.xml | 23 -- .../karavan-app/src/main/resources/hazelcast.xml | 21 ++ .../src/main/resources/services/internal.yaml | 6 - 46 files changed, 596 insertions(+), 901 deletions(-) diff --git a/karavan-web/karavan-app/pom.xml b/karavan-web/karavan-app/pom.xml index 4481d289..589669b6 100644 --- a/karavan-web/karavan-app/pom.xml +++ b/karavan-web/karavan-app/pom.xml @@ -90,8 +90,8 @@ smallrye-mutiny-vertx-web-client -io.quarkus -quarkus-infinispan-client +com.hazelcast +quarkus-hazelcast-client io.quarkus diff --git a/karavan-web/karavan-app/src/main/java/org/apache/camel/karavan/api/AuthResource.java b/karavan-web/karavan-app/src/main/java/org/apache/camel/karavan/api/AuthResource.java index 2c2ca0f7..fa44e8eb 100644 --- a/karavan-web/karavan-app/src/main/java/org/apache/camel/karavan/api/AuthResource.java +++ b/karavan-web/karavan-app/src/main/java/org/apache/camel/karavan/api/AuthResource.java @@ -22,7 +22,7 @@ import jakarta.ws.rs.Path; import jakarta.ws.rs.Produces; import jakarta.ws.rs.core.MediaType; import jakarta.ws.rs.core.Response; -import org.apache.camel.karavan.infinispan.InfinispanService; +import org.apache.camel.karavan.cache.KaravanCacheService; import org.apache.camel.karavan.kubernetes.KubernetesService; import org.apache.camel.karavan.service.AuthService; import org.apache.camel.karavan.service.ProjectService; @@ -45,7 +45,7 @@ public class AuthResource { KubernetesService kubernetesService; @Inject -InfinispanService infinispanService; +KaravanCacheService karavanCacheService; @GET @Path("/auth") @@ -66,7 +66,6 @@ public class AuthResource { @Produces(MediaType.APPLICATION_JSON) public Response getConfiguration() throws Exception { List list = List.of( -infinispanService.call(), kubernetesService.call
(camel-karavan) 03/04: Update Installer #1115
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 commit 697ac24e533aad5f0caafc50af54aec096e04ed7 Author: Marat Gubaidullin AuthorDate: Thu Feb 8 14:00:38 2024 -0500 Update Installer #1115 --- .../camel/karavan/installer/CommandUtils.java | 25 -- .../apache/camel/karavan/installer/Constants.java | 6 - .../camel/karavan/installer/KaravanCommand.java| 47 +-- .../installer/resources/KaravanDeployment.java | 6 - .../src/main/resources/infinispan.yaml | 371 - 5 files changed, 1 insertion(+), 454 deletions(-) diff --git a/karavan-web/karavan-installer/src/main/java/org/apache/camel/karavan/installer/CommandUtils.java b/karavan-web/karavan-installer/src/main/java/org/apache/camel/karavan/installer/CommandUtils.java index 28bf3914..7d43a692 100644 --- a/karavan-web/karavan-installer/src/main/java/org/apache/camel/karavan/installer/CommandUtils.java +++ b/karavan-web/karavan-installer/src/main/java/org/apache/camel/karavan/installer/CommandUtils.java @@ -59,12 +59,6 @@ public class CommandUtils { log("Namespace " + config.getNamespace() + " already exists"); } -// Check and install Infinispan -if (!isInfinispanInstalled(client, config) && config.isInstallInfinispan()) { -logError("Infinispan is not installed"); -installInfinispan(config, client); -} - // Check and install Gitea if (config.isInstallGitea()) { installGitea(config, client); @@ -173,19 +167,6 @@ public class CommandUtils { } } -private static void installInfinispan(KaravanCommand config, KubernetesClient client) { -System.out.print("⏳ Installing Infinispan "); -String yaml = getResourceFile("/infinispan.yaml"); -String resource = yaml -.replace("$INFINISPAN_PASSWORD", config.getInfinispanPassword()) -.replace("$INFINISPAN_IMAGE", config.getInfinispanImage()); - -client.load(new ByteArrayInputStream(resource.getBytes())).inNamespace(config.getNamespace()) -.create().forEach(hasMetadata -> System.out.print("\uD83D\uDC2B ")); -System.out.println(); -log("Infinispan is installed"); -} - private static void installGitea(KaravanCommand config, KubernetesClient client) { System.out.print("⏳ Installing Gitea "); Arrays.stream(new String[] { "init.yaml", "config.yaml", "deployment.yaml", "service.yaml" }).forEach(s -> { @@ -197,12 +178,6 @@ public class CommandUtils { log("Gitea is installed"); } -private static boolean isInfinispanInstalled(KubernetesClient client, KaravanCommand config) { -Service service = client.services().inNamespace(config.getNamespace()).withName("infinispan").get(); -StatefulSet set = client.apps().statefulSets().inNamespace(config.getNamespace()).withName("infinispan").get(); -return service != null && set != null; -} - public static void log(String emoji, String message) { System.out.println(emoji + " " + message); } diff --git a/karavan-web/karavan-installer/src/main/java/org/apache/camel/karavan/installer/Constants.java b/karavan-web/karavan-installer/src/main/java/org/apache/camel/karavan/installer/Constants.java index 46542513..5f0f105f 100644 --- a/karavan-web/karavan-installer/src/main/java/org/apache/camel/karavan/installer/Constants.java +++ b/karavan-web/karavan-installer/src/main/java/org/apache/camel/karavan/installer/Constants.java @@ -31,10 +31,6 @@ public final class Constants { public static final String KARAVAN_IMAGE = "ghcr.io/apache/camel-karavan"; -public static final String INFINISPAN_IMAGE = "quay.io/infinispan/server:14.0.21.Final"; -public static final String INFINISPAN_USERNAME = "admin"; -public static final String INFINISPAN_PASSWORD = "karavan"; - public static final String NAME = "karavan"; public static final String SERVICEACCOUNT_KARAVAN = "karavan"; @@ -42,8 +38,6 @@ public final class Constants { public static final String ROLEBINDING_KARAVAN = "karavan-role-binding"; public static final String ROLEBINDING_KARAVAN_VIEW = "karavan-cluster-role-binding"; -public static final String INFINISPAN_SECRET_NAME = "infinispan-secret"; - public static final String KEYCLOAK_URL = "karavan.keycloak.url"; public static final String KEYCLOAK_REALM = "karavan.keycloak.realm"; public static final String KEYCLOAK_FRONTEND_CLIENT_ID = "karavan.keycloak.frontend.clientId"; diff --git a/karavan-web/karavan-installer/src/main/java/org/apache/camel/karavan/installer/KaravanCommand.java b/karavan-web/karavan-installer/src/main/java/org/apache/camel/karavan/installer/KaravanCommand.java index 6668aae8..f1ca0a0b 100644 --- a/karavan-web/karavan-i
(camel-karavan) 02/04: First try for #1115
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 commit 061013baa49b4a7a981bbc572e640cdec7b324a1 Author: Marat Gubaidullin AuthorDate: Thu Feb 8 13:57:14 2024 -0500 First try for #1115 --- karavan-web/karavan-app/src/main/webui/src/main/useMainHook.tsx | 4 1 file changed, 4 insertions(+) diff --git a/karavan-web/karavan-app/src/main/webui/src/main/useMainHook.tsx b/karavan-web/karavan-app/src/main/webui/src/main/useMainHook.tsx index a11c87c9..ed8b5fce 100644 --- a/karavan-web/karavan-app/src/main/webui/src/main/useMainHook.tsx +++ b/karavan-web/karavan-app/src/main/webui/src/main/useMainHook.tsx @@ -29,6 +29,7 @@ export function useMainHook () { const [setConfig] = useAppConfigStore((state) => [state.setConfig], shallow) const [setContainers] = useStatusesStore((state) => [state.setContainers], shallow); +const [selectedEnv, selectEnvironment] = useAppConfigStore((state) => [state.selectedEnv, state.selectEnvironment], shallow) const getStatuses = () => { if (KaravanApi.isAuthorized || KaravanApi.authType === 'public') { @@ -42,6 +43,9 @@ export function useMainHook () { if (KaravanApi.isAuthorized || KaravanApi.authType === 'public') { KaravanApi.getConfiguration((config: AppConfig) => { setConfig(config); +if (!selectedEnv || selectedEnv.length == 0) { +selectEnvironment(config.environment, true); +} InfrastructureAPI.infrastructure = config.infrastructure; }); updateKamelets();
(camel-karavan) branch main updated (c73a0411 -> 920e3c50)
This is an automated email from the ASF dual-hosted git repository. marat pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel-karavan.git from c73a0411 Style new aa7f4df7 First try for #1115 new 061013ba First try for #1115 new 697ac24e Update Installer #1115 new 920e3c50 Update Docs #1115 The 4 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: docs/DEV.md| 1 - docs/WEB_KUBERNETES.md | 7 +- docs/WEB_OPENSHIFT.md | 7 +- karavan-web/karavan-app/pom.xml| 4 +- .../org/apache/camel/karavan/api/AuthResource.java | 5 +- .../apache/camel/karavan/api/BuildResource.java| 6 +- .../camel/karavan/api/ContainerResource.java | 20 +- .../apache/camel/karavan/api/DevModeResource.java | 16 +- .../camel/karavan/api/InfrastructureResource.java | 24 +- .../apache/camel/karavan/api/KameletResources.java | 16 +- .../camel/karavan/api/ProjectFileResource.java | 22 +- .../camel/karavan/api/ProjectGitResource.java | 2 +- .../apache/camel/karavan/api/ProjectResource.java | 24 +- .../apache/camel/karavan/api/StatusResource.java | 32 +- .../camel/karavan/cache/KaravanCacheService.java | 322 + .../{infinispan => cache}/model/CamelStatus.java | 11 +- .../model/CamelStatusValue.java| 25 +- .../{infinispan => cache}/model/ContainerPort.java | 9 +- .../model/ContainerStatus.java | 47 +-- .../model/DeploymentStatus.java| 13 +- .../{infinispan => cache}/model/GroupedKey.java| 10 +- .../{infinispan => cache}/model/Project.java | 22 +- .../{infinispan => cache}/model/ProjectFile.java | 12 +- .../{infinispan => cache}/model/ServiceStatus.java | 14 +- .../org/apache/camel/karavan/code/CodeService.java | 26 +- .../camel/karavan/docker/DockerEventListener.java | 18 +- .../camel/karavan/docker/DockerForGitea.java | 2 +- .../camel/karavan/docker/DockerForInfinispan.java | 57 --- .../camel/karavan/docker/DockerForKaravan.java | 4 +- .../camel/karavan/docker/DockerForRegistry.java| 2 +- .../apache/camel/karavan/docker/DockerService.java | 2 +- .../camel/karavan/docker/DockerServiceUtils.java | 4 +- .../org/apache/camel/karavan/git/GitService.java | 4 +- .../karavan/infinispan/InfinispanService.java | 401 - .../karavan/infinispan/model/KaravanSchema.java| 45 --- .../karavan/kubernetes/DeploymentEventHandler.java | 18 +- .../karavan/kubernetes/KubernetesService.java | 14 +- .../camel/karavan/kubernetes/PodEventHandler.java | 14 +- .../karavan/kubernetes/ServiceEventHandler.java| 16 +- .../apache/camel/karavan/service/CamelService.java | 18 +- .../karavan/service/ContainerStatusService.java| 26 +- .../camel/karavan/service/KaravanService.java | 10 +- .../camel/karavan/service/ProjectService.java | 78 ++-- .../project/ProjectFileCreateValidator.java| 12 +- .../validation/project/ProjectModifyValidator.java | 12 +- .../src/main/resources/application.properties | 8 - .../src/main/resources/cache/data-cache-config.xml | 23 -- .../karavan-app/src/main/resources/hazelcast.xml | 21 ++ .../src/main/resources/services/internal.yaml | 6 - .../src/main/webui/src/main/useMainHook.tsx| 4 + .../camel/karavan/installer/CommandUtils.java | 25 -- .../apache/camel/karavan/installer/Constants.java | 6 - .../camel/karavan/installer/KaravanCommand.java| 47 +-- .../installer/resources/KaravanDeployment.java | 6 - .../src/main/resources/infinispan.yaml | 371 --- 55 files changed, 603 insertions(+), 1368 deletions(-) create mode 100644 karavan-web/karavan-app/src/main/java/org/apache/camel/karavan/cache/KaravanCacheService.java rename karavan-web/karavan-app/src/main/java/org/apache/camel/karavan/{infinispan => cache}/model/CamelStatus.java (83%) rename karavan-web/karavan-app/src/main/java/org/apache/camel/karavan/{infinispan => cache}/model/CamelStatusValue.java (61%) rename karavan-web/karavan-app/src/main/java/org/apache/camel/karavan/{infinispan => cache}/model/ContainerPort.java (85%) rename karavan-web/karavan-app/src/main/java/org/apache/camel/karavan/{infinispan => cache}/model/ContainerStatus.java (87%) rename karavan-web/karavan-app/src/main/java/org/apache/camel/karavan/{infinispan => cache}/model/DeploymentStatus.java (88%) rename karavan-web/karavan-app/src/main/java/org/apache/camel/karavan/{infinispan => cache}/model/GroupedKey.java (89%) rename karavan-web/karavan-app/src/main/java/org/apache
[I] Embedded cache instead of external [camel-karavan]
mgubaidullin opened a new issue, #1115: URL: https://github.com/apache/camel-karavan/issues/1115 1. Simplify operations (install, config, ect) 2. Enough for project data and statuses for dozens projects and containers in one instance 3. No Embedded Infinispan for Quarkus -- 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(runtime): get rid off camel k runtime dependency - WIP [camel-k]
github-actions[bot] commented on PR #5090: URL: https://github.com/apache/camel-k/pull/5090#issuecomment-1934690641 :heavy_check_mark: Unit test coverage report - coverage increased from 35.6% to 37.4% (**+1.8%**) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel) branch regen_bot updated (6121315856e -> 6ac1302e665)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot in repository https://gitbox.apache.org/repos/asf/camel.git from 6121315856e Regen add 6ac1302e665 Regen No new revisions were added by this update. Summary of changes: .../dsl/ActivemqComponentBuilderFactory.java | 31 .../component/dsl/AmqpComponentBuilderFactory.java | 31 .../component/dsl/JmsComponentBuilderFactory.java | 31 .../endpoint/dsl/AMQPEndpointBuilderFactory.java | 93 +++--- .../dsl/ActiveMQEndpointBuilderFactory.java| 93 +++--- .../endpoint/dsl/JmsEndpointBuilderFactory.java| 93 +++--- 6 files changed, 180 insertions(+), 192 deletions(-)
(camel) branch regen_bot updated (0401e5db218 -> 6121315856e)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot in repository https://gitbox.apache.org/repos/asf/camel.git omit 0401e5db218 Regen for commit eb589824aed01ef718ddb8351a45e1fe73fbe35f add 6121315856e Regen This update added new revisions after undoing existing revisions. That is to say, some revisions that were in the old version of the branch are not in the new version. This situation occurs when a user --force pushes a change and generates a repository containing something like this: * -- * -- B -- O -- O -- O (0401e5db218) \ N -- N -- N refs/heads/regen_bot (6121315856e) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. No new revisions were added by this update. Summary of changes:
Re: [PR] Generated sources regen [camel]
oscerd merged PR #13059: URL: https://github.com/apache/camel/pull/13059 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel) branch main updated: Regen
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 6ac1302e665 Regen 6ac1302e665 is described below commit 6ac1302e665596acd5e1554d3b212235156bde8c Author: Claus Ibsen AuthorDate: Thu Feb 8 18:57:10 2024 +0100 Regen --- .../dsl/ActivemqComponentBuilderFactory.java | 31 .../component/dsl/AmqpComponentBuilderFactory.java | 31 .../component/dsl/JmsComponentBuilderFactory.java | 31 .../endpoint/dsl/AMQPEndpointBuilderFactory.java | 93 +++--- .../dsl/ActiveMQEndpointBuilderFactory.java| 93 +++--- .../endpoint/dsl/JmsEndpointBuilderFactory.java| 93 +++--- 6 files changed, 180 insertions(+), 192 deletions(-) diff --git a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/ActivemqComponentBuilderFactory.java b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/ActivemqComponentBuilderFactory.java index 028016976e0..5475505cf14 100644 --- a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/ActivemqComponentBuilderFactory.java +++ b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/ActivemqComponentBuilderFactory.java @@ -72,8 +72,7 @@ public interface ActivemqComponentBuilderFactory { * Sets the JMS client ID to use. Note that this value, if specified, * must be unique and can only be used by a single JMS connection * instance. It is typically only required for durable topic - * subscriptions. If using Apache ActiveMQ you may prefer to use Virtual - * Topics instead. + * subscriptions with JMS 1.1. * * The option is a:java.lang.String
type. * @@ -572,12 +571,12 @@ public interface ActivemqComponentBuilderFactory { * DefaultMessageListenerContainer, for both consumer endpoints and the * ReplyTo consumer of producer endpoints. Possible values: SimpleAsync * (uses Spring's SimpleAsyncTaskExecutor) or ThreadPool (uses Spring's - * ThreadPoolTaskExecutor with optimal values - cached threadpool-like). - * If not set, it defaults to the previous behaviour, which uses a - * cached thread pool for consumer endpoints and SimpleAsync for reply - * consumers. The use of ThreadPool is recommended to reduce thread - * trash in elastic configurations with dynamically increasing and - * decreasing concurrent consumers. + * ThreadPoolTaskExecutor with optimal values - cached + * thread-pool-like). If not set, it defaults to the previous behaviour, + * which uses a cached thread pool for consumer endpoints and + * SimpleAsync for reply consumers. The use of ThreadPool is recommended + * to reduce thread trash in elastic configurations with dynamically + * increasing and decreasing concurrent consumers. * * The option is a: *org.apache.camel.component.jms.DefaultTaskExecutorType
type. @@ -998,8 +997,8 @@ public interface ActivemqComponentBuilderFactory { } /** * This option is used to allow additional headers which may have values - * that are invalid according to JMS specification. For example some - * message systems such as WMQ do this with header names using prefix + * that are invalid according to JMS specification. For example, some + * message systems, such as WMQ, do this with header names using prefix * JMS_IBM_MQMD_ containing values with byte array or other invalid * types. You can specify multiple header names separated by comma, and * use as suffix for wildcard matching. @@ -1274,7 +1273,7 @@ public interface ActivemqComponentBuilderFactory { * Whether to startup the JmsConsumer message listener asynchronously, * when starting a route. For example if a JmsConsumer cannot get a * connection to a remote JMS broker, then it may block while retrying - * and/or failover. This will cause Camel to block while starting + * and/or fail-over. This will cause Camel to block while starting * routes. By setting this option to true, you will let routes startup, * while the JmsConsumer connects to the JMS broker using a dedicated * thread in asynchronous mode. If this option is used, then beware that @@ -1444,9 +1443,9 @@ public interface ActivemqComponentBuilderFactory { return this; } /** - * Whether to include all JMSXxxx properties when mapping from JMS to - * Camel Message. Setting this to true will include properties su
(camel) branch regen_bot updated (60b5c636012 -> 0401e5db218)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot in repository https://gitbox.apache.org/repos/asf/camel.git from 60b5c636012 (chores) camel-jms: documentation fixes add eb589824aed CAMEL-20398: camel-kubernetes - Add local as masterURL so you can run… (#13058) add 0401e5db218 Regen for commit eb589824aed01ef718ddb8351a45e1fe73fbe35f No new revisions were added by this update. Summary of changes: .../catalog/components/kubernetes-config-maps.json | 2 +- .../catalog/components/kubernetes-cronjob.json | 2 +- .../components/kubernetes-custom-resources.json| 2 +- .../catalog/components/kubernetes-deployments.json | 2 +- .../catalog/components/kubernetes-events.json | 2 +- .../camel/catalog/components/kubernetes-hpa.json | 2 +- .../camel/catalog/components/kubernetes-job.json | 2 +- .../catalog/components/kubernetes-namespaces.json | 2 +- .../camel/catalog/components/kubernetes-nodes.json | 2 +- .../kubernetes-persistent-volumes-claims.json | 2 +- .../components/kubernetes-persistent-volumes.json | 2 +- .../camel/catalog/components/kubernetes-pods.json | 2 +- .../kubernetes-replication-controllers.json| 2 +- .../components/kubernetes-resources-quota.json | 2 +- .../catalog/components/kubernetes-secrets.json | 2 +- .../components/kubernetes-service-accounts.json| 2 +- .../catalog/components/kubernetes-services.json| 2 +- .../components/openshift-build-configs.json| 2 +- .../camel/catalog/components/openshift-builds.json | 2 +- .../components/openshift-deploymentconfigs.json| 2 +- .../config_maps/kubernetes-config-maps.json| 2 +- .../kubernetes/cronjob/kubernetes-cronjob.json | 2 +- .../kubernetes-custom-resources.json | 2 +- .../deployments/kubernetes-deployments.json| 2 +- .../kubernetes/events/kubernetes-events.json | 2 +- .../component/kubernetes/hpa/kubernetes-hpa.json | 2 +- .../component/kubernetes/job/kubernetes-job.json | 2 +- .../namespaces/kubernetes-namespaces.json | 2 +- .../kubernetes/nodes/kubernetes-nodes.json | 2 +- .../kubernetes-persistent-volumes.json | 2 +- .../kubernetes-persistent-volumes-claims.json | 2 +- .../component/kubernetes/pods/kubernetes-pods.json | 2 +- .../kubernetes-replication-controllers.json| 2 +- .../kubernetes-resources-quota.json| 2 +- .../kubernetes/secrets/kubernetes-secrets.json | 2 +- .../kubernetes-service-accounts.json | 2 +- .../kubernetes/services/kubernetes-services.json | 2 +- .../build_configs/openshift-build-configs.json | 2 +- .../openshift/builds/openshift-builds.json | 2 +- .../openshift-deploymentconfigs.json | 2 +- .../kubernetes/KubernetesConfiguration.java| 8 +- .../component/kubernetes/KubernetesHelper.java | 10 +- .../dsl/Aws2KmsComponentBuilderFactory.java| 36 +++ .../dsl/Aws2LambdaComponentBuilderFactory.java | 36 +++ .../src/generated/resources/metadata.json | 2 +- .../builder/endpoint/StaticEndpointBuilders.java | 296 + .../endpoint/dsl/KMS2EndpointBuilderFactory.java | 52 ...KubernetesConfigMapsEndpointBuilderFactory.java | 16 +- .../KubernetesCronJobEndpointBuilderFactory.java | 16 +- ...netesCustomResourcesEndpointBuilderFactory.java | 16 +- ...ubernetesDeploymentsEndpointBuilderFactory.java | 16 +- .../KubernetesEventsEndpointBuilderFactory.java| 16 +- .../dsl/KubernetesHPAEndpointBuilderFactory.java | 16 +- .../dsl/KubernetesJobEndpointBuilderFactory.java | 16 +- ...KubernetesNamespacesEndpointBuilderFactory.java | 16 +- .../dsl/KubernetesNodesEndpointBuilderFactory.java | 16 +- ...sistentVolumesClaimsEndpointBuilderFactory.java | 16 +- ...tesPersistentVolumesEndpointBuilderFactory.java | 16 +- .../dsl/KubernetesPodsEndpointBuilderFactory.java | 16 +- ...plicationControllersEndpointBuilderFactory.java | 16 +- ...rnetesResourcesQuotaEndpointBuilderFactory.java | 16 +- .../KubernetesSecretsEndpointBuilderFactory.java | 16 +- ...netesServiceAccountsEndpointBuilderFactory.java | 16 +- .../KubernetesServicesEndpointBuilderFactory.java | 16 +- .../dsl/Lambda2EndpointBuilderFactory.java | 52 ...penshiftBuildConfigsEndpointBuilderFactory.java | 16 +- .../dsl/OpenshiftBuildsEndpointBuilderFactory.java | 16 +- ...iftDeploymentConfigsEndpointBuilderFactory.java | 16 +- .../dsl/SplunkHECEndpointBuilderFactory.java | 32 ++- .../endpoint/dsl/XQueryEndpointBuilderFactory.java | 183 - 70 files changed, 825 insertions(+), 282 deletions(-)
[PR] Generated sources regen [camel]
github-actions[bot] opened a new pull request, #13059: URL: https://github.com/apache/camel/pull/13059 Regen bot :robot: found some uncommitted changes after running build on :camel: `main` branch. Please do not delete `regen_bot` branch after merge/rebase. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel) branch main updated: Regen for commit eb589824aed01ef718ddb8351a45e1fe73fbe35f (#13059)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/main by this push: new 68ca4abb8cc Regen for commit eb589824aed01ef718ddb8351a45e1fe73fbe35f (#13059) 68ca4abb8cc is described below commit 68ca4abb8cc97751c13c2f9f6a98957a17ddc68c Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Thu Feb 8 18:57:50 2024 +0100 Regen for commit eb589824aed01ef718ddb8351a45e1fe73fbe35f (#13059) Signed-off-by: GitHub Co-authored-by: davsclaus
(camel) branch main updated: Regen
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/main by this push: new 6121315856e Regen 6121315856e is described below commit 6121315856eb5ab5e2d2f0e978695519966d4894 Author: Claus Ibsen AuthorDate: Thu Feb 8 18:55:19 2024 +0100 Regen --- .../resources/org/apache/camel/catalog/components/activemq.json | 4 ++-- .../generated/resources/org/apache/camel/catalog/components/amqp.json | 4 ++-- .../generated/resources/org/apache/camel/catalog/components/jms.json | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/activemq.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/activemq.json index 4cc48d0b9d1..0a616cedd2c 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/activemq.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/activemq.json @@ -24,7 +24,7 @@ }, "componentProperties": { "brokerURL": { "index": 0, "kind": "property", "displayName": "Broker URL", "group": "common", "label": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "Sets the broker URL to use to connect to ActiveMQ. If none configured then localhost:61616 is used by default (however can be overridden by configuration from environment variables)" }, -"clientId": { "index": 1, "kind": "property", "displayName": "Client Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.jms.JmsConfiguration", "configurationField": "configuration", "description": "Sets the JMS client ID to use. Note that this value, if specified, must be unique and can only be used by a single JMS connecti [...] +"clientId": { "index": 1, "kind": "property", "displayName": "Client Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.jms.JmsConfiguration", "configurationField": "configuration", "description": "Sets the JMS client ID to use. Note that this value, if specified, must be unique and can only be used by a single JMS connecti [...] "connectionFactory": { "index": 2, "kind": "property", "displayName": "Connection Factory", "group": "common", "label": "", "required": false, "type": "object", "javaType": "jakarta.jms.ConnectionFactory", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.jms.JmsConfiguration", "configurationField": "configuration", "description": "The connection factory to be use. A connection factory must be configured either on the componen [...] "disableReplyTo": { "index": 3, "kind": "property", "displayName": "Disable Reply To", "group": "common", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.jms.JmsConfiguration", "configurationField": "configuration", "description": "Specifies whether Camel ignores the JMSReplyTo header in messages. If true, Camel does not send a r [...] "durableSubscriptionName": { "index": 4, "kind": "property", "displayName": "Durable Subscription Name", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.jms.JmsConfiguration", "configurationField": "configuration", "description": "The durable subscriber name for specifying durable topic subscriptions. The clientId option must [...] @@ -151,7 +151,7 @@ "properties": { "destinationType": { "index": 0, "kind": "path", "displayName": "Destination Type", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "enum": [ "queue", "topic", "temp-queue", "temp-topic" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "queue", "description": "The kind of destination to use" }, "destinationName": { "index": 1, "kind": "path", "displayName": "Destination Name", "group": "common", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "Name of the queue or topic to use as destination" },
(camel) branch kube deleted (was 599056d8a92)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch kube in repository https://gitbox.apache.org/repos/asf/camel.git was 599056d8a92 CAMEL-20398: camel-kubernetes - Add local as masterURL so you can run easily with a client without having to create it as a bean first. 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] CAMEL-20398: camel-kubernetes - Add local as masterURL so you can run… [camel]
davsclaus merged PR #13058: URL: https://github.com/apache/camel/pull/13058 -- 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 kube updated (8bebfa0c3e9 -> 599056d8a92)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch kube in repository https://gitbox.apache.org/repos/asf/camel.git from 8bebfa0c3e9 CAMEL-20398: camel-kubernetes - Add local as masterURL so you can run easily with a client without having to create it as a bean first. add 599056d8a92 CAMEL-20398: camel-kubernetes - Add local as masterURL so you can run easily with a client without having to create it as a bean first. No new revisions were added by this update. Summary of changes: .../apache/camel/catalog/components/activemq.json | 4 +- .../org/apache/camel/catalog/components/amqp.json | 4 +- .../org/apache/camel/catalog/components/jms.json | 4 +- .../catalog/components/kubernetes-config-maps.json | 2 +- .../catalog/components/kubernetes-cronjob.json | 2 +- .../components/kubernetes-custom-resources.json| 2 +- .../catalog/components/kubernetes-deployments.json | 2 +- .../catalog/components/kubernetes-events.json | 2 +- .../camel/catalog/components/kubernetes-hpa.json | 2 +- .../camel/catalog/components/kubernetes-job.json | 2 +- .../catalog/components/kubernetes-namespaces.json | 2 +- .../camel/catalog/components/kubernetes-nodes.json | 2 +- .../kubernetes-persistent-volumes-claims.json | 2 +- .../components/kubernetes-persistent-volumes.json | 2 +- .../camel/catalog/components/kubernetes-pods.json | 2 +- .../kubernetes-replication-controllers.json| 2 +- .../components/kubernetes-resources-quota.json | 2 +- .../catalog/components/kubernetes-secrets.json | 2 +- .../components/kubernetes-service-accounts.json| 2 +- .../catalog/components/kubernetes-services.json| 2 +- .../components/openshift-build-configs.json| 2 +- .../camel/catalog/components/openshift-builds.json | 2 +- .../components/openshift-deploymentconfigs.json| 2 +- .../dsl/Aws2KmsComponentBuilderFactory.java| 36 +++ .../dsl/Aws2LambdaComponentBuilderFactory.java | 36 +++ .../src/generated/resources/metadata.json | 2 +- .../builder/endpoint/StaticEndpointBuilders.java | 296 + .../endpoint/dsl/KMS2EndpointBuilderFactory.java | 52 ...KubernetesConfigMapsEndpointBuilderFactory.java | 16 +- .../KubernetesCronJobEndpointBuilderFactory.java | 16 +- ...netesCustomResourcesEndpointBuilderFactory.java | 16 +- ...ubernetesDeploymentsEndpointBuilderFactory.java | 16 +- .../KubernetesEventsEndpointBuilderFactory.java| 16 +- .../dsl/KubernetesHPAEndpointBuilderFactory.java | 16 +- .../dsl/KubernetesJobEndpointBuilderFactory.java | 16 +- ...KubernetesNamespacesEndpointBuilderFactory.java | 16 +- .../dsl/KubernetesNodesEndpointBuilderFactory.java | 16 +- ...sistentVolumesClaimsEndpointBuilderFactory.java | 16 +- ...tesPersistentVolumesEndpointBuilderFactory.java | 16 +- .../dsl/KubernetesPodsEndpointBuilderFactory.java | 16 +- ...plicationControllersEndpointBuilderFactory.java | 16 +- ...rnetesResourcesQuotaEndpointBuilderFactory.java | 16 +- .../KubernetesSecretsEndpointBuilderFactory.java | 16 +- ...netesServiceAccountsEndpointBuilderFactory.java | 16 +- .../KubernetesServicesEndpointBuilderFactory.java | 16 +- .../dsl/Lambda2EndpointBuilderFactory.java | 52 ...penshiftBuildConfigsEndpointBuilderFactory.java | 16 +- .../dsl/OpenshiftBuildsEndpointBuilderFactory.java | 16 +- ...iftDeploymentConfigsEndpointBuilderFactory.java | 16 +- .../dsl/SplunkHECEndpointBuilderFactory.java | 32 ++- .../endpoint/dsl/XQueryEndpointBuilderFactory.java | 183 - 51 files changed, 798 insertions(+), 263 deletions(-)
Re: [PR] CAMEL-20398: camel-kubernetes - Add local as masterURL so you can run… [camel]
github-actions[bot] commented on PR #13058: URL: https://github.com/apache/camel/pull/13058#issuecomment-1934600292 :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) branch kube created (now 8bebfa0c3e9)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch kube in repository https://gitbox.apache.org/repos/asf/camel.git at 8bebfa0c3e9 CAMEL-20398: camel-kubernetes - Add local as masterURL so you can run easily with a client without having to create it as a bean first. This branch includes the following new commits: new 8bebfa0c3e9 CAMEL-20398: camel-kubernetes - Add local as masterURL so you can run easily with a client without having to create it as a bean first. The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference.
[PR] CAMEL-20398: camel-kubernetes - Add local as masterURL so you can run… [camel]
davsclaus opened a new pull request, #13058: URL: https://github.com/apache/camel/pull/13058 … easily with a client without having to create it as a bean first. # 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) 01/01: CAMEL-20398: camel-kubernetes - Add local as masterURL so you can run easily with a client without having to create it as a bean first.
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch kube in repository https://gitbox.apache.org/repos/asf/camel.git commit 8bebfa0c3e9218a1bb7ca33a15e75dbef2b75f4e Author: Claus Ibsen AuthorDate: Thu Feb 8 18:21:13 2024 +0100 CAMEL-20398: camel-kubernetes - Add local as masterURL so you can run easily with a client without having to create it as a bean first. --- .../kubernetes/config_maps/kubernetes-config-maps.json | 2 +- .../camel/component/kubernetes/cronjob/kubernetes-cronjob.json | 2 +- .../customresources/kubernetes-custom-resources.json | 2 +- .../kubernetes/deployments/kubernetes-deployments.json | 2 +- .../camel/component/kubernetes/events/kubernetes-events.json | 2 +- .../apache/camel/component/kubernetes/hpa/kubernetes-hpa.json | 2 +- .../apache/camel/component/kubernetes/job/kubernetes-job.json | 2 +- .../component/kubernetes/namespaces/kubernetes-namespaces.json | 2 +- .../camel/component/kubernetes/nodes/kubernetes-nodes.json | 2 +- .../persistent_volumes/kubernetes-persistent-volumes.json | 2 +- .../kubernetes-persistent-volumes-claims.json | 2 +- .../camel/component/kubernetes/pods/kubernetes-pods.json | 2 +- .../kubernetes-replication-controllers.json| 2 +- .../kubernetes/resources_quota/kubernetes-resources-quota.json | 2 +- .../camel/component/kubernetes/secrets/kubernetes-secrets.json | 2 +- .../service_accounts/kubernetes-service-accounts.json | 2 +- .../component/kubernetes/services/kubernetes-services.json | 2 +- .../openshift/build_configs/openshift-build-configs.json | 2 +- .../camel/component/openshift/builds/openshift-builds.json | 2 +- .../deploymentconfigs/openshift-deploymentconfigs.json | 2 +- .../camel/component/kubernetes/KubernetesConfiguration.java| 8 +++- .../apache/camel/component/kubernetes/KubernetesHelper.java| 10 ++ 22 files changed, 33 insertions(+), 25 deletions(-) diff --git a/components/camel-kubernetes/src/generated/resources/org/apache/camel/component/kubernetes/config_maps/kubernetes-config-maps.json b/components/camel-kubernetes/src/generated/resources/org/apache/camel/component/kubernetes/config_maps/kubernetes-config-maps.json index fef0dfbc025..5f67e38cc07 100644 --- a/components/camel-kubernetes/src/generated/resources/org/apache/camel/component/kubernetes/config_maps/kubernetes-config-maps.json +++ b/components/camel-kubernetes/src/generated/resources/org/apache/camel/component/kubernetes/config_maps/kubernetes-config-maps.json @@ -38,7 +38,7 @@ "CamelKubernetesEventTimestamp": { "index": 6, "kind": "header", "displayName": "", "group": "consumer", "label": "consumer", "required": false, "javaType": "long", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "Timestamp of the action watched by the consumer", "constantName": "org.apache.camel.component.kubernetes.KubernetesConstants#KUBERNETES_EVENT_TIMESTAMP" } }, "properties": { -"masterUrl": { "index": 0, "kind": "path", "displayName": "Master Url", "group": "common", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.kubernetes.KubernetesConfiguration", "configurationField": "configuration", "description": "Kubernetes Master url" }, +"masterUrl": { "index": 0, "kind": "path", "displayName": "Master Url", "group": "common", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.kubernetes.KubernetesConfiguration", "configurationField": "configuration", "description": "URL to a remote Kubernetes API server. This should only be used when your Camel application i [...] "apiVersion": { "index": 1, "kind": "parameter", "displayName": "Api Version", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.kubernetes.KubernetesConfiguration", "configurationField": "configuration", "description": "The Kubernetes API Version to use" }, "dnsDomain": { "index": 2, "kind": "parameter", "displayName": "Dns Domain", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.kubernetes.KubernetesConfiguration", "configurationField": "configuration", "description": "The dns domain, used for ServiceCall EIP" }, "kubernetesClient": { "index": 3, "kind": "parameter
(camel) branch regen_bot updated (deef5925ebd -> 60b5c636012)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot in repository https://gitbox.apache.org/repos/asf/camel.git from deef5925ebd Lang11 (#13053) add 96d2e789def (doc) Updated the contributing guide add 18539e194cf CAMEL-20397: fix incorrect details regarding JMS 1.1 and 2.0 add 60b5c636012 (chores) camel-jms: documentation fixes No new revisions were added by this update. Summary of changes: .../apache/camel/catalog/components/activemq.json | 24 +-- .../org/apache/camel/catalog/components/amqp.json | 24 +-- .../org/apache/camel/catalog/components/jms.json | 24 +-- .../apache/camel/component/activemq/activemq.json | 24 +-- .../org/apache/camel/component/amqp/amqp.json | 24 +-- .../org/apache/camel/component/jms/jms.json| 24 +-- .../camel-jms/src/main/docs/jms-component.adoc | 192 +++-- .../camel/component/jms/JmsConfiguration.java | 173 +-- docs/main/modules/contributing/pages/building.adoc | 29 docs/main/modules/contributing/pages/index.adoc| 55 +- .../modules/contributing/pages/testing-camel.adoc | 110 11 files changed, 448 insertions(+), 255 deletions(-) create mode 100644 docs/main/modules/contributing/pages/testing-camel.adoc
Re: [PR] (chores) camel-jms: documentation fixes [camel]
orpiske merged PR #13056: URL: https://github.com/apache/camel/pull/13056 -- 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] Nightly release snapshot [camel-k-runtime]
oscerd commented on issue #910: URL: https://github.com/apache/camel-k-runtime/issues/910#issuecomment-1934533575 It's on nexus side, so it is something managed by apache infra -- 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] (chores) camel-kafka: documentation fixes [camel]
github-actions[bot] commented on PR #13057: URL: https://github.com/apache/camel/pull/13057#issuecomment-1934522074 :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
[PR] (chores) camel-kafka: documentation fixes [camel]
orpiske opened a new pull request, #13057: URL: https://github.com/apache/camel/pull/13057 - Fixed grammar and typos - Fixed punctuation - Added and/or fixed links -- 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] Nightly release snapshot [camel-k-runtime]
gansheer commented on issue #910: URL: https://github.com/apache/camel-k-runtime/issues/910#issuecomment-1934512152 Is it supposed to be configured by the repository nexus or the project ? Because when I look here it is definitly more : https://repository.apache.org/content/repositories/snapshots-group/org/apache/camel/k/camel-k-catalog/3.6.0-SNAPSHOT/ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] Error when upload file [camel-karavan]
mgubaidullin commented on issue #1114: URL: https://github.com/apache/camel-karavan/issues/1114#issuecomment-1934491311 @mvolf could you please take a look https://github.com/apache/camel-karavan/blob/c73a0411223357bcfdd2342792aff77a5bf65ec3/karavan-web/karavan-app/src/main/webui/src/project/files/UploadFileModal.tsx#L178 `_event` is undefined there, how react-hook-forms should be configured? -- 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] Error when upload file [camel-karavan]
mgubaidullin opened a new issue, #1114: URL: https://github.com/apache/camel-karavan/issues/1114 ``` ERROR Cannot read properties of null (reading 'target') TypeError: Cannot read properties of null (reading 'target') at Object.onChange (http://localhost:8080/static/js/bundle.js:369829:26) at onFileInputChange (http://localhost:8080/static/js/bundle.js:34817:32) at onDropAccepted (http://localhost:8080/static/js/bundle.js:46165:77) at http://localhost:8080/static/js/bundle.js:168356:7 at http://localhost:8080/static/js/bundle.js:168396:9 ERROR Cannot read properties of null (reading 'target') TypeError: Cannot read properties of null (reading 'target') at Object.onChange (http://localhost:8080/static/js/bundle.js:369829:26) at onDataChange (http://localhost:8080/static/js/bundle.js:34821:32) at http://localhost:8080/static/js/bundle.js:46170:71 ``` -- 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: [I] Nightly release snapshot [camel-k-runtime]
oscerd commented on issue #910: URL: https://github.com/apache/camel-k-runtime/issues/910#issuecomment-1934466537 > The task has been created, but I think we need to limit the number of versions added to the snapshot repository. I get the feeling it there will quickly be to many of them. @oscerd Do you know the retention strategy of the artifacts in the apache snapshot repository ? IIRC it should 48 hours -- 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] (chores) camel-jms: documentation fixes [camel]
github-actions[bot] commented on PR #13056: URL: https://github.com/apache/camel/pull/13056#issuecomment-1934454114 :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
[PR] (chores) camel-jms: documentation fixes [camel]
orpiske opened a new pull request, #13056: URL: https://github.com/apache/camel/pull/13056 - Fixed grammar and typos - Fixed punctuation - Added and/or fixed links -- 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-20397: fix incorrect details regarding JMS 1.1 and 2.0
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/main by this push: new 18539e194cf CAMEL-20397: fix incorrect details regarding JMS 1.1 and 2.0 18539e194cf is described below commit 18539e194cf4785dcd1d08218a7651f8f2c49f40 Author: Otavio Rodolfo Piske AuthorDate: Thu Feb 8 16:19:47 2024 +0100 CAMEL-20397: fix incorrect details regarding JMS 1.1 and 2.0 - clientId is optional for JMS 2.0 --- .../apache/camel/catalog/components/activemq.json | 4 ++-- .../org/apache/camel/catalog/components/amqp.json | 4 ++-- .../org/apache/camel/catalog/components/jms.json | 4 ++-- .../apache/camel/component/activemq/activemq.json | 4 ++-- .../org/apache/camel/component/amqp/amqp.json | 4 ++-- .../org/apache/camel/component/jms/jms.json| 4 ++-- .../camel-jms/src/main/docs/jms-component.adoc | 22 +- .../camel/component/jms/JmsConfiguration.java | 7 ++- 8 files changed, 31 insertions(+), 22 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/activemq.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/activemq.json index 124a81a39fc..ab2a1e41a9c 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/activemq.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/activemq.json @@ -24,7 +24,7 @@ }, "componentProperties": { "brokerURL": { "index": 0, "kind": "property", "displayName": "Broker URL", "group": "common", "label": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "Sets the broker URL to use to connect to ActiveMQ. If none configured then localhost:61616 is used by default (however can be overridden by configuration from environment variables)" }, -"clientId": { "index": 1, "kind": "property", "displayName": "Client Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.jms.JmsConfiguration", "configurationField": "configuration", "description": "Sets the JMS client ID to use. Note that this value, if specified, must be unique and can only be used by a single JMS connecti [...] +"clientId": { "index": 1, "kind": "property", "displayName": "Client Id", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.jms.JmsConfiguration", "configurationField": "configuration", "description": "Sets the JMS client ID to use. Note that this value, if specified, must be unique and can only be used by a single JMS connecti [...] "connectionFactory": { "index": 2, "kind": "property", "displayName": "Connection Factory", "group": "common", "label": "", "required": false, "type": "object", "javaType": "jakarta.jms.ConnectionFactory", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.jms.JmsConfiguration", "configurationField": "configuration", "description": "The connection factory to be use. A connection factory must be configured either on the componen [...] "disableReplyTo": { "index": 3, "kind": "property", "displayName": "Disable Reply To", "group": "common", "label": "", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.jms.JmsConfiguration", "configurationField": "configuration", "description": "Specifies whether Camel ignores the JMSReplyTo header in messages. If true, Camel does not send a r [...] "durableSubscriptionName": { "index": 4, "kind": "property", "displayName": "Durable Subscription Name", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.jms.JmsConfiguration", "configurationField": "configuration", "description": "The durable subscriber name for specifying durable topic subscriptions. The clientId option must [...] @@ -151,7 +151,7 @@ "properties": { "destinationType": { "index": 0, "kind": "path", "displayName": "Destination Type", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "enum": [ "queue", "topic", "temp-queue", "temp-topic" ], "deprecated": false, "autowired": fal
Re: [PR] CAMEL-20397: fix incorrect details regarding JMS 1.1 and 2.0 [camel]
orpiske merged PR #13055: URL: https://github.com/apache/camel/pull/13055 -- 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: (doc) Updated the contributing guide
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/main by this push: new 96d2e789def (doc) Updated the contributing guide 96d2e789def is described below commit 96d2e789defdf07894abb164715933235f9aaca1 Author: Otavio Rodolfo Piske AuthorDate: Thu Feb 8 15:19:52 2024 +0100 (doc) Updated the contributing guide - Added a Testing Camel page - Updated building details - Added basic information about adjusting the code when required - Fixed outdated links --- docs/main/modules/contributing/pages/building.adoc | 29 ++ docs/main/modules/contributing/pages/index.adoc| 55 +-- .../modules/contributing/pages/testing-camel.adoc | 110 + 3 files changed, 187 insertions(+), 7 deletions(-) diff --git a/docs/main/modules/contributing/pages/building.adoc b/docs/main/modules/contributing/pages/building.adoc index 43d9a980cb2..1a15528e905 100644 --- a/docs/main/modules/contributing/pages/building.adoc +++ b/docs/main/modules/contributing/pages/building.adoc @@ -109,3 +109,32 @@ mvn -Pfastinstall,deploy clean install -- The build with deployment will build source jars, javadoc and other artifacts needed for deployment. + +== Verifying the coding style + +== Camel 4.x + +Starting with Camel 4.0.0, our build system will automatically verify and format the code when doing a full build or +when running certain phases that trigger it (i.e.; when running `mvn verify`). + +== Camel 3.x + +Apache Camel source code uses a coding style/format that can be verified for compliance using the "checkstyle" plugin. + +To enable source style checking, build Camel with the `-Psourcecheck` profile: + +[source,bash] + +mvn clean install -Psourcecheck + + +Please remember to run this check on your code changes before submitting a patch or GitHub PR. You do not need to run this against the entire project, but only in the modules you modified. + + +For instance, if you do some code changes in the camel-ftp component, following which you can run the check from within this directory: + +[source,bash] + +cd camel-ftp +mvn clean install -Psourcecheck + \ No newline at end of file diff --git a/docs/main/modules/contributing/pages/index.adoc b/docs/main/modules/contributing/pages/index.adoc index 797dc63c6c0..6b5740b434d 100644 --- a/docs/main/modules/contributing/pages/index.adoc +++ b/docs/main/modules/contributing/pages/index.adoc @@ -112,6 +112,7 @@ We recommend forking the code from the https://github.com/apache/camel/[camel Gi git clone https://github.com/your-github/camel.git cd camel +git remote add upstream https://github.com/apache/camel.git Alternatively, if you are using the https://cli.github.com[GitHub CLI]: @@ -242,12 +243,7 @@ CAMEL-: Some message goes here * When submitting a performance improvement, providing JMH test data as evidence or adding a JMH-based test on the https://github.com/apache/camel-performance-tests/[camel-performance-tests] repository is strongly recommended. * Be responsive, assume good intent and respect the https://www.apache.org/foundation/policies/conduct.html[Code of Conduct] * When contributing components, please make sure that their dependencies are available in the https://search.maven.org[Maven Central]. We do not accept contributions if the dependencies are not publicly available. -* Tests must follow the following naming convention: -** `*Test.java` (i.e.: MyComponentTest.java) for unit tests. -** `*IT.java` (i.e.: MyComponentIT.java) for integration tests. -** `*ManualTest.java` (i.e.: MyComponentManualTest.java) for manual tests. -** Avoid `Thread.sleep` (they make our tests slow and unreliable) -** To disable tests use JUnit's https://junit.org/junit5/docs/current/api/org.junit.jupiter.api/org/junit/jupiter/api/Disabled.html[@Disabled] annotation or one of its siblings (i.e.: `@DisabledIfSystemProperty` and others) +* Do read the xref:testing-camel.adoc[Testing Camel] page to learn about naming convention and other practices that may be required Following these guidelines will help you in getting your contribution accepted. @@ -270,7 +266,7 @@ The code will be tested automatically. The access to the build and test logs is === Submitting your changes via Patches -=== Manual patch files + Manual patch files For smaller patches, you may also submit a patch file instead of using a Pull Request. To do this: @@ -294,6 +290,51 @@ or, git diff --no-prefix > patchfile.txt +=== Adjusting your contribution + +The Apache Camel project uses Git to track changes and control the versions. Although it is a rather complex versioning system, +there is a vast amount of https://git-scm.com/book/en/v2[material available on the web]. Some basic understand
Re: [PR] (doc) Updated the contributing guide [camel]
orpiske merged PR #13054: URL: https://github.com/apache/camel/pull/13054 -- 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] Nightly release snapshot [camel-k-runtime]
gansheer commented on issue #910: URL: https://github.com/apache/camel-k-runtime/issues/910#issuecomment-1934447913 The task has been created, but I think we need to limit the number of versions added to the snapshot repository. I get the feeling it there will quickly be to many of them. @oscerd Do you know the retention strategy of the artifacts in the apache snapshot repository ? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel-spring-boot) 01/02: 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 commit 5716778adb3c64a5311e9d00164ce077ee1af51f Author: Claus Ibsen AuthorDate: Thu Feb 8 16:48:14 2024 +0100 Regen --- .../springboot/catalog/components/aws2-kms.json| 16 + .../springboot/catalog/components/aws2-lambda.json | 16 + .../springboot/catalog/components/coap+tcp.json| 23 ++--- .../camel/springboot/catalog/components/coap.json | 23 ++--- .../springboot/catalog/components/coaps+tcp.json | 23 ++--- .../camel/springboot/catalog/components/coaps.json | 23 ++--- .../springboot/catalog/languages/datasonnet.json | 8 ++--- .../springboot/catalog/languages/hl7terser.json| 8 ++--- .../camel/springboot/catalog/languages/jq.json | 8 ++--- .../springboot/catalog/languages/jsonpath.json | 8 ++--- .../src/main/docs/aws2-kms.json| 13 .../kms/springboot/KMS2ComponentConfiguration.java | 26 +++ .../src/main/docs/aws2-lambda.json | 13 .../springboot/Lambda2ComponentConfiguration.java | 26 +++ .../camel-core-starter/src/main/docs/core.json | 10 ++ .../springboot/TokenizeLanguageConfiguration.java | 27 +-- .../src/main/docs/datasonnet.json | 16 ++--- .../DatasonnetLanguageConfiguration.java | 39 +- .../camel-hl7-starter/src/main/docs/hl7.json | 16 ++--- .../springboot/Hl7TerserLanguageConfiguration.java | 39 +- .../camel-jq-starter/src/main/docs/jq.json | 16 ++--- .../jq/springboot/JqLanguageConfiguration.java | 39 +- .../springboot/JsonPathLanguageConfiguration.java | 39 +- 23 files changed, 207 insertions(+), 268 deletions(-) diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-kms.json b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-kms.json index 67392d58e15..01a4729e7d8 100644 --- a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-kms.json +++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/aws2-kms.json @@ -38,9 +38,11 @@ "accessKey": { "index": 12, "kind": "property", "displayName": "Access Key", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.aws2.kms.KMS2Configuration", "configurationField": "configuration", "description": "Amazon AWS Access Key" }, "profileCredentialsName": { "index": 13, "kind": "property", "displayName": "Profile Credentials Name", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.aws2.kms.KMS2Configuration", "configurationField": "configuration", "description": "If using a profile credentials provider this parameter will set the profile name" }, "secretKey": { "index": 14, "kind": "property", "displayName": "Secret Key", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "configurationClass": "org.apache.camel.component.aws2.kms.KMS2Configuration", "configurationField": "configuration", "description": "Amazon AWS Secret Key" }, -"trustAllCertificates": { "index": 15, "kind": "property", "displayName": "Trust All Certificates", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.aws2.kms.KMS2Configuration", "configurationField": "configuration", "description": "If we want to trust all certificates in case of overriding the endpoint" }, -"useDefaultCredentialsProvider": { "index": 16, "kind": "property", "displayName": "Use Default Credentials Provider", "group": "security", "label": "security", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.aws2.kms.KMS2Configuration", "configurationField": "configuration", "description": "Set whether the KMS client should expect to load cr [...] -"useProfileCredentialsProvider": { "index": 17, "kind": "property", "displayName": "Use Profile Cred
(camel-spring-boot) branch main updated (2f30752d03f -> 2a24f464bb6)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git from 2f30752d03f Regen new 5716778adb3 Regen new 2a24f464bb6 CAMEL-20378: Languages should be thread-safe and be configured only via properties array, all in the same way. The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../springboot/catalog/components/aws2-kms.json| 16 -- .../springboot/catalog/components/aws2-lambda.json | 16 -- .../springboot/catalog/components/coap+tcp.json| 23 .../camel/springboot/catalog/components/coap.json | 23 .../springboot/catalog/components/coaps+tcp.json | 23 .../camel/springboot/catalog/components/coaps.json | 23 .../camel/springboot/catalog/components/kudu.json | 3 +- .../springboot/catalog/components/xquery.json | 64 +++--- .../springboot/catalog/languages/datasonnet.json | 8 +-- .../springboot/catalog/languages/hl7terser.json| 8 +-- .../camel/springboot/catalog/languages/jq.json | 8 +-- .../springboot/catalog/languages/jsonpath.json | 8 +-- .../camel/springboot/catalog/languages/xpath.json | 8 +-- .../camel/springboot/catalog/languages/xquery.json | 8 +-- .../springboot/catalog/languages/xtokenize.json| 8 +-- .../src/main/docs/aws2-kms.json| 13 + .../kms/springboot/KMS2ComponentConfiguration.java | 26 + .../src/main/docs/aws2-lambda.json | 13 + .../springboot/Lambda2ComponentConfiguration.java | 26 + .../camel-core-starter/src/main/docs/core.json | 10 +--- .../springboot/TokenizeLanguageConfiguration.java | 27 +++-- .../src/main/docs/datasonnet.json | 16 +- .../DatasonnetLanguageConfiguration.java | 39 +++-- .../camel-hl7-starter/src/main/docs/hl7.json | 16 +- .../springboot/Hl7TerserLanguageConfiguration.java | 39 +++-- .../camel-jq-starter/src/main/docs/jq.json | 16 +- .../jq/springboot/JqLanguageConfiguration.java | 39 +++-- .../src/main/docs/jsonpath.json| 16 +- .../springboot/JsonPathLanguageConfiguration.java | 39 +++-- .../springboot/test/JsonPathHeaderNameTest.java| 5 +- .../test/JsonPathTransformHeaderNameTest.java | 4 +- .../SpringJsonPathTransformHeaderNameTest.xml | 2 +- .../camel-kudu-starter/src/main/docs/kudu.json | 6 ++ .../springboot/KuduComponentAutoConfiguration.java | 2 +- .../springboot/KuduComponentConfiguration.java | 15 + .../kudu/springboot/KuduComponentConverter.java} | 8 +-- ...rk.boot.autoconfigure.AutoConfiguration.imports | 3 +- .../camel-saxon-starter/src/main/docs/saxon.json | 10 +--- .../springboot/XQueryLanguageConfiguration.java| 27 +++-- ...XQueryHeaderNameResultTypeAndNamespaceTest.java | 4 +- .../xquery/springboot/XQueryHeaderNameTest.java| 9 ++- .../camel-stax-starter/src/main/docs/stax.json | 10 +--- .../XMLTokenizeLanguageConfiguration.java | 27 +++-- .../camel-xpath-starter/src/main/docs/xpath.json | 18 ++ .../springboot/XPathLanguageConfiguration.java | 27 +++-- 45 files changed, 334 insertions(+), 425 deletions(-) copy components-starter/{camel-mock-starter/src/main/java/org/apache/camel/component/mock/springboot/MockComponentConverter.java => camel-kudu-starter/src/main/java/org/apache/camel/component/kudu/springboot/KuduComponentConverter.java} (88%)
(camel-spring-boot) 02/02: CAMEL-20378: Languages should be thread-safe and be configured only via properties array, all in the same way.
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 commit 2a24f464bb6b4db62a6ea0691aa000903fd1e4f3 Author: Claus Ibsen AuthorDate: Thu Feb 8 16:55:12 2024 +0100 CAMEL-20378: Languages should be thread-safe and be configured only via properties array, all in the same way. --- .../camel/springboot/catalog/components/kudu.json | 3 +- .../springboot/catalog/components/xquery.json | 64 +++--- .../camel/springboot/catalog/languages/xpath.json | 8 +-- .../camel/springboot/catalog/languages/xquery.json | 8 +-- .../springboot/catalog/languages/xtokenize.json| 8 +-- .../src/main/docs/jsonpath.json| 16 +- .../springboot/test/JsonPathHeaderNameTest.java| 5 +- .../test/JsonPathTransformHeaderNameTest.java | 4 +- .../SpringJsonPathTransformHeaderNameTest.xml | 2 +- .../camel-kudu-starter/src/main/docs/kudu.json | 6 ++ .../springboot/KuduComponentAutoConfiguration.java | 2 +- .../springboot/KuduComponentConfiguration.java | 15 + .../kudu/springboot/KuduComponentConverter.java| 63 + ...rk.boot.autoconfigure.AutoConfiguration.imports | 3 +- .../camel-saxon-starter/src/main/docs/saxon.json | 10 +--- .../springboot/XQueryLanguageConfiguration.java| 27 +++-- ...XQueryHeaderNameResultTypeAndNamespaceTest.java | 4 +- .../xquery/springboot/XQueryHeaderNameTest.java| 9 ++- .../camel-stax-starter/src/main/docs/stax.json | 10 +--- .../XMLTokenizeLanguageConfiguration.java | 27 +++-- .../camel-xpath-starter/src/main/docs/xpath.json | 18 ++ .../springboot/XPathLanguageConfiguration.java | 27 +++-- 22 files changed, 186 insertions(+), 153 deletions(-) diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/kudu.json b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/kudu.json index 7fa43b22683..a702ba886a8 100644 --- a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/kudu.json +++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/kudu.json @@ -24,7 +24,8 @@ }, "componentProperties": { "lazyStartProducer": { "index": 0, "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 [...] -"autowiredEnabled": { "index": 1, "kind": "property", "displayName": "Autowired Enabled", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching t [...] +"autowiredEnabled": { "index": 1, "kind": "property", "displayName": "Autowired Enabled", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching t [...] +"kuduClient": { "index": 2, "kind": "property", "displayName": "Kudu Client", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "org.apache.kudu.client.KuduClient", "deprecated": false, "autowired": true, "secret": false, "description": "To use an existing Kudu client instance, instead of creating a client per endpoint. This allows you to customize various aspects to the client configuration." } }, "headers": { "CamelKuduSchema": { "index": 0, "kind": "header", "displayName": "", "group": "producer", "label": "", "required": false, "javaType": "org.apache.kudu.Schema", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The schema", "constantName": "org.apache.camel.component.kudu.KuduConstants#CAMEL_KUDU_SCHEMA" }, diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/xquery.json b/catalog/camel-catalog-provider-springboot
Re: [PR] CAMEL-20333 Camel Kotlin API [camel]
davsclaus commented on PR #12786: URL: https://github.com/apache/camel/pull/12786#issuecomment-1934404856 We did some changes in the model today - throttler - languages Can this PR be updated and generated with latest code -- 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-20397: fix incorrect details regarding JMS 1.1 and 2.0 [camel]
github-actions[bot] commented on PR #13055: URL: https://github.com/apache/camel/pull/13055#issuecomment-1934388469 :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