[GitHub] [camel] github-actions[bot] commented on pull request #8622: CAMEL-18649 + minor fix for CAMEL-14148

2022-10-25 Thread GitBox


github-actions[bot] commented on PR #8622:
URL: https://github.com/apache/camel/pull/8622#issuecomment-1291539655

   ### Components tested:
   
   | Total | Tested | Failed :x: | Passed :white_check_mark: | 
   | --- | --- | --- |  --- |
   | 2 | 2 | 1 | 2 |


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel] github-actions[bot] commented on pull request #8621: (chores) camel-aws2-secrets-manager: fix/disable flaky test on Github

2022-10-25 Thread GitBox


github-actions[bot] commented on PR #8621:
URL: https://github.com/apache/camel/pull/8621#issuecomment-1291533133

   ### Components tested:
   
   | Total | Tested | Failed :x: | Passed :white_check_mark: | 
   | --- | --- | --- |  --- |
   | 1 | 1 | 1 | 0 |


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-k] tadayosi commented on pull request #3764: feat(ci): latest runtime snapshot available

2022-10-25 Thread GitBox


tadayosi commented on PR #3764:
URL: https://github.com/apache/camel-k/pull/3764#issuecomment-1291532961

   I can replicate it locally:
   ```
   $ ./kamel local build e2e/local/files/yaml.yaml --integration-directory test
   Error: failed to compute transitive dependencies: failure while building 
project: exit status 1
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-k] tadayosi commented on pull request #3764: feat(ci): latest runtime snapshot available

2022-10-25 Thread GitBox


tadayosi commented on PR #3764:
URL: https://github.com/apache/camel-k/pull/3764#issuecomment-1291500424

   @squakez Looking at the error output, they are failing because they cannot 
execute a local Maven project to calculate dependencies. It appears there are 
some problems in downloading and resolving dependencies with a snapshot runtime.
   ```
   Error: failed to compute transitive dependencies: failure while building 
project: exit status 1
   ```
   You should be able to replicate the issue locally by `kamel local run` with 
a snapshot runtime.


-- 
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 issue #3364: Add E2E workflow using Windows runner for testing Camel K CLI client and local run

2022-10-25 Thread GitBox


tadayosi commented on issue #3364:
URL: https://github.com/apache/camel-k/issues/3364#issuecomment-1291496876

   One idea might be just run workflows that don't require a Kind cluster, such 
as `build` and `local-it` for the time being.


-- 
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 opened a new issue, #3777: E2E - Isolate native tests into a dedicated workflow and put each test with a separate job in the workflow

2022-10-25 Thread GitBox


tadayosi opened a new issue, #3777:
URL: https://github.com/apache/camel-k/issues/3777

   https://github.com/apache/camel-k/issues/3774#issuecomment-1291483813_
   
   > I think that kind of timeout starts becoming a problem. 2 hours seems to 
be too long. At least we should try to have the native tests starting before 
everything else, so, the rest of checks will progress in parallel to this long 
running one.
   
   With my last commit the native tests `native-it` is already isolated from 
the rest of `install-it`, so they should run in parallel from the start and 
should not interfere with each other.
   
   Note that 2 hours is the maximum cap of timeouts. When successful they 
shouldn't take the full 2 hours but the actual time they need to finish (right 
now it's ~1h20m). That said, as I explained at 
https://github.com/apache/camel-k/issues/3715#issuecomment-1267922006, this is 
what it means to run Quarkus native build tests on GitHub-hosted runners. 
   
   Right now, each native build test requires ~40 mins for a successful run and 
we already have 2 test cases, so it should take at least 80 mins. If we want to 
add more native tests the time will grow linearly. If we are not happy with it, 
either we should abandon the native tests from CI, or isolate the native tests 
into a dedicated workflow and put and run each test case with a separate job in 
the workflow. (The latter might be something we can consider in the future.)
 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-k] tadayosi opened a new pull request, #3776: fix(e2e): increase build timeout for native build tests: 40m -> 60m

2022-10-25 Thread GitBox


tadayosi opened a new pull request, #3776:
URL: https://github.com/apache/camel-k/pull/3776

   
   
   Fix #3773. This should also fix the `native-it` failures with pull req #3764.
   
   
   
   
   **Release Note**
   ```release-note
   NONE
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-k] tadayosi commented on issue #3773: E2E - No longer able to run native build tests with Quarkus 2.13.0 (Camel Catalog 1.15.x)

2022-10-25 Thread GitBox


tadayosi commented on issue #3773:
URL: https://github.com/apache/camel-k/issues/3773#issuecomment-1291488809

   Yes, I am aware of #3764. The exact reason why #3764 is failing at 
`native-it` is because of this issue.
   
   And again, a simple fix of increasing timeout (40min -> 60min this time) 
seems to work #3774. I'll port #3774 to `main` 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-k] tadayosi commented on pull request #3774: fix(e2e): increase build timeout for native build tests: 40m -> 60m

2022-10-25 Thread GitBox


tadayosi commented on PR #3774:
URL: https://github.com/apache/camel-k/pull/3774#issuecomment-1291483813

   > I think that kind of timeout starts becoming a problem. 2 hours seems to 
be too long. At least we should try to have the native tests starting before 
everything else, so, the rest of checks will progress in parallel to this long 
running one.
   
   With my last commit the native tests `native-it` is already isolated from 
the rest of `install-it`, so they should run in parallel from the start and 
should not interfere with each other.
   
   Note that 2 hours is the maximum cap of timeouts. When successful they 
shouldn't take the full 2 hours but the actual time they need to finish (right 
now it's ~1h20m). That said, as I explained at 
https://github.com/apache/camel-k/issues/3715#issuecomment-1267922006, this is 
what it means to run Quarkus native build tests on GitHub-hosted runners. 
   
   Right now, each native build test requires ~40 mins for a successful run and 
we already have 2 test cases, so it should take at least 80 mins. If we want to 
add more native tests the time will grow linearly. If we are not happy with it, 
either we should abandon the native tests from CI, or isolate the native tests 
into a dedicated workflow and put and run each test case with a separate job in 
the workflow. (The latter might be something we can consider in the future.)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-quarkus] github-actions[bot] commented on issue #2926: [CI] - Quarkus Main Branch Build Failure

2022-10-25 Thread GitBox


github-actions[bot] commented on issue #2926:
URL: https://github.com/apache/camel-quarkus/issues/2926#issuecomment-1291464085

   The 
[quarkus-main](https://github.com/apache/camel-quarkus/tree/quarkus-main) 
branch build has failed:
   
   * Build ID: 3325809726-916-7c1a4d41-5a56-4743-a13a-a0aef81abfa2
   * Camel Quarkus Commit: 721763b7d39bcb3c3793e2abe9ae5b5cbe1029ce
   
   * Quarkus Main Commit: c6d14014193ff39d495e68b1fe4b3c83576e55e7
   * Link to build: 
https://github.com/apache/camel-quarkus/actions/runs/3325809726


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel-k] branch main updated: Updated CHANGELOG.md

2022-10-25 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git


The following commit(s) were added to refs/heads/main by this push:
 new 68789f213 Updated CHANGELOG.md
68789f213 is described below

commit 68789f2139888e78f9c71bd2754a261a243d1a28
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Oct 26 03:47:03 2022 +

Updated CHANGELOG.md
---
 CHANGELOG.md | 93 +---
 1 file changed, 51 insertions(+), 42 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index e3dc4edb2..9f5e48e02 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,8 +1,17 @@
 # Changelog
 
