[GitHub] [camel-k] tadayosi commented on issue #3459: Camel-K initContainer
tadayosi commented on issue #3459: URL: https://github.com/apache/camel-k/issues/3459#issuecomment-1258985461 I overlooked Pod trait. Can't this (i.e. pod template) be a solution to the problem? https://camel.apache.org/camel-k/1.10.x/traits/pod.html -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-k] tadayosi commented on pull request #3265: Fix #3257: work with relative paths on windows to avoid extra semicolon
tadayosi commented on PR #3265: URL: https://github.com/apache/camel-k/pull/3265#issuecomment-1258980387 @johnpoth FYI, the spectrum fix will be available soon #3675 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-quarkus] branch main updated: Updated CHANGELOG.md
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git The following commit(s) were added to refs/heads/main by this push: new e3781ff763 Updated CHANGELOG.md e3781ff763 is described below commit e3781ff7635eed31bf3de5669965b0b6f5231fe3 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Tue Sep 27 03:55:12 2022 + Updated CHANGELOG.md --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index caa86b4f5b..782b0dcf00 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ **Merged pull requests:** +- Fix malformed id headings for AWS extensions [\#4132](https://github.com/apache/camel-quarkus/pull/4132) ([jamesnetherton](https://github.com/jamesnetherton)) +- Next is 2.14.0 [\#4131](https://github.com/apache/camel-quarkus/pull/4131) ([zbendhiba](https://github.com/zbendhiba)) - Upgrade dependencies versions [\#4129](https://github.com/apache/camel-quarkus/pull/4129) ([zbendhiba](https://github.com/zbendhiba)) - Upgrade Quarkus to 2.13.0.Final [\#4121](https://github.com/apache/camel-quarkus/pull/4121) ([jamesnetherton](https://github.com/jamesnetherton)) - Upgrade OptaPlanner to 8.27.0.Final [\#4118](https://github.com/apache/camel-quarkus/pull/4118) ([jamesnetherton](https://github.com/jamesnetherton))
[camel-k-runtime] branch main updated: Updated CHANGELOG.md
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git The following commit(s) were added to refs/heads/main by this push: new 6a8b071f Updated CHANGELOG.md 6a8b071f is described below commit 6a8b071f5eb0554fcb3461b19f102829d2ce8247 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Tue Sep 27 03:49:23 2022 + Updated CHANGELOG.md --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2305aa18..37a1d19e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,8 +6,11 @@ **Merged pull requests:** +- Upgrade to Camel Quarkus 2.13.0 [\#889](https://github.com/apache/camel-k-runtime/pull/889) ([oscerd](https://github.com/oscerd)) - chore\(ci\): extend check on release branches [\#887](https://github.com/apache/camel-k-runtime/pull/887) ([squakez](https://github.com/squakez)) +- build\(deps\): bump maven-pmd-plugin from 3.18.0 to 3.19.0 [\#885](https://github.com/apache/camel-k-runtime/pull/885) ([dependabot[bot]](https://github.com/apps/dependabot)) - build\(deps\): bump jackson-version from 2.13.3 to 2.13.4 [\#884](https://github.com/apache/camel-k-runtime/pull/884) ([dependabot[bot]](https://github.com/apps/dependabot)) +- build\(deps\): bump logback-version from 1.2.11 to 1.4.0 [\#879](https://github.com/apache/camel-k-runtime/pull/879) ([dependabot[bot]](https://github.com/apps/dependabot)) ## [camel-k-runtime-project-1.14.0](https://github.com/apache/camel-k-runtime/tree/camel-k-runtime-project-1.14.0) (2022-08-30)
[GitHub] [camel-karavan] mgubaidullin closed issue #466: parameter mapping problem
mgubaidullin closed issue #466: parameter mapping problem URL: https://github.com/apache/camel-karavan/issues/466 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-spring-boot] branch automatic-periodic-sync updated (322f24782e8 -> afb38c23158)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch automatic-periodic-sync in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git from 322f24782e8 Regen add 139355988ee Change ftp test to use TLS v1.3 like camel-ftp tests, exclude failing tests temporarily (#633) add aeb1287ccf4 Apply fixes from CAMEL-18506 (#634) add 1ad9703f1a7 Regen add afb38c23158 Bump peter-evans/create-pull-request from 4.1.1 to 4.1.2 No new revisions were added by this update. Summary of changes: .github/workflows/automatic-sync-main.yml | 2 +- components-starter/camel-ftp-starter/pom.xml| 21 + .../file/remote/springboot/AbstractBaseFtp.java | 2 +- .../file/remote/springboot/ftp/BaseFtp.java | 2 +- .../remote/springboot/ftps/BaseFtpsClientAuth.java | 2 +- .../springboot/ftps/BaseFtpsImplicitClientAuth.java | 2 +- .../FileToFtpsImplicitSSLWithClientAuthTest.java| 4 +--- ...ileToFtpsWithCustomTrustStorePropertiesTest.java | 2 +- .../ftps/FtpsImplicitEmbeddedService.java | 2 +- .../file/remote/springboot/ftps/FtpsTest.java | 2 +- .../TelegramConsumerHealthCheckErrorTest.java | 2 +- 11 files changed, 31 insertions(+), 12 deletions(-)
[camel-k] branch dependabot/go_modules/github.com/container-tools/spectrum-0.3.11 created (now 2f9c71285)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/go_modules/github.com/container-tools/spectrum-0.3.11 in repository https://gitbox.apache.org/repos/asf/camel-k.git at 2f9c71285 chore(deps): bump github.com/container-tools/spectrum No new revisions were added by this update.
[GitHub] [camel-k] dependabot[bot] opened a new pull request, #3675: chore(deps): bump github.com/container-tools/spectrum from 0.3.10 to 0.3.11
dependabot[bot] opened a new pull request, #3675: URL: https://github.com/apache/camel-k/pull/3675 Bumps [github.com/container-tools/spectrum](https://github.com/container-tools/spectrum) from 0.3.10 to 0.3.11. Release notes Sourced from https://github.com/container-tools/spectrum/releases;>github.com/container-tools/spectrum's releases. v0.3.11 Changelog 49f1f5b fix https://github-redirect.dependabot.com/container-tools/spectrum/issues/8;>#8: Support windows Docker images docker pull quay.io/container-tools/spectrum:v0.3.11 docker pull quay.io/container-tools/spectrum:v0.3 Commits https://github.com/container-tools/spectrum/commit/49f1f5b82fd3df251f89ee7d7c9fe8806cc6ab6b;>49f1f5b fix https://github-redirect.dependabot.com/container-tools/spectrum/issues/8;>#8: Support windows See full diff in https://github.com/container-tools/spectrum/compare/v0.3.10...v0.3.11;>compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/container-tools/spectrum=go_modules=0.3.10=0.3.11)](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 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
[GitHub] [camel-spring-boot] oscerd merged pull request #635: Bump peter-evans/create-pull-request from 4.1.1 to 4.1.2
oscerd merged PR #635: URL: https://github.com/apache/camel-spring-boot/pull/635 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-spring-boot] branch main updated: Bump peter-evans/create-pull-request from 4.1.1 to 4.1.2
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git The following commit(s) were added to refs/heads/main by this push: new afb38c23158 Bump peter-evans/create-pull-request from 4.1.1 to 4.1.2 afb38c23158 is described below commit afb38c2315862414ab9365063dc5fe51f03bab48 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> AuthorDate: Mon Sep 26 14:32:50 2022 + Bump peter-evans/create-pull-request from 4.1.1 to 4.1.2 Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 4.1.1 to 4.1.2. - [Release notes](https://github.com/peter-evans/create-pull-request/releases) - [Commits](https://github.com/peter-evans/create-pull-request/compare/v4.1.1...v4.1.2) --- updated-dependencies: - dependency-name: peter-evans/create-pull-request dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- .github/workflows/automatic-sync-main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/automatic-sync-main.yml b/.github/workflows/automatic-sync-main.yml index ba58b78bcad..1cfaa3e47ad 100644 --- a/.github/workflows/automatic-sync-main.yml +++ b/.github/workflows/automatic-sync-main.yml @@ -51,7 +51,7 @@ jobs: - name: Build Camel-spring-boot Project run: ./mvnw -V --no-transfer-progress clean install -DskipTests - name: Create Pull Request -uses: peter-evans/create-pull-request@v4.1.1 +uses: peter-evans/create-pull-request@v4.1.2 with: base: main token: ${{ secrets.GITHUB_TOKEN }}
[GitHub] [camel] cunningt opened a new pull request, #8435: Prevent CI workflows from running on forks
cunningt opened a new pull request, #8435: URL: https://github.com/apache/camel/pull/8435 Prevent camel workflows from running on forks like camel-quarkus does https://github.com/apache/camel-quarkus/commit/a4174460f67bfb792d331512abbab928c7d71dd5 -- 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 (52764e6e0b9 -> a2fdbf12c89)
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 52764e6e0b9 CAMEL-18557: camel-core - Total counter on ContextMBean is too high add a2fdbf12c89 Polished No new revisions were added by this update. Summary of changes: .../org/apache/camel/dsl/jbang/core/commands/process/ListVault.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
[camel] 03/04: CAMEL-17448: removed unused dependencies on camel-cxf-spring-soap
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 commit fe9bfd22ca53538519321058b8f8ee28f5830120 Author: Otavio Rodolfo Piske AuthorDate: Sat Sep 24 10:31:59 2022 +0200 CAMEL-17448: removed unused dependencies on camel-cxf-spring-soap --- components/camel-cxf/camel-cxf-spring-soap/pom.xml | 6 -- 1 file changed, 6 deletions(-) diff --git a/components/camel-cxf/camel-cxf-spring-soap/pom.xml b/components/camel-cxf/camel-cxf-spring-soap/pom.xml index 5988e528e0e..ac7fc3d7b0f 100644 --- a/components/camel-cxf/camel-cxf-spring-soap/pom.xml +++ b/components/camel-cxf/camel-cxf-spring-soap/pom.xml @@ -203,12 +203,6 @@ test - -org.apache.httpcomponents -httpmime -test - - org.apache.logging.log4j log4j-slf4j-impl
[camel] 04/04: CAMEL-17448: removed unused dependencies on camel-cxf-rest
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 commit 51cf3c532c6eacf0ab577cada7658fed68df0cac Author: Otavio Rodolfo Piske AuthorDate: Sat Sep 24 10:36:53 2022 +0200 CAMEL-17448: removed unused dependencies on camel-cxf-rest --- components/camel-cxf/camel-cxf-rest/pom.xml | 27 --- 1 file changed, 27 deletions(-) diff --git a/components/camel-cxf/camel-cxf-rest/pom.xml b/components/camel-cxf/camel-cxf-rest/pom.xml index ede12cca949..7527975d69d 100644 --- a/components/camel-cxf/camel-cxf-rest/pom.xml +++ b/components/camel-cxf/camel-cxf-rest/pom.xml @@ -147,13 +147,6 @@ test - - -org.apache.activemq -activemq-broker -test - - org.apache.cxf @@ -161,18 +154,6 @@ test - -org.apache.activemq -activemq-kahadb-store -test - - - -org.apache.cxf -cxf-rt-transports-jms -test - - org.apache.cxf cxf-rt-transports-http-jetty @@ -229,14 +210,6 @@ test - -org.apache.cxf -cxf-testutils -test - - - - org.junit.jupiter junit-jupiter
[camel] 01/04: CAMEL-17448: removed unused dependencies on camel-cxf-transport
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 commit d44bf8219e3c9b5b2f7926b65a7f73520db0a415 Author: Otavio Rodolfo Piske AuthorDate: Sat Sep 24 09:28:03 2022 +0200 CAMEL-17448: removed unused dependencies on camel-cxf-transport --- components/camel-cxf/camel-cxf-transport/pom.xml | 15 --- 1 file changed, 15 deletions(-) diff --git a/components/camel-cxf/camel-cxf-transport/pom.xml b/components/camel-cxf/camel-cxf-transport/pom.xml index 38e1b7c4afb..9e47fbe41d2 100644 --- a/components/camel-cxf/camel-cxf-transport/pom.xml +++ b/components/camel-cxf/camel-cxf-transport/pom.xml @@ -88,26 +88,11 @@ camel-jetty test - -org.apache.cxf -cxf-testutils -test - org.apache.cxf cxf-rt-frontend-jaxws test - -org.apache.httpcomponents -httpclient -test - - -org.apache.cxf -cxf-rt-transports-http-jetty -test - org.apache.camel camel-test-junit5
[camel] branch main updated (a2fdbf12c89 -> 51cf3c532c6)
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel.git from a2fdbf12c89 Polished new d44bf8219e3 CAMEL-17448: removed unused dependencies on camel-cxf-transport new fceeb32c80f CAMEL-17448: removed unused dependencies on camel-cxf-soap new fe9bfd22ca5 CAMEL-17448: removed unused dependencies on camel-cxf-spring-soap new 51cf3c532c6 CAMEL-17448: removed unused dependencies on camel-cxf-rest The 4 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: components/camel-cxf/camel-cxf-rest/pom.xml| 27 --- components/camel-cxf/camel-cxf-soap/pom.xml| 39 -- components/camel-cxf/camel-cxf-spring-soap/pom.xml | 6 components/camel-cxf/camel-cxf-transport/pom.xml | 15 - 4 files changed, 87 deletions(-)
[camel] 02/04: CAMEL-17448: removed unused dependencies on camel-cxf-soap
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 commit fceeb32c80fdb058ea96b24cbdcb10820996236f Author: Otavio Rodolfo Piske AuthorDate: Sat Sep 24 09:29:53 2022 +0200 CAMEL-17448: removed unused dependencies on camel-cxf-soap --- components/camel-cxf/camel-cxf-soap/pom.xml | 39 - 1 file changed, 39 deletions(-) diff --git a/components/camel-cxf/camel-cxf-soap/pom.xml b/components/camel-cxf/camel-cxf-soap/pom.xml index 87affd54f8d..5877950f039 100644 --- a/components/camel-cxf/camel-cxf-soap/pom.xml +++ b/components/camel-cxf/camel-cxf-soap/pom.xml @@ -151,13 +151,6 @@ test - - -org.apache.activemq -activemq-broker -test - - @@ -165,11 +158,6 @@ cxf-rt-features-clustering test - -org.apache.activemq -activemq-kahadb-store -test - org.apache.cxf @@ -225,12 +213,6 @@ test - -org.apache.httpcomponents -httpmime -test - - org.apache.logging.log4j log4j-slf4j-impl @@ -268,13 +250,6 @@ mockito-junit-jupiter test - -cglib -cglib-nodep -${cglib-version} -test - - commons-net commons-net @@ -282,12 +257,6 @@ test - -org.codehaus.jettison -jettison -test - - org.apache.commons commons-lang3 @@ -295,14 +264,6 @@ test - - -com.sun.xml.bind -jaxb-osgi -${jaxb-osgi-version} -test - -
[GitHub] [camel] orpiske merged pull request #8428: CAMEL-17448: removed unused dependencies in CXF components
orpiske merged PR #8428: URL: https://github.com/apache/camel/pull/8428 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] orpiske commented on pull request #8428: CAMEL-17448: removed unused dependencies in CXF components
orpiske commented on PR #8428: URL: https://github.com/apache/camel/pull/8428#issuecomment-1258457082 No objections, therefore merging. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] aldettinger commented on a diff in pull request #4093: kubernetes: auto-configure Kubernetes Cluster Service #4086
aldettinger commented on code in PR #4093: URL: https://github.com/apache/camel-quarkus/pull/4093#discussion_r980377081 ## extensions/kubernetes/deployment/src/main/java/org/apache/camel/quarkus/component/kubernetes/cluster/deployment/KubernetesClusterServiceProcessor.java: ## @@ -0,0 +1,35 @@ +/* + * 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.kubernetes.cluster.deployment; + +import io.quarkus.deployment.annotations.BuildStep; +import io.quarkus.deployment.annotations.ExecutionTime; +import io.quarkus.deployment.annotations.Record; +import org.apache.camel.quarkus.component.kubernetes.cluster.KubernetesClusterServiceConfig; +import org.apache.camel.quarkus.component.kubernetes.cluster.KubernetesClusterServiceRecorder; +import org.apache.camel.quarkus.core.deployment.spi.RuntimeCamelContextCustomizerBuildItem; + +class KubernetesClusterServiceProcessor { + +@Record(value = ExecutionTime.RUNTIME_INIT) Review Comment: After deeper investigation, I have not found any way to execute `CamelContextCustomizer` at `STATIC_INIT`. Plus, I have not found any simple way for users to intercept/break the cluster service from the registry. So, registering at `STATIC_INIT` seems to be the best option here. This is done in the last [commit](https://github.com/apache/camel-quarkus/pull/4093/commits/a108c9b8588b8f726ffb7d2ea7de925cb449da23). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] aldettinger commented on a diff in pull request #4093: kubernetes: auto-configure Kubernetes Cluster Service #4086
aldettinger commented on code in PR #4093: URL: https://github.com/apache/camel-quarkus/pull/4093#discussion_r980377081 ## extensions/kubernetes/deployment/src/main/java/org/apache/camel/quarkus/component/kubernetes/cluster/deployment/KubernetesClusterServiceProcessor.java: ## @@ -0,0 +1,35 @@ +/* + * 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.kubernetes.cluster.deployment; + +import io.quarkus.deployment.annotations.BuildStep; +import io.quarkus.deployment.annotations.ExecutionTime; +import io.quarkus.deployment.annotations.Record; +import org.apache.camel.quarkus.component.kubernetes.cluster.KubernetesClusterServiceConfig; +import org.apache.camel.quarkus.component.kubernetes.cluster.KubernetesClusterServiceRecorder; +import org.apache.camel.quarkus.core.deployment.spi.RuntimeCamelContextCustomizerBuildItem; + +class KubernetesClusterServiceProcessor { + +@Record(value = ExecutionTime.RUNTIME_INIT) Review Comment: After deeper investigation, I have not found any way to execute `CamelContextCustomizer` at `STATIC_INIT`. Plus, I have not found any simple way for users to intercept/break the cluster service from the registry. So, registering at `STATIC_INIT` seems to be the best option here. This is done in the last commit. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-karavan] mgubaidullin commented on issue #482: Fixed Namespace karavan
mgubaidullin commented on issue #482: URL: https://github.com/apache/camel-karavan/issues/482#issuecomment-1258438781 Karavan should work in another namespace. If not it is a bug. 1. Set correct namespace in all manifests in `karavan-cloud` folder 2. Overwrite environment namespace defined in `application.properties' ``` ... karavan.config.environments[0].namespace=karavan ... ``` in your karavan deployment manifest by adding environment variable ``` - name: KARAVAN_CONFIG_ENVIRONMENTS_0__NAMESPACE valueFrom: fieldRef: fieldPath: your_namespace ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-karavan] mgubaidullin commented on issue #484: Camel components that are not remote should be illustrated as local only
mgubaidullin commented on issue #484: URL: https://github.com/apache/camel-karavan/issues/484#issuecomment-1258426981 For Kamalets it is quite clear source are incoming, sink are outgoing, actions are internal calls, How to define for components? -- 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] 02/02: Issue with Create new Integration file
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 01e4c3f8502acdb3403be33e1e6634fa1425473f Author: Marat Gubaidullin AuthorDate: Mon Sep 26 14:10:58 2022 -0400 Issue with Create new Integration file --- .../main/webapp/src/projects/CreateFileModal.tsx | 31 +- 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/karavan-app/src/main/webapp/src/projects/CreateFileModal.tsx b/karavan-app/src/main/webapp/src/projects/CreateFileModal.tsx index 9413dd8..3072cf4 100644 --- a/karavan-app/src/main/webapp/src/projects/CreateFileModal.tsx +++ b/karavan-app/src/main/webapp/src/projects/CreateFileModal.tsx @@ -11,6 +11,8 @@ import '../designer/karavan.css'; import {KaravanApi} from "../api/KaravanApi"; import {Project, ProjectFile, ProjectFileTypes} from "./ProjectModels"; import {CamelUi} from "../designer/utils/CamelUi"; +import {Integration} from "karavan-core/lib/model/IntegrationDefinition"; +import {CamelDefinitionYaml} from "karavan-core/lib/api/CamelDefinitionYaml"; interface Props { isOpen: boolean, @@ -20,14 +22,14 @@ interface Props { interface State { name: string -extension: string +fileType: string } export class CreateFileModal extends React.Component { public state: State = { name: '', -extension: 'yaml', +fileType: 'INTEGRATION', }; closeModal = () => { @@ -35,10 +37,14 @@ export class CreateFileModal extends React.Component { } saveAndCloseModal = () => { -const {name, extension} = this.state; -const filename = (extension !== 'java') ? CamelUi.nameFromTitle(name) : CamelUi.javaNameFromTitle(name) +const {name, fileType} = this.state; +const extension = ProjectFileTypes.filter(value => value.name === fileType)[0].extension; +const filename = (extension !== 'java') ? CamelUi.nameFromTitle(name) : CamelUi.javaNameFromTitle(name); +const code = fileType === 'INTEGRATION' +? CamelDefinitionYaml.integrationToYaml(Integration.createNew(name)) +: ''; if (filename && extension){ -const file = new ProjectFile(filename + '.' + extension, this.props.project.projectId, ''); +const file = new ProjectFile(filename + '.' + extension, this.props.project.projectId, code); KaravanApi.postProjectFile(file, res => { if (res.status === 200) { // console.log(res) //TODO show notification @@ -52,7 +58,9 @@ export class CreateFileModal extends React.Component { } render() { -const filename = (this.state.extension !== 'java') +const {fileType} = this.state; +const extension = ProjectFileTypes.filter(value => value.name === fileType)[0].extension; +const filename = (extension !== 'java') ? CamelUi.nameFromTitle(this.state.name) : CamelUi.javaNameFromTitle(this.state.name) return ( @@ -68,12 +76,12 @@ export class CreateFileModal extends React.Component { > - + {ProjectFileTypes.filter(p => !['PROPERTIES', 'LOG'].includes(p.name)).map(p => { -const title = p.title + (p.name === 'CODE' ? ' (' + p.extension + ')' : ''); +const title = p.title + ' (' + p.extension + ')'; return this.setState({extension: p.extension})} /> +isSelected={fileType === p.name} +onChange={selected => this.setState({fileType: p.name})} /> })} @@ -81,10 +89,9 @@ export class CreateFileModal extends React.Component { this.setState({name: value})} /> -{filename + '.' + this.state.extension} +{filename + '.' + extension} -
[camel-karavan] 01/02: Unique EIP, Kamelets and COmponent
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 8658e0532813920cb86912b37620e1b8fc85f6a6 Author: Marat Gubaidullin AuthorDate: Mon Sep 26 14:10:32 2022 -0400 Unique EIP, Kamelets and COmponent --- karavan-core/src/core/api/ComponentApi.ts | 4 +++- karavan-core/src/core/api/KameletApi.ts | 6 +- karavan-core/src/core/model/CamelMetadata.ts| 6 -- karavan-core/test/addStep.spec.ts | 1 + .../java/org/apache/camel/karavan/generator/AbstractGenerator.java | 3 +++ .../org/apache/camel/karavan/generator/CamelMetadataGenerator.java | 2 ++ .../java/org/apache/camel/karavan/generator/KameletGenerator.java | 2 -- 7 files changed, 14 insertions(+), 10 deletions(-) diff --git a/karavan-core/src/core/api/ComponentApi.ts b/karavan-core/src/core/api/ComponentApi.ts index da15fb7..ccffd67 100644 --- a/karavan-core/src/core/api/ComponentApi.ts +++ b/karavan-core/src/core/api/ComponentApi.ts @@ -34,7 +34,9 @@ export const ComponentApi = { saveComponent: (json: string) => { const component: Component = ComponentApi.jsonToComponent(json); -Components.push(component); +if (Components.findIndex((c:Component) => c.component.name === component.component.name) === -1) { +Components.push(component); +} }, getComponents: (): Component[] => { diff --git a/karavan-core/src/core/api/KameletApi.ts b/karavan-core/src/core/api/KameletApi.ts index b60abe9..d29bf32 100644 --- a/karavan-core/src/core/api/KameletApi.ts +++ b/karavan-core/src/core/api/KameletApi.ts @@ -16,6 +16,8 @@ */ import {KameletModel, Property} from "../model/KameletModels"; import * as yaml from 'js-yaml'; +import {Component} from "../model/ComponentModels"; +import {Components} from "./ComponentApi"; export const Kamelets: KameletModel[] = []; @@ -89,6 +91,8 @@ export const KameletApi = { saveKamelet: (yaml: string) => { const kamelet:KameletModel = KameletApi.yamlToKamelet(yaml); -Kamelets.push(kamelet); +if (Kamelets.findIndex((k:KameletModel) => k.metadata.name === kamelet.metadata.name) === -1) { +Kamelets.push(kamelet); +} } } \ No newline at end of file diff --git a/karavan-core/src/core/model/CamelMetadata.ts b/karavan-core/src/core/model/CamelMetadata.ts index 4725b96..7802d9a 100644 --- a/karavan-core/src/core/model/CamelMetadata.ts +++ b/karavan-core/src/core/model/CamelMetadata.ts @@ -783,12 +783,6 @@ export const CamelModelMetadata: ElementMeta[] = [ new PropertyMeta('header', 'Header', "Adds a response header", 'ResponseHeaderDefinition', '', '', false, false, true, true, ''), new PropertyMeta('examples', 'Examples', "Examples of response messages", 'RestPropertyDefinition', '', '', false, false, true, true, ''), ]), -new ElementMeta('errorHandler', 'ErrorHandlerBuilderDeserializer', 'Error Handler', "Camel error handling.", 'configuration,error', [ -new PropertyMeta('deadLetterChannel', 'deadLetterChannel', "deadLetterChannel", 'DeadLetterChannelDefinition', '', '', false, false, false, true, ''), -new PropertyMeta('log', 'log', "log", 'DefaultErrorHandlerDefinition', '', '', false, false, false, true, ''), -new PropertyMeta('none', 'none', "none", 'NoErrorHandlerDefinition', '', '', false, false, false, true, ''), -new PropertyMeta('ref', 'ref', "ref", 'string', '', '', false, false, false, false, ''), -]), new ElementMeta('filter', 'FilterDefinition', 'Filter', "Filter out messages based using a predicate", 'eip,routing', [ new PropertyMeta('expression', 'Expression', "Expression to determine if the message should be filtered or not. If the expression returns an empty value or false then the message is filtered (dropped), otherwise the message is continued being routed.", 'ExpressionDefinition', '', '', true, false, false, true, ''), new PropertyMeta('statusPropertyName', 'Status Property Name', "Name of exchange property to use for storing the status of the filtering. Setting this allows to know if the filter predicate evaluated as true or false.", 'string', '', '', false, false, false, false, 'advanced'), diff --git a/karavan-core/test/addStep.spec.ts b/karavan-core/test/addStep.spec.ts index 60b96a0..d90b8e5 100644 --- a/karavan-core/test/addStep.spec.ts +++ b/karavan-core/test/addStep.spec.ts @@ -30,6 +30,7 @@ import {CamelDefinitionYaml} from "../src/core/api/CamelDefinitionYaml"; import {SimpleExpression} from "../src/core/model/CamelDefinition"; import {Integration} from "../src/core/model/IntegrationDefinition"; import * as fs from 'fs'; +import {CamelModelMetadata, ElementMeta} from "../lib/model/CamelMetadata"; describe('Add Step', ()
[camel-karavan] branch main updated (0266ff0 -> 01e4c3f)
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 0266ff0 Basic JMS to Kafka demo. new 8658e05 Unique EIP, Kamelets and COmponent new 01e4c3f Issue with Create new Integration file 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: .../main/webapp/src/projects/CreateFileModal.tsx | 31 +- karavan-core/src/core/api/ComponentApi.ts | 4 ++- karavan-core/src/core/api/KameletApi.ts| 6 - karavan-core/src/core/model/CamelMetadata.ts | 6 - karavan-core/test/addStep.spec.ts | 1 + .../camel/karavan/generator/AbstractGenerator.java | 3 +++ .../karavan/generator/CamelMetadataGenerator.java | 2 ++ .../camel/karavan/generator/KameletGenerator.java | 2 -- 8 files changed, 33 insertions(+), 22 deletions(-)
[camel] branch main updated: Polished
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 a2fdbf12c89 Polished a2fdbf12c89 is described below commit a2fdbf12c89f352454e91d86ab6fba408a81770b Author: Claus Ibsen AuthorDate: Mon Sep 26 19:10:58 2022 +0200 Polished --- .../org/apache/camel/dsl/jbang/core/commands/process/ListVault.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/process/ListVault.java b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/process/ListVault.java index 64dd9b8661d..a5851960e58 100644 --- a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/process/ListVault.java +++ b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/process/ListVault.java @@ -32,7 +32,7 @@ import picocli.CommandLine; import picocli.CommandLine.Command; @Command(name = "vault", aliases = { "vault", "vaults" }, - description = "List secrets from security vaults (AWS,GCP and Azure) used by running Camel integrations") + description = "List secrets from security vaults (AWS, GCP and Azure) used by running Camel integrations") public class ListVault extends ProcessBaseCommand { @CommandLine.Option(names = { "--sort" },
[camel] branch regen_bot updated (e8ce9d6417c -> 52764e6e0b9)
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 e8ce9d6417c Regen for commit 96a0438b1bb304fb5e92dae36c85a4e2273ecfa6 add 52764e6e0b9 CAMEL-18557: camel-core - Total counter on ContextMBean is too high No new revisions were added by this update. Summary of changes: .../main/java/org/apache/camel/spi/UnitOfWork.java | 13 ++ .../camel/impl/engine/DefaultUnitOfWork.java | 5 ++ .../management/mbean/ManagedCamelContext.java | 53 ++ ...va => ManagedCamelContextTotalCounterTest.java} | 48 +--- .../ROOT/pages/camel-3x-upgrade-guide-3_19.adoc| 8 5 files changed, 100 insertions(+), 27 deletions(-) copy core/camel-management/src/test/java/org/apache/camel/management/{ManagedCamelContextPropertiesTest.java => ManagedCamelContextTotalCounterTest.java} (59%)
[camel] branch regen_bot updated (aacbc7666ed -> e8ce9d6417c)
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 aacbc7666ed Regen for commit 96a0438b1bb304fb5e92dae36c85a4e2273ecfa6 add a2298a28766 camel-jbang - Polished add e8ce9d6417c Regen for commit 96a0438b1bb304fb5e92dae36c85a4e2273ecfa6 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 (aacbc7666ed) \ N -- N -- N refs/heads/regen_bot (e8ce9d6417c) 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: .../org/apache/camel/dsl/jbang/core/commands/process/ListEvent.java | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-)
[camel] branch main updated: CAMEL-18557: camel-core - Total counter on ContextMBean is too high
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 52764e6e0b9 CAMEL-18557: camel-core - Total counter on ContextMBean is too high 52764e6e0b9 is described below commit 52764e6e0b91ccbd740cc905429e9f35b0b65567 Author: Claus Ibsen AuthorDate: Mon Sep 26 19:07:33 2022 +0200 CAMEL-18557: camel-core - Total counter on ContextMBean is too high --- .../main/java/org/apache/camel/spi/UnitOfWork.java | 13 .../camel/impl/engine/DefaultUnitOfWork.java | 5 ++ .../management/mbean/ManagedCamelContext.java | 53 ++ .../ManagedCamelContextTotalCounterTest.java | 85 ++ .../ROOT/pages/camel-3x-upgrade-guide-3_19.adoc| 8 ++ 5 files changed, 164 insertions(+) diff --git a/core/camel-api/src/main/java/org/apache/camel/spi/UnitOfWork.java b/core/camel-api/src/main/java/org/apache/camel/spi/UnitOfWork.java index e2f25fa1533..b9d28cb530e 100644 --- a/core/camel-api/src/main/java/org/apache/camel/spi/UnitOfWork.java +++ b/core/camel-api/src/main/java/org/apache/camel/spi/UnitOfWork.java @@ -190,6 +190,19 @@ public interface UnitOfWork { */ Route popRoute(); +/** + * Gets the {@link Route} level-of-depth that this {@link UnitOfWork} currently is being routed through. + * + * Notice that an {@link Exchange} can be routed through multiple routes and thus the level of depth can change over + * time. + * + * If level is 1 then the current route is at the first route (original route). Maybe be 0 if not routed + * through a route currently. + * + * @return the route level-of-depth + */ +int routeStackLevel(); + /** * Whether the unit of work should call the before/after process methods or not. */ diff --git a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultUnitOfWork.java b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultUnitOfWork.java index 09110b55a89..ea1640933a6 100644 --- a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultUnitOfWork.java +++ b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultUnitOfWork.java @@ -348,6 +348,11 @@ public class DefaultUnitOfWork implements UnitOfWork { return routes.poll(); } +@Override +public int routeStackLevel() { +return routes.size(); +} + @Override public boolean isBeforeAfterProcess() { return false; diff --git a/core/camel-management/src/main/java/org/apache/camel/management/mbean/ManagedCamelContext.java b/core/camel-management/src/main/java/org/apache/camel/management/mbean/ManagedCamelContext.java index 511fa3fbb72..2d9e1848aa8 100644 --- a/core/camel-management/src/main/java/org/apache/camel/management/mbean/ManagedCamelContext.java +++ b/core/camel-management/src/main/java/org/apache/camel/management/mbean/ManagedCamelContext.java @@ -32,6 +32,7 @@ import org.w3c.dom.Document; import org.apache.camel.CamelContext; import org.apache.camel.Endpoint; +import org.apache.camel.Exchange; import org.apache.camel.ExtendedCamelContext; import org.apache.camel.ManagementStatisticsLevel; import org.apache.camel.Producer; @@ -52,6 +53,7 @@ import org.apache.camel.model.RoutesDefinition; import org.apache.camel.model.rest.RestDefinition; import org.apache.camel.model.rest.RestsDefinition; import org.apache.camel.spi.ManagementStrategy; +import org.apache.camel.spi.UnitOfWork; @ManagedResource(description = "Managed CamelContext") public class ManagedCamelContext extends ManagedPerformanceCounter implements TimerListener, ManagedCamelContextMBean { @@ -74,6 +76,57 @@ public class ManagedCamelContext extends ManagedPerformanceCounter implements Ti setStatisticsEnabled(enabled); } +@Override +public void completedExchange(Exchange exchange, long time) { +// the camel-context mbean is triggered for every route mbean +// so we must only trigger on the root level, otherwise the context mbean +// total counter will be incorrect. For example if an exchange is routed via 3 routes +// we should only count this as 1 instead of 3. +UnitOfWork uow = exchange.getUnitOfWork(); +if (uow != null) { +int level = uow.routeStackLevel(); +if (level <= 1) { +super.completedExchange(exchange, time); +} +} else { +super.completedExchange(exchange, time); +} +} + +@Override +public void failedExchange(Exchange exchange) { +// the camel-context mbean is triggered for every route mbean +// so we must only trigger on the root level, otherwise the context mbean +// total counter will be incorrect. For example if an
[GitHub] [camel-kamelets] oscerd merged pull request #1051: Regen
oscerd merged PR #1051: URL: https://github.com/apache/camel-kamelets/pull/1051 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-kamelets] branch 0.9.x updated: chore: regen
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch 0.9.x in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git The following commit(s) were added to refs/heads/0.9.x by this push: new 8db15805 chore: regen 8db15805 is described below commit 8db158052f65de9fcb018d936f13146b03f2cc99 Author: Luca Burgazzoli AuthorDate: Mon Sep 26 19:03:47 2022 +0200 chore: regen --- .../src/main/resources/kamelets/minio-source.kamelet.yaml | 6 -- 1 file changed, 6 deletions(-) diff --git a/library/camel-kamelets/src/main/resources/kamelets/minio-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/minio-source.kamelet.yaml index cd7cb4f1..ea6ada3f 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/minio-source.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/minio-source.kamelet.yaml @@ -77,11 +77,7 @@ spec: x-descriptors: - 'urn:alm:descriptor:com.tectonic.ui:checkbox' default: false - types: -out: - mediaType: application/json dependencies: - - "camel:jackson" - "camel:minio" - "camel:kamelet" template: @@ -94,6 +90,4 @@ spec: endpoint: "{{endpoint}}" deleteAfterRead: "{{deleteAfterRead}}" steps: - - marshal: - json: {} - to: "kamelet:sink"
[GitHub] [camel-kamelets] lburgazzoli opened a new pull request, #1051: Regen
lburgazzoli opened a new pull request, #1051: URL: https://github.com/apache/camel-kamelets/pull/1051 - minio: do not convert source payload to json - chore: regen -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-kamelets] branch regen_bot updated (15cea115 -> 1fe17721)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git omit 15cea115 Regen for commit cc623e125b61b34272826dbfc61908b89270df3b add 1fe17721 Regen for commit cc623e125b61b34272826dbfc61908b89270df3b 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 (15cea115) \ N -- N -- N refs/heads/regen_bot (1fe17721) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. No new revisions were added by this update. Summary of changes:
[camel-kamelets] branch 0.9.x updated: minio: do not convert source payload to json
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch 0.9.x in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git The following commit(s) were added to refs/heads/0.9.x by this push: new c40b095b minio: do not convert source payload to json c40b095b is described below commit c40b095b53a249bc29b034c0950fabc228875362 Author: Luca Burgazzoli AuthorDate: Mon Sep 26 18:01:46 2022 +0200 minio: do not convert source payload to json Signed-off-by: Luca Burgazzoli --- kamelets/minio-source.kamelet.yaml | 6 -- 1 file changed, 6 deletions(-) diff --git a/kamelets/minio-source.kamelet.yaml b/kamelets/minio-source.kamelet.yaml index cd7cb4f1..ea6ada3f 100644 --- a/kamelets/minio-source.kamelet.yaml +++ b/kamelets/minio-source.kamelet.yaml @@ -77,11 +77,7 @@ spec: x-descriptors: - 'urn:alm:descriptor:com.tectonic.ui:checkbox' default: false - types: -out: - mediaType: application/json dependencies: - - "camel:jackson" - "camel:minio" - "camel:kamelet" template: @@ -94,6 +90,4 @@ spec: endpoint: "{{endpoint}}" deleteAfterRead: "{{deleteAfterRead}}" steps: - - marshal: - json: {} - to: "kamelet:sink"
[GitHub] [camel-kamelets] oscerd merged pull request #1050: minio: do not convert source payload to json
oscerd merged PR #1050: URL: https://github.com/apache/camel-kamelets/pull/1050 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-kamelets] lburgazzoli opened a new pull request, #1050: minio: do not convert source payload to json
lburgazzoli opened a new pull request, #1050: URL: https://github.com/apache/camel-kamelets/pull/1050 Signed-off-by: Luca Burgazzoli -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-kamelets] branch main updated: Regen for commit cc623e125b61b34272826dbfc61908b89270df3b
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git The following commit(s) were added to refs/heads/main by this push: new 1fe17721 Regen for commit cc623e125b61b34272826dbfc61908b89270df3b 1fe17721 is described below commit 1fe17721326d67ecd7a13e9e16b50bd0664581c8 Author: oscerd AuthorDate: Mon Sep 26 16:48:25 2022 + Regen for commit cc623e125b61b34272826dbfc61908b89270df3b Signed-off-by: GitHub --- .../src/main/resources/kamelets/minio-source.kamelet.yaml | 6 -- 1 file changed, 6 deletions(-) diff --git a/library/camel-kamelets/src/main/resources/kamelets/minio-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/minio-source.kamelet.yaml index a96d4231..98faebd6 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/minio-source.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/minio-source.kamelet.yaml @@ -77,11 +77,7 @@ spec: x-descriptors: - 'urn:alm:descriptor:com.tectonic.ui:checkbox' default: false - types: -out: - mediaType: application/json dependencies: - - "camel:jackson" - "camel:minio" - "camel:kamelet" template: @@ -94,6 +90,4 @@ spec: endpoint: "{{endpoint}}" deleteAfterRead: "{{deleteAfterRead}}" steps: - - marshal: - json: {} - to: "kamelet:sink"
[GitHub] [camel-kamelets] oscerd merged pull request #1049: Generated sources regen
oscerd merged PR #1049: URL: https://github.com/apache/camel-kamelets/pull/1049 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-kamelets] github-actions[bot] opened a new pull request, #1049: Generated sources regen
github-actions[bot] opened a new pull request, #1049: URL: https://github.com/apache/camel-kamelets/pull/1049 Regen bot :robot: found some uncommited changes after running build on :camel: kamelets main. Please do not delete `regen_bot` branch after merge/rebase. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-kamelets] branch regen_bot updated (87568cc6 -> 15cea115)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git from 87568cc6 Fix chuck-norris kamelet to use a new online service that works. add cc623e12 minio: do not convert source payload to json add 15cea115 Regen for commit cc623e125b61b34272826dbfc61908b89270df3b No new revisions were added by this update. Summary of changes: kamelets/minio-source.kamelet.yaml | 6 -- .../src/main/resources/kamelets/minio-source.kamelet.yaml | 6 -- 2 files changed, 12 deletions(-)
[camel-kamelets] branch main updated: minio: do not convert source payload to json
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git The following commit(s) were added to refs/heads/main by this push: new cc623e12 minio: do not convert source payload to json cc623e12 is described below commit cc623e125b61b34272826dbfc61908b89270df3b Author: Luca Burgazzoli AuthorDate: Mon Sep 26 18:01:46 2022 +0200 minio: do not convert source payload to json Signed-off-by: Luca Burgazzoli --- kamelets/minio-source.kamelet.yaml | 6 -- 1 file changed, 6 deletions(-) diff --git a/kamelets/minio-source.kamelet.yaml b/kamelets/minio-source.kamelet.yaml index a96d4231..98faebd6 100644 --- a/kamelets/minio-source.kamelet.yaml +++ b/kamelets/minio-source.kamelet.yaml @@ -77,11 +77,7 @@ spec: x-descriptors: - 'urn:alm:descriptor:com.tectonic.ui:checkbox' default: false - types: -out: - mediaType: application/json dependencies: - - "camel:jackson" - "camel:minio" - "camel:kamelet" template: @@ -94,6 +90,4 @@ spec: endpoint: "{{endpoint}}" deleteAfterRead: "{{deleteAfterRead}}" steps: - - marshal: - json: {} - to: "kamelet:sink"
[GitHub] [camel-kamelets] oscerd merged pull request #1048: minio: do not convert source payload to json
oscerd merged PR #1048: URL: https://github.com/apache/camel-kamelets/pull/1048 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-kafka-connector] dependabot[bot] opened a new pull request, #1439: Bump peter-evans/create-pull-request from 4.1.1 to 4.1.2
dependabot[bot] opened a new pull request, #1439: URL: https://github.com/apache/camel-kafka-connector/pull/1439 Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 4.1.1 to 4.1.2. Release notes Sourced from https://github.com/peter-evans/create-pull-request/releases;>peter-evans/create-pull-request's releases. Create Pull Request v4.1.2 What's Changed ci: add workflow permissions by https://github.com/peter-evans;>@peter-evans in https://github-redirect.dependabot.com/peter-evans/create-pull-request/pull/1220;>peter-evans/create-pull-request#1220 build(deps): bump @actions/core from 1.6.0 to 1.9.1 by https://github.com/dependabot;>@dependabot in https://github-redirect.dependabot.com/peter-evans/create-pull-request/pull/1219;>peter-evans/create-pull-request#1219 Update distribution by https://github.com/github-actions;>@github-actions in https://github-redirect.dependabot.com/peter-evans/create-pull-request/pull/1229;>peter-evans/create-pull-request#1229 test: update the test execution env by https://github.com/peter-evans;>@peter-evans in https://github-redirect.dependabot.com/peter-evans/create-pull-request/pull/1235;>peter-evans/create-pull-request#1235 fix: improve logging when checking fork by https://github.com/peter-evans;>@peter-evans in https://github-redirect.dependabot.com/peter-evans/create-pull-request/pull/1246;>peter-evans/create-pull-request#1246 Full Changelog: https://github.com/peter-evans/create-pull-request/compare/v4.1.1...v4.1.2;>https://github.com/peter-evans/create-pull-request/compare/v4.1.1...v4.1.2 Commits https://github.com/peter-evans/create-pull-request/commit/171dd555b9ab6b18fa02519fdfacbb8bf671e1b4;>171dd55 fix: improve logging when checking fork (https://github-redirect.dependabot.com/peter-evans/create-pull-request/issues/1246;>#1246) https://github.com/peter-evans/create-pull-request/commit/6e59b075e09f2e99ef15a43a0f1f417c04433cf9;>6e59b07 test: update the test execution env (https://github-redirect.dependabot.com/peter-evans/create-pull-request/issues/1235;>#1235) https://github.com/peter-evans/create-pull-request/commit/9c5916f06d8cd0ce272eacac2221d7b23fa3d9c8;>9c5916f docs: add funding https://github.com/peter-evans/create-pull-request/commit/33434f1c620903527d2189c987163c4218087a7a;>33434f1 build: update distribution (https://github-redirect.dependabot.com/peter-evans/create-pull-request/issues/1229;>#1229) https://github.com/peter-evans/create-pull-request/commit/9ca978d38e0b8ee902836681f954b36726902952;>9ca978d build(deps): bump @actions/core from 1.6.0 to 1.9.1 (https://github-redirect.dependabot.com/peter-evans/create-pull-request/issues/1219;>#1219) https://github.com/peter-evans/create-pull-request/commit/8e154b2a92866d2789cb61f6ddcd908cc651a73f;>8e154b2 ci: add workflow permissions (https://github-redirect.dependabot.com/peter-evans/create-pull-request/issues/1220;>#1220) See full diff in https://github.com/peter-evans/create-pull-request/compare/v4.1.1...v4.1.2;>compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=peter-evans/create-pull-request=github_actions=4.1.1=4.1.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot 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)
[camel-kafka-connector] branch dependabot/github_actions/peter-evans/create-pull-request-4.1.2 created (now 22d0d0954)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/github_actions/peter-evans/create-pull-request-4.1.2 in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git at 22d0d0954 Bump peter-evans/create-pull-request from 4.1.1 to 4.1.2 No new revisions were added by this update.
[camel] branch main updated: Regen for commit 96a0438b1bb304fb5e92dae36c85a4e2273ecfa6
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 e8ce9d6417c Regen for commit 96a0438b1bb304fb5e92dae36c85a4e2273ecfa6 e8ce9d6417c is described below commit e8ce9d6417cdfbc3099afc42b308e9210552b6fe Author: davsclaus AuthorDate: Mon Sep 26 16:11:17 2022 + Regen for commit 96a0438b1bb304fb5e92dae36c85a4e2273ecfa6 Signed-off-by: GitHub --- .../apache/camel/dsl/jbang/core/commands/process/ListEvent.java | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/process/ListEvent.java b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/process/ListEvent.java index bc0fce859c2..fb81c23b36b 100644 --- a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/process/ListEvent.java +++ b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/process/ListEvent.java @@ -16,6 +16,10 @@ */ package org.apache.camel.dsl.jbang.core.commands.process; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + import com.github.freva.asciitable.AsciiTable; import com.github.freva.asciitable.Column; import com.github.freva.asciitable.HorizontalAlign; @@ -27,10 +31,6 @@ import org.apache.camel.util.json.JsonObject; import picocli.CommandLine; import picocli.CommandLine.Command; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; - @Command(name = "event", aliases = { "event", "events" }, description = "Get latest 25 events of Camel integrations") public class ListEvent extends ProcessBaseCommand {
[GitHub] [camel] oscerd merged pull request #8434: Generated sources regen
oscerd merged PR #8434: URL: https://github.com/apache/camel/pull/8434 -- 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 (96fd8209d09 -> aacbc7666ed)
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 96fd8209d09 Regen for commit 6981adc0a4b6ae8004fc03a51b739ecd3597d47b add 96a0438b1bb CAMEL-18556: camel-jbang - DevConsole should be started when used for Camel CLI add aacbc7666ed Regen for commit 96a0438b1bb304fb5e92dae36c85a4e2273ecfa6 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 (96fd8209d09) \ N -- N -- N refs/heads/regen_bot (aacbc7666ed) 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: .../java/org/apache/camel/impl/engine/DefaultDevConsoleResolver.java| 2 -- 1 file changed, 2 deletions(-)
[GitHub] [camel-kamelets] lburgazzoli opened a new pull request, #1048: minio: do not convert source payload to json
lburgazzoli opened a new pull request, #1048: URL: https://github.com/apache/camel-kamelets/pull/1048 Signed-off-by: Luca Burgazzoli -- 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 (5786b50efde -> 96fd8209d09)
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 5786b50efde Upgrade guide add 6981adc0a4b CAMEL-18556: camel-jbang - DevConsole should be started when used for Camel CLI add 96fd8209d09 Regen for commit 6981adc0a4b6ae8004fc03a51b739ecd3597d47b No new revisions were added by this update. Summary of changes: .../impl/engine/DefaultDevConsoleResolver.java | 8 +- .../impl/console/DefaultDevConsoleRegistry.java| 2 + .../apache/camel/impl/console/EventConsole.java| 12 +-- .../camel/cli/connector/LocalCliConnector.java | 81 +- .../dsl/jbang/core/commands/CamelJBangMain.java| 2 + .../process/{ListService.java => ListEvent.java} | 95 +- 6 files changed, 100 insertions(+), 100 deletions(-) copy dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/process/{ListService.java => ListEvent.java} (62%)
[GitHub] [camel] github-actions[bot] opened a new pull request, #8434: Generated sources regen
github-actions[bot] opened a new pull request, #8434: URL: https://github.com/apache/camel/pull/8434 Regen bot :robot: found some uncommitted changes after running build on :camel: main. Please do not delete `regen_bot` branch after merge/rebase. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-k] astefanutti commented on issue #3656: Integration scale subresource not working with Knative trait enabled
astefanutti commented on issue #3656: URL: https://github.com/apache/camel-k/issues/3656#issuecomment-1258271738 The current logic forces Knative auto-scaling to comply with the user-provided replicas count, by explicitly setting the `autoscaling.knative.dev/minScale` and `autoscaling.knative.dev/maxScale` annotations to be equal to the specified replicas count. This logic has been implemented a long time ago, even before KEDA came out, and I don't think there is an e2e test for it. So it's possible it does not behave correctly anymore. That being said, following the discussions from #2838 and #3132, I'm starting to think that approach may not be correct, and incompatible with auto-scaler implementations. In practice, it seems they make the assumption they own the control of the scale sub-resource, which is probably a fair assumption, even from the end-user standpoint, as @squakez pointed out. So in that spirit, an option could be to remove the obsolete logic and document that auto-scaling and manual scaling are mutually exclusive. -- 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-jbang - Polished
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 a2298a28766 camel-jbang - Polished a2298a28766 is described below commit a2298a287664740de96caf79f53b29db45ca0a4b Author: Claus Ibsen AuthorDate: Mon Sep 26 17:25:32 2022 +0200 camel-jbang - Polished --- .../org/apache/camel/dsl/jbang/core/commands/process/ListEvent.java | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/process/ListEvent.java b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/process/ListEvent.java index c114e3a9c18..bc0fce859c2 100644 --- a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/process/ListEvent.java +++ b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/process/ListEvent.java @@ -68,8 +68,6 @@ public class ListEvent extends ProcessBaseCommand { row.name = extractName(root, ph); } row.pid = "" + ph.pid(); -row.uptime = extractSince(ph); -row.age = TimeUtils.printSince(row.uptime); if (filter == null || filter.contains("context")) { fetchEvents(root, row, "events", rows); @@ -140,7 +138,7 @@ public class ListEvent extends ProcessBaseCommand { case "name": return o1.name.compareToIgnoreCase(o2.name) * negate; case "age": -return Long.compare(o1.uptime, o2.uptime) * negate; +return Long.compare(o1.timestamp, o2.timestamp) * negate; default: return 0; } @@ -149,8 +147,6 @@ public class ListEvent extends ProcessBaseCommand { private static class Row implements Cloneable { String pid; String name; -String age; -long uptime; String type; long timestamp; String exchangeId;
[camel] branch main updated: CAMEL-18556: camel-jbang - DevConsole should be started when used for Camel CLI
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 96a0438b1bb CAMEL-18556: camel-jbang - DevConsole should be started when used for Camel CLI 96a0438b1bb is described below commit 96a0438b1bb304fb5e92dae36c85a4e2273ecfa6 Author: Claus Ibsen AuthorDate: Mon Sep 26 17:21:26 2022 +0200 CAMEL-18556: camel-jbang - DevConsole should be started when used for Camel CLI --- .../java/org/apache/camel/impl/engine/DefaultDevConsoleResolver.java| 2 -- 1 file changed, 2 deletions(-) diff --git a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultDevConsoleResolver.java b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultDevConsoleResolver.java index c2dd15b2a1d..8ba3207a846 100644 --- a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultDevConsoleResolver.java +++ b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultDevConsoleResolver.java @@ -72,8 +72,6 @@ public class DefaultDevConsoleResolver implements DevConsoleResolver, CamelConte if (DevConsole.class.isAssignableFrom(type)) { answer = (DevConsole) camelContext.getInjector().newInstance(type, false); CamelContextAware.trySetCamelContext(answer, camelContext); -// ensure console is started - } else { throw new IllegalArgumentException( "Resolving dev-console: " + id + " detected type conflict: Not a DevConsole implementation. Found: "
[camel] branch main updated: CAMEL-18556: camel-jbang - DevConsole should be started when used for Camel CLI
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 6981adc0a4b CAMEL-18556: camel-jbang - DevConsole should be started when used for Camel CLI 6981adc0a4b is described below commit 6981adc0a4b6ae8004fc03a51b739ecd3597d47b Author: Claus Ibsen AuthorDate: Mon Sep 26 17:16:00 2022 +0200 CAMEL-18556: camel-jbang - DevConsole should be started when used for Camel CLI --- .../impl/engine/DefaultDevConsoleResolver.java | 8 +- .../impl/console/DefaultDevConsoleRegistry.java| 2 + .../apache/camel/impl/console/EventConsole.java| 12 +- .../camel/cli/connector/LocalCliConnector.java | 81 +- .../dsl/jbang/core/commands/CamelJBangMain.java| 2 + .../dsl/jbang/core/commands/process/ListEvent.java | 168 + 6 files changed, 229 insertions(+), 44 deletions(-) diff --git a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultDevConsoleResolver.java b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultDevConsoleResolver.java index 695de1ed992..c2dd15b2a1d 100644 --- a/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultDevConsoleResolver.java +++ b/core/camel-base-engine/src/main/java/org/apache/camel/impl/engine/DefaultDevConsoleResolver.java @@ -72,6 +72,8 @@ public class DefaultDevConsoleResolver implements DevConsoleResolver, CamelConte if (DevConsole.class.isAssignableFrom(type)) { answer = (DevConsole) camelContext.getInjector().newInstance(type, false); CamelContextAware.trySetCamelContext(answer, camelContext); +// ensure console is started + } else { throw new IllegalArgumentException( "Resolving dev-console: " + id + " detected type conflict: Not a DevConsole implementation. Found: " @@ -92,6 +94,10 @@ public class DefaultDevConsoleResolver implements DevConsoleResolver, CamelConte @Override public Optional lookupDevConsole(String id) { DevConsoleRegistry dcr = camelContext.getExtension(DevConsoleRegistry.class); -return dcr.getConsole(id); +if (dcr != null) { +return dcr.getConsole(id); +} else { +return Optional.empty(); +} } } diff --git a/core/camel-console/src/main/java/org/apache/camel/impl/console/DefaultDevConsoleRegistry.java b/core/camel-console/src/main/java/org/apache/camel/impl/console/DefaultDevConsoleRegistry.java index 7b97e6a7f96..c84337d47cc 100644 --- a/core/camel-console/src/main/java/org/apache/camel/impl/console/DefaultDevConsoleRegistry.java +++ b/core/camel-console/src/main/java/org/apache/camel/impl/console/DefaultDevConsoleRegistry.java @@ -138,6 +138,8 @@ public class DefaultDevConsoleRegistry extends ServiceSupport implements DevCons result = consoles.add(console); if (result) { CamelContextAware.trySetCamelContext(console, camelContext); +// ensure console is started as it may be registered later +ServiceHelper.startService(console); LOG.debug("DevConsole with id {} successfully registered", console.getId()); } return result; diff --git a/core/camel-console/src/main/java/org/apache/camel/impl/console/EventConsole.java b/core/camel-console/src/main/java/org/apache/camel/impl/console/EventConsole.java index 67e1195e623..57b2b9fee66 100644 --- a/core/camel-console/src/main/java/org/apache/camel/impl/console/EventConsole.java +++ b/core/camel-console/src/main/java/org/apache/camel/impl/console/EventConsole.java @@ -74,7 +74,7 @@ public class EventConsole extends AbstractDevConsole { protected String doCallText(Map options) { StringBuilder sb = new StringBuilder(); -if (!events.isEmpty()) { +if (events != null && !events.isEmpty()) { sb.append(String.format("Last %s Camel Events:", events.size())); for (CamelEvent event : events) { if (event.getTimestamp() > 0) { @@ -85,7 +85,7 @@ public class EventConsole extends AbstractDevConsole { } sb.append("\n"); } -if (!routeEvents.isEmpty()) { +if (routeEvents != null && !routeEvents.isEmpty()) { sb.append("\n"); sb.append(String.format("Last %s Route Events:", routeEvents.size())); for (CamelEvent.RouteEvent event : routeEvents) { @@ -97,7 +97,7 @@ public class EventConsole extends AbstractDevConsole { } sb.append("\n"); } -if (!exchangeEvents.isEmpty()) { +if (exchangeEvents != null && !exchangeEvents.isEmpty()) { sb.append("\n"); sb.append(String.format("Last %s Exchange Events:",
[GitHub] [camel-k] astefanutti commented on issue #3671: Can't run KameletBinding with the native mode
astefanutti commented on issue #3671: URL: https://github.com/apache/camel-k/issues/3671#issuecomment-1258180245 > Thanks for the reproducer, we can verify exactly what's going on there. @astefanutti was the native build also meant for KameletBinding? I think it was, but please, confirm if it's not the case. @squakez Yes, native build is supposed to work with KameletBinding. From a quick look at the test failure, the build actually completes successfully and the kit transitions to ready. However the integration associated to the kit failed to be reconciled once the kit is ready. So there must be something broken in the logic that filters kit events out in the integration controller, which fails to match the integration. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] ppalaga commented on issue #4134: Instance of Random/SplittableRandom class in CachedSupplier.jitterTime
ppalaga commented on issue #4134: URL: https://github.com/apache/camel-quarkus/issues/4134#issuecomment-1258161796 For the current CQ snapshot, the stack trace is different: ``` [INFO] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Building native image source jar: /home/ppalaga/orgs/demos/220927-camel/camel-quarkus-demo/target/code-with-quarkus-1.0.0-SNAPSHOT-native-image-source-jar/code-with-quarkus-1.0.0-SNAPSHOT-runner.jar [INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] Building native image from /home/ppalaga/orgs/demos/220927-camel/camel-quarkus-demo/target/code-with-quarkus-1.0.0-SNAPSHOT-native-image-source-jar/code-with-quarkus-1.0.0-SNAPSHOT-runner.jar [INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildContainerRunner] Using docker to run the native image builder [INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildContainerRunner] Checking image status quay.io/quarkus/ubi-quarkus-native-image:22.2-java17 22.2-java17: Pulling from quarkus/ubi-quarkus-native-image Digest: sha256:ee128914b55187c256de677fe862c7c4335be2a48093606b3aa10ef07235f876 Status: Image is up to date for quay.io/quarkus/ubi-quarkus-native-image:22.2-java17 quay.io/quarkus/ubi-quarkus-native-image:22.2-java17 [INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] Running Quarkus native-image plugin on GraalVM 22.2.0 Java 17 CE (Java Version 17.0.4+8-jvmci-22.2-b06) [INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildRunner] docker run --env LANG=C --rm --user 1000:1000 -v /home/ppalaga/orgs/demos/220927-camel/camel-quarkus-demo/target/code-with-quarkus-1.0.0-SNAPSHOT-native-image-source-jar:/project:z --name build-native-IgWxT quay.io/quarkus/ubi-quarkus-native-image:22.2-java17 -J-Djava.util.logging.manager=org.jboss.logmanager.LogManager -J-Dlogging.initial-configurator.min-level=500 -J-Duser.language=en -J-Duser.country=IE -J-Dfile.encoding=UTF-8 --features=io.quarkus.runner.Feature,io.quarkus.runtime.graal.ResourcesFeature,io.quarkus.caffeine.runtime.graal.CacheConstructorsFeature,io.quarkus.runtime.graal.DisableLoggingFeature -J--add-exports=java.security.jgss/sun.security.krb5=ALL-UNNAMED -J--add-opens=java.base/java.text=ALL-UNNAMED -J--add-opens=java.base/java.io=ALL-UNNAMED -J--add-opens=java.base/java.lang.invoke=ALL-UNNAMED -J--add-opens=java.base/java.util=ALL-UNNAMED -H:InitialCollectionPolicy=com.oracle.svm.core.genscavenge .CollectionPolicy\$BySpaceAndTime -H:+AllowFoldMethods -J-Djava.awt.headless=true --no-fallback --link-at-build-time -H:+ReportExceptionStackTraces -H:-AddAllCharsets --enable-url-protocols=http,https -H:-UseServiceLoaderFeature -H:+StackTrace -H:AdditionalSecurityProviders=com.sun.security.sasl.Provider,org.apache.kafka.common.security.oauthbearer.internals.OAuthBearerSaslClientProvider,org.apache.kafka.common.security.scram.internals.ScramSaslClientProvider -J--add-exports=org.graalvm.sdk/org.graalvm.nativeimage.impl=ALL-UNNAMED -J--add-exports=org.graalvm.nativeimage.builder/com.oracle.svm.core.jdk=ALL-UNNAMED -J--add-exports=org.graalvm.nativeimage.builder/com.oracle.svm.core.configure=ALL-UNNAMED -J--add-exports=org.graalvm.nativeimage.builder/com.oracle.svm.core.jdk.proxy=ALL-UNNAMED -J--add-exports=org.graalvm.nativeimage.builder/com.oracle.svm.core.jdk.localization=ALL-UNNAMED code-with-quarkus-1.0.0-SNAPSHOT-runner -jar code-with-quarkus-1.0.0-SNAPSHOT-runner.jar WARNING: Unknown module: org.graalvm.nativeimage.llvm specified to --add-exports WARNING: Unknown module: org.graalvm.nativeimage.llvm specified to --add-exports WARNING: Unknown module: org.graalvm.nativeimage.llvm specified to --add-exports GraalVM Native Image: Generating 'code-with-quarkus-1.0.0-SNAPSHOT-runner' (executable)... [1/7] Initializing... (10.6s @ 0.42GB) Version info: 'GraalVM 22.2.0 Java 17 CE' Java version info: '17.0.4+8-jvmci-22.2-b06' C compiler: gcc (redhat, x86_64, 8.5.0) Garbage collector: Serial GC 5 user-specific feature(s) - io.quarkus.caffeine.runtime.graal.CacheConstructorsFeature - io.quarkus.runner.Feature: Auto-generated class by Quarkus from the existing extensions - io.quarkus.runtime.graal.DisableLoggingFeature: Disables INFO logging during the analysis phase for the [org.jboss.threads] categories - io.quarkus.runtime.graal.ResourcesFeature: Register each line in META-INF/quarkus-native-resources.txt as a resource on Substrate VM - org.graalvm.home.HomeFinderFeature: Finds GraalVM paths and its version number [2/7] Performing analysis... [*]
[GitHub] [camel-quarkus] ppalaga commented on issue #4134: Instance of Random/SplittableRandom class in CachedSupplier.jitterTime
ppalaga commented on issue #4134: URL: https://github.com/apache/camel-quarkus/issues/4134#issuecomment-1258154602 Indeed, thanks for the pointer. For some reason, I was looking into AwsCommonsProcessor of AWS 1.x camel-quarkus-support-aws-deployment -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-k] squakez commented on pull request #3660: fix(#3657): Use OPERATOR_ID EnvVar consistently
squakez commented on PR #3660: URL: https://github.com/apache/camel-k/pull/3660#issuecomment-1258144709 This test is repeatedly complaining with: ``` --- FAIL: TestNativeIntegrations/automatic_rollout_deployment_from_fast-jar_to_native_kit (1844.79s) ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-k] squakez opened a new pull request, #3674: feat(cli): promote allow Integration update
squakez opened a new pull request, #3674: URL: https://github.com/apache/camel-k/pull/3674 Closes #3673 **Release Note** ```release-note feat(cli): promote allow Integration update ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-spring-boot] branch dependabot/github_actions/peter-evans/create-pull-request-4.1.2 created (now 2e58d30692f)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/github_actions/peter-evans/create-pull-request-4.1.2 in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git at 2e58d30692f Bump peter-evans/create-pull-request from 4.1.1 to 4.1.2 No new revisions were added by this update.
[GitHub] [camel-spring-boot] dependabot[bot] opened a new pull request, #635: Bump peter-evans/create-pull-request from 4.1.1 to 4.1.2
dependabot[bot] opened a new pull request, #635: URL: https://github.com/apache/camel-spring-boot/pull/635 Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 4.1.1 to 4.1.2. Release notes Sourced from https://github.com/peter-evans/create-pull-request/releases;>peter-evans/create-pull-request's releases. Create Pull Request v4.1.2 What's Changed ci: add workflow permissions by https://github.com/peter-evans;>@peter-evans in https://github-redirect.dependabot.com/peter-evans/create-pull-request/pull/1220;>peter-evans/create-pull-request#1220 build(deps): bump @actions/core from 1.6.0 to 1.9.1 by https://github.com/dependabot;>@dependabot in https://github-redirect.dependabot.com/peter-evans/create-pull-request/pull/1219;>peter-evans/create-pull-request#1219 Update distribution by https://github.com/github-actions;>@github-actions in https://github-redirect.dependabot.com/peter-evans/create-pull-request/pull/1229;>peter-evans/create-pull-request#1229 test: update the test execution env by https://github.com/peter-evans;>@peter-evans in https://github-redirect.dependabot.com/peter-evans/create-pull-request/pull/1235;>peter-evans/create-pull-request#1235 fix: improve logging when checking fork by https://github.com/peter-evans;>@peter-evans in https://github-redirect.dependabot.com/peter-evans/create-pull-request/pull/1246;>peter-evans/create-pull-request#1246 Full Changelog: https://github.com/peter-evans/create-pull-request/compare/v4.1.1...v4.1.2;>https://github.com/peter-evans/create-pull-request/compare/v4.1.1...v4.1.2 Commits https://github.com/peter-evans/create-pull-request/commit/171dd555b9ab6b18fa02519fdfacbb8bf671e1b4;>171dd55 fix: improve logging when checking fork (https://github-redirect.dependabot.com/peter-evans/create-pull-request/issues/1246;>#1246) https://github.com/peter-evans/create-pull-request/commit/6e59b075e09f2e99ef15a43a0f1f417c04433cf9;>6e59b07 test: update the test execution env (https://github-redirect.dependabot.com/peter-evans/create-pull-request/issues/1235;>#1235) https://github.com/peter-evans/create-pull-request/commit/9c5916f06d8cd0ce272eacac2221d7b23fa3d9c8;>9c5916f docs: add funding https://github.com/peter-evans/create-pull-request/commit/33434f1c620903527d2189c987163c4218087a7a;>33434f1 build: update distribution (https://github-redirect.dependabot.com/peter-evans/create-pull-request/issues/1229;>#1229) https://github.com/peter-evans/create-pull-request/commit/9ca978d38e0b8ee902836681f954b36726902952;>9ca978d build(deps): bump @actions/core from 1.6.0 to 1.9.1 (https://github-redirect.dependabot.com/peter-evans/create-pull-request/issues/1219;>#1219) https://github.com/peter-evans/create-pull-request/commit/8e154b2a92866d2789cb61f6ddcd908cc651a73f;>8e154b2 ci: add workflow permissions (https://github-redirect.dependabot.com/peter-evans/create-pull-request/issues/1220;>#1220) See full diff in https://github.com/peter-evans/create-pull-request/compare/v4.1.1...v4.1.2;>compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=peter-evans/create-pull-request=github_actions=4.1.1=4.1.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot 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) --
[GitHub] [camel-quarkus] zbendhiba commented on issue #4135: JAXB integration tests failing if locale different from EN
zbendhiba commented on issue #4135: URL: https://github.com/apache/camel-quarkus/issues/4135#issuecomment-1258124993 To reproduce ``` export LANG=fr_FR ``` then do `mvn clean test` of [JAXB integration tests ](https://github.com/apache/camel-quarkus/tree/main/integration-tests/jaxb ) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] zbendhiba opened a new issue, #4135: JAXB integration tests failing if locale different from EN
zbendhiba opened a new issue, #4135: URL: https://github.com/apache/camel-quarkus/issues/4135 Tests fail if locale is different form EN -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] zbendhiba commented on a diff in pull request #3705: Add cloudEvents and knative extensions
zbendhiba commented on code in PR #3705: URL: https://github.com/apache/camel-quarkus/pull/3705#discussion_r980085648 ## integration-tests/knative-producer/pom.xml: ## @@ -0,0 +1,195 @@ + + +http://maven.apache.org/POM/4.0.0; + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd;> +4.0.0 + +org.apache.camel.quarkus +camel-quarkus-build-parent-it +2.13.0-SNAPSHOT +../../poms/build-parent-it/pom.xml + + +camel-quarkus-integration-test-knative-producer +Camel Quarkus :: Integration Tests :: Knative Producer +Integration tests for Camel Quarkus Knative Producer extension + + Review Comment: thanks I'll do -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] zbendhiba commented on a diff in pull request #3705: Add cloudEvents and knative extensions
zbendhiba commented on code in PR #3705: URL: https://github.com/apache/camel-quarkus/pull/3705#discussion_r980085159 ## extensions/knative/deployment/src/main/java/org/apache/camel/quarkus/component/knative/deployment/KnativeProcessor.java: ## @@ -0,0 +1,103 @@ +/* + * 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.knative.deployment; + +import java.util.List; + +import io.quarkus.arc.deployment.UnremovableBeanBuildItem; +import io.quarkus.deployment.annotations.BuildStep; +import io.quarkus.deployment.annotations.ExecutionTime; +import io.quarkus.deployment.annotations.Record; +import io.quarkus.deployment.builditem.FeatureBuildItem; +import io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem; +import io.quarkus.vertx.core.deployment.CoreVertxBuildItem; +import io.quarkus.vertx.http.deployment.VertxWebRouterBuildItem; +import org.apache.camel.component.knative.KnativeComponent; +import org.apache.camel.component.knative.KnativeConstants; +import org.apache.camel.component.knative.spi.KnativeEnvironment; +import org.apache.camel.component.knative.spi.KnativeResource; +import org.apache.camel.quarkus.component.knative.KnativeConsumerRecorder; +import org.apache.camel.quarkus.component.knative.KnativeProducerRecorder; +import org.apache.camel.quarkus.component.knative.KnativeRecorder; +import org.apache.camel.quarkus.core.deployment.spi.CamelRuntimeBeanBuildItem; +import org.apache.camel.quarkus.core.deployment.spi.CamelServiceFilter; +import org.apache.camel.quarkus.core.deployment.spi.CamelServiceFilterBuildItem; +import org.apache.camel.spi.ComponentCustomizer; + +class KnativeProcessor { + +private static final String FEATURE = "camel-knative"; + +@BuildStep +FeatureBuildItem feature() { +return new FeatureBuildItem(FEATURE); +} + +@BuildStep +List unremovableBeans() { +return List.of( +UnremovableBeanBuildItem.beanTypes(KnativeEnvironment.class)); +} + +@BuildStep +List reflectiveClasses() { Review Comment: Okay -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] jamesnetherton commented on issue #4134: Instance of Random/SplittableRandom class in CachedSupplier.jitterTime
jamesnetherton commented on issue #4134: URL: https://github.com/apache/camel-quarkus/issues/4134#issuecomment-1258084282 Didn't we solve this in 2.13.0? https://github.com/apache/camel-quarkus/blob/6543eb915cc42641c43aaf7dc8798c26ed052816/extensions-support/aws2/deployment/src/main/java/org/apache/camel/quarkus/component/aws/commons/deployment/AwsCommonsProcessor.java#L70-L71 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] ppalaga opened a new issue, #4134: Instance of Random/SplittableRandom class in CachedSupplier.jitterTime
ppalaga opened a new issue, #4134: URL: https://github.com/apache/camel-quarkus/issues/4134 Is perhaps triggered by a combination of log component and aws-S3. Steps to reproduce: ``` git clone g...@github.com:ppalaga/camel-quarkus-demo.git cd camel-quarkus-demo git checkout 220926-securerandom-aws mvn clean package -Pnative -Dquarkus.native.container-build=true ... [INFO] [io.quarkus.deployment.pkg.steps.JarResultBuildStep] Building native image source jar: /home/ppalaga/orgs/demos/220927-camel/camel-quarkus-demo/target/code-with-quarkus-1.0.0-SNAPSHOT-native-image-source-jar/code-with-quarkus-1.0.0-SNAPSHOT-runner.jar [INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] Building native image from /home/ppalaga/orgs/demos/220927-camel/camel-quarkus-demo/target/code-with-quarkus-1.0.0-SNAPSHOT-native-image-source-jar/code-with-quarkus-1.0.0-SNAPSHOT-runner.jar [INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildContainerRunner] Using docker to run the native image builder [INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildContainerRunner] Checking image status quay.io/quarkus/ubi-quarkus-native-image:22.2-java17 22.2-java17: Pulling from quarkus/ubi-quarkus-native-image Digest: sha256:ee128914b55187c256de677fe862c7c4335be2a48093606b3aa10ef07235f876 Status: Image is up to date for quay.io/quarkus/ubi-quarkus-native-image:22.2-java17 quay.io/quarkus/ubi-quarkus-native-image:22.2-java17 [INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] Running Quarkus native-image plugin on GraalVM 22.2.0 Java 17 CE (Java Version 17.0.4+8-jvmci-22.2-b06) [INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildRunner] docker run --env LANG=C --rm --user 1000:1000 -v /home/ppalaga/orgs/demos/220927-camel/camel-quarkus-demo/target/code-with-quarkus-1.0.0-SNAPSHOT-native-image-source-jar:/project:z --name build-native-QGBJp quay.io/quarkus/ubi-quarkus-native-image:22.2-java17 -J-Djava.util.logging.manager=org.jboss.logmanager.LogManager -J-Duser.language=en -J-Duser.country=IE -J-Dfile.encoding=UTF-8 --features=io.quarkus.runner.Feature,io.quarkus.runtime.graal.ResourcesFeature,io.quarkus.caffeine.runtime.graal.CacheConstructorsFeature,io.quarkus.runtime.graal.DisableLoggingFeature -J--add-exports=java.security.jgss/sun.security.krb5=ALL-UNNAMED -J--add-opens=java.base/java.text=ALL-UNNAMED -J--add-opens=java.base/java.io=ALL-UNNAMED -J--add-opens=java.base/java.lang.invoke=ALL-UNNAMED -J--add-opens=java.base/java.util=ALL-UNNAMED -H:InitialCollectionPolicy=com.oracle.svm.core.genscavenge.CollectionPolicy\$BySpaceAndTime -H:+AllowFold Methods -J-Djava.awt.headless=true -H:FallbackThreshold=0 --link-at-build-time -H:+ReportExceptionStackTraces -H:-AddAllCharsets -H:EnableURLProtocols=http,https -H:-UseServiceLoaderFeature -H:+StackTrace -H:AdditionalSecurityProviders=com.sun.security.sasl.Provider,org.apache.kafka.common.security.oauthbearer.internals.OAuthBearerSaslClientProvider,org.apache.kafka.common.security.scram.internals.ScramSaslClientProvider -J--add-exports=org.graalvm.sdk/org.graalvm.nativeimage.impl=ALL-UNNAMED -J--add-exports=org.graalvm.nativeimage.builder/com.oracle.svm.core.jdk=ALL-UNNAMED -J--add-exports=org.graalvm.nativeimage.builder/com.oracle.svm.core.jdk.proxy=ALL-UNNAMED -J--add-exports=org.graalvm.nativeimage.builder/com.oracle.svm.core.jdk.localization=ALL-UNNAMED -J--add-exports=org.graalvm.nativeimage.base/com.oracle.svm.util=ALL-UNNAMED code-with-quarkus-1.0.0-SNAPSHOT-runner -jar code-with-quarkus-1.0.0-SNAPSHOT-runner.jar WARNING: Unknown module: org.graalvm.nativeimage.llvm specified to --add-exports WARNING: Unknown module: org.graalvm.nativeimage.llvm specified to --add-exports WARNING: Unknown module: org.graalvm.nativeimage.llvm specified to --add-exports GraalVM Native Image: Generating 'code-with-quarkus-1.0.0-SNAPSHOT-runner' (executable)... [1/7] Initializing... (8.8s @ 0.30GB) Version info: 'GraalVM 22.2.0 Java 17 CE' Java version info: '17.0.4+8-jvmci-22.2-b06' C compiler: gcc (redhat, x86_64, 8.5.0) Garbage collector: Serial GC 5 user-specific feature(s) - io.quarkus.caffeine.runtime.graal.CacheConstructorsFeature - io.quarkus.runner.Feature: Auto-generated class by Quarkus from the existing extensions - io.quarkus.runtime.graal.DisableLoggingFeature: Disables INFO logging during the analysis phase for the [org.jboss.threads] categories - io.quarkus.runtime.graal.ResourcesFeature: Register each line in META-INF/quarkus-native-resources.txt as a resource on Substrate VM
[GitHub] [camel-karavan] davsclaus commented on issue #484: Camel components that are not remote should be illustrated as local only
davsclaus commented on issue #484: URL: https://github.com/apache/camel-karavan/issues/484#issuecomment-1258059116 Here is how it would look like if using XJ as a kamelet instead (action) https://user-images.githubusercontent.com/477100/192291328-289fdd8d-c769-4f7c-a68b-ee755bf0424f.png;> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-karavan] davsclaus commented on issue #484: Camel components that are not remote should be illustrated as local only
davsclaus commented on issue #484: URL: https://github.com/apache/camel-karavan/issues/484#issuecomment-1258057769 The screenshot above is using the XJ component to transform from XML to JSon - this is a local process only, so it would be nice to not have that -> cloud icon. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-karavan] davsclaus opened a new issue, #484: Camel components that are not remote should be illustrated as local only
davsclaus opened a new issue, #484: URL: https://github.com/apache/camel-karavan/issues/484 When using some components that are local, direct/seda and others like message transformers like velocity, xj etc then they are not calling a remote server. But in karavan then the UI shows that there is a "external call" - I wonder if we need to define per component if its a local or remote call, then tooling can know this and illustrate this in the UI accordingly. Some components that can be both, eg file, we woul https://user-images.githubusercontent.com/477100/192290921-48ae1e42-c27f-46d7-bd8b-9f6374146dc5.png;> d assume its remote, eg to store to a "file". -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-kamelets] oscerd closed issue #428: Add supported runtime and platforms to documentation
oscerd closed issue #428: Add supported runtime and platforms to documentation URL: https://github.com/apache/camel-kamelets/issues/428 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-kamelets] davsclaus opened a new issue, #1047: Upgrade to Artemis 2.25.x
davsclaus opened a new issue, #1047: URL: https://github.com/apache/camel-kamelets/issues/1047 mvn:org.apache.activemq:artemis-jms-client-all:2.24.0 should be updated to mvn:org.apache.activemq:artemis-jms-client-all:2.25.0 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-kamelets] davsclaus opened a new issue, #1046: Kamelet - Parameters that are enum based should have a way to define this in the spec
davsclaus opened a new issue, #1046: URL: https://github.com/apache/camel-kamelets/issues/1046 For example the xj-action the `direction` parameter https://github.com/apache/camel-kamelets/blob/main/kamelets/xj-identity-action.kamelet.yaml#L38 Can only be `XML2JSON` or `JSON2XML` but this is only in the description. We should have a way like in regular Camel where we have `enum` that list the possible values. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-kamelets] oscerd closed issue #1042: chuck-norris-kamelet HTTP error code 500
oscerd closed issue #1042: chuck-norris-kamelet HTTP error code 500 URL: https://github.com/apache/camel-kamelets/issues/1042 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-kamelets] oscerd commented on issue #1042: chuck-norris-kamelet HTTP error code 500
oscerd commented on issue #1042: URL: https://github.com/apache/camel-kamelets/issues/1042#issuecomment-1258043296 Fixed with #1043 -- 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
svn commit: r56997 - in /release/camel/camel-quarkus: 2.12.0/ 2.13.0/ 2.13.0/apache-camel-quarkus-2.13.0-src.zip 2.13.0/apache-camel-quarkus-2.13.0-src.zip.asc 2.13.0/apache-camel-quarkus-2.13.0-src.z
Author: zbendhiba Date: Mon Sep 26 13:26:16 2022 New Revision: 56997 Log: Apache Camel Quarkus 2.13.0 released artifacts Added: release/camel/camel-quarkus/2.13.0/ release/camel/camel-quarkus/2.13.0/apache-camel-quarkus-2.13.0-src.zip (with props) release/camel/camel-quarkus/2.13.0/apache-camel-quarkus-2.13.0-src.zip.asc (with props) release/camel/camel-quarkus/2.13.0/apache-camel-quarkus-2.13.0-src.zip.sha512 Removed: release/camel/camel-quarkus/2.12.0/ Added: release/camel/camel-quarkus/2.13.0/apache-camel-quarkus-2.13.0-src.zip == Binary file - no diff available. Propchange: release/camel/camel-quarkus/2.13.0/apache-camel-quarkus-2.13.0-src.zip -- svn:mime-type = application/zip Added: release/camel/camel-quarkus/2.13.0/apache-camel-quarkus-2.13.0-src.zip.asc == Binary file - no diff available. Propchange: release/camel/camel-quarkus/2.13.0/apache-camel-quarkus-2.13.0-src.zip.asc -- svn:mime-type = application/pgp-signature Added: release/camel/camel-quarkus/2.13.0/apache-camel-quarkus-2.13.0-src.zip.sha512 == --- release/camel/camel-quarkus/2.13.0/apache-camel-quarkus-2.13.0-src.zip.sha512 (added) +++ release/camel/camel-quarkus/2.13.0/apache-camel-quarkus-2.13.0-src.zip.sha512 Mon Sep 26 13:26:16 2022 @@ -0,0 +1 @@ +5982132380bf9d5d94bcb51398939524bd6cdd85b0d7a71e279ac7fbdeeccff9db1c59ef12fd974104de14346efdc09abdb94e311a987dd2ea35f28fe1a3da36 apache-camel-quarkus-2.13.0-src.zip
[GitHub] [camel-kamelets] davsclaus opened a new pull request, #1045: Remove Kamelet from name as we do not use that, so its just XXX Sink …
davsclaus opened a new pull request, #1045: URL: https://github.com/apache/camel-kamelets/pull/1045 …/ XXX Source -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-kamelets] 01/01: Remove Kamelet from name as we do not use that, so its just XXX Sink / XXX Source
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch art in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git commit 913c9faf3b2e61b8e2a50bf8f44851b7ac25289a Author: Claus Ibsen AuthorDate: Mon Sep 26 15:24:32 2022 +0200 Remove Kamelet from name as we do not use that, so its just XXX Sink / XXX Source --- kamelets/jms-amqp-10-sink.kamelet.yaml | 2 +- kamelets/jms-amqp-10-source.kamelet.yaml| 2 +- kamelets/jms-apache-activemq-sink.kamelet.yaml | 2 +- kamelets/jms-apache-activemq-source.kamelet.yaml| 2 +- kamelets/jms-apache-artemis-sink.kamelet.yaml | 2 +- kamelets/jms-apache-artemis-source.kamelet.yaml | 2 +- kamelets/jms-ibm-mq-sink.kamelet.yaml | 2 +- kamelets/jms-ibm-mq-source.kamelet.yaml | 2 +- .../src/main/resources/kamelets/jms-amqp-10-sink.kamelet.yaml | 2 +- .../src/main/resources/kamelets/jms-amqp-10-source.kamelet.yaml | 2 +- .../src/main/resources/kamelets/jms-apache-activemq-sink.kamelet.yaml | 2 +- .../src/main/resources/kamelets/jms-apache-activemq-source.kamelet.yaml | 2 +- .../src/main/resources/kamelets/jms-apache-artemis-sink.kamelet.yaml| 2 +- .../src/main/resources/kamelets/jms-apache-artemis-source.kamelet.yaml | 2 +- .../src/main/resources/kamelets/jms-ibm-mq-sink.kamelet.yaml| 2 +- .../src/main/resources/kamelets/jms-ibm-mq-source.kamelet.yaml | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/kamelets/jms-amqp-10-sink.kamelet.yaml b/kamelets/jms-amqp-10-sink.kamelet.yaml index c40b7176..04276e05 100644 --- a/kamelets/jms-amqp-10-sink.kamelet.yaml +++ b/kamelets/jms-amqp-10-sink.kamelet.yaml @@ -29,7 +29,7 @@ metadata: camel.apache.org/requires.runtime: camel-k spec: definition: -title: "JMS - AMQP 1.0 Kamelet Sink" +title: "JMS - AMQP 1.0 Sink" description: "Send data to any AMQP 1.0 compliant message broker by using the Apache Qpid JMS client." required: - destinationName diff --git a/kamelets/jms-amqp-10-source.kamelet.yaml b/kamelets/jms-amqp-10-source.kamelet.yaml index 4fd7e46d..fe929a02 100644 --- a/kamelets/jms-amqp-10-source.kamelet.yaml +++ b/kamelets/jms-amqp-10-source.kamelet.yaml @@ -29,7 +29,7 @@ metadata: camel.apache.org/requires.runtime: camel-k spec: definition: -title: "JMS - AMQP 1.0 Kamelet Source" +title: "JMS - AMQP 1.0 Source" description: "Consume data from any AMQP 1.0 compliant message broker by using the Apache Qpid JMS client." required: - destinationName diff --git a/kamelets/jms-apache-activemq-sink.kamelet.yaml b/kamelets/jms-apache-activemq-sink.kamelet.yaml index 9751a3fb..ad4e3e9d 100644 --- a/kamelets/jms-apache-activemq-sink.kamelet.yaml +++ b/kamelets/jms-apache-activemq-sink.kamelet.yaml @@ -29,7 +29,7 @@ metadata: camel.apache.org/requires.runtime: camel-k spec: definition: -title: "JMS - Apache ActiveMQ Classic Kamelet Sink" +title: "JMS - Apache ActiveMQ Classic Sink" description: "A Kamelet that can produce events to an Apache ActiveMQ Classic message broker using JMS" required: - destinationName diff --git a/kamelets/jms-apache-activemq-source.kamelet.yaml b/kamelets/jms-apache-activemq-source.kamelet.yaml index 334adf2f..b2ea5174 100644 --- a/kamelets/jms-apache-activemq-source.kamelet.yaml +++ b/kamelets/jms-apache-activemq-source.kamelet.yaml @@ -29,7 +29,7 @@ metadata: camel.apache.org/requires.runtime: camel-k spec: definition: -title: "JMS - Apache ActiveMQ Classic Kamelet Source" +title: "JMS - Apache ActiveMQ Classic Source" description: "A Kamelet that can consume events from an Apache ActiveMQ Classic message broker using JMS" required: - destinationName diff --git a/kamelets/jms-apache-artemis-sink.kamelet.yaml b/kamelets/jms-apache-artemis-sink.kamelet.yaml index 07c37083..12e55f3b 100644 --- a/kamelets/jms-apache-artemis-sink.kamelet.yaml +++ b/kamelets/jms-apache-artemis-sink.kamelet.yaml @@ -29,7 +29,7 @@ metadata: camel.apache.org/requires.runtime: camel-k spec: definition: -title: "JMS - Apache Artemis Kamelet Sink" +title: "JMS - Apache Artemis Sink" description: "Send data to an Apache Artemis message broker by using JMS." required: - destinationName diff --git a/kamelets/jms-apache-artemis-source.kamelet.yaml b/kamelets/jms-apache-artemis-source.kamelet.yaml index 48ce4de5..4865feb6 100644 --- a/kamelets/jms-apache-artemis-source.kamelet.yaml +++ b/kamelets/jms-apache-artemis-source.kamelet.yaml @@ -29,7 +29,7 @@ metadata: camel.apache.org/requires.runtime: camel-k spec: definition: -title: "JMS - Apache Artemis Kamelet Source" +title: "JMS -
[camel-kamelets] branch art created (now 913c9faf)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch art in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git at 913c9faf Remove Kamelet from name as we do not use that, so its just XXX Sink / XXX Source This branch includes the following new commits: new 913c9faf Remove Kamelet from name as we do not use that, so its just XXX Sink / XXX Source 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-karavan] branch main updated: Basic JMS to Kafka demo.
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-karavan.git The following commit(s) were added to refs/heads/main by this push: new 0266ff0 Basic JMS to Kafka demo. 0266ff0 is described below commit 0266ff0826a428d603a2bbd88a0c9af4362605b8 Author: Claus Ibsen AuthorDate: Mon Sep 26 15:19:09 2022 +0200 Basic JMS to Kafka demo. --- karavan-demo/jms-to-kafka/docs/README.md | 2 +- karavan-demo/jms-to-kafka/docs/payment.png | Bin 0 -> 366631 bytes 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/karavan-demo/jms-to-kafka/docs/README.md b/karavan-demo/jms-to-kafka/docs/README.md index e3de1e8..ec743b3 100644 --- a/karavan-demo/jms-to-kafka/docs/README.md +++ b/karavan-demo/jms-to-kafka/docs/README.md @@ -1,6 +1,6 @@ # Demo: JMS to Kafka -![Demo](jms2kafka.png) +![Demo](payment.png) ## Localhost ### Prerequisites diff --git a/karavan-demo/jms-to-kafka/docs/payment.png b/karavan-demo/jms-to-kafka/docs/payment.png new file mode 100644 index 000..9087241 Binary files /dev/null and b/karavan-demo/jms-to-kafka/docs/payment.png differ
[camel-karavan] branch main updated: Basic JMS to Kafka demo.
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-karavan.git The following commit(s) were added to refs/heads/main by this push: new 8b5e699 Basic JMS to Kafka demo. 8b5e699 is described below commit 8b5e6999a99d6730849401e90defa0cdb06a5d93 Author: Claus Ibsen AuthorDate: Mon Sep 26 15:17:14 2022 +0200 Basic JMS to Kafka demo. --- karavan-demo/jms-to-kafka/docs/README.md | 16 +++- .../project/{jms2kafka.yaml => payment.yaml} | 4 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/karavan-demo/jms-to-kafka/docs/README.md b/karavan-demo/jms-to-kafka/docs/README.md index 159d8c4..e3de1e8 100644 --- a/karavan-demo/jms-to-kafka/docs/README.md +++ b/karavan-demo/jms-to-kafka/docs/README.md @@ -29,7 +29,7 @@ docker-compose up jbang -Dcamel.jbang.version=3.18.2 camel@apache/camel run * ``` -### Publish payment +### Publish payment to JMS Open AMQ7 Broker Management [Console](http://localhost:8161) @@ -42,3 +42,17 @@ Send message to `payments` queue confirmed ``` + +### Browse payments from Kafka + +The [kcat](https://github.com/edenhill/kcat) tool can be used to browse messages in Kafka: + +``` +kcat -b localhost -t payments +``` + +Which should output the payment that has been transformed to JSon. + +``` +{"id":"1","amount":"777","status":"confirmed"} +``` diff --git a/karavan-demo/jms-to-kafka/project/jms2kafka.yaml b/karavan-demo/jms-to-kafka/project/payment.yaml similarity index 76% rename from karavan-demo/jms-to-kafka/project/jms2kafka.yaml rename to karavan-demo/jms-to-kafka/project/payment.yaml index c43eebc..3c633b2 100644 --- a/karavan-demo/jms-to-kafka/project/jms2kafka.yaml +++ b/karavan-demo/jms-to-kafka/project/payment.yaml @@ -2,6 +2,10 @@ from: uri: kamelet:jms-apache-artemis-source steps: +- to: +uri: kamelet:xj-identity-action +parameters: + direction: XML2JSON - to: uri: kamelet:kafka-not-secured-sink parameters:
[camel] branch regen_bot updated (a48672d1208 -> 5786b50efde)
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 a48672d1208 Sync deps add fa053eccf5b camel-stream producer should be async so its not bridged in routing engine. add 704f18fe93a camel-jbang - enable a bunch of other stuff that gives more details for developers add 88ef367cfc7 camel-jbang - enable a bunch of other stuff that gives more details for developers add 5786b50efde Upgrade guide No new revisions were added by this update. Summary of changes: .../camel/component/stream/StreamProducer.java | 30 ++ .../ROOT/pages/camel-3x-upgrade-guide-3_19.adoc| 4 +++ .../java/org/apache/camel/main/KameletMain.java| 11 +--- 3 files changed, 31 insertions(+), 14 deletions(-)
[camel] branch regen_bot_3.14.x updated (14614487acb -> 483282a9474)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot_3.14.x in repository https://gitbox.apache.org/repos/asf/camel.git from 14614487acb CAMEL-18544: camel-http - ToD optimized context-path with spaces problem add 483282a9474 CAMEL-17748: Apache Any23 2.7, 2.6 or 2.5 does not compile with JDK8. Going back to 2.4 No new revisions were added by this update. Summary of changes: camel-dependencies/pom.xml | 2 +- parent/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
[camel] branch main updated: Upgrade guide
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 5786b50efde Upgrade guide 5786b50efde is described below commit 5786b50efde335df9f48ce29e0e0c65d53c1fa61 Author: Claus Ibsen AuthorDate: Mon Sep 26 14:06:44 2022 +0200 Upgrade guide --- docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_19.adoc | 4 1 file changed, 4 insertions(+) diff --git a/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_19.adoc b/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_19.adoc index d5d692be3a8..90a14b93ca3 100644 --- a/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_19.adoc +++ b/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_19.adoc @@ -12,6 +12,10 @@ Added `addClassLoader` method to `org.apache.camel.spi.ClassResolver`. The default TLS protocol is changed from `TLSv1.2` to `TLSv1.3` in Camel JSSE support. +=== camel-main + +The option `camel.main.eager-classloading` has been removed. + === camel-ftp The default TLS protocol is changed from `TLSv1.2` to `TLSv1.3`.
[GitHub] [camel-quarkus] aldettinger commented on pull request #4133: Improve test coverage for scheduler component.
aldettinger commented on PR #4133: URL: https://github.com/apache/camel-quarkus/pull/4133#issuecomment-1257931096 That's great start @svkcemk , keep up the good work. Also note that CI issues might not be related to this 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-kamelets] branch 0.9.x updated: Fix chuck-norris kamelet to use a new online service that works.
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch 0.9.x in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git The following commit(s) were added to refs/heads/0.9.x by this push: new 43824f54 Fix chuck-norris kamelet to use a new online service that works. 43824f54 is described below commit 43824f542dc4b7bf7fbf13c61295b3c3fb5adcbc Author: Claus Ibsen AuthorDate: Mon Sep 26 12:09:08 2022 +0200 Fix chuck-norris kamelet to use a new online service that works. --- kamelets/chuck-norris-source.kamelet.yaml | 4 ++-- .../src/main/resources/kamelets/chuck-norris-source.kamelet.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/kamelets/chuck-norris-source.kamelet.yaml b/kamelets/chuck-norris-source.kamelet.yaml index 1ad77989..628b7cf4 100644 --- a/kamelets/chuck-norris-source.kamelet.yaml +++ b/kamelets/chuck-norris-source.kamelet.yaml @@ -52,7 +52,7 @@ spec: parameters: period: "{{period}}" steps: -- to: "http://api.icndb.com/jokes/random?exclude=[explicit]; +- to: "https://api.chucknorris.io/jokes/random; - set-body: -jsonpath: "$.value.joke" +jsonpath: "$.value" - to: "kamelet:sink" diff --git a/library/camel-kamelets/src/main/resources/kamelets/chuck-norris-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/chuck-norris-source.kamelet.yaml index 1ad77989..628b7cf4 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/chuck-norris-source.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/chuck-norris-source.kamelet.yaml @@ -52,7 +52,7 @@ spec: parameters: period: "{{period}}" steps: -- to: "http://api.icndb.com/jokes/random?exclude=[explicit]; +- to: "https://api.chucknorris.io/jokes/random; - set-body: -jsonpath: "$.value.joke" +jsonpath: "$.value" - to: "kamelet:sink"
[GitHub] [camel-kamelets] oscerd merged pull request #1044: [Backport 0.9.x] Fix chuck-norris kamelet to use a new online service that works.
oscerd merged PR #1044: URL: https://github.com/apache/camel-kamelets/pull/1044 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-kamelets] branch backport-1043-to-0.9.x created (now d6241890)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch backport-1043-to-0.9.x in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git at d6241890 Fix chuck-norris kamelet to use a new online service that works. No new revisions were added by this update.
[GitHub] [camel-kamelets] github-actions[bot] opened a new pull request, #1044: [Backport 0.9.x] Fix chuck-norris kamelet to use a new online service that works.
github-actions[bot] opened a new pull request, #1044: URL: https://github.com/apache/camel-kamelets/pull/1044 Backport 87568cc61ca371424def90654d288081846c384f from #1043 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-kamelets] branch regen_bot updated (daabe8f4 -> 87568cc6)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git from daabe8f4 Azure Eventhubs Sink - partition parameter add 87568cc6 Fix chuck-norris kamelet to use a new online service that works. No new revisions were added by this update. Summary of changes: kamelets/chuck-norris-source.kamelet.yaml | 4 ++-- .../src/main/resources/kamelets/chuck-norris-source.kamelet.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
[camel] branch camel-3.14.x updated: CAMEL-17748: Apache Any23 2.7, 2.6 or 2.5 does not compile with JDK8. Going back to 2.4
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-3.14.x in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/camel-3.14.x by this push: new 483282a9474 CAMEL-17748: Apache Any23 2.7, 2.6 or 2.5 does not compile with JDK8. Going back to 2.4 483282a9474 is described below commit 483282a94740deb5ab8638cdfedc8ea37a06bbfd Author: Claus Ibsen AuthorDate: Mon Sep 26 13:58:26 2022 +0200 CAMEL-17748: Apache Any23 2.7, 2.6 or 2.5 does not compile with JDK8. Going back to 2.4 --- camel-dependencies/pom.xml | 2 +- parent/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/camel-dependencies/pom.xml b/camel-dependencies/pom.xml index 9e79d06981e..fc9f627c584 100644 --- a/camel-dependencies/pom.xml +++ b/camel-dependencies/pom.xml @@ -36,7 +36,7 @@ 2.19.0 5.16.5 2.12.3 -2.7 +2.4 1.19.0 0.9 2.0.0.AM26 diff --git a/parent/pom.xml b/parent/pom.xml index 16b3464738e..3b0727b906e 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -53,7 +53,7 @@ 2.19.0 2.12.3 2.0.0.AM26 -2.7 +2.4 1.19.0 0.9 6.14.0
[GitHub] [camel-quarkus] aldettinger commented on a diff in pull request #4133: Improve test coverage for scheduler component.
aldettinger commented on code in PR #4133: URL: https://github.com/apache/camel-quarkus/pull/4133#discussion_r979915835 ## integration-test-groups/foundation/scheduler/src/main/java/org/apache/camel/quarkus/component/scheduler/it/GreedyCounter.java: ## @@ -0,0 +1,34 @@ +/* + * 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.scheduler.it; + +import javax.enterprise.context.ApplicationScoped; +import javax.inject.Named; + +@ApplicationScoped +@Named("greedyCounter") +public class GreedyCounter { +private int count = 0; + +public int getCount() { +return count; +} + +public void increment() { +count++; +} Review Comment: And maybe the proposal is even to produce one `AtomicInteger` named `greedyCounter` and a second one named `mycounter` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] JiriOndrusek commented on pull request #4099: Deprecated parameters in several annotations are ignored - inconsisten
JiriOndrusek commented on PR #4099: URL: https://github.com/apache/camel-quarkus/pull/4099#issuecomment-1257920194 PR is changed to throw an IllegalArgumentException with appropriate message + tests covering these use cases are added as well. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-kamelets] oscerd merged pull request #1043: Fix chuck-norris kamelet to use a new online service that works.
oscerd merged PR #1043: URL: https://github.com/apache/camel-kamelets/pull/1043 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-kamelets] branch main updated: Fix chuck-norris kamelet to use a new online service that works.
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git The following commit(s) were added to refs/heads/main by this push: new 87568cc6 Fix chuck-norris kamelet to use a new online service that works. 87568cc6 is described below commit 87568cc61ca371424def90654d288081846c384f Author: Claus Ibsen AuthorDate: Mon Sep 26 12:09:08 2022 +0200 Fix chuck-norris kamelet to use a new online service that works. --- kamelets/chuck-norris-source.kamelet.yaml | 4 ++-- .../src/main/resources/kamelets/chuck-norris-source.kamelet.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/kamelets/chuck-norris-source.kamelet.yaml b/kamelets/chuck-norris-source.kamelet.yaml index 0c60296d..961a950f 100644 --- a/kamelets/chuck-norris-source.kamelet.yaml +++ b/kamelets/chuck-norris-source.kamelet.yaml @@ -52,7 +52,7 @@ spec: parameters: period: "{{period}}" steps: -- to: "http://api.icndb.com/jokes/random?exclude=[explicit]; +- to: "https://api.chucknorris.io/jokes/random; - set-body: -jsonpath: "$.value.joke" +jsonpath: "$.value" - to: "kamelet:sink" diff --git a/library/camel-kamelets/src/main/resources/kamelets/chuck-norris-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/chuck-norris-source.kamelet.yaml index 0c60296d..961a950f 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/chuck-norris-source.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/chuck-norris-source.kamelet.yaml @@ -52,7 +52,7 @@ spec: parameters: period: "{{period}}" steps: -- to: "http://api.icndb.com/jokes/random?exclude=[explicit]; +- to: "https://api.chucknorris.io/jokes/random; - set-body: -jsonpath: "$.value.joke" +jsonpath: "$.value" - to: "kamelet:sink"
[GitHub] [camel-quarkus] aldettinger commented on pull request #4133: Improve test coverage for scheduler component.
aldettinger commented on PR #4133: URL: https://github.com/apache/camel-quarkus/pull/4133#issuecomment-1257913616 The Camel quarkus documentation is talking about [forcing scheduler to be idle](https://camel.apache.org/components/3.18.x/scheduler-component.html#_forcing_the_scheduler_to_be_idle). Would it make sense to test this one ? Maybe that's another 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
[GitHub] [camel-quarkus] llowinge commented on pull request #4099: Deprecated parameters in several annotations are ignored - inconsisten
llowinge commented on PR #4099: URL: https://github.com/apache/camel-quarkus/pull/4099#issuecomment-1257864456 @JiriOndrusek I agree with @ppalaga. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] JiriOndrusek commented on pull request #4099: Deprecated parameters in several annotations are ignored - inconsisten
JiriOndrusek commented on PR #4099: URL: https://github.com/apache/camel-quarkus/pull/4099#issuecomment-1257861608 I agree with that approach and will change the PR accordingly. @llowinge Do you agree? -- 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 (fa053eccf5b -> a48672d1208)
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 fa053eccf5b camel-stream producer should be async so its not bridged in routing engine. This update removed existing revisions from the reference, leaving the reference pointing at a previous point in the repository history. * -- * -- N refs/heads/regen_bot (a48672d1208) \ O -- O -- O (fa053eccf5b) Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. No new revisions were added by this update. Summary of changes: .../camel/component/stream/StreamProducer.java | 30 -- 1 file changed, 11 insertions(+), 19 deletions(-)