+## [1.10.3-nightly](https://github.com/apache/camel-k/tree/1.10.3-nightly) 
(2022-10-25)
+
+[Full 
Changelog](https://github.com/apache/camel-k/compare/1.10.2...1.10.3-nightly)
+
+**Merged pull requests:**
+
+- fix\(ci\): add cluster type for nightly releases 
[\#3768](https://github.com/apache/camel-k/pull/3768) 
([squakez](https://github.com/squakez))
+- chore: update LAST\_RELEASED\_VERSION to 1.10.2 
[\#3767](https://github.com/apache/camel-k/pull/3767) 
([tadayosi](https://github.com/tadayosi))
+
 ## [1.10.2](https://github.com/apache/camel-k/tree/1.10.2) (2022-10-22)
 
-[Full 
Changelog](https://github.com/apache/camel-k/compare/pkg/kamelet/repository/v1.10.2...1.10.2)
+[Full Changelog](https://github.com/apache/camel-k/compare/v1.10.2...1.10.2)
 
 **Closed issues:**
 
@@ -22,21 +31,21 @@
 - chore\(deps\): bump github.com/onsi/gomega from 1.21.1 to 1.22.1 
[\#3741](https://github.com/apache/camel-k/pull/3741) 
([dependabot[bot]](https://github.com/apps/dependabot))
 - Minor updates for bundle generation 
[\#3423](https://github.com/apache/camel-k/pull/3423) 
([phantomjinx](https://github.com/phantomjinx))
 
-## 
[pkg/kamelet/repository/v1.10.2](https://github.com/apache/camel-k/tree/pkg/kamelet/repository/v1.10.2)
 (2022-10-18)
+## [v1.10.2](https://github.com/apache/camel-k/tree/v1.10.2) (2022-10-18)
 
-[Full 
Changelog](https://github.com/apache/camel-k/compare/pkg/client/camel/v1.10.2...pkg/kamelet/repository/v1.10.2)
+[Full 
Changelog](https://github.com/apache/camel-k/compare/pkg/apis/camel/v1.10.2...v1.10.2)
 
-## 
[pkg/client/camel/v1.10.2](https://github.com/apache/camel-k/tree/pkg/client/camel/v1.10.2)
 (2022-10-18)
+## 
[pkg/apis/camel/v1.10.2](https://github.com/apache/camel-k/tree/pkg/apis/camel/v1.10.2)
 (2022-10-18)
 
-[Full 
Changelog](https://github.com/apache/camel-k/compare/v1.10.2...pkg/client/camel/v1.10.2)
+[Full 
Changelog](https://github.com/apache/camel-k/compare/pkg/kamelet/repository/v1.10.2...pkg/apis/camel/v1.10.2)
 
-## [v1.10.2](https://github.com/apache/camel-k/tree/v1.10.2) (2022-10-18)
+## 
[pkg/kamelet/repository/v1.10.2](https://github.com/apache/camel-k/tree/pkg/kamelet/repository/v1.10.2)
 (2022-10-18)
 
-[Full 
Changelog](https://github.com/apache/camel-k/compare/pkg/apis/camel/v1.10.2...v1.10.2)
+[Full 
Changelog](https://github.com/apache/camel-k/compare/pkg/client/camel/v1.10.2...pkg/kamelet/repository/v1.10.2)
 
-## 
[pkg/apis/camel/v1.10.2](https://github.com/apache/camel-k/tree/pkg/apis/camel/v1.10.2)
 (2022-10-18)
+## 
[pkg/client/camel/v1.10.2](https://github.com/apache/camel-k/tree/pkg/client/camel/v1.10.2)
 (2022-10-18)
 
-[Full 
Changelog](https://github.com/apache/camel-k/compare/1.10.2-nightly...pkg/apis/camel/v1.10.2)
+[Full 
Changelog](https://github.com/apache/camel-k/compare/1.10.2-nightly...pkg/client/camel/v1.10.2)
 
 **Closed issues:**
 
@@ -259,15 +268,15 @@
 
 ## 
[pkg/kamelet/repository/v1.10.0](https://github.com/apache/camel-k/tree/pkg/kamelet/repository/v1.10.0)
 (2022-08-31)
 
-[Full 
Changelog](https://github.com/apache/camel-k/compare/v1.10.0...pkg/kamelet/repository/v1.10.0)
+[Full 
Changelog](https://github.com/apache/camel-k/compare/pkg/apis/camel/v1.10.0...pkg/kamelet/repository/v1.10.0)
 
-## [v1.10.0](https://github.com/apache/camel-k/tree/v1.10.0) (2022-08-31)
+## 
[pkg/apis/camel/v1.10.0](https://github.com/apache/camel-k/tree/pkg/apis/camel/v1.10.0)
 (2022-08-31)
 
-[Full 
Changelog](https://github.com/apache/camel-k/compare/pkg/apis/camel/v1.10.0...v1.10.0)
+[Full 
Changelog](https://github.com/apache/camel-k/compare/v1.10.0...pkg/apis/camel/v1.10.0)
 
-## 
[pkg/apis/camel/v1.10.0](https://github.com/apache/camel-k/tree/pkg/apis/camel/v1.10.0)
 (2022-08-31)
+## [v1.10.0](https://github.com/apache/camel-k/tree/v1.10.0) (2022-08-31)
 
-[Full 
Changelog](https://github.com/apache/camel-k/compare/1.8.3-nightly...pkg/apis/camel/v1.10.0)
+[Full 
Changelog](https://github.com/apache/camel-k/compare/1.8.3-nightly...v1.10.0)
 
 **Closed issues:**
 
@@ -557,15 +566,15 @@
 
 ## 
[pkg/client/camel/v1.9.2](https://github.com/apache/camel-k/tree/pkg/client/camel/v1.9.2)
 (2022-05-17)
 
-[Full 

[camel-quarkus] branch main updated: Updated CHANGELOG.md

2022-10-25 Thread github-bot
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 43cc6eacaf Updated CHANGELOG.md
43cc6eacaf is described below

commit 43cc6eacaf8a31294affda29d1bc92269ae6f3d5
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Oct 26 03:46:26 2022 +

Updated CHANGELOG.md
---
 CHANGELOG.md | 4 
 1 file changed, 4 insertions(+)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 215073472b..ded3a78b01 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -15,6 +15,7 @@
 
 **Closed issues:**
 
+- Create test coverage for CXF SOAP MTOM 
[\#4203](https://github.com/apache/camel-quarkus/issues/4203)
 - Can't authenticate using quarkus elasticsearch-rest 
[\#4194](https://github.com/apache/camel-quarkus/issues/4194)
 - Use official `com.azure:azure-core-http-vertx:1.0.0-beta.1` in Azure 
extensions [\#4180](https://github.com/apache/camel-quarkus/issues/4180)
 - Cxf-soap tests: Refactor and split 
[\#4171](https://github.com/apache/camel-quarkus/issues/4171)
@@ -33,6 +34,9 @@
 
 **Merged pull requests:**
 
+- Split mtom tests [\#4210](https://github.com/apache/camel-quarkus/pull/4210) 
([llowinge](https://github.com/llowinge))
+- Move all Debezium itest deployment dependencies to virtualDependencies 
profile [\#4209](https://github.com/apache/camel-quarkus/pull/4209) 
([jamesnetherton](https://github.com/jamesnetherton))
+- More CXF tests and cleanup 
[\#4207](https://github.com/apache/camel-quarkus/pull/4207) 
([ppalaga](https://github.com/ppalaga))
 - Sync camel-main / quarkus-main nightly CI workflows with the main workflow 
[\#4205](https://github.com/apache/camel-quarkus/pull/4205) 
([jamesnetherton](https://github.com/jamesnetherton))
 - Increased workflow memory limit to avoid java heap space errors 
[\#4201](https://github.com/apache/camel-quarkus/pull/4201) 
([JiriOndrusek](https://github.com/JiriOndrusek))
 - controlbus: Added action option tests \(fixes \#4009\) 
[\#4200](https://github.com/apache/camel-quarkus/pull/4200) 
([djcoleman](https://github.com/djcoleman))



[GitHub] [camel-quarkus] zhfeng commented on issue #4142: Camel quarkus xslt processor runtime uriresolver not able to dynamically load resource from classpath

2022-10-25 Thread GitBox


zhfeng commented on issue #4142:
URL: https://github.com/apache/camel-quarkus/issues/4142#issuecomment-1291445898

   @alagusundarams https://github.com/apache/camel-quarkus/pull/4018 has been 
merged. Can you check with the lastest camel-qurakus building?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-quarkus] github-actions[bot] commented on issue #2927: [CI] - Camel Main Branch Build Failure

2022-10-25 Thread GitBox


github-actions[bot] commented on issue #2927:
URL: https://github.com/apache/camel-quarkus/issues/2927#issuecomment-1291412944

   The [camel-main](https://github.com/apache/camel-quarkus/tree/camel-main) 
branch build has failed:
   
   * Build ID: 3325222823-812-aa9383d9-b149-4040-85ab-95f548fbfdb9
   * Camel Quarkus Commit: 3e95ad06ff35fb0f61b5a3985c6363c3fe2fa778
   
   * Camel Main Commit: c6d14014193ff39d495e68b1fe4b3c83576e55e7
   * Link to build: 
https://github.com/apache/camel-quarkus/actions/runs/3325222823


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel-karavan] branch main updated: Test

2022-10-25 Thread marat
This is an automated email from the ASF dual-hosted git repository.

marat pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karavan.git


The following commit(s) were added to refs/heads/main by this push:
 new bae4264  Test
bae4264 is described below

commit bae4264ca378e3b1b6075501b25ea70592bf0eb7
Author: Marat Gubaidullin 
AuthorDate: Tue Oct 25 21:15:12 2022 -0400

Test
---
 .../camel/karavan/service/InfinispanService.java   |  1 +
 .../camel/karavan/service/KaravanService.java  |  6 ++---
 .../camel/karavan/service/KubernetesService.java   | 31 --
 3 files changed, 26 insertions(+), 12 deletions(-)

diff --git 
a/karavan-app/src/main/java/org/apache/camel/karavan/service/InfinispanService.java
 
b/karavan-app/src/main/java/org/apache/camel/karavan/service/InfinispanService.java
index 6457351..136f130 100644
--- 
a/karavan-app/src/main/java/org/apache/camel/karavan/service/InfinispanService.java
+++ 
b/karavan-app/src/main/java/org/apache/camel/karavan/service/InfinispanService.java
@@ -114,6 +114,7 @@ public class InfinispanService {
 LOGGER.info("No projects found in the Data Grid");
 bus.publish(KaravanService.IMPORT_PROJECTS, "");
 }
+bus.publish(KaravanService.START_WATCHERS, "");
 }
 
 public List getProjects() {
diff --git 
a/karavan-app/src/main/java/org/apache/camel/karavan/service/KaravanService.java
 
b/karavan-app/src/main/java/org/apache/camel/karavan/service/KaravanService.java
index 1227c3c..33b2ac0 100644
--- 
a/karavan-app/src/main/java/org/apache/camel/karavan/service/KaravanService.java
+++ 
b/karavan-app/src/main/java/org/apache/camel/karavan/service/KaravanService.java
@@ -19,6 +19,7 @@ package org.apache.camel.karavan.service;
 import io.quarkus.runtime.StartupEvent;
 import io.quarkus.vertx.ConsumeEvent;
 import io.smallrye.mutiny.tuples.Tuple2;
+import io.vertx.core.eventbus.EventBus;
 import org.apache.camel.karavan.model.KaravanConfiguration;
 import org.apache.camel.karavan.model.Project;
 import org.apache.camel.karavan.model.ProjectFile;
@@ -38,15 +39,13 @@ import java.util.stream.Collectors;
 public class KaravanService {
 
 private static final Logger LOGGER = 
Logger.getLogger(KaravanService.class.getName());
+public static final String START_WATCHERS = "start-watchers";
 public static final String IMPORT_PROJECTS = "import-projects";
 public static final String LOAD_CUSTOM_KAMELETS = "load-custom-kamelets";
 
 @Inject
 InfinispanService infinispanService;
 
-@Inject
-KubernetesService kubernetesService;
-
 @Inject
 GitService gitService;
 
@@ -58,7 +57,6 @@ public class KaravanService {
 
 void onStart(@Observes StartupEvent ev) {
 infinispanService.start();
-kubernetesService.start();
 }
 
 @ConsumeEvent(value = IMPORT_PROJECTS, blocking = true)
diff --git 
a/karavan-app/src/main/java/org/apache/camel/karavan/service/KubernetesService.java
 
b/karavan-app/src/main/java/org/apache/camel/karavan/service/KubernetesService.java
index aa6aa35..a16fb36 100644
--- 
a/karavan-app/src/main/java/org/apache/camel/karavan/service/KubernetesService.java
+++ 
b/karavan-app/src/main/java/org/apache/camel/karavan/service/KubernetesService.java
@@ -38,6 +38,7 @@ import 
io.fabric8.tekton.pipeline.v1beta1.PipelineRunSpecBuilder;
 import io.fabric8.tekton.pipeline.v1beta1.WorkspaceBindingBuilder;
 import io.quarkus.runtime.ShutdownEvent;
 import io.quarkus.runtime.StartupEvent;
+import io.quarkus.vertx.ConsumeEvent;
 import io.vertx.mutiny.core.eventbus.EventBus;
 import org.apache.camel.karavan.model.DeploymentStatus;
 import org.apache.camel.karavan.model.KaravanConfiguration;
@@ -65,6 +66,8 @@ import java.util.Objects;
 import java.util.Optional;
 import java.util.stream.Collectors;
 
+import static org.apache.camel.karavan.service.KaravanService.START_WATCHERS;
+
 @ApplicationScoped
 public class KubernetesService {
 
@@ -99,19 +102,31 @@ public class KubernetesService {
 
 private List watches = new ArrayList<>();
 
-void start() {
+@ConsumeEvent(value = START_WATCHERS, blocking = true)
+void start(String data) {
 LOGGER.info("Start KubernetesService");
 Optional env = 
config.environments().stream()
 .filter(environment -> 
environment.name().equals("dev")).findFirst();
 if (env.isPresent()) {
-
watches.add(kubernetesClient().apps().deployments().inNamespace(currentNamespace)
-.watch(new DeploymentWatcher(infinispanService, this)));
-
-
watches.add(kubernetesClient().pods().inNamespace(currentNamespace).withLabel("app.openshift.io/runtime",
 "camel")
-.watch(new PodWatcher(infinispanService, this)));
+try {
+
watches.add(kubernetesClient().apps().deployments().inNamespace(currentNamespace).withLabel("app.openshift.io/runtime",
 "camel")
+

[camel-k] tag 1.10.3-nightly created (now 4399d4e77)

2022-10-25 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to tag 1.10.3-nightly
in repository https://gitbox.apache.org/repos/asf/camel-k.git


  at 4399d4e77 (commit)
No new revisions were added by this update.



[GitHub] [camel-k] github-actions[bot] commented on issue #3384: Use `go:embed` instead of vfsgen for embedded resources handling

2022-10-25 Thread GitBox


github-actions[bot] commented on issue #3384:
URL: https://github.com/apache/camel-k/issues/3384#issuecomment-1291276330

   This issue has been automatically marked as stale due to 90 days of 
inactivity. 
   It will be closed if no further activity occurs within 15 days.
   If you think that’s incorrect or the issue should never stale, please simply 
write any comment.
   Thanks for your contributions!


-- 
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] github-actions[bot] commented on issue #3442: Unable to run an integration on Minikube

2022-10-25 Thread GitBox


github-actions[bot] commented on issue #3442:
URL: https://github.com/apache/camel-k/issues/3442#issuecomment-1291276288

   This issue has been automatically marked as stale due to 90 days of 
inactivity. 
   It will be closed if no further activity occurs within 15 days.
   If you think that’s incorrect or the issue should never stale, please simply 
write any comment.
   Thanks for your contributions!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel-karavan] branch main updated: Ephemeral volume for Karavan app /tmp

2022-10-25 Thread marat
This is an automated email from the ASF dual-hosted git repository.

marat pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karavan.git


The following commit(s) were added to refs/heads/main by this push:
 new 878d368  Ephemeral volume for Karavan app /tmp
878d368 is described below

commit 878d368e5e0091ad7d17c8dbfeea1c05cd1f878c
Author: Marat Gubaidullin 
AuthorDate: Tue Oct 25 20:23:02 2022 -0400

Ephemeral volume for Karavan app /tmp
---
 .../main/java/org/apache/camel/karavan/service/GitService.java | 10 +-
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git 
a/karavan-app/src/main/java/org/apache/camel/karavan/service/GitService.java 
b/karavan-app/src/main/java/org/apache/camel/karavan/service/GitService.java
index cb52e91..1c12dc1 100644
--- a/karavan-app/src/main/java/org/apache/camel/karavan/service/GitService.java
+++ b/karavan-app/src/main/java/org/apache/camel/karavan/service/GitService.java
@@ -143,19 +143,11 @@ public class GitService {
 LOGGER.info("Read projects from repository " + gitConfig.getUri());
 CredentialsProvider cred = new 
UsernamePasswordCredentialsProvider(gitConfig.getUsername(), 
gitConfig.getPassword());
 String uuid = UUID.randomUUID().toString();
-String folder = "/opt/git";
-vertx.fileSystem().mkdirBlocking(folder);
+String folder = vertx.fileSystem().createTempDirectoryBlocking(uuid);
 LOGGER.infof("Temp folder created: %s", folder);
 List>> result = new ArrayList<>();
 Git git = null;
 try {
-System.out.println("-");
-System.out.println(folder);
-System.out.println(gitConfig.getUri());
-System.out.println(gitConfig.getUsername());
-System.out.println(gitConfig.getPassword());
-System.out.println(gitConfig.getBranch());
-System.out.println("-");
 git = clone(folder, gitConfig.getUri(), gitConfig.getBranch(), 
cred);
 checkout(git, false, null, null, gitConfig.getBranch());
 List projects = readProjectsFromFolder(folder);



[camel-karavan] branch main updated: Ephemeral volume for Karavan app /tmp

2022-10-25 Thread marat
This is an automated email from the ASF dual-hosted git repository.

marat pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karavan.git


The following commit(s) were added to refs/heads/main by this push:
 new f23b9ac  Ephemeral volume for Karavan app /tmp
f23b9ac is described below

commit f23b9ac48044ccb63739daa602478d210ce196af
Author: Marat Gubaidullin 
AuthorDate: Tue Oct 25 20:13:51 2022 -0400

Ephemeral volume for Karavan app /tmp
---
 .../camel/karavan/operator/resource/KaravanDeployment.java| 11 +--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git 
a/karavan-operator/src/main/java/org/apache/camel/karavan/operator/resource/KaravanDeployment.java
 
b/karavan-operator/src/main/java/org/apache/camel/karavan/operator/resource/KaravanDeployment.java
index 2169837..a4d6258 100644
--- 
a/karavan-operator/src/main/java/org/apache/camel/karavan/operator/resource/KaravanDeployment.java
+++ 
b/karavan-operator/src/main/java/org/apache/camel/karavan/operator/resource/KaravanDeployment.java
@@ -16,6 +16,7 @@
  */
 package org.apache.camel.karavan.operator.resource;
 
+import io.fabric8.kubernetes.api.model.EmptyDirVolumeSource;
 import io.fabric8.kubernetes.api.model.EnvVar;
 import io.fabric8.kubernetes.api.model.EnvVarSourceBuilder;
 import io.fabric8.kubernetes.api.model.ObjectFieldSelector;
@@ -114,10 +115,16 @@ public class KaravanDeployment extends 
CRUDKubernetesDependentResource

[camel-karavan] branch main updated: Test

2022-10-25 Thread marat
This is an automated email from the ASF dual-hosted git repository.

marat pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karavan.git


The following commit(s) were added to refs/heads/main by this push:
 new d2eacad  Test
d2eacad is described below

commit d2eacadfa189b3b0b905a31d9c4026529035514f
Author: Marat Gubaidullin 
AuthorDate: Tue Oct 25 19:57:39 2022 -0400

Test
---
 .../src/main/java/org/apache/camel/karavan/service/GitService.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/karavan-app/src/main/java/org/apache/camel/karavan/service/GitService.java 
b/karavan-app/src/main/java/org/apache/camel/karavan/service/GitService.java
index 3249f12..cb52e91 100644
--- a/karavan-app/src/main/java/org/apache/camel/karavan/service/GitService.java
+++ b/karavan-app/src/main/java/org/apache/camel/karavan/service/GitService.java
@@ -143,7 +143,8 @@ public class GitService {
 LOGGER.info("Read projects from repository " + gitConfig.getUri());
 CredentialsProvider cred = new 
UsernamePasswordCredentialsProvider(gitConfig.getUsername(), 
gitConfig.getPassword());
 String uuid = UUID.randomUUID().toString();
-String folder = vertx.fileSystem().createTempDirectoryBlocking(uuid);
+String folder = "/opt/git";
+vertx.fileSystem().mkdirBlocking(folder);
 LOGGER.infof("Temp folder created: %s", folder);
 List>> result = new ArrayList<>();
 Git git = null;



[camel-karavan] branch main updated: Test

2022-10-25 Thread marat
This is an automated email from the ASF dual-hosted git repository.

marat pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karavan.git


The following commit(s) were added to refs/heads/main by this push:
 new 54e4eee  Test
54e4eee is described below

commit 54e4eeef7b3c1b2c543f5334b0e5e4815cb08a63
Author: Marat Gubaidullin 
AuthorDate: Tue Oct 25 19:43:59 2022 -0400

Test
---
 .../main/java/org/apache/camel/karavan/service/InfinispanService.java   | 2 --
 .../src/main/java/org/apache/camel/karavan/service/KaravanService.java  | 1 +
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/karavan-app/src/main/java/org/apache/camel/karavan/service/InfinispanService.java
 
b/karavan-app/src/main/java/org/apache/camel/karavan/service/InfinispanService.java
index f1c33a5..6457351 100644
--- 
a/karavan-app/src/main/java/org/apache/camel/karavan/service/InfinispanService.java
+++ 
b/karavan-app/src/main/java/org/apache/camel/karavan/service/InfinispanService.java
@@ -114,8 +114,6 @@ public class InfinispanService {
 LOGGER.info("No projects found in the Data Grid");
 bus.publish(KaravanService.IMPORT_PROJECTS, "");
 }
-
-bus.publish(KaravanService.LOAD_CUSTOM_KAMELETS, "");
 }
 
 public List getProjects() {
diff --git 
a/karavan-app/src/main/java/org/apache/camel/karavan/service/KaravanService.java
 
b/karavan-app/src/main/java/org/apache/camel/karavan/service/KaravanService.java
index 6a64e39..1227c3c 100644
--- 
a/karavan-app/src/main/java/org/apache/camel/karavan/service/KaravanService.java
+++ 
b/karavan-app/src/main/java/org/apache/camel/karavan/service/KaravanService.java
@@ -91,6 +91,7 @@ public class KaravanService {
 } catch (Exception e) {
 LOGGER.error("Error during project import", e);
 }
+loadCustomKamelets("");
 }
 
 @ConsumeEvent(value = LOAD_CUSTOM_KAMELETS, blocking = true)



[camel-karavan] branch main updated: Test

2022-10-25 Thread marat
This is an automated email from the ASF dual-hosted git repository.

marat pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karavan.git


The following commit(s) were added to refs/heads/main by this push:
 new c3592dc  Test
c3592dc is described below

commit c3592dc132375b3f9992aefa295b5a41f02191af
Author: Marat Gubaidullin 
AuthorDate: Tue Oct 25 19:37:15 2022 -0400

Test
---
 karavan-app/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/karavan-app/pom.xml b/karavan-app/pom.xml
index 4a39aa9..91dfc35 100644
--- a/karavan-app/pom.xml
+++ b/karavan-app/pom.xml
@@ -76,7 +76,7 @@
 
 io.quarkiverse.jgit
 quarkus-jgit
-2.1.0
+2.2.0
 
 
 io.quarkus



[camel-karavan] branch main updated: Test

2022-10-25 Thread marat
This is an automated email from the ASF dual-hosted git repository.

marat pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karavan.git


The following commit(s) were added to refs/heads/main by this push:
 new e0c3279  Test
e0c3279 is described below

commit e0c327976caf5381e5533d765da7f82639a8bb78
Author: Marat Gubaidullin 
AuthorDate: Tue Oct 25 19:23:52 2022 -0400

Test
---
 .../src/main/java/org/apache/camel/karavan/service/GitService.java | 7 +++
 1 file changed, 7 insertions(+)

diff --git 
a/karavan-app/src/main/java/org/apache/camel/karavan/service/GitService.java 
b/karavan-app/src/main/java/org/apache/camel/karavan/service/GitService.java
index 1c12dc1..3249f12 100644
--- a/karavan-app/src/main/java/org/apache/camel/karavan/service/GitService.java
+++ b/karavan-app/src/main/java/org/apache/camel/karavan/service/GitService.java
@@ -148,6 +148,13 @@ public class GitService {
 List>> result = new ArrayList<>();
 Git git = null;
 try {
+System.out.println("-");
+System.out.println(folder);
+System.out.println(gitConfig.getUri());
+System.out.println(gitConfig.getUsername());
+System.out.println(gitConfig.getPassword());
+System.out.println(gitConfig.getBranch());
+System.out.println("-");
 git = clone(folder, gitConfig.getUri(), gitConfig.getBranch(), 
cred);
 checkout(git, false, null, null, gitConfig.getBranch());
 List projects = readProjectsFromFolder(folder);



[GitHub] [camel-karavan] mrinalsharma commented on issue #502: Improve documentation to install Karavan-app on minikube

2022-10-25 Thread GitBox


mrinalsharma commented on issue #502:
URL: https://github.com/apache/camel-karavan/issues/502#issuecomment-1291169962

   Yes, that's my goal. I would like to start contributing to the project


-- 
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 #502: Improve documentation to install Karavan-app on minikube

2022-10-25 Thread GitBox


davsclaus commented on issue #502:
URL: https://github.com/apache/camel-karavan/issues/502#issuecomment-1291010983

   Are you able to help update the documentation? For example send a PR with 
doc updates?


-- 
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-examples] branch main updated: Added Microsoft Exchange IMAP Oauth2 Authentication example (#96)

2022-10-25 Thread davsclaus
This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot-examples.git


The following commit(s) were added to refs/heads/main by this push:
 new 7858311  Added Microsoft Exchange IMAP Oauth2 Authentication example 
(#96)
7858311 is described below

commit 78583119d6cec15a89b2727bbf15fb109442aedd
Author: Luigi De Masi <5583341+luigidem...@users.noreply.github.com>
AuthorDate: Tue Oct 25 20:59:58 2022 +0200

Added Microsoft Exchange IMAP Oauth2 Authentication example (#96)
---
 mail-ms-exchange-oauth2/Readme.adoc|  64 
 mail-ms-exchange-oauth2/pom.xml| 111 +
 .../mail/oauth2/ApplicationConfiguration.java  | 109 
 .../example/mail/oauth2/CamelApplication.java  |  64 
 .../oauth2/Oauth2ExchangeMailAuthenticator.java|  82 +++
 .../src/main/resources/application.properties  |  43 
 pom.xml|   1 +
 7 files changed, 474 insertions(+)

diff --git a/mail-ms-exchange-oauth2/Readme.adoc 
b/mail-ms-exchange-oauth2/Readme.adoc
new file mode 100644
index 000..f12c6ef
--- /dev/null
+++ b/mail-ms-exchange-oauth2/Readme.adoc
@@ -0,0 +1,64 @@
+== Camel Spring Boot Microsoft Exchange IMAP Oauth2 Authentication
+
+This is an example that shows how to use Camel on Spring Boot to connect with
+IMAP protocol and access email data for Office 365 users using OAuth2 
authentication.
+
+The application will use the client credentials grant flow to get the access 
token
+and use it to authenticate IMAP connections.
+
+
+=== Prerequisite
+
+* To use OAuth, an application must be registered with Azure Active Directory.
+Follow the instructions listed in 
https://learn.microsoft.com/en-us/azure/active-directory/develop/quickstart-register-app[Register
 an application with the Microsoft identity platform] to register a new 
application.
+
+* Enable application to access Exchange mailboxes via client credentials flow 
adding *IMAP.AccessAsApp* permission. Instructions 
https://learn.microsoft.com/en-us/exchange/client-developer/legacy-protocols/how-to-authenticate-an-imap-pop-smtp-application-by-using-oauth#add-the-pop-and-imap-permissions-to-your-aad-application[here]
+
+* Create and register your Azure Active Directory application's service 
principal
+in Exchange via Exchange Online PowerShell. Instructions 
https://learn.microsoft.com/en-us/exchange/client-developer/legacy-protocols/how-to-authenticate-an-imap-pop-smtp-application-by-using-oauth#register-service-principals-in-exchange[here]
+
+* Edit the 
link:src/main/resources/application.properties[application.properties] adding 
the values to the properties marked with  tag
+
+=== How to run
+
+You can run this example using:
+
+[source%nowrap, console]
+
+mvn spring-boot:run
+
+And you should see this output:
+
+[source%nowrap, console]
+
+  .     ___ _ _
+ /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
+( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
+ \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
+  '  || .__|_| |_|_| |_\__, | / / / /
+ =|_|==|___/=/_/_/_/
+ :: Spring Boot ::(v2.7.5)
+
+2022-10-24 19:19:58.705  INFO 2274709 --- [   main] 
o.a.c.e.mail.oauth2.CamelApplication : Starting CamelApplication
+2022-10-24 19:19:58.707  INFO 2274709 --- [   main] 
o.a.c.e.mail.oauth2.CamelApplication : No active profile set, falling back 
to 1 default profile: "default"
+2022-10-24 19:20:00.777  INFO 2274709 --- [   main] 
o.a.c.impl.engine.AbstractCamelContext   : Apache Camel is starting
+2022-10-24 19:20:00.785  INFO 2274709 --- [   main] 
c.s.b.CamelSpringBootApplicationListener : Starting CamelMainRunController to 
ensure the main thread keeps running
+2022-10-24 19:20:00.785  INFO 2274709 --- [inRunController] 
org.apache.camel.main.MainSupport: Apache Camel (Main)  is starting
+2022-10-24 19:20:00.813  INFO 2274709 --- [   main] 
o.a.c.impl.engine.AbstractCamelContext   : Routes startup (started:1)
+2022-10-24 19:20:00.813  INFO 2274709 --- [   main] 
o.a.c.impl.engine.AbstractCamelContext   : Started camel-mail-ms-exchange 
(imaps://outlook.office365.com:993)
+2022-10-24 19:20:00.813  INFO 2274709 --- [   main] 
o.a.c.impl.engine.AbstractCamelContext   : Apache Camel 
(CamelMailExchangeOAuth2) started in 1s226ms (build:29ms init:1s163ms 
start:34ms)
+2022-10-24 19:20:00.819  INFO 2274709 --- [   main] 
o.a.c.e.mail.oauth2.CamelApplication : Started CamelApplication in 2.407 
seconds (JVM running for 2.883)
+2022-10-24 19:20:04.842  INFO 2274709 --- [fice365.com:993] 
camel-mail-ms-exchange   : message Received:
+From: John Doe 
+Subj: Test
+Body:
+This is a Test!!!
+
+2022-10-24 19:20:05.167  INFO 2274709 --- 

[GitHub] [camel-spring-boot-examples] davsclaus merged pull request #96: Added Microsoft Exchange IMAP Oauth2 Authentication example

2022-10-25 Thread GitBox


davsclaus merged PR #96:
URL: https://github.com/apache/camel-spring-boot-examples/pull/96


-- 
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] dmarrazzo opened a new issue, #3775: KameletBinding in Error when prometheus trait is enabled

2022-10-25 Thread GitBox


dmarrazzo opened a new issue, #3775:
URL: https://github.com/apache/camel-k/issues/3775

   Hi all,
   
   I'm trying to deploy a Kamelets which exposes custom metrics based on 
messages coming from kafka.
   The KameletBinding works fine without the prometheus trait: the logs shows 
the expected behavior, but it does not expose the metric endpoint for scraping.
   
   In this repository (ocp branch), you can find all the artifacts to reproduce 
the problem:
   
   https://github.com/dmarrazzo/camel-quarkus-examples-metrics/tree/ocp
   
   You can try the successful deployment commenting out those lines:
   
   
https://github.com/dmarrazzo/camel-quarkus-examples-metrics/blob/ocp/k8s/03-kafka-metrics-binding.yaml#L5-L6
   
   Thank you


-- 
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] ppalaga commented on pull request #4214: CxfSoapMtomIT fails in native mode

2022-10-25 Thread GitBox


ppalaga commented on PR #4214:
URL: https://github.com/apache/camel-quarkus/pull/4214#issuecomment-1290976649

   cc @llowinge 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-quarkus] ppalaga opened a new pull request, #4214: CxfSoapMtomIT fails in native mode

2022-10-25 Thread GitBox


ppalaga opened a new pull request, #4214:
URL: https://github.com/apache/camel-quarkus/pull/4214

   fix #4208


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel-quarkus] 01/02: Split MTOM tests into AWT and non-AWT modules

2022-10-25 Thread ppalaga
This is an automated email from the ASF dual-hosted git repository.

ppalaga pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git

commit 2b30d00a7efd0413eb901e2a1875fedacb17d808
Author: Lukas Lowinger 
AuthorDate: Tue Oct 25 09:55:11 2022 +0200

Split MTOM tests into AWT and non-AWT modules
---
 .../cxf-soap/cxf-soap-mtom-awt/README.adoc |   4 +
 .../cxf-soap/cxf-soap-mtom-awt/pom.xml | 150 +
 .../soap/mtom/awt/it/CxfSoapMtomAwtResource.java   |  88 
 .../cxf/soap/mtom/awt/it/CxfSoapMtomAwtRoutes.java | 141 +++
 .../cxf/soap/mtom/awt/it/IImageService.java|  33 +
 .../cxf/soap/mtom/awt/it/ImageService.java |  63 +
 .../soap/mtom/awt/it/MtomAttachmentChecker.java|  96 +
 .../src/main/resources/application.properties  |  19 +++
 .../cxf/soap/mtom/awt/it/CxfSoapMtomAwtIT.java |  23 
 .../cxf/soap/mtom/awt/it/CxfSoapMtomAwtTest.java   |  83 
 .../src/test/resources/linux-image.png | Bin 0 -> 38982 bytes
 integration-test-groups/cxf-soap/pom.xml   |   1 +
 12 files changed, 701 insertions(+)

diff --git a/integration-test-groups/cxf-soap/cxf-soap-mtom-awt/README.adoc 
b/integration-test-groups/cxf-soap/cxf-soap-mtom-awt/README.adoc
new file mode 100644
index 00..a66940b720
--- /dev/null
+++ b/integration-test-groups/cxf-soap/cxf-soap-mtom-awt/README.adoc
@@ -0,0 +1,4 @@
+= Camel Quarkus CXF SOAP MTOM AWT tests
+
+Tests are not using any external SOAP services (eg. via testcontainers). They 
purely test if Camel Quarkus is able to send and consume messages with 
attachments (AWT Image) with both MTOM enabled/disabled.
+
diff --git a/integration-test-groups/cxf-soap/cxf-soap-mtom-awt/pom.xml 
b/integration-test-groups/cxf-soap/cxf-soap-mtom-awt/pom.xml
new file mode 100644
index 00..d5c2c803e9
--- /dev/null
+++ b/integration-test-groups/cxf-soap/cxf-soap-mtom-awt/pom.xml
@@ -0,0 +1,150 @@
+
+
+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.14.0-SNAPSHOT
+../../../poms/build-parent-it/pom.xml
+
+
+camel-quarkus-integration-test-cxf-soap-mtom-awt
+Camel Quarkus :: Integration Tests :: Cxf Soap Mtom AWT
+Integration tests for Camel Quarkus CXF extension Mtom with 
AWT
+
+
+
+io.quarkus
+quarkus-awt
+
+
+io.quarkus
+quarkus-resteasy
+
+
+org.apache.camel.quarkus
+camel-quarkus-bean
+
+
+org.apache.camel.quarkus
+camel-quarkus-direct
+
+
+org.apache.camel.quarkus
+camel-quarkus-cxf-soap
+
+
+
+
+
+io.quarkus
+quarkus-junit5
+test
+
+
+io.rest-assured
+rest-assured
+test
+
+
+
+
+
+native
+
+
+native
+
+
+
+native
+
+
+
+
+org.apache.maven.plugins
+maven-failsafe-plugin
+
+
+
+integration-test
+verify
+
+
+
+
+
+
+
+
+virtualDependencies
+
+
+!noVirtualDependencies
+
+
+
+
+
+org.apache.camel.quarkus
+camel-quarkus-bean
+${project.version}
+pom
+test
+
+
+*
+*
+
+
+
+
+org.apache.camel.quarkus
+camel-quarkus-cxf-soap-deployment
+${project.version}
+pom
+test
+
+
+*
+*
+
+
+
+
+org.apache.camel.quarkus
+camel-quarkus-direct-deployment
+${project.version}

[camel-quarkus] branch main updated (5b7f2986e9 -> c6d1401419)

2022-10-25 Thread ppalaga
This is an automated email from the ASF dual-hosted git repository.

ppalaga pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git


from 5b7f2986e9 Move all Debezium itest deployment dependencies to 
virtualDependencies profile
 new 2b30d00a7e Split MTOM tests into AWT and non-AWT modules
 new c6d1401419 Not use awt.* in MTOM test app

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:
 .../README.adoc|   4 +-
 .../{cxf-soap-mtom => cxf-soap-mtom-awt}/pom.xml   |   6 +--
 .../soap/mtom/awt/it/CxfSoapMtomAwtResource.java}  |   8 ++--
 .../soap/mtom/awt/it/CxfSoapMtomAwtRoutes.java}|  48 ++---
 .../cxf/soap/mtom/awt}/it/IImageService.java   |   2 +-
 .../cxf/soap/mtom/awt}/it/ImageService.java|   4 +-
 .../soap/mtom/awt}/it/MtomAttachmentChecker.java   |   2 +-
 .../src/main/resources/application.properties  |   0
 .../cxf/soap/mtom/awt/it/CxfSoapMtomAwtIT.java}|   5 +--
 .../cxf/soap/mtom/awt/it/CxfSoapMtomAwtTest.java}  |  10 ++---
 .../src/test/resources/linux-image.png | Bin
 .../cxf-soap/cxf-soap-mtom/pom.xml |   4 --
 .../cxf/soap/mtom/it/CxfSoapMtomResource.java  |  39 ++---
 .../component/cxf/soap/mtom/it/IImageService.java  |   6 +--
 .../mtom/it/{IImageService.java => ImageFile.java} |  26 +++
 .../component/cxf/soap/mtom/it/ImageService.java   |   9 ++--
 .../cxf/soap/mtom/it/CxfSoapMtomTest.java  |   2 -
 integration-test-groups/cxf-soap/pom.xml   |   1 +
 18 files changed, 82 insertions(+), 94 deletions(-)
 copy integration-test-groups/cxf-soap/{cxf-soap-mtom => 
cxf-soap-mtom-awt}/README.adoc (52%)
 copy integration-test-groups/cxf-soap/{cxf-soap-mtom => 
cxf-soap-mtom-awt}/pom.xml (96%)
 copy 
integration-test-groups/cxf-soap/{cxf-soap-mtom/src/main/java/org/apache/camel/quarkus/component/cxf/soap/mtom/it/CxfSoapMtomResource.java
 => 
cxf-soap-mtom-awt/src/main/java/org/apache/camel/quarkus/component/cxf/soap/mtom/awt/it/CxfSoapMtomAwtResource.java}
 (93%)
 copy 
integration-test-groups/cxf-soap/{cxf-soap-mtom/src/main/java/org/apache/camel/quarkus/component/cxf/soap/mtom/it/CxfSoapMtomRoutes.java
 => 
cxf-soap-mtom-awt/src/main/java/org/apache/camel/quarkus/component/cxf/soap/mtom/awt/it/CxfSoapMtomAwtRoutes.java}
 (73%)
 copy 
integration-test-groups/cxf-soap/{cxf-soap-mtom/src/main/java/org/apache/camel/quarkus/component/cxf/soap/mtom
 => 
cxf-soap-mtom-awt/src/main/java/org/apache/camel/quarkus/component/cxf/soap/mtom/awt}/it/IImageService.java
 (94%)
 copy 
integration-test-groups/cxf-soap/{cxf-soap-mtom/src/main/java/org/apache/camel/quarkus/component/cxf/soap/mtom
 => 
cxf-soap-mtom-awt/src/main/java/org/apache/camel/quarkus/component/cxf/soap/mtom/awt}/it/ImageService.java
 (95%)
 copy 
integration-test-groups/cxf-soap/{cxf-soap-mtom/src/main/java/org/apache/camel/quarkus/component/cxf/soap/mtom
 => 
cxf-soap-mtom-awt/src/main/java/org/apache/camel/quarkus/component/cxf/soap/mtom/awt}/it/MtomAttachmentChecker.java
 (98%)
 copy integration-test-groups/cxf-soap/{cxf-soap-client => 
cxf-soap-mtom-awt}/src/main/resources/application.properties (100%)
 copy 
integration-test-groups/{aws2/aws2-ddb/src/test/java/org/apache/camel/quarkus/component/aws2/ddb/it/Aws2DdbStreamIT.java
 => 
cxf-soap/cxf-soap-mtom-awt/src/test/java/org/apache/camel/quarkus/component/cxf/soap/mtom/awt/it/CxfSoapMtomAwtIT.java}
 (88%)
 copy 
integration-test-groups/cxf-soap/{cxf-soap-mtom/src/test/java/org/apache/camel/quarkus/component/cxf/soap/mtom/it/CxfSoapMtomTest.java
 => 
cxf-soap-mtom-awt/src/test/java/org/apache/camel/quarkus/component/cxf/soap/mtom/awt/it/CxfSoapMtomAwtTest.java}
 (90%)
 copy integration-test-groups/cxf-soap/{cxf-soap-mtom => 
cxf-soap-mtom-awt}/src/test/resources/linux-image.png (100%)
 copy 
integration-test-groups/cxf-soap/cxf-soap-mtom/src/main/java/org/apache/camel/quarkus/component/cxf/soap/mtom/it/{IImageService.java
 => ImageFile.java} (69%)



[camel-quarkus] 02/02: Not use awt.* in MTOM test app

2022-10-25 Thread ppalaga
This is an automated email from the ASF dual-hosted git repository.

ppalaga pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git

commit c6d14014193ff39d495e68b1fe4b3c83576e55e7
Author: Lukas Lowinger 
AuthorDate: Tue Oct 25 09:21:02 2022 +0200

Not use awt.* in MTOM test app
---
 .../cxf-soap/cxf-soap-mtom/pom.xml |  4 ---
 .../cxf/soap/mtom/it/CxfSoapMtomResource.java  | 39 --
 .../component/cxf/soap/mtom/it/IImageService.java  |  6 ++--
 .../mtom/it/{IImageService.java => ImageFile.java} | 26 ++-
 .../component/cxf/soap/mtom/it/ImageService.java   |  9 +++--
 .../cxf/soap/mtom/it/CxfSoapMtomTest.java  |  2 --
 6 files changed, 37 insertions(+), 49 deletions(-)

diff --git a/integration-test-groups/cxf-soap/cxf-soap-mtom/pom.xml 
b/integration-test-groups/cxf-soap/cxf-soap-mtom/pom.xml
index 4214e253a0..bb06cef676 100644
--- a/integration-test-groups/cxf-soap/cxf-soap-mtom/pom.xml
+++ b/integration-test-groups/cxf-soap/cxf-soap-mtom/pom.xml
@@ -32,10 +32,6 @@
 Integration tests for Camel Quarkus CXF extension 
Mtom
 
 
-
-io.quarkus
-quarkus-awt
-
 
 io.quarkus
 quarkus-resteasy
diff --git 
a/integration-test-groups/cxf-soap/cxf-soap-mtom/src/main/java/org/apache/camel/quarkus/component/cxf/soap/mtom/it/CxfSoapMtomResource.java
 
b/integration-test-groups/cxf-soap/cxf-soap-mtom/src/main/java/org/apache/camel/quarkus/component/cxf/soap/mtom/it/CxfSoapMtomResource.java
index 4a4b08ed08..405241bc9e 100644
--- 
a/integration-test-groups/cxf-soap/cxf-soap-mtom/src/main/java/org/apache/camel/quarkus/component/cxf/soap/mtom/it/CxfSoapMtomResource.java
+++ 
b/integration-test-groups/cxf-soap/cxf-soap-mtom/src/main/java/org/apache/camel/quarkus/component/cxf/soap/mtom/it/CxfSoapMtomResource.java
@@ -16,14 +16,9 @@
  */
 package org.apache.camel.quarkus.component.cxf.soap.mtom.it;
 
-import java.awt.*;
-import java.awt.image.BufferedImage;
-import java.io.ByteArrayInputStream;
-import java.io.ByteArrayOutputStream;
 import java.net.URI;
 
 import javax.enterprise.context.ApplicationScoped;
-import javax.imageio.ImageIO;
 import javax.inject.Inject;
 import javax.ws.rs.Consumes;
 import javax.ws.rs.POST;
@@ -49,16 +44,14 @@ public class CxfSoapMtomResource {
 @Produces(MediaType.TEXT_PLAIN)
 public Response upload(@QueryParam("imageName") String imageName, 
@QueryParam("mtomEnabled") boolean mtomEnabled,
 byte[] image) throws Exception {
-try (ByteArrayInputStream bais = new ByteArrayInputStream(image)) {
-final String response = producerTemplate.requestBodyAndHeader(
-"direct:" + mtomEndpoint(mtomEnabled),
-new Object[] { ImageIO.read(bais), imageName },
-OPERATION_NAME, "uploadImage", String.class);
-return Response
-.created(new URI("https://camel.apache.org/;))
-.entity(response)
-.build();
-}
+final String response = producerTemplate.requestBodyAndHeader(
+"direct:" + mtomEndpoint(mtomEnabled),
+new Object[] { new ImageFile(image), imageName },
+OPERATION_NAME, "uploadImage", String.class);
+return Response
+.created(new URI("https://camel.apache.org/;))
+.entity(response)
+.build();
 }
 
 @Path("/download")
@@ -66,19 +59,15 @@ public class CxfSoapMtomResource {
 @Consumes(MediaType.TEXT_PLAIN)
 public Response download(@QueryParam("imageName") String imageName, 
@QueryParam("mtomEnabled") boolean mtomEnabled)
 throws Exception {
-final BufferedImage response = (BufferedImage) 
producerTemplate.requestBodyAndHeader(
+final ImageFile response = (ImageFile) 
producerTemplate.requestBodyAndHeader(
 "direct:" + mtomEndpoint(mtomEnabled),
 imageName,
 OPERATION_NAME,
-"downloadImage", Image.class);
-try (ByteArrayOutputStream baos = new ByteArrayOutputStream()) {
-ImageIO.write(response, "png", baos);
-byte[] bytes = baos.toByteArray();
-return Response
-.created(new URI("https://camel.apache.org/;))
-.entity(bytes)
-.build();
-}
+"downloadImage", ImageFile.class);
+return Response
+.created(new URI("https://camel.apache.org/;))
+.entity(response.getContent())
+.build();
 }
 
 private String mtomEndpoint(boolean mtomEnabled) {
diff --git 
a/integration-test-groups/cxf-soap/cxf-soap-mtom/src/main/java/org/apache/camel/quarkus/component/cxf/soap/mtom/it/IImageService.java
 

[GitHub] [camel-quarkus] ppalaga merged pull request #4210: Split mtom tests

2022-10-25 Thread GitBox


ppalaga merged PR #4210:
URL: https://github.com/apache/camel-quarkus/pull/4210


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel] github-actions[bot] commented on pull request #8621: (chores) camel-aws2-secrets-manager: fix/disable flaky test on Github

2022-10-25 Thread GitBox


github-actions[bot] commented on PR #8621:
URL: https://github.com/apache/camel/pull/8621#issuecomment-1290879004

   ### Components tested:
   
   | Total | Tested | Failed :x: | Passed :white_check_mark: | 
   | --- | --- | --- |  --- |
   | 1 | 1 | 1 | 0 |


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel] github-actions[bot] commented on pull request #8622: CAMEL-18649 + minor fix for CAMEL-14148

2022-10-25 Thread GitBox


github-actions[bot] commented on PR #8622:
URL: https://github.com/apache/camel/pull/8622#issuecomment-1290873564

   ### Components tested:
   
   | Total | Tested | Failed :x: | Passed :white_check_mark: | 
   | --- | --- | --- |  --- |
   | 2 | 2 | 1 | 2 |


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel] github-actions[bot] commented on pull request #8623: (chores) ci: allow testing AWS components separately

2022-10-25 Thread GitBox


github-actions[bot] commented on PR #8623:
URL: https://github.com/apache/camel/pull/8623#issuecomment-1290870912

   ### Components tested:
   
   | Total | Tested | Failed :x: | Passed :white_check_mark: | 
   | --- | --- | --- |  --- |
   | 1 | 1 | 0 | 0 |


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel] github-actions[bot] commented on pull request #8622: CAMEL-18649 + minor fix for CAMEL-14148

2022-10-25 Thread GitBox


github-actions[bot] commented on PR #8622:
URL: https://github.com/apache/camel/pull/8622#issuecomment-1290859463

   ### Components tested:
   
   | Total | Tested | Failed :x: | Passed :white_check_mark: | 
   | --- | --- | --- |  --- |
   | 2 | 2 | 1 | 2 |


-- 
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 opened a new pull request, #8623: (chores) ci: allow testing AWS components separately

2022-10-25 Thread GitBox


orpiske opened a new pull request, #8623:
URL: https://github.com/apache/camel/pull/8623

   Waiting for the AWS test fixes for GH before merging this ...
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel] github-actions[bot] commented on pull request #8622: CAMEL-18649 + minor fix for CAMEL-14148

2022-10-25 Thread GitBox


github-actions[bot] commented on PR #8622:
URL: https://github.com/apache/camel/pull/8622#issuecomment-1290771635

   :star2: Thank you for your contribution to the Apache Camel project! :star2: 
   
   :warning: Please note that the changes on this PR may be **tested 
automatically**. 
   
   If necessary Apache Camel Committers may access logs and test results in the 
job summaries!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel-karavan] branch main updated: Rest generator for YAML menu

2022-10-25 Thread marat
This is an automated email from the ASF dual-hosted git repository.

marat pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karavan.git


The following commit(s) were added to refs/heads/main by this push:
 new 2283b7a  Rest generator for YAML menu
2283b7a is described below

commit 2283b7a47bacdb3997a2665ea3e0a0b4ffaac881
Author: Marat Gubaidullin 
AuthorDate: Tue Oct 25 11:38:29 2022 -0400

Rest generator for YAML menu
---
 karavan-vscode/package.json   |  2 +-
 karavan-vscode/src/openapiView.ts | 12 
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/karavan-vscode/package.json b/karavan-vscode/package.json
index a752b27..a2f3b59 100644
--- a/karavan-vscode/package.json
+++ b/karavan-vscode/package.json
@@ -339,7 +339,7 @@
 },
 {
   "command": "karavan.generate-rest",
-  "when": "resourceExtname == .json",
+  "when": "resourceExtname == .json || resourceExtname == .yaml",
   "group": "karavan@9"
 }
   ],
diff --git a/karavan-vscode/src/openapiView.ts 
b/karavan-vscode/src/openapiView.ts
index 437cdd5..a8dda20 100644
--- a/karavan-vscode/src/openapiView.ts
+++ b/karavan-vscode/src/openapiView.ts
@@ -18,6 +18,7 @@ import { Command, EventEmitter, ProviderResult, 
TreeDataProvider, TreeItem, Tree
 import * as path from "path";
 import * as utils from "./utils";
 import * as jbang from "./jbang";
+import * as yaml from 'js-yaml';
 import { ThemeIcon } from "vscode";
 import { DesignerView } from "./designerView";
 
@@ -53,6 +54,17 @@ export class OpenApiView implements 
TreeDataProvider {
result.push(new OpenApiItem(basename, filename, 
api?.info?.title, { command: 'karavan.open-file', title: 'Open file', 
arguments: [{ fsPath: filename }] }));
}
}
+   const yfiles = await utils.getYamlFiles(dir);
+   for (let x in yfiles){
+   const filename = yfiles[x];
+   const readData = await 
utils.readFile(path.resolve(filename));
+   const text = Buffer.from(readData).toString('utf8');
+   const api: any = yaml.load(text);
+   if (api.openapi) {
+   const basename = path.basename(filename);
+   result.push(new OpenApiItem(basename, filename, 
api?.info?.title, { command: 'karavan.open-file', title: 'Open file', 
arguments: [{ fsPath: filename }] }));
+   }
+   }
return result;
}
 



[GitHub] [camel-karavan] mrinalsharma opened a new issue, #502: Improve documentation to install Karavan-app on minikube

2022-10-25 Thread GitBox


mrinalsharma opened a new issue, #502:
URL: https://github.com/apache/camel-karavan/issues/502

   I have followed the exact steps documented to install on 
[Minikube](https://github.com/apache/camel-karavan/blob/main/karavan-cloud/MINIKUBE.md),
 but the steps needed some updates.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-k] squakez commented on pull request #3764: feat(ci): latest runtime snapshot available

2022-10-25 Thread GitBox


squakez commented on PR #3764:
URL: https://github.com/apache/camel-k/pull/3764#issuecomment-1290756150

   Some error in the `local` test:
   
   ❌ TestLocalBuild (5m0.05s)
   ❌ TestLocalBuildDependenciesOnly (1m0.06s)
   ❌ TestLocalBuildIntegrationDirectory (1m0.06s)
   ❌ TestLocalBuildIntegrationDirectoryWithMultiBytes (1m0.06s)
   ❌ TestLocalBuildIntegrationDirectoryWithSpaces (1m0.06s)
   ❌ TestLocalBuildModelineDependencies (1m0.06s)
   ✅ TestLocalBuildWithInvalidDependency (1.5s)
   ❌ TestLocalBuildWithTrait (5m0.07s)
   ✅ TestLocalInspect (140ms)
   ✅ TestLocalInspectWithDependencies (140ms)
   ❌ TestLocalRun (5m0.07s)
   ❌ TestLocalRunContainerize (0s)
   ❌ TestLocalRunWithDependencies (5m0.06s)
   ✅ TestLocalRunWithInvalidDependency (1.55s)
   
   @tadayosi does it ring any bell?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel] github-actions[bot] commented on pull request #8621: (chores) camel-aws2-secrets-manager: fix/disable flaky test on Github

2022-10-25 Thread GitBox


github-actions[bot] commented on PR #8621:
URL: https://github.com/apache/camel/pull/8621#issuecomment-1290746028

   ### Components tested:
   
   | Total | Tested | Failed :x: | Passed :white_check_mark: | 
   | --- | --- | --- |  --- |
   | 2 | 2 | 2 | 1 |


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-spring-boot-examples] luigidemasi commented on pull request #96: Added Microsoft Exchange IMAP Oauth2 Authentication example

2022-10-25 Thread GitBox


luigidemasi commented on PR #96:
URL: 
https://github.com/apache/camel-spring-boot-examples/pull/96#issuecomment-1290725762

   build failure is caused by: 
https://github.com/protocolbuffers/protobuf/issues/10695
   and not related to this pull request.


-- 
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: Move all Debezium itest deployment dependencies to virtualDependencies profile

2022-10-25 Thread jamesnetherton
This is an automated email from the ASF dual-hosted git repository.

jamesnetherton pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git


The following commit(s) were added to refs/heads/main by this push:
 new 5b7f2986e9 Move all Debezium itest deployment dependencies to 
virtualDependencies profile
5b7f2986e9 is described below

commit 5b7f2986e90ad57b1905e9b7de45bf9517cbeb58
Author: James Netherton 
AuthorDate: Tue Oct 25 07:49:32 2022 +0100

Move all Debezium itest deployment dependencies to virtualDependencies 
profile
---
 integration-tests/debezium/pom.xml | 52 +++---
 1 file changed, 26 insertions(+), 26 deletions(-)

diff --git a/integration-tests/debezium/pom.xml 
b/integration-tests/debezium/pom.xml
index a2511eb10c..c16d089c9a 100644
--- a/integration-tests/debezium/pom.xml
+++ b/integration-tests/debezium/pom.xml
@@ -168,19 +168,6 @@
 system
 
${project.basedir}/${mysql.driver.file}
 
-
-org.apache.camel.quarkus
-
camel-quarkus-debezium-mysql-deployment
-${project.version}
-pom
-test
-
-
-*
-*
-
-
-
 
 
 
@@ -195,19 +182,6 @@
 org.apache.camel.quarkus
 camel-quarkus-debezium-sqlserver
 
-
-org.apache.camel.quarkus
-
camel-quarkus-debezium-sqlserver-deployment
-${project.version}
-pom
-test
-
-
-*
-*
-
-
-
 
 
 
@@ -232,6 +206,19 @@
 
 
 
+
+org.apache.camel.quarkus
+
camel-quarkus-debezium-mysql-deployment
+${project.version}
+pom
+test
+
+
+*
+*
+
+
+
 
 org.apache.camel.quarkus
 
camel-quarkus-debezium-postgres-deployment
@@ -245,6 +232,19 @@
 
 
 
+
+org.apache.camel.quarkus
+
camel-quarkus-debezium-sqlserver-deployment
+${project.version}
+pom
+test
+
+
+*
+*
+
+
+
 
 
 



[GitHub] [camel-quarkus] jamesnetherton merged pull request #4209: Move all Debezium itest deployment dependencies to virtualDependencies profile

2022-10-25 Thread GitBox


jamesnetherton merged PR #4209:
URL: https://github.com/apache/camel-quarkus/pull/4209


-- 
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 issue #3773: E2E - No longer able to run native build tests with Quarkus 2.13.0 (Camel Catalog 1.15.x)

2022-10-25 Thread GitBox


squakez commented on issue #3773:
URL: https://github.com/apache/camel-k/issues/3773#issuecomment-1290605334

   That's exactly the reason why I opened: 
https://github.com/apache/camel-k/pull/3764. We will see likely the errors also 
against `1.16.0-SNAPSHOT` then. Let's figure it out how to fix in `main` and 
`release-1.10.x` then.


-- 
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 (2d4fa58f2d2 -> b66a36ac0fc)

2022-10-25 Thread github-bot
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 2d4fa58f2d2 Sync deps
 add b66a36ac0fc CAMEL-18647: Java DSL - Set delay options from route 
templates in Delay EIP

No new revisions were added by this update.

Summary of changes:
 .../org/apache/camel/model/DelayDefinition.java | 21 +
 .../camel/processor/DelayerAsyncDelayedTest.java| 20 
 2 files changed, 41 insertions(+)



[camel] branch regen_bot updated (a844bce291f -> 2d4fa58f2d2)

2022-10-25 Thread github-bot
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 a844bce291f Polished
 add bff2d179fd1 Upgrade Infinispan to version 14.0.2.Final
 add 2d4fa58f2d2 Sync deps

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 regen_bot updated (8da533d824c -> a844bce291f)

2022-10-25 Thread github-bot
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 8da533d824c CAMEL-18643 - AWS Health Check: Use AwsServiceException 
instead of SdkClientException for health check - AWS EKS
 add a844bce291f Polished

No new revisions were added by this update.

Summary of changes:
 .../src/main/resources/auto-configure/camel-microprofile-metrics.joor   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



[camel] branch regen_bot updated (b8790fb37b9 -> 8da533d824c)

2022-10-25 Thread github-bot
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 b8790fb37b9 CAMEL-18643 - AWS Health Check: Use AwsServiceException 
instead of SdkClientException for health check - AWS Athena
 add 86b03153df8 CAMEL-18648: Google-bigqery - fixed 
ArrayIndexOutOfBoundsException during endpoint creation
 add 8da533d824c CAMEL-18643 - AWS Health Check: Use AwsServiceException 
instead of SdkClientException for health check - AWS EKS

No new revisions were added by this update.

Summary of changes:
 .../camel/component/aws2/eks/EKS2ClientHealthCheck.java   | 11 +--
 .../google/bigquery/GoogleBigQueryConfiguration.java  |  2 +-
 .../component/google/bigquery/unit/BaseBigQueryTest.java  |  5 +
 3 files changed, 11 insertions(+), 7 deletions(-)



[GitHub] [camel] github-actions[bot] commented on pull request #8621: (chores) camel-aws2-secrets-manager: fix/disable flaky test on Github

2022-10-25 Thread GitBox


github-actions[bot] commented on PR #8621:
URL: https://github.com/apache/camel/pull/8621#issuecomment-1290532149

   ### Components tested:
   
   | Total | Tested | Failed :x: | Passed :white_check_mark: | 
   | --- | --- | --- |  --- |
   | 1 | 1 | 1 | 0 |


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-k] tadayosi opened a new pull request, #3774: fix(e2e): increase build timeout for native build tests: 40m -> 60m

2022-10-25 Thread GitBox


tadayosi opened a new pull request, #3774:
URL: https://github.com/apache/camel-k/pull/3774

   
   
   Attempt to address #3773 
   
   
   
   
   **Release Note**
   ```release-note
   NONE
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel] branch main updated: CAMEL-18647: Java DSL - Set delay options from route templates in Delay EIP

2022-10-25 Thread davsclaus
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 b66a36ac0fc CAMEL-18647: Java DSL - Set delay options from route 
templates in Delay EIP
b66a36ac0fc is described below

commit b66a36ac0fc8836d4e28182380f540dd7442eab3
Author: Claus Ibsen 
AuthorDate: Tue Oct 25 15:01:07 2022 +0200

CAMEL-18647: Java DSL - Set delay options from route templates in Delay EIP
---
 .../org/apache/camel/model/DelayDefinition.java | 21 +
 .../camel/processor/DelayerAsyncDelayedTest.java| 20 
 2 files changed, 41 insertions(+)

diff --git 
a/core/camel-core-model/src/main/java/org/apache/camel/model/DelayDefinition.java
 
b/core/camel-core-model/src/main/java/org/apache/camel/model/DelayDefinition.java
index 995472ac7b2..fa1ed0f9204 100644
--- 
a/core/camel-core-model/src/main/java/org/apache/camel/model/DelayDefinition.java
+++ 
b/core/camel-core-model/src/main/java/org/apache/camel/model/DelayDefinition.java
@@ -99,6 +99,19 @@ public class DelayDefinition extends ExpressionNode 
implements ExecutorServiceAw
 return this;
 }
 
+/**
+ * Whether or not the caller should run the task when it was rejected by 
the thread pool.
+ * 
+ * Is by default true
+ *
+ * @param  callerRunsWhenRejected whether or not the caller should run
+ * @returnthe builder
+ */
+public DelayDefinition callerRunsWhenRejected(String 
callerRunsWhenRejected) {
+setCallerRunsWhenRejected(callerRunsWhenRejected);
+return this;
+}
+
 /**
  * Enables asynchronous delay which means the thread will not block 
while delaying.
  */
@@ -107,6 +120,14 @@ public class DelayDefinition extends ExpressionNode 
implements ExecutorServiceAw
 return this;
 }
 
+/**
+ * Enables asynchronous delay which means the thread will not block 
while delaying.
+ */
+public DelayDefinition asyncDelayed(String asyncDelayed) {
+setAsyncDelayed(asyncDelayed);
+return this;
+}
+
 /**
  * Enables asynchronous delay which means the thread will not block 
while delaying.
  */
diff --git 
a/core/camel-core/src/test/java/org/apache/camel/processor/DelayerAsyncDelayedTest.java
 
b/core/camel-core/src/test/java/org/apache/camel/processor/DelayerAsyncDelayedTest.java
index b0b69f80947..db23a37f43a 100644
--- 
a/core/camel-core/src/test/java/org/apache/camel/processor/DelayerAsyncDelayedTest.java
+++ 
b/core/camel-core/src/test/java/org/apache/camel/processor/DelayerAsyncDelayedTest.java
@@ -16,6 +16,7 @@
  */
 package org.apache.camel.processor;
 
+import org.apache.camel.CamelContext;
 import org.apache.camel.ContextTestSupport;
 import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.component.mock.MockEndpoint;
@@ -23,6 +24,13 @@ import org.junit.jupiter.api.Test;
 
 public class DelayerAsyncDelayedTest extends ContextTestSupport {
 
+@Override
+protected CamelContext createCamelContext() throws Exception {
+CamelContext context = super.createCamelContext();
+context.getPropertiesComponent().addInitialProperty("myAsync", "true");
+return context;
+}
+
 @Test
 public void testSendingMessageGetsDelayed() throws Exception {
 MockEndpoint resultEndpoint = resolveMandatoryEndpoint("mock:result", 
MockEndpoint.class);
@@ -51,6 +59,16 @@ public class DelayerAsyncDelayedTest extends 
ContextTestSupport {
 resultEndpoint.assertIsSatisfied();
 }
 
+@Test
+public void testDelayConstantPlaceholder() throws Exception {
+MockEndpoint resultEndpoint = resolveMandatoryEndpoint("mock:result", 
MockEndpoint.class);
+resultEndpoint.expectedMessageCount(1);
+// should at least take 1 sec to complete
+resultEndpoint.setResultMinimumWaitTime(900);
+template.sendBody("seda:c", "world!");
+resultEndpoint.assertIsSatisfied();
+}
+
 @Override
 protected RouteBuilder createRouteBuilder() {
 return new RouteBuilder() {
@@ -62,6 +80,8 @@ public class DelayerAsyncDelayedTest extends 
ContextTestSupport {
 // START SNIPPET: ex2
 from("seda:b").delay(1000).asyncDelayed().to("mock:result");
 // END SNIPPET: ex2
+
+
from("seda:c").delay(1000).asyncDelayed("{{myAsync}}").to("mock:result");
 }
 };
 }



[camel] 02/02: Sync deps

2022-10-25 Thread acosentino
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 2d4fa58f2d218cbabb9904155d6a76bb8cf6948b
Author: Andrea Cosentino 
AuthorDate: Tue Oct 25 14:56:19 2022 +0200

Sync deps

Signed-off-by: Andrea Cosentino 
---
 camel-dependencies/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/camel-dependencies/pom.xml b/camel-dependencies/pom.xml
index 7982e9e8af7..dbd3b1c5be7 100644
--- a/camel-dependencies/pom.xml
+++ b/camel-dependencies/pom.xml
@@ -266,7 +266,7 @@
 70.1
 2.12.0
 1.6.0
-14.0.1.Final
+14.0.2.Final
 20.0
 2.22
 1.10



[camel] branch main updated (a844bce291f -> 2d4fa58f2d2)

2022-10-25 Thread acosentino
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


from a844bce291f Polished
 new bff2d179fd1 Upgrade Infinispan to version 14.0.2.Final
 new 2d4fa58f2d2 Sync deps

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 camel-dependencies/pom.xml | 2 +-
 parent/pom.xml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)



[camel] 01/02: Upgrade Infinispan to version 14.0.2.Final

2022-10-25 Thread acosentino
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit bff2d179fd1b2003a7da29d298b6122e3a141455
Author: Andrea Cosentino 
AuthorDate: Tue Oct 25 14:45:13 2022 +0200

Upgrade Infinispan to version 14.0.2.Final

Signed-off-by: Andrea Cosentino 
---
 parent/pom.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/parent/pom.xml b/parent/pom.xml
index 5731f47a23c..f3b505d20a8 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -246,7 +246,7 @@
 70.1
 2.12.0
 1.6.0
-14.0.1.Final
+14.0.2.Final
 2.22
 20.0
 1.10



[GitHub] [camel-quarkus] zbendhiba opened a new pull request, #4213: Remove unecessary basedir in Kafka Oauth tests

2022-10-25 Thread GitBox


zbendhiba opened a new pull request, #4213:
URL: https://github.com/apache/camel-quarkus/pull/4213

   


-- 
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: Polished

2022-10-25 Thread davsclaus
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 a844bce291f Polished
a844bce291f is described below

commit a844bce291f8addf30c24c7357e1bccf3f717321
Author: Claus Ibsen 
AuthorDate: Tue Oct 25 14:20:36 2022 +0200

Polished
---
 .../src/main/resources/auto-configure/camel-microprofile-metrics.joor   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/dsl/camel-kamelet-main/src/main/resources/auto-configure/camel-microprofile-metrics.joor
 
b/dsl/camel-kamelet-main/src/main/resources/auto-configure/camel-microprofile-metrics.joor
index d3ecf6e4b41..0927fde9e1b 100644
--- 
a/dsl/camel-kamelet-main/src/main/resources/auto-configure/camel-microprofile-metrics.joor
+++ 
b/dsl/camel-kamelet-main/src/main/resources/auto-configure/camel-microprofile-metrics.joor
@@ -28,7 +28,7 @@ if (mr == null) {
 context.addRoutePolicyFactory(rpf);
 // and setup dev console
 var dcr = 
context.getExtension(org.apache.camel.console.DevConsoleRegistry.class);
-if (dcr != null){
+if (dcr != null) {
 dcr.resolveById("microprofile-metrics");
 }
 }



[camel] branch main updated: CAMEL-18643 - AWS Health Check: Use AwsServiceException instead of SdkClientException for health check - AWS EKS

2022-10-25 Thread acosentino
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 8da533d824c CAMEL-18643 - AWS Health Check: Use AwsServiceException 
instead of SdkClientException for health check - AWS EKS
8da533d824c is described below

commit 8da533d824c89372a30c8c8e5d73051ecb199936
Author: Andrea Cosentino 
AuthorDate: Tue Oct 25 14:42:44 2022 +0200

CAMEL-18643 - AWS Health Check: Use AwsServiceException instead of 
SdkClientException for health check - AWS EKS

Signed-off-by: Andrea Cosentino 
---
 .../camel/component/aws2/eks/EKS2ClientHealthCheck.java   | 11 +--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git 
a/components/camel-aws/camel-aws2-eks/src/main/java/org/apache/camel/component/aws2/eks/EKS2ClientHealthCheck.java
 
b/components/camel-aws/camel-aws2-eks/src/main/java/org/apache/camel/component/aws2/eks/EKS2ClientHealthCheck.java
index 652542d87cc..8ce3e4db1db 100644
--- 
a/components/camel-aws/camel-aws2-eks/src/main/java/org/apache/camel/component/aws2/eks/EKS2ClientHealthCheck.java
+++ 
b/components/camel-aws/camel-aws2-eks/src/main/java/org/apache/camel/component/aws2/eks/EKS2ClientHealthCheck.java
@@ -23,7 +23,8 @@ import 
org.apache.camel.component.aws2.eks.client.EKS2ClientFactory;
 import org.apache.camel.component.aws2.eks.client.EKS2InternalClient;
 import org.apache.camel.health.HealthCheckResultBuilder;
 import org.apache.camel.impl.health.AbstractHealthCheck;
-import software.amazon.awssdk.core.exception.SdkClientException;
+import org.apache.camel.util.ObjectHelper;
+import software.amazon.awssdk.awscore.exception.AwsServiceException;
 import software.amazon.awssdk.regions.Region;
 import software.amazon.awssdk.services.eks.EksClient;
 import software.amazon.awssdk.services.eks.model.ListClustersRequest;
@@ -56,9 +57,15 @@ public class EKS2ClientHealthCheck extends 
AbstractHealthCheck {
 try {
 EKS2InternalClient eks2Client = 
EKS2ClientFactory.getEksClient(configuration);
 
eks2Client.getEksClient().listClusters(ListClustersRequest.builder().build());
-} catch (SdkClientException e) {
+} catch (AwsServiceException e) {
 builder.message(e.getMessage());
 builder.error(e);
+if (ObjectHelper.isNotEmpty(e.statusCode())) {
+builder.detail(SERVICE_STATUS_CODE, e.statusCode());
+}
+if (ObjectHelper.isNotEmpty(e.awsErrorDetails().errorCode())) {
+builder.detail(SERVICE_ERROR_CODE, 
e.awsErrorDetails().errorCode());
+}
 builder.down();
 return;
 } catch (Exception e) {



[camel] branch regen_bot updated (c4dad0ec788 -> b8790fb37b9)

2022-10-25 Thread github-bot
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 c4dad0ec788 (chores) camel-aws2-lambda: disable flaky test on Github
 add b8790fb37b9 CAMEL-18643 - AWS Health Check: Use AwsServiceException 
instead of SdkClientException for health check - AWS Athena

No new revisions were added by this update.

Summary of changes:
 .../camel/component/aws2/athena/Athena2ClientHealthCheck.java   | 6 ++
 1 file changed, 6 insertions(+)



[camel] branch regen_bot updated (e1132664e2a -> c4dad0ec788)

2022-10-25 Thread github-bot
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 e1132664e2a CAMEL-17675: Update rest-dsl docs
 add dccc92ba947 (chores) camel-aws2-lambda: adjust memory settings and JVM 
behavior for the tests
 add c4dad0ec788 (chores) camel-aws2-lambda: disable flaky test on Github

No new revisions were added by this update.

Summary of changes:
 components/camel-aws/camel-aws2-lambda/pom.xml   | 16 +++-
 .../aws2/lambda/integration/LambdaAliasesIT.java |  2 ++
 .../aws2/lambda/integration/LambdaDeleteFunctionIT.java  |  2 ++
 .../aws2/lambda/integration/LambdaListFunctionsIT.java   |  2 ++
 4 files changed, 21 insertions(+), 1 deletion(-)



[GitHub] [camel] orpiske merged pull request #8620: CAMEL-18648: Google-bigquery - fixed Exception during endpoint creation

2022-10-25 Thread GitBox


orpiske merged PR #8620:
URL: https://github.com/apache/camel/pull/8620


-- 
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-18648: Google-bigqery - fixed ArrayIndexOutOfBoundsException during endpoint creation

2022-10-25 Thread orpiske
This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
 new 86b03153df8 CAMEL-18648: Google-bigqery - fixed 
ArrayIndexOutOfBoundsException during endpoint creation
86b03153df8 is described below

commit 86b03153df812234ab8f591b07dbfa106fa281cd
Author: JiriOndrusek 
AuthorDate: Tue Oct 25 09:50:41 2022 +0200

CAMEL-18648: Google-bigqery - fixed ArrayIndexOutOfBoundsException during 
endpoint creation
---
 .../camel/component/google/bigquery/GoogleBigQueryConfiguration.java | 2 +-
 .../camel/component/google/bigquery/unit/BaseBigQueryTest.java   | 5 +
 2 files changed, 2 insertions(+), 5 deletions(-)

diff --git 
a/components/camel-google/camel-google-bigquery/src/main/java/org/apache/camel/component/google/bigquery/GoogleBigQueryConfiguration.java
 
b/components/camel-google/camel-google-bigquery/src/main/java/org/apache/camel/component/google/bigquery/GoogleBigQueryConfiguration.java
index 3c01196fbc4..82091b07f84 100644
--- 
a/components/camel-google/camel-google-bigquery/src/main/java/org/apache/camel/component/google/bigquery/GoogleBigQueryConfiguration.java
+++ 
b/components/camel-google/camel-google-bigquery/src/main/java/org/apache/camel/component/google/bigquery/GoogleBigQueryConfiguration.java
@@ -59,7 +59,7 @@ public class GoogleBigQueryConfiguration implements Cloneable 
{
 projectId = parts[0];
 datasetId = parts[1];
 if (parts.length > 2) {
-tableId = parts[3];
+tableId = parts[2];
 }
 }
 
diff --git 
a/components/camel-google/camel-google-bigquery/src/test/java/org/apache/camel/component/google/bigquery/unit/BaseBigQueryTest.java
 
b/components/camel-google/camel-google-bigquery/src/test/java/org/apache/camel/component/google/bigquery/unit/BaseBigQueryTest.java
index d6352d8bb30..76bca553387 100644
--- 
a/components/camel-google/camel-google-bigquery/src/test/java/org/apache/camel/component/google/bigquery/unit/BaseBigQueryTest.java
+++ 
b/components/camel-google/camel-google-bigquery/src/test/java/org/apache/camel/component/google/bigquery/unit/BaseBigQueryTest.java
@@ -47,10 +47,7 @@ public abstract class BaseBigQueryTest extends 
CamelTestSupport {
 }
 
 protected GoogleBigQueryProducer createProducer() {
-configuration.setProjectId(projectId);
-configuration.setTableId(tableId);
-configuration.setDatasetId(datasetId);
-configuration.setTableId("testTableId");
+configuration.parseRemaining(projectId + ":" + datasetId + ":" + 
tableId);
 
 return new GoogleBigQueryProducer(bigquery, endpoint, configuration);
 }



[GitHub] [camel] github-actions[bot] commented on pull request #8621: (chores) camel-aws2-secrets-manager: fix/disable flaky test on Github

2022-10-25 Thread GitBox


github-actions[bot] commented on PR #8621:
URL: https://github.com/apache/camel/pull/8621#issuecomment-1290388842

   :star2: Thank you for your contribution to the Apache Camel project! :star2: 
   
   :warning: Please note that the changes on this PR may be **tested 
automatically**. 
   
   If necessary Apache Camel Committers may access logs and test results in the 
job summaries!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel] orpiske opened a new pull request, #8621: (chores) camel-aws2-secrets-manager: fix/disable flaky test on Github

2022-10-25 Thread GitBox


orpiske opened a new pull request, #8621:
URL: https://github.com/apache/camel/pull/8621

   


-- 
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-18643 - AWS Health Check: Use AwsServiceException instead of SdkClientException for health check - AWS Athena

2022-10-25 Thread acosentino
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 b8790fb37b9 CAMEL-18643 - AWS Health Check: Use AwsServiceException 
instead of SdkClientException for health check - AWS Athena
b8790fb37b9 is described below

commit b8790fb37b9593855980a0c6c750089dcb138e9e
Author: Andrea Cosentino 
AuthorDate: Tue Oct 25 12:38:28 2022 +0200

CAMEL-18643 - AWS Health Check: Use AwsServiceException instead of 
SdkClientException for health check - AWS Athena

Signed-off-by: Andrea Cosentino 
---
 .../camel/component/aws2/athena/Athena2ClientHealthCheck.java   | 6 ++
 1 file changed, 6 insertions(+)

diff --git 
a/components/camel-aws/camel-aws2-athena/src/main/java/org/apache/camel/component/aws2/athena/Athena2ClientHealthCheck.java
 
b/components/camel-aws/camel-aws2-athena/src/main/java/org/apache/camel/component/aws2/athena/Athena2ClientHealthCheck.java
index 5da9df7a9c7..2c3402d4b28 100644
--- 
a/components/camel-aws/camel-aws2-athena/src/main/java/org/apache/camel/component/aws2/athena/Athena2ClientHealthCheck.java
+++ 
b/components/camel-aws/camel-aws2-athena/src/main/java/org/apache/camel/component/aws2/athena/Athena2ClientHealthCheck.java
@@ -72,6 +72,12 @@ public class Athena2ClientHealthCheck extends 
AbstractHealthCheck {
 } catch (AwsServiceException e) {
 builder.message(e.getMessage());
 builder.error(e);
+if (ObjectHelper.isNotEmpty(e.statusCode())) {
+builder.detail(SERVICE_STATUS_CODE, e.statusCode());
+}
+if (ObjectHelper.isNotEmpty(e.awsErrorDetails().errorCode())) {
+builder.detail(SERVICE_ERROR_CODE, 
e.awsErrorDetails().errorCode());
+}
 builder.down();
 return;
 



[camel] branch main updated (e1132664e2a -> c4dad0ec788)

2022-10-25 Thread orpiske
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 e1132664e2a CAMEL-17675: Update rest-dsl docs
 new dccc92ba947 (chores) camel-aws2-lambda: adjust memory settings and JVM 
behavior for the tests
 new c4dad0ec788 (chores) camel-aws2-lambda: disable flaky test on Github

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 components/camel-aws/camel-aws2-lambda/pom.xml   | 16 +++-
 .../aws2/lambda/integration/LambdaAliasesIT.java |  2 ++
 .../aws2/lambda/integration/LambdaDeleteFunctionIT.java  |  2 ++
 .../aws2/lambda/integration/LambdaListFunctionsIT.java   |  2 ++
 4 files changed, 21 insertions(+), 1 deletion(-)



[camel] 01/02: (chores) camel-aws2-lambda: adjust memory settings and JVM behavior for the tests

2022-10-25 Thread orpiske
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 dccc92ba947f5951539687a38e50d8963647462e
Author: Otavio Rodolfo Piske 
AuthorDate: Tue Oct 25 09:31:14 2022 +0200

(chores) camel-aws2-lambda: adjust memory settings and JVM behavior for the 
tests
---
 components/camel-aws/camel-aws2-lambda/pom.xml | 16 +++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/components/camel-aws/camel-aws2-lambda/pom.xml 
b/components/camel-aws/camel-aws2-lambda/pom.xml
index 38dc80da9ce..8b3141e3a7a 100644
--- a/components/camel-aws/camel-aws2-lambda/pom.xml
+++ b/components/camel-aws/camel-aws2-lambda/pom.xml
@@ -17,7 +17,8 @@
 limitations under the License.
 
 -->
-http://maven.apache.org/POM/4.0.0; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd;>
+http://maven.apache.org/POM/4.0.0; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd;>
 4.0.0
 
 
@@ -33,6 +34,7 @@
 A Camel Amazon Lambda We Service Component Version 
2
 
 
+1200
 
 
 
@@ -77,4 +79,16 @@
 test
 
 
+
+
+
+
+org.apache.maven.plugins
+maven-surefire-plugin
+
+${camel.surefire.fork.vmargs} 
-XX:+ExitOnOutOfMemoryError -Xmx2G
+
+
+
+
 



[camel] 02/02: (chores) camel-aws2-lambda: disable flaky test on Github

2022-10-25 Thread orpiske
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 c4dad0ec788253bc73d5767cbc3ce97eafb496da
Author: Otavio Rodolfo Piske 
AuthorDate: Mon Oct 24 20:44:54 2022 +0200

(chores) camel-aws2-lambda: disable flaky test on Github
---
 .../apache/camel/component/aws2/lambda/integration/LambdaAliasesIT.java | 2 ++
 .../camel/component/aws2/lambda/integration/LambdaDeleteFunctionIT.java | 2 ++
 .../camel/component/aws2/lambda/integration/LambdaListFunctionsIT.java  | 2 ++
 3 files changed, 6 insertions(+)

diff --git 
a/components/camel-aws/camel-aws2-lambda/src/test/java/org/apache/camel/component/aws2/lambda/integration/LambdaAliasesIT.java
 
b/components/camel-aws/camel-aws2-lambda/src/test/java/org/apache/camel/component/aws2/lambda/integration/LambdaAliasesIT.java
index 66354fe5589..1ccbe92f330 100644
--- 
a/components/camel-aws/camel-aws2-lambda/src/test/java/org/apache/camel/component/aws2/lambda/integration/LambdaAliasesIT.java
+++ 
b/components/camel-aws/camel-aws2-lambda/src/test/java/org/apache/camel/component/aws2/lambda/integration/LambdaAliasesIT.java
@@ -24,6 +24,7 @@ import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.component.aws2.lambda.Lambda2Constants;
 import org.apache.camel.component.aws2.lambda.Lambda2Operations;
 import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
 import software.amazon.awssdk.services.lambda.model.CreateAliasResponse;
 import software.amazon.awssdk.services.lambda.model.CreateFunctionResponse;
 import software.amazon.awssdk.services.lambda.model.DeleteFunctionResponse;
@@ -33,6 +34,7 @@ import 
software.amazon.awssdk.services.lambda.model.ListAliasesResponse;
 import static org.junit.Assert.assertEquals;
 import static org.junit.jupiter.api.Assertions.assertNotNull;
 
+@DisabledIfSystemProperty(named = "ci.env.name", matches = "github.com", 
disabledReason = "Flaky on Apache CI")
 public class LambdaAliasesIT extends Aws2LambdaBase {
 
 @Test
diff --git 
a/components/camel-aws/camel-aws2-lambda/src/test/java/org/apache/camel/component/aws2/lambda/integration/LambdaDeleteFunctionIT.java
 
b/components/camel-aws/camel-aws2-lambda/src/test/java/org/apache/camel/component/aws2/lambda/integration/LambdaDeleteFunctionIT.java
index 2da31fbc75f..c67ddea824a 100644
--- 
a/components/camel-aws/camel-aws2-lambda/src/test/java/org/apache/camel/component/aws2/lambda/integration/LambdaDeleteFunctionIT.java
+++ 
b/components/camel-aws/camel-aws2-lambda/src/test/java/org/apache/camel/component/aws2/lambda/integration/LambdaDeleteFunctionIT.java
@@ -28,10 +28,12 @@ import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.component.aws2.lambda.Lambda2Constants;
 import org.apache.camel.component.mock.MockEndpoint;
 import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
 import software.amazon.awssdk.services.lambda.model.DeleteFunctionResponse;
 
 import static org.junit.Assert.assertTrue;
 
+@DisabledIfSystemProperty(named = "ci.env.name", matches = "github.com", 
disabledReason = "Flaky on Apache CI")
 public class LambdaDeleteFunctionIT extends Aws2LambdaBase {
 
 @EndpointInject
diff --git 
a/components/camel-aws/camel-aws2-lambda/src/test/java/org/apache/camel/component/aws2/lambda/integration/LambdaListFunctionsIT.java
 
b/components/camel-aws/camel-aws2-lambda/src/test/java/org/apache/camel/component/aws2/lambda/integration/LambdaListFunctionsIT.java
index c0478af7d22..e3fa3478137 100644
--- 
a/components/camel-aws/camel-aws2-lambda/src/test/java/org/apache/camel/component/aws2/lambda/integration/LambdaListFunctionsIT.java
+++ 
b/components/camel-aws/camel-aws2-lambda/src/test/java/org/apache/camel/component/aws2/lambda/integration/LambdaListFunctionsIT.java
@@ -28,11 +28,13 @@ import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.component.aws2.lambda.Lambda2Constants;
 import org.apache.camel.component.mock.MockEndpoint;
 import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
 import software.amazon.awssdk.services.lambda.model.ListFunctionsResponse;
 
 import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertNotNull;
 
+@DisabledIfSystemProperty(named = "ci.env.name", matches = "github.com", 
disabledReason = "Flaky on Apache CI")
 public class LambdaListFunctionsIT extends Aws2LambdaBase {
 
 @EndpointInject



[GitHub] [camel] orpiske merged pull request #8619: (chores) camel-aws2-lambda: disable flaky test on Github

2022-10-25 Thread GitBox


orpiske merged PR #8619:
URL: https://github.com/apache/camel/pull/8619


-- 
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 #8619: (chores) camel-aws2-lambda: disable flaky test on Github

2022-10-25 Thread GitBox


orpiske commented on PR #8619:
URL: https://github.com/apache/camel/pull/8619#issuecomment-1290347756

   > ### Components tested:
   > Total  Tested  Failed ❌Passed ✅
   > 1  1   1   0
   
   Lambda is OK now. Merging and moving to the next.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel] github-actions[bot] commented on pull request #8619: (chores) camel-aws2-lambda: disable flaky test on Github

2022-10-25 Thread GitBox


github-actions[bot] commented on PR #8619:
URL: https://github.com/apache/camel/pull/8619#issuecomment-1290346640

   ### Components tested:
   
   | Total | Tested | Failed :x: | Passed :white_check_mark: | 
   | --- | --- | --- |  --- |
   | 1 | 1 | 1 | 0 |


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-quarkus] jamesnetherton opened a new issue, #4211: Manage dependency `com.jayway.jsonpath:json-path`

2022-10-25 Thread GitBox


jamesnetherton opened a new issue, #4211:
URL: https://github.com/apache/camel-quarkus/issues/4211

   Seems that the version used for `json-path` is being taken from 
`debezium-bom`. This seems wrong given that:
   
   * Debezium is only using `json-path` in one of its testing libraries
   * Debezium uses an old version of `json-path` - 2.4.0. Where as Camel aligns 
with 2.7.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-k] tadayosi opened a new issue, #3773: E2E - No longer able to run native build tests with Quarkus 2.13.0 (Camel Catalog 1.15.x)

2022-10-25 Thread GitBox


tadayosi opened a new issue, #3773:
URL: https://github.com/apache/camel-k/issues/3773

   Related to #3715.
   
   I've been investigating why the native build E2E tests keep failing on 
`release-1.10.x` whereas they don't on `main`.
   https://github.com/apache/camel-k/actions/runs/3312246340/jobs/5468684587
   
   I found that the key difference is the runtime versions used:
   ```
   $ git diff release-1.10.x -- script/Makefile
   ...
   -RUNTIME_VERSION := 1.15.1
   +RUNTIME_VERSION := 1.14.0
   ```
   So `release-1.10.x` is updated to Camel K runtime 1.15.1 while `main` 
remains with 1.14.0.
   
   That means we will no longer be able to run native build tests with Quarkus 
2.13.0 (Camel Catalog 1.15.x) or later. As soon as upgrading the runtime 
version used, we'll see the same failures with the `main` branch 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.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel] github-actions[bot] commented on pull request #8619: (chores) camel-aws2-lambda: disable flaky test on Github

2022-10-25 Thread GitBox


github-actions[bot] commented on PR #8619:
URL: https://github.com/apache/camel/pull/8619#issuecomment-1290221636

   ### Components tested:
   
   | Total | Tested | Failed :x: | Passed :white_check_mark: | 
   | --- | --- | --- |  --- |
   | 1 | 1 | 1 | 0 |


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel-quarkus] llowinge commented on a diff in pull request #4210: Split mtom tests

2022-10-25 Thread GitBox


llowinge commented on code in PR #4210:
URL: https://github.com/apache/camel-quarkus/pull/4210#discussion_r1004192682


##
integration-test-groups/cxf-soap/cxf-soap-mtom/src/main/java/org/apache/camel/quarkus/component/cxf/soap/mtom/it/ImageFile.java:
##
@@ -0,0 +1,41 @@
+/*
+ * 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.cxf.soap.mtom.it;
+
+import io.quarkus.runtime.annotations.RegisterForReflection;
+
+@RegisterForReflection

Review Comment:
   Thanks for suggestion, that makes sense. 



-- 
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 #4210: Split mtom tests

2022-10-25 Thread GitBox


llowinge commented on PR #4210:
URL: https://github.com/apache/camel-quarkus/pull/4210#issuecomment-1290212932

   All is hopefully fixed.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[GitHub] [camel] github-actions[bot] commented on pull request #8620: CAMEL-18648: Google-bigquery - fixed Exception during endpoint creation

2022-10-25 Thread GitBox


github-actions[bot] commented on PR #8620:
URL: https://github.com/apache/camel/pull/8620#issuecomment-1290201374

   ### Components tested:
   
   | Total | Tested | Failed :x: | Passed :white_check_mark: | 
   | --- | --- | --- |  --- |
   | 1 | 1 | 0 | 1 |


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel-k] branch dependabot/go_modules/github.com/stretchr/testify-1.8.1 updated (5ca89f8d6 -> 306b789db)

2022-10-25 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch 
dependabot/go_modules/github.com/stretchr/testify-1.8.1
in repository https://gitbox.apache.org/repos/asf/camel-k.git


omit 5ca89f8d6 chore(deps): bump github.com/stretchr/testify from 1.8.0 to 
1.8.1
 add b0e8dac22 chore(e2e): reformat olm_upgrade_test.go
 add 4399d4e77 chore: update LAST_RELEASED_VERSION to 1.10.2
 add 306b789db chore(deps): bump github.com/stretchr/testify from 1.8.0 to 
1.8.1

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   (5ca89f8d6)
\
 N -- N -- N   
refs/heads/dependabot/go_modules/github.com/stretchr/testify-1.8.1 (306b789db)

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:
 e2e/namespace/upgrade/olm_upgrade_test.go | 27 ---
 script/Makefile   |  2 +-
 2 files changed, 21 insertions(+), 8 deletions(-)



[GitHub] [camel-k] tadayosi commented on pull request #3771: chore(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1

2022-10-25 Thread GitBox


tadayosi commented on PR #3771:
URL: https://github.com/apache/camel-k/pull/3771#issuecomment-1290177230

   @dependabot 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-k] branch dependabot/go_modules/github.com/spf13/cobra-1.6.1 updated (15a289732 -> 0ffe8994e)

2022-10-25 Thread github-bot
This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a change to branch 
dependabot/go_modules/github.com/spf13/cobra-1.6.1
in repository https://gitbox.apache.org/repos/asf/camel-k.git


 discard 15a289732 chore(deps): bump github.com/spf13/cobra from 1.6.0 to 1.6.1
 add b0e8dac22 chore(e2e): reformat olm_upgrade_test.go
 add 4399d4e77 chore: update LAST_RELEASED_VERSION to 1.10.2
 add 0ffe8994e chore(deps): bump github.com/spf13/cobra from 1.6.0 to 1.6.1

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   (15a289732)
\
 N -- N -- N   
refs/heads/dependabot/go_modules/github.com/spf13/cobra-1.6.1 (0ffe8994e)

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:
 e2e/namespace/upgrade/olm_upgrade_test.go | 27 ---
 script/Makefile   |  2 +-
 2 files changed, 21 insertions(+), 8 deletions(-)



[GitHub] [camel-k] tadayosi commented on pull request #3770: chore(deps): bump github.com/spf13/cobra from 1.6.0 to 1.6.1

2022-10-25 Thread GitBox


tadayosi commented on PR #3770:
URL: https://github.com/apache/camel-k/pull/3770#issuecomment-1290176009

   @dependabot 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] JiriOndrusek commented on a diff in pull request #8620: CAMEL-18648: Google-bigquery - fixed Exception during endpoint creation

2022-10-25 Thread GitBox


JiriOndrusek commented on code in PR #8620:
URL: https://github.com/apache/camel/pull/8620#discussion_r1004157929


##
components/camel-google/camel-google-bigquery/src/main/java/org/apache/camel/component/google/bigquery/GoogleBigQueryConfiguration.java:
##
@@ -59,7 +59,7 @@ public void parseRemaining(String remaining) {
 projectId = parts[0];
 datasetId = parts[1];
 if (parts.length > 2) {
-tableId = parts[3];
+tableId = parts[2];

Review Comment:
   Np. I upgraded test to catch it.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel] branch regen_bot updated (1df6fc8d611 -> e1132664e2a)

2022-10-25 Thread github-bot
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 1df6fc8d611 CAMEL-18642: camel-jbang - Update docs
 add e1132664e2a CAMEL-17675: Update rest-dsl docs

No new revisions were added by this update.

Summary of changes:
 docs/user-manual/modules/ROOT/pages/rest-dsl.adoc | 14 --
 1 file changed, 8 insertions(+), 6 deletions(-)



[GitHub] [camel-quarkus] ppalaga commented on a diff in pull request #4210: Split mtom tests

2022-10-25 Thread GitBox


ppalaga commented on code in PR #4210:
URL: https://github.com/apache/camel-quarkus/pull/4210#discussion_r1004139025


##
integration-test-groups/cxf-soap/cxf-soap-mtom-awt/src/main/java/org/apache/camel/quarkus/component/cxf/soap/mtom/it/CxfSoapMtomRoutes.java:
##
@@ -0,0 +1,141 @@
+/*
+ * 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.cxf.soap.mtom.it;

Review Comment:
   ```suggestion
   package org.apache.camel.quarkus.component.cxf.soap.mtom.awt.it;
   ```



##
integration-test-groups/cxf-soap/cxf-soap-mtom-awt/src/main/java/org/apache/camel/quarkus/component/cxf/soap/mtom/it/CxfSoapMtomResource.java:
##
@@ -0,0 +1,88 @@
+/*
+ * 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.cxf.soap.mtom.it;
+
+import java.awt.*;
+import java.awt.image.BufferedImage;
+import java.io.ByteArrayInputStream;
+import java.io.ByteArrayOutputStream;
+import java.net.URI;
+
+import javax.enterprise.context.ApplicationScoped;
+import javax.imageio.ImageIO;
+import javax.inject.Inject;
+import javax.ws.rs.Consumes;
+import javax.ws.rs.POST;
+import javax.ws.rs.Path;
+import javax.ws.rs.Produces;
+import javax.ws.rs.QueryParam;
+import javax.ws.rs.core.MediaType;
+import javax.ws.rs.core.Response;
+
+import org.apache.camel.ProducerTemplate;
+
+import static 
org.apache.camel.component.cxf.common.message.CxfConstants.OPERATION_NAME;
+
+@Path("/cxf-soap/mtom")
+@ApplicationScoped
+public class CxfSoapMtomResource {

Review Comment:
   ```suggestion
   @Path("/cxf-soap/mtom-awt")
   @ApplicationScoped
   public class CxfSoapMtomAwtResource {
   ```



##
integration-test-groups/cxf-soap/cxf-soap-mtom-awt/src/main/java/org/apache/camel/quarkus/component/cxf/soap/mtom/it/IImageService.java:
##
@@ -0,0 +1,33 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *  http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.quarkus.component.cxf.soap.mtom.it;

Review Comment:
   ```suggestion
   package org.apache.camel.quarkus.component.cxf.soap.mtom.awt.it;
   ```



##
integration-test-groups/cxf-soap/cxf-soap-mtom-awt/src/main/resources/application.properties:
##
@@ -0,0 +1,19 @@
+## ---
+## 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 

[camel-k] branch release-1.10.x updated (bcacc777b -> 055b11218)

2022-10-25 Thread tsato
This is an automated email from the ASF dual-hosted git repository.

tsato pushed a change to branch release-1.10.x
in repository https://gitbox.apache.org/repos/asf/camel-k.git


from bcacc777b fix(e2e): setting cluster for install
 new 8bb102c98 fix(e2e): stabilise TestNativeBinding
 new 43eb51604 chore(e2e): native test - add warm up before native build 
testing
 new a931e9e5a fix(e2e): fix TestNativeIntegrations
 new 28224ea56 fix(e2e): increase overall timeout to 90m for native tests
 new f81d5f25b chore(ci): split install-it workflow into two jobs: install, 
native
 new 797327fb6 fix(e2e): relax constraints for builder kit full build test
 new 055b11218 chore(build): clear staging runtime repo

The 7 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:
 .../{e2e-install => e2e-install-native}/action.yml |  6 +--
 .../exec-tests.sh  |  7 +--
 .github/actions/e2e-install/exec-tests.sh  | 14 ++
 .github/actions/e2e-knative/exec-tests.sh  |  3 +-
 .github/workflows/install.yml  | 24 -
 e2e/global/builder/build_test.go   |  7 +--
 e2e/global/common/kamelet_binding_test.go  | 16 --
 e2e/namespace/native/native_binding_test.go| 57 +++---
 e2e/namespace/native/native_test.go| 31 ++--
 e2e/support/test_support.go| 25 --
 script/Makefile|  4 +-
 11 files changed, 139 insertions(+), 55 deletions(-)
 copy .github/actions/{e2e-install => e2e-install-native}/action.yml (97%)
 copy .github/actions/{e2e-knative-yaks => e2e-install-native}/exec-tests.sh 
(94%)



[camel-k] 01/07: fix(e2e): stabilise TestNativeBinding

2022-10-25 Thread tsato
This is an automated email from the ASF dual-hosted git repository.

tsato pushed a commit to branch release-1.10.x
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 8bb102c988f7303951e8ba4d7cd780903a5b9f88
Author: Tadayoshi Sato 
AuthorDate: Tue Oct 18 14:44:58 2022 +0900

fix(e2e): stabilise TestNativeBinding
---
 e2e/global/common/kamelet_binding_test.go   | 16 ++--
 e2e/namespace/native/native_binding_test.go | 57 -
 e2e/namespace/native/native_test.go |  5 ++-
 e2e/support/test_support.go |  8 ++--
 4 files changed, 60 insertions(+), 26 deletions(-)

diff --git a/e2e/global/common/kamelet_binding_test.go 
b/e2e/global/common/kamelet_binding_test.go
index a98854254..97aca4411 100644
--- a/e2e/global/common/kamelet_binding_test.go
+++ b/e2e/global/common/kamelet_binding_test.go
@@ -71,7 +71,10 @@ func TestKameletBinding(t *testing.T) {
t.Run("throw error test", func(t *testing.T) {
RegisterTestingT(t)
 
-   Expect(BindKameletToWithErrorHandler(ns, 
"throw-error-binding", map[string]string{}, from, to, 
map[string]string{"message": "throw Error"}, map[string]string{"loggerName": 
"integrationLogger"}, errorHandler)()).To(Succeed())
+   Expect(BindKameletToWithErrorHandler(ns, 
"throw-error-binding", map[string]string{},
+   from, to,
+   map[string]string{"message": "throw 
Error"}, map[string]string{"loggerName": "integrationLogger"},
+   errorHandler)()).To(Succeed())
 
Eventually(IntegrationPodPhase(ns, 
"throw-error-binding"), TestTimeoutLong).Should(Equal(corev1.PodRunning))
Eventually(IntegrationLogs(ns, 
"throw-error-binding"), 
TestTimeoutShort).Should(ContainSubstring("kameletErrorHandler"))
@@ -82,7 +85,10 @@ func TestKameletBinding(t *testing.T) {
t.Run("don't throw error test", func(t *testing.T) {
RegisterTestingT(t)
 
-   Expect(BindKameletToWithErrorHandler(ns, 
"no-error-binding", map[string]string{}, from, to, map[string]string{"message": 
"true"}, map[string]string{"loggerName": "integrationLogger"}, 
errorHandler)()).To(Succeed())
+   Expect(BindKameletToWithErrorHandler(ns, 
"no-error-binding", map[string]string{},
+   from, to,
+   map[string]string{"message": "true"}, 
map[string]string{"loggerName": "integrationLogger"},
+   errorHandler)()).To(Succeed())
 
Eventually(IntegrationPodPhase(ns, 
"no-error-binding"), TestTimeoutLong).Should(Equal(corev1.PodRunning))
Eventually(IntegrationLogs(ns, 
"no-error-binding"), 
TestTimeoutShort).ShouldNot(ContainSubstring("kameletErrorHandler"))
@@ -112,7 +118,11 @@ func TestKameletBinding(t *testing.T) {
APIVersion: 
v1alpha1.SchemeGroupVersion.String(),
}
 
-   Expect(BindKameletTo(ns, "kb-with-traits", 
map[string]string{"trait.camel.apache.org/camel.properties": 
"[\"camel.prop1=a\",\"camel.prop2=b\"]"}, from, to, 
map[string]string{"message": "hello from test"}, 
map[string]string{"loggerName": "integrationLogger"})()).To(Succeed())
+   Expect(BindKameletTo(ns, "kb-with-traits",
+   
map[string]string{"trait.camel.apache.org/camel.properties": 
"[\"camel.prop1=a\",\"camel.prop2=b\"]"},
+   from, to,
+   map[string]string{"message": "hello from 
test"}, map[string]string{"loggerName": "integrationLogger"})()).
+   To(Succeed())
 
Eventually(IntegrationPodPhase(ns, "kb-with-traits"), 
TestTimeoutLong).Should(Equal(corev1.PodRunning))
Eventually(IntegrationLogs(ns, "kb-with-traits"), 
TestTimeoutShort).Should(ContainSubstring("hello from test"))
diff --git a/e2e/namespace/native/native_binding_test.go 
b/e2e/namespace/native/native_binding_test.go
index f2af7d681..18063d100 100644
--- a/e2e/namespace/native/native_binding_test.go
+++ b/e2e/namespace/native/native_binding_test.go
@@ -23,9 +23,10 @@ limitations under the License.
 package native
 
 import (
-   "github.com/apache/camel-k/pkg/apis/camel/v1alpha1"
"testing"
 
+   "github.com/apache/camel-k/pkg/apis/camel/v1alpha1"
+
. "github.com/onsi/gomega"
 
corev1 "k8s.io/api/core/v1"
@@ -38,27 +39,46 @@ func TestNativeBinding(t *testing.T) {
WithNewTestNamespace(t, func(ns string) {
operatorID := "camel-k-native-binding"

[camel-k] 06/07: fix(e2e): relax constraints for builder kit full build test

2022-10-25 Thread tsato
This is an automated email from the ASF dual-hosted git repository.

tsato pushed a commit to branch release-1.10.x
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 797327fb6a5b13cc0cf1cbc4c21120953a130460
Author: Tadayoshi Sato 
AuthorDate: Fri Sep 2 17:06:19 2022 +0900

fix(e2e): relax constraints for builder kit full build test
---
 e2e/global/builder/build_test.go | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/e2e/global/builder/build_test.go b/e2e/global/builder/build_test.go
index 7a379ae2e..b69265d84 100644
--- a/e2e/global/builder/build_test.go
+++ b/e2e/global/builder/build_test.go
@@ -41,7 +41,7 @@ type kitOptions struct {
 }
 
 func TestKitTimerToLogFullBuild(t *testing.T) {
-   doKitFullBuild(t, "timer-to-log", "300Mi", "5m0s", TestTimeoutLong, 
kitOptions{
+   doKitFullBuild(t, "timer-to-log", "500Mi", "8m0s", TestTimeoutLong, 
kitOptions{
dependencies: []string{
"camel:timer", "camel:log",
},
@@ -49,7 +49,7 @@ func TestKitTimerToLogFullBuild(t *testing.T) {
 }
 
 func TestKitKnativeFullBuild(t *testing.T) {
-   doKitFullBuild(t, "knative", "300Mi", "5m0s", TestTimeoutLong, 
kitOptions{
+   doKitFullBuild(t, "knative", "500Mi", "8m0s", TestTimeoutLong, 
kitOptions{
dependencies: []string{
"camel-k-knative",
},
@@ -72,7 +72,8 @@ func TestKitTimerToLogFullNativeBuild(t *testing.T) {
})
 }
 
-func doKitFullBuild(t *testing.T, name string, memoryLimit string, 
buildTimeout string, testTimeout time.Duration, options kitOptions) {
+func doKitFullBuild(t *testing.T, name string, memoryLimit string, 
buildTimeout string, testTimeout time.Duration,
+   options kitOptions) {
t.Helper()
 
WithNewTestNamespace(t, func(ns string) {



[camel-k] 07/07: chore(build): clear staging runtime repo

2022-10-25 Thread tsato
This is an automated email from the ASF dual-hosted git repository.

tsato pushed a commit to branch release-1.10.x
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 055b11218a4671e4f21697a66020e7399918f23f
Author: Tadayoshi Sato 
AuthorDate: Fri Oct 21 16:26:49 2022 +0900

chore(build): clear staging runtime repo
---
 script/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/script/Makefile b/script/Makefile
index 231f4a9ab..2b9f4652c 100644
--- a/script/Makefile
+++ b/script/Makefile
@@ -75,7 +75,7 @@ OPM := opm
 # Used to push pre-release artifacts
 STAGING_IMAGE_NAME := docker.io/camelk/camel-k
 
-STAGING_RUNTIME_REPO := 
https://repository.apache.org/content/repositories/orgapachecamel-1483
+STAGING_RUNTIME_REPO :=
 
 # Define here the repo containing the default Kamelet catalog (if any)
 KAMELET_CATALOG_REPO := https://github.com/apache/camel-kamelets.git



[camel-kamelets] 01/02: azure-eventhubs-sink: remove hardcoded jackson dependencies

2022-10-25 Thread lburgazzoli
This is an automated email from the ASF dual-hosted git repository.

lburgazzoli pushed a commit to branch 0.9.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 9635b0ea2c58697a97c67b3747fafce2879fcd60
Author: Luca Burgazzoli 
AuthorDate: Tue Oct 25 09:32:25 2022 +0200

azure-eventhubs-sink: remove hardcoded jackson dependencies
---
 kamelets/azure-eventhubs-sink.kamelet.yaml | 5 -
 1 file changed, 5 deletions(-)

diff --git a/kamelets/azure-eventhubs-sink.kamelet.yaml 
b/kamelets/azure-eventhubs-sink.kamelet.yaml
index 415944b9..5088abf8 100644
--- a/kamelets/azure-eventhubs-sink.kamelet.yaml
+++ b/kamelets/azure-eventhubs-sink.kamelet.yaml
@@ -67,11 +67,6 @@ spec:
 - urn:camel:group:credentials
   dependencies:
 - "camel:core"
-#TODO: these mvn:* dependencies must be removed after upgrading to camel 
3.10
-- "mvn:com.fasterxml.jackson.core:jackson-core:2.11.3"
-- "mvn:com.fasterxml.jackson.core:jackson-annotations:2.11.3"
-- "mvn:com.fasterxml.jackson.core:jackson-databind:2.11.3"
-- "mvn:com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.11.3"
 - "camel:azure-eventhubs"
 - "camel:kamelet"
   template:



[camel-k] 02/07: chore(e2e): native test - add warm up before native build testing

2022-10-25 Thread tsato
This is an automated email from the ASF dual-hosted git repository.

tsato pushed a commit to branch release-1.10.x
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 43eb51604198e847c5e1dbf0c6f361eb09487074
Author: Tadayoshi Sato 
AuthorDate: Thu Sep 1 14:54:46 2022 +0900

chore(e2e): native test - add warm up before native build testing
---
 e2e/namespace/native/native_test.go | 22 +-
 e2e/support/test_support.go | 17 +++--
 2 files changed, 36 insertions(+), 3 deletions(-)

diff --git a/e2e/namespace/native/native_test.go 
b/e2e/namespace/native/native_test.go
index f8d5fec91..20d4f9fa0 100644
--- a/e2e/namespace/native/native_test.go
+++ b/e2e/namespace/native/native_test.go
@@ -56,7 +56,27 @@ func TestNativeIntegrations(t *testing.T) {
).Execute()).To(Succeed())
 
Eventually(IntegrationPhase(ns, 
name)).Should(Equal(v1.IntegrationPhaseError))
-   Eventually(IntegrationConditionStatus(ns, name, 
v1.IntegrationConditionKitAvailable)).Should(Equal(corev1.ConditionFalse))
+   Eventually(IntegrationConditionStatus(ns, name, 
v1.IntegrationConditionKitAvailable)).
+   Should(Equal(corev1.ConditionFalse))
+
+   // Clean up
+   Expect(Kamel("delete", name, "-n", 
ns).Execute()).To(Succeed())
+   })
+
+   t.Run("warm up before native build testing", func(t *testing.T) 
{
+   // The following native build test is under tight time 
constraints, so here it runs
+   // a warm up testing to make sure necessary jars are 
already downloaded.
+   name := "warm-up-yaml"
+   Expect(KamelRunWithID(operatorID, ns, 
"files/yaml.yaml", "--name", name).Execute()).To(Succeed())
+
+   Eventually(IntegrationPodPhase(ns, name), 
TestTimeoutLong).Should(Equal(corev1.PodRunning))
+   Eventually(IntegrationConditionStatus(ns, name, 
v1.IntegrationConditionReady), TestTimeoutShort).
+   Should(Equal(corev1.ConditionTrue))
+   Eventually(IntegrationLogs(ns, name), 
TestTimeoutShort).Should(ContainSubstring("Magicstring!"))
+
+   // Clean up
+   Expect(Kamel("delete", name, "-n", 
ns).Execute()).To(Succeed())
+   Expect(DeleteKits(ns)).To(Succeed())
})
 
t.Run("automatic rollout deployment from fast-jar to native 
kit", func(t *testing.T) {
diff --git a/e2e/support/test_support.go b/e2e/support/test_support.go
index 59d064fa1..72c7e8d21 100644
--- a/e2e/support/test_support.go
+++ b/e2e/support/test_support.go
@@ -1107,6 +1107,20 @@ func Kits(ns string, options ...interface{}) func() 
[]v1.IntegrationKit {
}
 }
 
+func DeleteKits(ns string) error {
+   kits := Kits(ns)()
+   if len(kits) == 0 {
+   return nil
+   }
+   for _, kit := range kits {
+   if err := TestClient().Delete(TestContext, ); err != nil {
+   return err
+   }
+   }
+
+   return nil
+}
+
 func OperatorImage(ns string) func() string {
return func() string {
pod := OperatorPod(ns)()
@@ -1375,8 +1389,7 @@ func DeletePlatform(ns string) func() bool {
if pl == nil {
return true
}
-   err := TestClient().Delete(TestContext, pl)
-   if err != nil {
+   if err := TestClient().Delete(TestContext, pl); err != nil {
log.Error(err, "Got error while deleting the platform")
}
return false



[GitHub] [camel-k] tadayosi commented on pull request #3749: fix(e2e): stabilise TestNativeBinding (1.10.x)

2022-10-25 Thread GitBox


tadayosi commented on PR #3749:
URL: https://github.com/apache/camel-k/pull/3749#issuecomment-1290164723

   The `native-it` tests keep failing, but let's try to address them with 
another pull req. I'm merging this one.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



[camel-k] 05/07: chore(ci): split install-it workflow into two jobs: install, native

2022-10-25 Thread tsato
This is an automated email from the ASF dual-hosted git repository.

tsato pushed a commit to branch release-1.10.x
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit f81d5f25b1faf5c6577c628a57091fca2d05397b
Author: Tadayoshi Sato 
AuthorDate: Thu Sep 1 16:35:59 2022 +0900

chore(ci): split install-it workflow into two jobs: install, native
---
 .github/actions/e2e-install-native/action.yml  | 117 +
 .../exec-tests.sh  |  16 +--
 .github/actions/e2e-install/exec-tests.sh  |  14 +--
 .github/actions/e2e-knative/exec-tests.sh  |   3 +-
 .github/workflows/install.yml  |  24 -
 5 files changed, 150 insertions(+), 24 deletions(-)

diff --git a/.github/actions/e2e-install-native/action.yml 
b/.github/actions/e2e-install-native/action.yml
new file mode 100644
index 0..1061ff8e5
--- /dev/null
+++ b/.github/actions/e2e-install-native/action.yml
@@ -0,0 +1,117 @@
+# ---
+# 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.
+# ---
+
+name: e2e-install-native
+description: 'End-to-End tests for install use-cases (namespaced rather than 
global operator so no global operator install) with native builds'
+
+inputs:
+  cluster-config-data:
+description: 'The configuration of the underlying cluster (if cluster-type 
is custom)'
+required: false
+  cluster-kube-config-data:
+description: 'Base16 encoded kube config - required for custom cluster 
type only'
+required: false
+
+runs:
+  using: "composite"
+
+  steps:
+  - id: prepare-env
+name: Prepare Test Environment
+uses: ./.github/actions/kamel-prepare-env
+
+  - id: config-cluster
+name: Configure Platform
+uses: ./.github/actions/kamel-config-cluster
+with:
+  cluster-type: ${{ env.TEST_CLUSTER }}
+  cluster-config-data: ${{ inputs.cluster-config-data }}
+  cluster-kube-config-data: ${{ inputs.cluster-kube-config-data }}
+
+  #
+  # Try and ensure the cluster is in a vanilla state before
+  # starting in on an installation
+  #
+  - id: pre-clean-cluster
+name: Pre Clean Cluster
+uses: ./.github/actions/kamel-cleanup
+if: ${{ always() }}
+with:
+  catalog-source-name: ${{ 
steps.config-cluster.outputs.cluster-catalog-source-name }}
+  catalog-source-namespace: ${{ 
steps.config-cluster.outputs.cluster-catalog-source-namespace }}
+  image-namespace: ${{ 
steps.config-cluster.outputs.cluster-image-namespace }}
+  global-operator-namespace: ${{ 
steps.config-cluster.outputs.cluster-global-operator-namespace }}
+
+  - id: build-kamel
+name: Build Kamel
+uses: ./.github/actions/kamel-build
+with:
+  image-registry-push-host: ${{ 
steps.config-cluster.outputs.cluster-image-registry-push-host }}
+  image-registry-pull-host: ${{ 
steps.config-cluster.outputs.cluster-image-registry-pull-host }}
+  image-namespace: ${{ 
steps.config-cluster.outputs.cluster-image-namespace }}
+  # Builds the bundle if an OLM is available - depends on cluster being 
tested
+  build-bundle: ${{ steps.config-cluster.outputs.cluster-has-olm }}
+  # Both can be empty and so catalog source will not be created
+  catalog-source-name: ${{ 
steps.config-cluster.outputs.cluster-catalog-source-name }}
+  catalog-source-namespace: ${{ 
steps.config-cluster.outputs.cluster-catalog-source-namespace }}
+
+  - id: install-kamel-cluster-setup
+name: Install Kamel Cluster Setup
+uses: ./.github/actions/kamel-install-cluster-setup
+with:
+  kube-admin-user-ctx: ${{ 
steps.config-cluster.outputs.cluster-kube-admin-user-ctx }}
+
+  - id: preflight-test
+name: Preflight Check Test
+uses: ./.github/actions/kamel-preflight-test
+with:
+  catalog-source-name: ${{ 
steps.config-cluster.outputs.cluster-catalog-source-name }}
+  catalog-source-namespace: ${{ 
steps.config-cluster.outputs.cluster-catalog-source-namespace }}
+  image-namespace: ${{ 
steps.config-cluster.outputs.cluster-image-namespace }}
+  image-registry-host: ${{ 

[camel-k] 03/07: fix(e2e): fix TestNativeIntegrations

2022-10-25 Thread tsato
This is an automated email from the ASF dual-hosted git repository.

tsato pushed a commit to branch release-1.10.x
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit a931e9e5a66166f0a1fbe9da7c1474f9d98b1f94
Author: Tadayoshi Sato 
AuthorDate: Tue Oct 18 20:21:11 2022 +0900

fix(e2e): fix TestNativeIntegrations
---
 e2e/namespace/native/native_test.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/e2e/namespace/native/native_test.go 
b/e2e/namespace/native/native_test.go
index 20d4f9fa0..3b536bcc4 100644
--- a/e2e/namespace/native/native_test.go
+++ b/e2e/namespace/native/native_test.go
@@ -92,7 +92,7 @@ func TestNativeIntegrations(t *testing.T) {
 
// Check the fast-jar Kit is ready
Eventually(Kits(ns, withFastJarLayout, 
KitWithPhase(v1.IntegrationKitPhaseReady)),
-   TestTimeoutVeryLong).Should(HaveLen(1))
+   TestTimeoutLong).Should(HaveLen(1))
 
fastJarKit := Kits(ns, withFastJarLayout, 
KitWithPhase(v1.IntegrationKitPhaseReady))()[0]
// Check the Integration uses the fast-jar Kit
@@ -109,7 +109,7 @@ func TestNativeIntegrations(t *testing.T) {
 
// Check the native Kit is ready
Eventually(Kits(ns, withNativeLayout, 
KitWithPhase(v1.IntegrationKitPhaseReady)),
-   TestTimeoutLong).Should(HaveLen(1))
+   TestTimeoutVeryLong).Should(HaveLen(1))
 
nativeKit := Kits(ns, withNativeLayout, 
KitWithPhase(v1.IntegrationKitPhaseReady))()[0]
// Check the Integration uses the native Kit



[camel-k] 04/07: fix(e2e): increase overall timeout to 90m for native tests

2022-10-25 Thread tsato
This is an automated email from the ASF dual-hosted git repository.

tsato pushed a commit to branch release-1.10.x
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit 28224ea5678334c4b6d48bec12e0f81b76e736bd
Author: Tadayoshi Sato 
AuthorDate: Tue Oct 18 23:06:53 2022 +0900

fix(e2e): increase overall timeout to 90m for native tests
---
 script/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/script/Makefile b/script/Makefile
index 3933acb82..231f4a9ab 100644
--- a/script/Makefile
+++ b/script/Makefile
@@ -295,7 +295,7 @@ test-install: do-build
 
 test-quarkus-native: do-build
STAGING_RUNTIME_REPO="$(STAGING_RUNTIME_REPO)" \
-   go test -timeout 60m -v ./e2e/namespace/native -tags=integration 
$(TEST_QUARKUS_RUN) -json 2>&1 | gotestfmt
+   go test -timeout 90m -v ./e2e/namespace/native -tags=integration 
$(TEST_QUARKUS_RUN) -json 2>&1 | gotestfmt
 
 test-upgrade: do-build
STAGING_RUNTIME_REPO="$(STAGING_RUNTIME_REPO)" \



[camel-kamelets] branch 0.9.x updated (28d7a4e9 -> e5e83f3c)

2022-10-25 Thread lburgazzoli
This is an automated email from the ASF dual-hosted git repository.

lburgazzoli pushed a change to branch 0.9.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git


from 28d7a4e9 Camel Kamelets 0.9.x is used by Camel K 1.10.2
 new 9635b0ea azure-eventhubs-sink: remove hardcoded jackson dependencies
 new e5e83f3c chore: regen

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 kamelets/avro-deserialize-action.kamelet.yaml  | 4 ++--
 kamelets/avro-serialize-action.kamelet.yaml| 4 ++--
 kamelets/aws-cloudwatch-sink.kamelet.yaml  | 2 +-
 kamelets/aws-ddb-sink.kamelet.yaml | 4 ++--
 kamelets/aws-ddb-streams-source.kamelet.yaml   | 2 +-
 kamelets/aws-ec2-sink.kamelet.yaml | 2 +-
 kamelets/aws-eventbridge-sink.kamelet.yaml | 2 +-
 kamelets/aws-kinesis-firehose-sink.kamelet.yaml| 2 +-
 kamelets/aws-kinesis-sink.kamelet.yaml | 2 +-
 kamelets/aws-kinesis-source.kamelet.yaml   | 2 +-
 kamelets/aws-lambda-sink.kamelet.yaml  | 2 +-
 kamelets/aws-redshift-sink.kamelet.yaml| 2 +-
 kamelets/aws-redshift-source.kamelet.yaml  | 2 +-
 kamelets/aws-s3-sink.kamelet.yaml  | 2 +-
 kamelets/aws-s3-source.kamelet.yaml| 2 +-
 kamelets/aws-s3-streaming-upload-sink.kamelet.yaml | 2 +-
 kamelets/aws-secrets-manager-sink.kamelet.yaml | 2 +-
 kamelets/aws-ses-sink.kamelet.yaml | 2 +-
 kamelets/aws-sns-fifo-sink.kamelet.yaml| 2 +-
 kamelets/aws-sns-sink.kamelet.yaml | 2 +-
 kamelets/aws-sqs-batch-sink.kamelet.yaml   | 2 +-
 kamelets/aws-sqs-fifo-sink.kamelet.yaml| 2 +-
 kamelets/aws-sqs-sink.kamelet.yaml | 2 +-
 kamelets/aws-sqs-source.kamelet.yaml   | 2 +-
 kamelets/aws-translate-action.kamelet.yaml | 2 +-
 kamelets/azure-cosmosdb-source.kamelet.yaml| 2 +-
 kamelets/azure-eventhubs-sink.kamelet.yaml | 7 +--
 kamelets/azure-eventhubs-source.kamelet.yaml   | 2 +-
 kamelets/azure-functions-sink.kamelet.yaml | 2 +-
 kamelets/azure-servicebus-sink.kamelet.yaml| 2 +-
 kamelets/azure-servicebus-source.kamelet.yaml  | 2 +-
 kamelets/azure-storage-blob-changefeed-source.kamelet.yaml | 2 +-
 kamelets/azure-storage-blob-sink.kamelet.yaml  | 2 +-
 kamelets/azure-storage-blob-source.kamelet.yaml| 2 +-
 kamelets/azure-storage-queue-sink.kamelet.yaml | 2 +-
 kamelets/azure-storage-queue-source.kamelet.yaml   | 2 +-
 kamelets/beer-source.kamelet.yaml  | 2 +-
 kamelets/bitcoin-source.kamelet.yaml   | 2 +-
 kamelets/caffeine-action.kamelet.yaml  | 2 +-
 kamelets/cassandra-sink.kamelet.yaml   | 2 +-
 kamelets/cassandra-source.kamelet.yaml | 2 +-
 kamelets/ceph-sink.kamelet.yaml| 2 +-
 kamelets/ceph-source.kamelet.yaml  | 2 +-
 kamelets/chuck-norris-source.kamelet.yaml  | 2 +-
 kamelets/chunk-template-action.kamelet.yaml| 2 +-
 kamelets/couchbase-sink.kamelet.yaml   | 2 +-
 kamelets/cron-source.kamelet.yaml  | 2 +-
 kamelets/delay-action.kamelet.yaml | 2 +-
 kamelets/dns-dig-action.kamelet.yaml   | 2 +-
 kamelets/dns-ip-action.kamelet.yaml| 2 +-
 kamelets/dns-lookup-action.kamelet.yaml| 2 +-
 kamelets/drop-header-action.kamelet.yaml   | 2 +-
 kamelets/drop-headers-action.kamelet.yaml  | 2 +-
 kamelets/dropbox-sink.kamelet.yaml | 2 +-
 kamelets/dropbox-source.kamelet.yaml   | 2 +-
 kamelets/earthquake-source.kamelet.yaml| 2 +-
 kamelets/elasticsearch-index-sink.kamelet.yaml | 2 +-
 kamelets/elasticsearch-search-source.kamelet.yaml  | 2 +-
 

[GitHub] [camel-k] tadayosi merged pull request #3749: fix(e2e): stabilise TestNativeBinding (1.10.x)

2022-10-25 Thread GitBox


tadayosi merged PR #3749:
URL: https://github.com/apache/camel-k/pull/3749


-- 
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



  1   2   >