[GitHub] [camel] github-actions[bot] commented on pull request #8906: Upgrade to couchbase 3.4.1
github-actions[bot] commented on PR #8906: URL: https://github.com/apache/camel/pull/8906#issuecomment-1352671357 :no_entry_sign: There are (likely) no components to be tested in this PR -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-k] gansheer commented on pull request #3902: feat(cli): Add autocomplete on integrations, kits, kamelets commands
gansheer commented on PR #3902: URL: https://github.com/apache/camel-k/pull/3902#issuecomment-1352669451 > @gansheer OK, so I didn't notice that the autocompletion functions for `kamel get` / `kamel delete` are already included in the bash completion script. But it never works on my laptop. > > ``` > $ kamel get > NAME PHASE KIT > java Running camel-k/kit-cedaklomsunon3m7so8g > > $ kamel get [TAB] > (... only shows local files) > ``` > > Is this only me? The `kamel get` it needed to be integrated to the following code to be called: https://github.com/apache/camel-k/blob/5e61ed925faeff450f4bfc0227768cd2d5d1f229/pkg/cmd/completion_bash.go#L178-L204 It is why it was never called before, so it is normal it never works on you laptop. For the `kamel delete` it should already have been working, so I don't really know. -- 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] gansheer commented on issue #3628: Enable CLI completion for integration, kit, kamelet names
gansheer commented on issue #3628: URL: https://github.com/apache/camel-k/issues/3628#issuecomment-1352666197 Hi, > Hi, > > Actually, no, you cannot delete platform kits with `kamel kit delete`. They are protected from cli. There's even no flag to force performing it. So sometimes I tend to need to do this to clean up platform kits: `kubectl delete ik ...` You are absolutely right, I just realized I used the `kubectl` command most of the time. The completion command is good for `kamel kit delete`. Thank you :+1: -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch regen_bot updated (40b4cd8a4cd -> a8a8ce89fff)
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 40b4cd8a4cd Polished add a8a8ce89fff CAMEL-18812 Fix REST DSL configuration placeholder for id No new revisions were added by this update. Summary of changes: components/camel-spring-xml/src/test/resources/custom.properties | 1 + .../org/apache/camel/component/rest/SpringFromRestGetTest.xml| 5 - .../camel/component/rest/SpringFromRestIdAndDescriptionTest.xml | 5 - 3 files changed, 9 insertions(+), 2 deletions(-)
[camel] branch regen_bot updated (6ea0f1c93dc -> 40b4cd8a4cd)
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 6ea0f1c93dc CAMEL-18817: camel-hbase - Support append and increment operations in the producer (#8905) add 40b4cd8a4cd Polished No new revisions were added by this update. Summary of changes: docs/user-manual/modules/ROOT/pages/camel-jbang.adoc | 2 -- 1 file changed, 2 deletions(-)
[GitHub] [camel] github-actions[bot] commented on pull request #8713: CAMEL-18661: Make span current and clear scope properly for async processing
github-actions[bot] commented on PR #8713: URL: https://github.com/apache/camel/pull/8713#issuecomment-1352631282 ### Components tested: | Total | Tested | Failed :x: | Passed :white_check_mark: | | --- | --- | --- | --- | | 9 | 9 | 1 | 9 | -- 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] davsclaus opened a new pull request, #8906: Upgrade to couchbase 3.4.1
davsclaus opened a new pull request, #8906: URL: https://github.com/apache/camel/pull/8906 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] 01/01: Upgrade to couchbase 3.4.1
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch cb in repository https://gitbox.apache.org/repos/asf/camel.git commit 5c80d8905daff29abe0035adb3c6f4679111a4e0 Author: Claus Ibsen AuthorDate: Thu Dec 15 07:41:04 2022 +0100 Upgrade to couchbase 3.4.1 --- camel-dependencies/pom.xml | 2 +- parent/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/camel-dependencies/pom.xml b/camel-dependencies/pom.xml index d7b59b0f694..453ea6c77e9 100644 --- a/camel-dependencies/pom.xml +++ b/camel-dependencies/pom.xml @@ -147,7 +147,7 @@ 1.1 1.5.3 4.9.3 -3.3.4 +3.4.1 4.3.0 3.5.5 3.5.5 diff --git a/parent/pom.xml b/parent/pom.xml index 07b11095740..e51defb9d20 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -130,7 +130,7 @@ 1.5.3 2.7 4.9.3 -3.3.4 +3.4.1 4.3.0 3.5.5 [3.5,3.6)
[camel] branch cb created (now 5c80d8905da)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch cb in repository https://gitbox.apache.org/repos/asf/camel.git at 5c80d8905da Upgrade to couchbase 3.4.1 This branch includes the following new commits: new 5c80d8905da Upgrade to couchbase 3.4.1 The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference.
[camel] branch camel-3.18.x updated: CAMEL-18812 Fix REST DSL configuration placeholder for id
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-3.18.x in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/camel-3.18.x by this push: new b17ece57f49 CAMEL-18812 Fix REST DSL configuration placeholder for id b17ece57f49 is described below commit b17ece57f49dfb754f696cf7b2f05c2d0a7f328a Author: Claus Ibsen AuthorDate: Thu Dec 15 07:33:24 2022 +0100 CAMEL-18812 Fix REST DSL configuration placeholder for id --- components/camel-spring-xml/src/test/resources/custom.properties | 1 + .../org/apache/camel/component/rest/SpringFromRestGetTest.xml| 5 - .../camel/component/rest/SpringFromRestIdAndDescriptionTest.xml | 5 - 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/components/camel-spring-xml/src/test/resources/custom.properties b/components/camel-spring-xml/src/test/resources/custom.properties index 167bfe00e0e..c467b206384 100644 --- a/components/camel-spring-xml/src/test/resources/custom.properties +++ b/components/camel-spring-xml/src/test/resources/custom.properties @@ -15,3 +15,4 @@ ## limitations under the License. ## --- aggregation.timeout=1000 +mySpecialId=scott \ No newline at end of file diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/SpringFromRestGetTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/SpringFromRestGetTest.xml index 3680fe5f8ed..9ba95ed1fd6 100644 --- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/SpringFromRestGetTest.xml +++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/SpringFromRestGetTest.xml @@ -29,13 +29,16 @@ http://camel.apache.org/schema/spring";> + + + - + 1 diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/SpringFromRestIdAndDescriptionTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/SpringFromRestIdAndDescriptionTest.xml index 4cadf88cb01..cf0566fae00 100644 --- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/SpringFromRestIdAndDescriptionTest.xml +++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/SpringFromRestIdAndDescriptionTest.xml @@ -29,6 +29,9 @@ http://camel.apache.org/schema/spring";> + + + Hello Service @@ -38,7 +41,7 @@ Bye Service - + Says bye to you
[camel] branch main updated: CAMEL-18812 Fix REST DSL configuration placeholder for id
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 a8a8ce89fff CAMEL-18812 Fix REST DSL configuration placeholder for id a8a8ce89fff is described below commit a8a8ce89fff34655c8d0c64c18d82cd358683c1d Author: Claus Ibsen AuthorDate: Thu Dec 15 07:33:24 2022 +0100 CAMEL-18812 Fix REST DSL configuration placeholder for id --- components/camel-spring-xml/src/test/resources/custom.properties | 1 + .../org/apache/camel/component/rest/SpringFromRestGetTest.xml| 5 - .../camel/component/rest/SpringFromRestIdAndDescriptionTest.xml | 5 - 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/components/camel-spring-xml/src/test/resources/custom.properties b/components/camel-spring-xml/src/test/resources/custom.properties index 167bfe00e0e..c467b206384 100644 --- a/components/camel-spring-xml/src/test/resources/custom.properties +++ b/components/camel-spring-xml/src/test/resources/custom.properties @@ -15,3 +15,4 @@ ## limitations under the License. ## --- aggregation.timeout=1000 +mySpecialId=scott \ No newline at end of file diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/SpringFromRestGetTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/SpringFromRestGetTest.xml index 3680fe5f8ed..9ba95ed1fd6 100644 --- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/SpringFromRestGetTest.xml +++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/SpringFromRestGetTest.xml @@ -29,13 +29,16 @@ http://camel.apache.org/schema/spring";> + + + - + 1 diff --git a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/SpringFromRestIdAndDescriptionTest.xml b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/SpringFromRestIdAndDescriptionTest.xml index 4cadf88cb01..cf0566fae00 100644 --- a/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/SpringFromRestIdAndDescriptionTest.xml +++ b/components/camel-spring-xml/src/test/resources/org/apache/camel/component/rest/SpringFromRestIdAndDescriptionTest.xml @@ -29,6 +29,9 @@ http://camel.apache.org/schema/spring";> + + + Hello Service @@ -38,7 +41,7 @@ Bye Service - + Says bye to you
[camel] branch regen_bot updated (f99c22e5355 -> 6ea0f1c93dc)
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 f99c22e5355 CAMEL-16262 fixed automaticRetriesDisabled option setting in http component (#8904) add 6ea0f1c93dc CAMEL-18817: camel-hbase - Support append and increment operations in the producer (#8905) No new revisions were added by this update. Summary of changes: .../camel-hbase/src/main/docs/hbase-component.adoc | 2 + .../camel/component/hbase/HBaseConstants.java | 2 + .../camel/component/hbase/HBaseProducer.java | 67 ++ .../camel/component/hbase/HBaseProducerIT.java | 54 + 4 files changed, 125 insertions(+)
[camel-spring-boot] branch main updated (9644213ab93 -> a2ef476bf75)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git from 9644213ab93 Regen add a2ef476bf75 (chores) build: removed Maven build time extension No new revisions were added by this update. Summary of changes: .mvn/extensions.xml | 5 - 1 file changed, 5 deletions(-)
[camel] branch main updated: Polished
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/main by this push: new 40b4cd8a4cd Polished 40b4cd8a4cd is described below commit 40b4cd8a4cd41f9ced1e8fa5330a87949968be11 Author: Claus Ibsen AuthorDate: Thu Dec 15 07:06:19 2022 +0100 Polished --- docs/user-manual/modules/ROOT/pages/camel-jbang.adoc | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc index a6152e1e466..0ce9a508fae 100644 --- a/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc +++ b/docs/user-manual/modules/ROOT/pages/camel-jbang.adoc @@ -367,7 +367,6 @@ use it to configure repository password: [source,bash] $ mvn -emp -[INFO] BuildTimeEventSpy is registered. Master password: camel {hqXUuec2RowH8dA8vdqkF6jn4NU9ybOsDjuTmWvYj4U=} @@ -386,7 +385,6 @@ Then a normal password can be configured like this: [source,bash] $ mvn -ep -[INFO] BuildTimeEventSpy is registered. Password: camel {SSVqy/PexxQHvubrWhdguYuG7HnTvHlaNr6g3dJn7nk=}
[GitHub] [camel-website] davsclaus commented on pull request #942: blog: Added Camel K 1.11.0 release
davsclaus commented on PR #942: URL: https://github.com/apache/camel-website/pull/942#issuecomment-1352598403 @claudio4j can you update the date to today 14 -> 15 before merging -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-k] tadayosi commented on issue #3628: Enable CLI completion for integration, kit, kamelet names
tadayosi commented on issue #3628: URL: https://github.com/apache/camel-k/issues/3628#issuecomment-1352598315 Hi, > I get the idea, but since the command allows the deletion platform kits without any specific flag I wonder if it is a good idea to have a completion that does not retrieve the same results than the allowed values for the command. Actually, no, you cannot delete platform kits with `kamel kit delete`. There's even no flag to force performing it. So sometimes I tend to need to do this to clean up platform kits: `kubectl delete ik ...` -- 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 quarkus-main updated (b7789eca29 -> 5db494f846)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch quarkus-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git discard b7789eca29 Bump quarkus version to 999-SNAPSHOT add 30520e877f Update index.adoc new 5db494f846 Bump quarkus version to 999-SNAPSHOT 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 (b7789eca29) \ N -- N -- N refs/heads/quarkus-main (5db494f846) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: docs/modules/ROOT/pages/index.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
[camel-quarkus] 01/01: Bump quarkus version to 999-SNAPSHOT
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch quarkus-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git commit 5db494f8469a0a11ce90ce35f9c21c4c38a4ba40 Author: Zineb Bendhiba AuthorDate: Wed Dec 14 10:04:03 2022 +0100 Bump quarkus version to 999-SNAPSHOT --- pom.xml | 6 +++--- poms/bom/src/main/generated/flattened-full-pom.xml| 6 +++--- poms/bom/src/main/generated/flattened-reduced-pom.xml | 6 +++--- poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/pom.xml b/pom.xml index 4ee27528ea..523df017f8 100644 --- a/pom.xml +++ b/pom.xml @@ -59,7 +59,7 @@ 1.0.5 1.0.7 1.0.3 -2.15.0.Final +999-SNAPSHOT 3.0.0 0.39.0 @@ -103,7 +103,7 @@ 4.2.0 ${hbase-version} 4.2.0-incubating -14.0.2.Final +14.0.3.Final ${influx-java-driver-version} 1.9.13 ${jackson1.version} @@ -123,7 +123,7 @@ 2.4.7 3.3.1 ${kudu-version} -1.7.21 +1.7.22 2.24.0 ${libthrift-version} 1.13.1 diff --git a/poms/bom/src/main/generated/flattened-full-pom.xml b/poms/bom/src/main/generated/flattened-full-pom.xml index 33eda08fe5..88493fe38f 100644 --- a/poms/bom/src/main/generated/flattened-full-pom.xml +++ b/poms/bom/src/main/generated/flattened-full-pom.xml @@ -10341,17 +10341,17 @@ org.jetbrains.kotlin kotlin-script-util -1.7.21 +1.7.22 org.jetbrains.kotlin kotlin-scripting-jvm -1.7.21 +1.7.22 org.jetbrains.kotlin kotlin-scripting-jvm-host -1.7.21 +1.7.22 org.jruby.jcodings diff --git a/poms/bom/src/main/generated/flattened-reduced-pom.xml b/poms/bom/src/main/generated/flattened-reduced-pom.xml index 8c868854ac..4a40f87f0c 100644 --- a/poms/bom/src/main/generated/flattened-reduced-pom.xml +++ b/poms/bom/src/main/generated/flattened-reduced-pom.xml @@ -10331,17 +10331,17 @@ org.jetbrains.kotlin kotlin-script-util -1.7.21 +1.7.22 org.jetbrains.kotlin kotlin-scripting-jvm -1.7.21 +1.7.22 org.jetbrains.kotlin kotlin-scripting-jvm-host -1.7.21 +1.7.22 org.jruby.jcodings diff --git a/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml b/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml index 625fcfa1cf..c0dce3beec 100644 --- a/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml +++ b/poms/bom/src/main/generated/flattened-reduced-verbose-pom.xml @@ -10331,17 +10331,17 @@ org.jetbrains.kotlin kotlin-script-util -1.7.21 +1.7.22 org.jetbrains.kotlin kotlin-scripting-jvm -1.7.21 +1.7.22 org.jetbrains.kotlin kotlin-scripting-jvm-host -1.7.21 +1.7.22 org.jruby.jcodings
[GitHub] [camel-quarkus] github-actions[bot] closed issue #2926: [CI] - Quarkus Main Branch Build Failure
github-actions[bot] closed issue #2926: [CI] - Quarkus Main Branch Build Failure URL: https://github.com/apache/camel-quarkus/issues/2926 -- 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
github-actions[bot] commented on issue #2926: URL: https://github.com/apache/camel-quarkus/issues/2926#issuecomment-1352595602 Build fixed with: * Camel Quarkus Commit: 5db494f8469a0a11ce90ce35f9c21c4c38a4ba40 * Quarkus Main Commit: 30520e877fd3d4275f1a1f57c74393bf81fb9c6b * Link to build: https://github.com/apache/camel-quarkus/actions/runs/3700510693 -- 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-18817: camel-hbase - Support append and increment operations in the producer (#8905)
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 6ea0f1c93dc CAMEL-18817: camel-hbase - Support append and increment operations in the producer (#8905) 6ea0f1c93dc is described below commit 6ea0f1c93dcc68914d71b9e20467d5db11bd41eb Author: Kengo Seki AuthorDate: Thu Dec 15 14:45:04 2022 +0900 CAMEL-18817: camel-hbase - Support append and increment operations in the producer (#8905) --- .../camel-hbase/src/main/docs/hbase-component.adoc | 2 + .../camel/component/hbase/HBaseConstants.java | 2 + .../camel/component/hbase/HBaseProducer.java | 67 ++ .../camel/component/hbase/HBaseProducerIT.java | 54 + 4 files changed, 125 insertions(+) diff --git a/components/camel-hbase/src/main/docs/hbase-component.adoc b/components/camel-hbase/src/main/docs/hbase-component.adoc index c238c1e40be..d298aff62f7 100644 --- a/components/camel-hbase/src/main/docs/hbase-component.adoc +++ b/components/camel-hbase/src/main/docs/hbase-component.adoc @@ -102,6 +102,8 @@ where *table* is the table name. The supported operations are: * Put +* Append +* Increment * Get * Delete * Scan diff --git a/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/HBaseConstants.java b/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/HBaseConstants.java index 5a902d8d365..4b0aafbeca9 100644 --- a/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/HBaseConstants.java +++ b/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/HBaseConstants.java @@ -24,6 +24,8 @@ public interface HBaseConstants { String OPERATION = "CamelHBaseOperation"; String PUT = "CamelHBasePut"; +String APPEND = "CamelHBaseAppend"; +String INCREMENT = "CamelHBaseIncrement"; String GET = "CamelHBaseGet"; String SCAN = "CamelHBaseScan"; String DELETE = "CamelHBaseDelete"; diff --git a/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/HBaseProducer.java b/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/HBaseProducer.java index 962ee4fa567..157e3d7cc38 100644 --- a/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/HBaseProducer.java +++ b/components/camel-hbase/src/main/java/org/apache/camel/component/hbase/HBaseProducer.java @@ -30,8 +30,10 @@ import org.apache.camel.support.DefaultProducer; import org.apache.camel.util.ObjectHelper; import org.apache.hadoop.hbase.Cell; import org.apache.hadoop.hbase.CellUtil; +import org.apache.hadoop.hbase.client.Append; import org.apache.hadoop.hbase.client.Delete; import org.apache.hadoop.hbase.client.Get; +import org.apache.hadoop.hbase.client.Increment; import org.apache.hadoop.hbase.client.Put; import org.apache.hadoop.hbase.client.Result; import org.apache.hadoop.hbase.client.ResultScanner; @@ -69,6 +71,8 @@ public class HBaseProducer extends DefaultProducer { HBaseData data = mappingStrategy.resolveModel(exchange.getIn()); List putOperations = new LinkedList<>(); +List appendOperations = new LinkedList<>(); +List incrementOperations = new LinkedList<>(); List deleteOperations = new LinkedList<>(); List getOperationResult = new LinkedList<>(); List scanOperationResult = new LinkedList<>(); @@ -77,6 +81,10 @@ public class HBaseProducer extends DefaultProducer { hRow.apply(rowModel); if (HBaseConstants.PUT.equals(operation)) { putOperations.add(createPut(hRow)); +} else if (HBaseConstants.APPEND.equals(operation)) { +appendOperations.add(createAppend(hRow)); +} else if (HBaseConstants.INCREMENT.equals(operation)) { +incrementOperations.add(createIncrement(hRow)); } else if (HBaseConstants.GET.equals(operation)) { HBaseRow getResultRow = getCells(table, hRow); getOperationResult.add(getResultRow); @@ -90,6 +98,14 @@ public class HBaseProducer extends DefaultProducer { //Check if we have something to add. if (!putOperations.isEmpty()) { table.put(putOperations); +} else if (!appendOperations.isEmpty()) { +for (Append appendOperation : appendOperations) { +table.append(appendOperation); +} +} else if (!incrementOperations.isEmpty()) { +for (Increment incrementOperation : incrementOperations) { +table.increment(incrementOperation); +} } else if (!deleteOperations.isEmpty()) { table.delete(deleteOperations); } els
[GitHub] [camel] davsclaus merged pull request #8905: CAMEL-18817: camel-hbase - Support append and increment operations in the producer
davsclaus merged PR #8905: URL: https://github.com/apache/camel/pull/8905 -- 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 #3902: feat(cli): Add autocomplete on integrations, kits, kamelets commands
tadayosi commented on PR #3902: URL: https://github.com/apache/camel-k/pull/3902#issuecomment-1352577402 @gansheer OK, so I didn't notice that the autocompletion functions for `kamel get` / `kamel delete` are already included in the bash completion script. But it never works on my laptop. ``` $ kamel get NAME PHASE KIT java Running camel-k/kit-cedaklomsunon3m7so8g $ kamel get [TAB] (... only shows local files) ``` Is this only me? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-kafka-connector] branch automatic-periodic-sync updated (efaa716ef -> 1f1af5847)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch automatic-periodic-sync in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git discard efaa716ef Updated CHANGELOG.md add 0f71390c2 [maven-release-plugin] prepare release camel-kafka-connector-3.19.0 add 3e6d55ad2 [maven-release-plugin] prepare for next development iteration add b885e2ff9 chore: regen. add 75ce2a091 Updated CHANGELOG.md add faf8bc30d Updated CHANGELOG.md add 1f1af5847 [create-pull-request] automated change 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 (efaa716ef) \ N -- N -- N refs/heads/automatic-periodic-sync (1f1af5847) 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: CHANGELOG.md | 2 +- .../camel-kafka-connector-extensible-apicurio-archetype/pom.xml | 2 +- archetypes/camel-kafka-connector-extensible-archetype/pom.xml | 2 +- .../camel-kafka-connector-extensible-dataformat-archetype/pom.xml | 2 +- archetypes/pom.xml| 2 +- buildingtools/pom.xml | 2 +- camel-kafka-connector-catalog/pom.xml | 2 +- .../resources/connectors/camel-aws-cloudtrail-source-source.json | 4 ++-- .../resources/connectors/camel-aws-cloudwatch-sink-sink.json | 2 +- .../resources/connectors/camel-aws-ddb-experimental-sink-sink.json| 4 ++-- .../src/generated/resources/connectors/camel-aws-ddb-sink-sink.json | 2 +- .../resources/connectors/camel-aws-ddb-streams-source-source.json | 2 +- .../src/generated/resources/connectors/camel-aws-ec2-sink-sink.json | 2 +- .../resources/connectors/camel-aws-eventbridge-sink-sink.json | 2 +- .../resources/connectors/camel-aws-kinesis-firehose-sink-sink.json| 2 +- .../generated/resources/connectors/camel-aws-kinesis-sink-sink.json | 2 +- .../resources/connectors/camel-aws-kinesis-source-source.json | 2 +- .../generated/resources/connectors/camel-aws-lambda-sink-sink.json| 2 +- .../generated/resources/connectors/camel-aws-redshift-sink-sink.json | 2 +- .../resources/connectors/camel-aws-redshift-source-source.json| 2 +- .../resources/connectors/camel-aws-s3-cdc-source-source.json | 4 ++-- .../resources/connectors/camel-aws-s3-experimental-source-source.json | 4 ++-- .../src/generated/resources/connectors/camel-aws-s3-sink-sink.json| 2 +- .../generated/resources/connectors/camel-aws-s3-source-source.json| 2 +- .../resources/connectors/camel-aws-s3-streaming-upload-sink-sink.json | 2 +- .../resources/connectors/camel-aws-secrets-manager-sink-sink.json | 2 +- .../src/generated/resources/connectors/camel-aws-ses-sink-sink.json | 2 +- .../generated/resources/connectors/camel-aws-sns-fifo-sink-sink.json | 2 +- .../src/generated/resources/connectors/camel-aws-sns-sink-sink.json | 2 +- .../generated/resources/connectors/camel-aws-sqs-batch-sink-sink.json | 2 +- .../generated/resources/connectors/camel-aws-sqs-fifo-sink-sink.json | 2 +- .../src/generated/resources/connectors/camel-aws-sqs-sink-sink.json | 2 +- .../generated/resources/connectors/camel-aws-sqs-source-source.json | 2 +- .../src/generated/resources/connectors/camel-aws2-iam-sink.json | 2 +- .../src/generated/resources/connectors/camel-aws2-kms-sink.json | 2 +- .../resources/connectors/camel-azure-cosmosdb-source-source.json | 2 +- .../resources/connectors/camel-azure-eventhubs-sink-sink.json | 2 +- .../resources/connectors/camel-azure-eventhubs-source-source.json | 2 +- .../resources/connectors/camel-azure-functions-sink-sink.json | 2 +- .../resources/connectors/camel-azure-servicebus-sink-sink.json| 2 +- .../resources/connectors/camel-azure-servicebus-source-source.json| 2 +- .../connectors/camel-azure-storage-blob-cdc-source-source.json| 4 ++-- .../connectors/camel-azure-storage-blob-changefeed-source-source.json | 2 +- .../resources/connectors/camel-azure-storage-blob-sink-sink.json | 2 +- .../resources/connectors/camel-azure-storage-blob-source-source.json | 2 +- .../resources/connectors/camel-azure-storage-queue-sink-sink.json | 2 +- .../resources/connectors/camel-a
[GitHub] [camel-kafka-connector] github-actions[bot] opened a new pull request, #1489: [Github Actions] Periodic Sync Camel-kafka-connector main Branch
github-actions[bot] opened a new pull request, #1489: URL: https://github.com/apache/camel-kafka-connector/pull/1489 Periodic Sync of Camel Kafka connector main Branch with main Camel Main. see https://github.com/apache/camel-kafka-connector/blob/main/.github/workflows/automatic-sync-camel-main.yml -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] github-actions[bot] commented on pull request #8905: CAMEL-18817: camel-hbase - Support append and increment operations in the producer
github-actions[bot] commented on PR #8905: URL: https://github.com/apache/camel/pull/8905#issuecomment-1352523307 ### 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
[GitHub] [camel-k] tadayosi commented on pull request #3901: fix(#3896): Fix dependency inspector supporting property placeholders
tadayosi commented on PR #3901: URL: https://github.com/apache/camel-k/pull/3901#issuecomment-1352516553 Thinking a bit further, what should we really do with the use of Kamelet placeholders in terms of the dependency resolution? The original intention why we've added a stricter component dependency validation is to improve UX in case of wrong components used in the user's integration, so that Camel K can give users early feedback on possible misconfigurations in user side. Since it is related only to Kamelets and Kamelets already have an explicitly defined set of dependencies, so dependency resolution is not a problem in this case, right? Is it just fine to skip it silently and everything should work fine? -- 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 #3901: fix(#3896): Fix dependency inspector supporting property placeholders
tadayosi commented on PR #3901: URL: https://github.com/apache/camel-k/pull/3901#issuecomment-1352510771 Thanks a lot Christoph for taking care of this issue! As already commented in the review, I don't think checking only `:` in uri can cover all edge cases. For example: https://github.com/apache/camel-kamelets/blob/main/kamelets/elasticsearch-search-source.kamelet.yaml#L110 ``` uri: "{{local-es}}:{{clusterName}}" ``` This kamelet has `uri` that contains `:` but still uses a property placeholder. A better logic should be: 1. Try to decode the uri. 2. Check the returned scheme; if it's `nil`, check the uri on whether a placeholder is used at the place of scheme. 3. If a placeholder is used return silently; otherwise throw an error. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-quarkus] branch main updated: Updated CHANGELOG.md
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git The following commit(s) were added to refs/heads/main by this push: new 29c52e0dae Updated CHANGELOG.md 29c52e0dae is described below commit 29c52e0dae8aeefcafd6e09c8c7a3ef95b404f05 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Thu Dec 15 03:18:09 2022 + Updated CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 71f5aca79a..e732469710 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ **Merged pull requests:** +- Update index.adoc [\#4341](https://github.com/apache/camel-quarkus/pull/4341) ([y-luis-rojo](https://github.com/y-luis-rojo)) - Fix name of bean in the CDI documentation [\#4335](https://github.com/apache/camel-quarkus/pull/4335) ([zbendhiba](https://github.com/zbendhiba)) - Next is 2.16.0 [\#4333](https://github.com/apache/camel-quarkus/pull/4333) ([zbendhiba](https://github.com/zbendhiba)) - Upgrade to quarkus-cxf 1.7.1 [\#4331](https://github.com/apache/camel-quarkus/pull/4331) ([ppalaga](https://github.com/ppalaga))
[GitHub] [camel-k] tadayosi commented on a diff in pull request #3901: fix(#3896): Fix dependency inspector supporting property placeholders
tadayosi commented on code in PR #3901: URL: https://github.com/apache/camel-k/pull/3901#discussion_r1049174496 ## pkg/util/source/inspector.go: ## @@ -336,6 +336,11 @@ func (i *baseInspector) discoverKamelets(meta *Metadata) { } func (i *baseInspector) addDependencies(uri string, meta *Metadata, consumer bool) error { + if !strings.Contains(uri, ":") { + // given URI is not in required format (maybe using a property placeholder such as {{url}}) + return nil + } + candidateComp, scheme := i.catalog.DecodeComponent(uri) if candidateComp == nil || scheme == nil { Review Comment: here ## pkg/util/source/inspector.go: ## @@ -336,6 +336,11 @@ func (i *baseInspector) discoverKamelets(meta *Metadata) { } func (i *baseInspector) addDependencies(uri string, meta *Metadata, consumer bool) error { + if !strings.Contains(uri, ":") { Review Comment: As Pasquale already pointed out, it appeares this check should be smarter. Example: https://github.com/apache/camel-kamelets/blob/main/kamelets/elasticsearch-search-source.kamelet.yaml#L110 My suggestion would be, instead of checking the uri at the beginning of this func, what about examining the `scheme` and `candidateComp` values inside the block at line 345 after calling `DecodeComponent()` method? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-kamelets] branch main updated: Updated CHANGELOG.md
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git The following commit(s) were added to refs/heads/main by this push: new 766ea13d Updated CHANGELOG.md 766ea13d is described below commit 766ea13d9f6b5ae72595e51240575044ebcbe1fc Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Thu Dec 15 03:10:37 2022 + Updated CHANGELOG.md --- CHANGELOG.md | 8 1 file changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0c6614b5..62553d8a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,14 +6,22 @@ **Closed issues:** +- Google Pubsub Kamelets: Make serviceAccountKey optional [\#1214](https://github.com/apache/camel-kamelets/issues/1214) - Slack Source Kamelet: Set default delay to 1 minute [\#1207](https://github.com/apache/camel-kamelets/issues/1207) +- Documentation. Can Kamelet pull dependencies from private artifactory? [\#1205](https://github.com/apache/camel-kamelets/issues/1205) - MQTT source kamelet does not include topic [\#1204](https://github.com/apache/camel-kamelets/issues/1204) - google-storage-sink serviceAccountKey is not required [\#1203](https://github.com/apache/camel-kamelets/issues/1203) +- RAW does not seem to work in Kamelet [\#1200](https://github.com/apache/camel-kamelets/issues/1200) +- Log sink should show streams by default [\#1198](https://github.com/apache/camel-kamelets/issues/1198) +- Camel Google Pubsub headers names changed in Camel 3.20.0 [\#1194](https://github.com/apache/camel-kamelets/issues/1194) - Release 0.10.0 [\#1128](https://github.com/apache/camel-kamelets/issues/1128) - Add Camel test for the beans used in some of the Kamelet action [\#730](https://github.com/apache/camel-kamelets/issues/730) **Merged pull requests:** +- Google pubsub optional service account key [\#1215](https://github.com/apache/camel-kamelets/pull/1215) ([oscerd](https://github.com/oscerd)) +- Log sink and log action should show streams by default [\#1213](https://github.com/apache/camel-kamelets/pull/1213) ([oscerd](https://github.com/oscerd)) +- Camel Google Pubsub headers names changed in Camel 3.20.0 [\#1212](https://github.com/apache/camel-kamelets/pull/1212) ([oscerd](https://github.com/oscerd)) - Slack Source Kamelet: Set default delay to 1 minute [\#1208](https://github.com/apache/camel-kamelets/pull/1208) ([oscerd](https://github.com/oscerd)) - Google Storage Source/Sink Kamelet: serviceAccountKey is not required [\#1206](https://github.com/apache/camel-kamelets/pull/1206) ([oscerd](https://github.com/oscerd))
[camel-kafka-connector] branch main updated: Updated CHANGELOG.md
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git The following commit(s) were added to refs/heads/main by this push: new faf8bc30d Updated CHANGELOG.md faf8bc30d is described below commit faf8bc30d06feb6edb48bb9abb394ac15da85b79 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Thu Dec 15 03:09:11 2022 + Updated CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ba45fc589..0bc7ce8e3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -384,7 +384,7 @@ - Minor changes to docs - correct the camel-log and camel-timer properties file names, verbiage change on untar/unzip section. [\#639](https://github.com/apache/camel-kafka-connector/pull/639) ([cunningt](https://github.com/cunningt)) - Decouple the Elasticsearch client from the service to simplify moving the services to Camel core [\#638](https://github.com/apache/camel-kafka-connector/pull/638) ([orpiske](https://github.com/orpiske)) -## [camel-kafka-connector-3.19.0](https://github.com/apache/camel-kafka-connector/tree/camel-kafka-connector-3.19.0) (2022-12-13) +## [camel-kafka-connector-3.19.0](https://github.com/apache/camel-kafka-connector/tree/camel-kafka-connector-3.19.0) (2022-12-14) [Full Changelog](https://github.com/apache/camel-kafka-connector/compare/camel-kafka-connector-3.18.2...camel-kafka-connector-3.19.0)
[camel-k-runtime] branch main updated: Updated CHANGELOG.md
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git The following commit(s) were added to refs/heads/main by this push: new 49695b72 Updated CHANGELOG.md 49695b72 is described below commit 49695b72b68db0de657f13bb4340cb062bcd5bbf Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Thu Dec 15 03:08:39 2022 + Updated CHANGELOG.md --- CHANGELOG.md | 8 1 file changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 34c8df87..bcf7536f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## [Unreleased](https://github.com/apache/camel-k-runtime/tree/HEAD) + +[Full Changelog](https://github.com/apache/camel-k-runtime/compare/camel-k-runtime-project-1.16.0...HEAD) + +**Merged pull requests:** + +- Remove duplicate maven-assembly-plugin-version property from pom.xml [\#936](https://github.com/apache/camel-k-runtime/pull/936) ([claudio4j](https://github.com/claudio4j)) + ## [camel-k-runtime-project-1.16.0](https://github.com/apache/camel-k-runtime/tree/camel-k-runtime-project-1.16.0) (2022-11-28) [Full Changelog](https://github.com/apache/camel-k-runtime/compare/camel-k-runtime-project-1.15.2...camel-k-runtime-project-1.16.0)
[GitHub] [camel-k] tadayosi merged pull request #3905: chore(deps): bump github.com/prometheus/common from 0.38.0 to 0.39.0
tadayosi merged PR #3905: URL: https://github.com/apache/camel-k/pull/3905 -- 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: chore(deps): bump github.com/prometheus/common from 0.38.0 to 0.39.0
This is an automated email from the ASF dual-hosted git repository. tsato 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 5e61ed925 chore(deps): bump github.com/prometheus/common from 0.38.0 to 0.39.0 5e61ed925 is described below commit 5e61ed925faeff450f4bfc0227768cd2d5d1f229 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> AuthorDate: Thu Dec 15 00:11:05 2022 + chore(deps): bump github.com/prometheus/common from 0.38.0 to 0.39.0 Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.38.0 to 0.39.0. - [Release notes](https://github.com/prometheus/common/releases) - [Commits](https://github.com/prometheus/common/compare/v0.38.0...v0.39.0) --- updated-dependencies: - dependency-name: github.com/prometheus/common dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- go.mod | 14 +++--- go.sum | 28 2 files changed, 23 insertions(+), 19 deletions(-) diff --git a/go.mod b/go.mod index 950dae371..1a26cc5de 100644 --- a/go.mod +++ b/go.mod @@ -27,7 +27,7 @@ require ( github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring v0.50.0 github.com/prometheus/client_golang v1.14.0 github.com/prometheus/client_model v0.3.0 - github.com/prometheus/common v0.38.0 + github.com/prometheus/common v0.39.0 github.com/radovskyb/watcher v1.0.7 github.com/redhat-developer/service-binding-operator v1.3.1 github.com/rs/xid v1.4.0 @@ -43,9 +43,9 @@ require ( go.uber.org/automaxprocs v1.5.1 go.uber.org/multierr v1.9.0 go.uber.org/zap v1.24.0 - golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783 + golang.org/x/oauth2 v0.3.0 golang.org/x/sync v0.1.0 - golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 + golang.org/x/term v0.3.0 golang.org/x/time v0.0.0-20220609170525-579cf78fd858 gopkg.in/inf.v0 v0.9.1 gopkg.in/yaml.v2 v2.4.0 @@ -117,7 +117,7 @@ require ( github.com/kelseyhightower/envconfig v1.4.0 // indirect github.com/klauspost/compress v1.14.4 // indirect github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de // indirect - github.com/matttproud/golang_protobuf_extensions v1.0.2 // indirect + github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect github.com/moby/spdystream v0.2.0 // indirect github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect github.com/modern-go/reflect2 v1.0.2 // indirect @@ -141,9 +141,9 @@ require ( go.uber.org/atomic v1.9.0 // indirect golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e // indirect golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 // indirect - golang.org/x/net v0.0.0-20221014081412-f15817d10f9b // indirect - golang.org/x/sys v0.0.0-20220908164124-27713097b956 // indirect - golang.org/x/text v0.4.0 // indirect + golang.org/x/net v0.4.0 // indirect + golang.org/x/sys v0.3.0 // indirect + golang.org/x/text v0.5.0 // indirect golang.org/x/tools v0.1.12 // indirect gomodules.xyz/jsonpatch/v2 v2.2.0 // indirect google.golang.org/api v0.102.0 // indirect diff --git a/go.sum b/go.sum index 5ae534405..0dd78996a 100644 --- a/go.sum +++ b/go.sum @@ -78,6 +78,7 @@ cloud.google.com/go/compute v1.12.0/go.mod h1:e8yNOBcBONZU1vJKCvCoDw/4JQsA0dpM4x cloud.google.com/go/compute v1.12.1 h1:gKVJMEyqV5c/UnpzjjQbo3Rjvvqpr9B1DFSbJC4OXr0= cloud.google.com/go/compute v1.12.1/go.mod h1:e8yNOBcBONZU1vJKCvCoDw/4JQsA0dpM4x/6PIIOocU= cloud.google.com/go/compute/metadata v0.1.0/go.mod h1:Z1VN+bulIf6bt4P/C37K4DyZYZEXYonfTBHHFPO/4UU= +cloud.google.com/go/compute/metadata v0.2.0/go.mod h1:zFmK7XCadkQkj6TtorcaGlCW1hT1fIilQDwofLpJ20k= cloud.google.com/go/compute/metadata v0.2.1 h1:efOwf5ymceDhK6PKMnnrTHP4pppY5L22mle96M1yP48= cloud.google.com/go/compute/metadata v0.2.1/go.mod h1:jgHgmJd2RKBGzXqF5LR2EZMGxBkeanZ9wwa75XHJgOM= cloud.google.com/go/containeranalysis v0.5.1/go.mod h1:1D92jd8gRR/c0fGMlymRgxWD3Qw9C1ff6/T7mLgVL8I= @@ -1199,8 +1200,8 @@ github.com/mattn/go-sqlite3 v1.9.0/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOq github.com/mattn/goveralls v0.0.2/go.mod h1:8d1ZMHsd7fW6IRPKQh46F2WRpyib5/X4FOpevwGNQEw= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= -github.com/matttproud/golang_protobuf_extensions v1.0.2 h1:hAHbPm5IJGijwng3PWk09JkG9WeqChjprR5s9bBZ+OM= -github.com/matttproud/golang_protobuf_extensi
[GitHub] [camel-karavan] mgubaidullin commented on issue #561: Operator should deploy pipeline and task for Spring-boot runtime
mgubaidullin commented on issue #561: URL: https://github.com/apache/camel-karavan/issues/561#issuecomment-1352492872 @mrinalsharma yes I'm planning to finish Springboot stuff this week. I'll let you know -- 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 #8905: CAMEL-18817: camel-hbase - Support append and increment operations in the producer
github-actions[bot] commented on PR #8905: URL: https://github.com/apache/camel/pull/8905#issuecomment-1352490090 :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] sekikn opened a new pull request, #8905: CAMEL-18817: camel-hbase - Support append and increment operations in the producer
sekikn opened a new pull request, #8905: URL: https://github.com/apache/camel/pull/8905 - [x] Make sure there is a [JIRA issue](https://issues.apache.org/jira/browse/CAMEL) filed for the change (usually before you start working on it). Trivial changes like typos do not require a JIRA issue. Your pull request should address just this issue, without pulling in other changes. - [x] Each commit in the pull request should have a meaningful subject line and body. - [x] If you're unsure, you can format the pull request title like `[CAMEL-XXX] Fixes bug in camel-file component`, where you replace `CAMEL-XXX` with the appropriate JIRA issue. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Run `mvn clean install -Psourcecheck` in your module with source check enabled to make sure basic checks pass and there are no checkstyle violations. A more thorough check will be performed on your pull request automatically. Below are the contribution guidelines: https://github.com/apache/camel/blob/main/CONTRIBUTING.md -- 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] dependabot[bot] commented on pull request #3906: chore(deps): bump github.com/onsi/gomega from 1.22.1 to 1.24.2
dependabot[bot] commented on PR #3906: URL: https://github.com/apache/camel-k/pull/3906#issuecomment-1352436916 OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting `@dependabot ignore this major version` or `@dependabot ignore this minor version`. You can also ignore all major, minor, or patch releases for a dependency by adding an [`ignore` condition](https://docs.github.com/en/code-security/supply-chain-security/configuration-options-for-dependency-updates#ignore) with the desired `update_types` to your config file. If you change your mind, just re-open this PR and I'll resolve any conflicts on it. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-k] tadayosi closed pull request #3906: chore(deps): bump github.com/onsi/gomega from 1.22.1 to 1.24.2
tadayosi closed pull request #3906: chore(deps): bump github.com/onsi/gomega from 1.22.1 to 1.24.2 URL: https://github.com/apache/camel-k/pull/3906 -- 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 (322e43c36 -> 76dec79d1)
This is an automated email from the ASF dual-hosted git repository. tsato pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel-k.git from 322e43c36 Updated CHANGELOG.md new 72eb49181 fix(cmd): refactor install cmd to remove maintidx lint new 76dec79d1 fix(install): refactor install cmd support funcs to remove another maintidx lint 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: pkg/cmd/install.go| 609 +- pkg/install/cluster.go| 255 +++ pkg/install/operator.go | 8 +- pkg/util/olm/available.go | 2 +- 4 files changed, 482 insertions(+), 392 deletions(-)
[camel-k] 02/02: fix(install): refactor install cmd support funcs to remove another maintidx lint
This is an automated email from the ASF dual-hosted git repository. tsato pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k.git commit 76dec79d1f457d029b6259ae084b4ada0c8c023b Author: Tadayoshi Sato AuthorDate: Wed Dec 14 18:11:20 2022 +0900 fix(install): refactor install cmd support funcs to remove another maintidx lint --- pkg/install/cluster.go | 246 +++-- 1 file changed, 136 insertions(+), 110 deletions(-) diff --git a/pkg/install/cluster.go b/pkg/install/cluster.go index fd704759a..0af2e0e30 100644 --- a/pkg/install/cluster.go +++ b/pkg/install/cluster.go @@ -39,7 +39,6 @@ import ( "github.com/apache/camel-k/pkg/util/kubernetes" ) -// nolint: maintidx // TODO: refactor the code func SetupClusterWideResourcesOrCollect( ctx context.Context, clientProvider client.Provider, collection *kubernetes.Collection, clusterType string, force bool, @@ -50,110 +49,8 @@ func SetupClusterWideResourcesOrCollect( return err } - isAPIExtensionsV1 := true - if _, err := c.Discovery().ServerResourcesForGroupVersion("apiextensions.k8s.io/v1"); err != nil { - if k8serrors.IsNotFound(err) { - isAPIExtensionsV1 = false - } else { - return err - } - } - - // Convert the CRD to apiextensions.k8s.io/v1beta1 in case v1 is not available. - // This is mainly required to support OpenShift 3, and older versions of Kubernetes. - // It can be removed as soon as these versions are not supported anymore. - if err := apiextensionsv1.AddToScheme(c.GetScheme()); err != nil { - return err - } - if !isAPIExtensionsV1 { - if err := apiextensionsv1beta1.AddToScheme(c.GetScheme()); err != nil { - return err - } - } - downgradeToCRDv1beta1 := func(object ctrl.Object) ctrl.Object { - // Remove default values in v1beta1 Integration and KameletBinding CRDs, - removeDefaultFromCrd := func(crd *apiextensionsv1beta1.CustomResourceDefinition, property string) { - defaultValue := apiextensionsv1beta1.JSONSchemaProps{ - Default: nil, - } - if crd.Name == "integrations.camel.apache.org" { - crd.Spec.Validation.OpenAPIV3Schema. - Properties["spec"].Properties["template"].Properties["spec"].Properties[property].Items.Schema. - Properties["ports"].Items.Schema.Properties["protocol"] = defaultValue - } - if crd.Name == "kameletbindings.camel.apache.org" { - crd.Spec.Validation.OpenAPIV3Schema.Properties["spec"].Properties["integration"].Properties["template"]. - Properties["spec"].Properties[property].Items.Schema.Properties["ports"].Items.Schema. - Properties["protocol"] = defaultValue - } - } - - if !isAPIExtensionsV1 { - v1Crd, ok := object.(*apiextensionsv1.CustomResourceDefinition) - if !ok { - return nil - } - v1beta1Crd := &apiextensionsv1beta1.CustomResourceDefinition{} - crd := &apiextensions.CustomResourceDefinition{} - - err := apiextensionsv1.Convert_v1_CustomResourceDefinition_To_apiextensions_CustomResourceDefinition(v1Crd, crd, nil) - if err != nil { - return nil - } - - err = apiextensionsv1beta1.Convert_apiextensions_CustomResourceDefinition_To_v1beta1_CustomResourceDefinition(crd, v1beta1Crd, nil) - if err != nil { - return nil - } - - removeDefaultFromCrd(v1beta1Crd, "ephemeralContainers") - removeDefaultFromCrd(v1beta1Crd, "containers") - removeDefaultFromCrd(v1beta1Crd, "initContainers") - - return v1beta1Crd - } - return object - } - - // Install CRD for Integration Platform (if needed) - if err := installCRD(ctx, c, "IntegrationPlatform", "v1", "camel.apache.org_integrationplatforms.yaml", - downgradeToCRDv1beta1, collection, force); err != nil { - return err - } - - // Install CRD for Integration Kit (if needed) - if err := installCRD(ctx, c, "IntegrationKit", "v1", "camel.apache.org_integrationkits.yaml", - downgradeToCR
[camel-k] 01/02: fix(cmd): refactor install cmd to remove maintidx lint
This is an automated email from the ASF dual-hosted git repository. tsato pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k.git commit 72eb49181a2ad984a4fbcc50393d837faf504606 Author: Tadayoshi Sato AuthorDate: Wed Dec 14 17:25:31 2022 +0900 fix(cmd): refactor install cmd to remove maintidx lint --- pkg/cmd/install.go| 609 +- pkg/install/cluster.go| 55 +++-- pkg/install/operator.go | 8 +- pkg/util/olm/available.go | 2 +- 4 files changed, 369 insertions(+), 305 deletions(-) diff --git a/pkg/cmd/install.go b/pkg/cmd/install.go index fccea5ba8..002e53d45 100644 --- a/pkg/cmd/install.go +++ b/pkg/cmd/install.go @@ -215,16 +215,53 @@ type installCmdOptions struct { olmOptions olm.Options } -// nolint: gocyclo,maintidx // TODO: refactor the code -func (o *installCmdOptions) install(cobraCmd *cobra.Command, _ []string) error { - var collection *kubernetes.Collection +func (o *installCmdOptions) install(cmd *cobra.Command, _ []string) error { + var output *kubernetes.Collection if o.OutputFormat != "" { - collection = kubernetes.NewCollection() + output = kubernetes.NewCollection() } // Let's use a client provider during cluster installation, to eliminate the problem of CRD object caching clientProvider := client.Provider{Get: o.NewCmdClient} + o.setupEnvVars() + + installViaOLM := false + if o.Olm { + installed, err := o.tryInstallViaOLM(cmd, clientProvider, output) + if err != nil { + return err + } + installViaOLM = installed + } + + if !o.SkipClusterSetup && !installViaOLM { + if err := install.SetupClusterWideResourcesOrCollect(o.Context, clientProvider, + output, o.ClusterType, o.Force); err != nil { + if k8serrors.IsForbidden(err) { + fmt.Fprintln(cmd.OutOrStdout(), + "Current user is not authorized to create cluster-wide objects like custom resource definitions or cluster roles:", + err) + msg := `please login as cluster-admin and execute "kamel install --cluster-setup" to install cluster-wide resources (one-time operation)` + return errors.New(msg) + } + return err + } + } + + if o.ClusterSetupOnly { + if output != nil { + return o.printOutput(cmd, output) + } + fmt.Fprintln(cmd.OutOrStdout(), "Camel K cluster setup completed successfully") + return nil + } + + return o.installOperator(cmd, output, installViaOLM) +} + +// setupEnvVars sets up additional env vars from the command options. +func (o *installCmdOptions) setupEnvVars() { // --operator-id={id} is a syntax sugar for '--operator-env-vars KAMEL_OPERATOR_ID={id}' o.EnvVars = append(o.EnvVars, fmt.Sprintf("KAMEL_OPERATOR_ID=%s", strings.TrimSpace(o.OperatorID))) @@ -237,347 +274,342 @@ func (o *installCmdOptions) install(cobraCmd *cobra.Command, _ []string) error { if len(o.LogLevel) > 0 { o.EnvVars = append(o.EnvVars, fmt.Sprintf("LOG_LEVEL=%s", strings.TrimSpace(o.LogLevel))) } +} - installViaOLM := false - if o.Olm { - var err error - var olmClient client.Client - if olmClient, err = clientProvider.Get(); err != nil { - return err - } - var olmAvailable bool - if olmAvailable, err = olm.IsAPIAvailable(o.Context, olmClient, o.Namespace); err != nil { - return errors.Wrap(err, "error while checking OLM availability. Run with '--olm=false' to skip this check") - } - if olmAvailable { - if installViaOLM, err = olm.HasPermissionToInstall(o.Context, olmClient, o.Namespace, o.Global, o.olmOptions); err != nil { - return errors.Wrap(err, "error while checking permissions to install operator via OLM. Run with '--olm=false' to skip this check") - } - if !installViaOLM { - fmt.Fprintln(cobraCmd.OutOrStdout(), "OLM is available but current user has not enough permissions to create the operator. "+ - "You can either ask your administrator to provide permissions (preferred) or run the install command with the `--olm=false` flag.") - os.Exit(1) - } - } else { - fmt.Fprintln(cobraCmd.OutOrStdout()
[GitHub] [camel-k] tadayosi merged pull request #3900: fix(cmd): refactor install cmd to remove maintidx lint
tadayosi merged PR #3900: URL: https://github.com/apache/camel-k/pull/3900 -- 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, #2927: [CI] - Camel Main Branch Build Failure
jamesnetherton opened a new issue, #2927: URL: https://github.com/apache/camel-quarkus/issues/2927 This is a placeholder issue used by the [nightly sync workflow](https://github.com/apache/camel-quarkus/actions/workflows/camel-master-cron.yaml) for the [`camel-main`](https://github.com/apache/camel-quarkus/tree/camel-main) branch. -- 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] github-actions[bot] commented on issue #2927: [CI] - Camel Main Branch Build Failure
github-actions[bot] commented on issue #2927: URL: https://github.com/apache/camel-quarkus/issues/2927#issuecomment-1352431107 The [camel-main](https://github.com/apache/camel-quarkus/tree/camel-main) branch build has failed: * Build ID: 3699833794-862-6c5154e3-7760-4651-a826-7709efc641d4 * Camel Quarkus Commit: 596071026fcd5b6de3e2d4d07df56ff948a0d2ac * Camel Main Commit: 30520e877fd3d4275f1a1f57c74393bf81fb9c6b * Link to build: https://github.com/apache/camel-quarkus/actions/runs/3699833794 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-spring-boot] branch automatic-periodic-sync updated (ac753b48e5d -> 9644213ab93)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch automatic-periodic-sync in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git from ac753b48e5d [create-pull-request] automated change add 518ad0f65c3 Bump cxf-core in /tooling/camel-spring-boot-dependencies (#684) add 9644213ab93 Regen No new revisions were added by this update. Summary of changes: tooling/camel-spring-boot-dependencies/pom.xml | 56 +- 1 file changed, 28 insertions(+), 28 deletions(-)
[camel-k] branch dependabot/go_modules/github.com/onsi/gomega-1.24.2 created (now cd8d49946)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/go_modules/github.com/onsi/gomega-1.24.2 in repository https://gitbox.apache.org/repos/asf/camel-k.git at cd8d49946 chore(deps): bump github.com/onsi/gomega from 1.22.1 to 1.24.2 No new revisions were added by this update.
[GitHub] [camel-k] dependabot[bot] opened a new pull request, #3906: chore(deps): bump github.com/onsi/gomega from 1.22.1 to 1.24.2
dependabot[bot] opened a new pull request, #3906: URL: https://github.com/apache/camel-k/pull/3906 Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.22.1 to 1.24.2. Release notes Sourced from https://github.com/onsi/gomega/releases";>github.com/onsi/gomega's releases. v1.24.2 1.24.2 Fixes Correctly handle assertion failure panics for eventually/consistnetly "g Gomega"s in a goroutine [78f1660] docs:Fix typo "you an" -> "you can" (https://github-redirect.dependabot.com/onsi/gomega/issues/607";>#607) [3187c1f] fixes issue https://github-redirect.dependabot.com/onsi/gomega/issues/600";>#600 (https://github-redirect.dependabot.com/onsi/gomega/issues/606";>#606) [808d192] Maintenance Bump golang.org/x/net from 0.2.0 to 0.4.0 (https://github-redirect.dependabot.com/onsi/gomega/issues/611";>#611) [6ebc0bf] Bump nokogiri from 1.13.9 to 1.13.10 in /docs (https://github-redirect.dependabot.com/onsi/gomega/issues/612";>#612) [258cfc8] Bump github.com/onsi/ginkgo/v2 from 2.5.0 to 2.5.1 (https://github-redirect.dependabot.com/onsi/gomega/issues/609";>#609) [e6c3eb9] v1.24.1 No release notes provided. v1.24.0 1.24.0 Features Introducting https://onsi.github.io/gomega/#gcustom-a-convenient-mechanism-for-buildling-custom-matchers";>gcustom - a convenient mechanism for building custom matchers. This is an RC release for gcustom. The external API may be tweaked in response to feedback however it is expected to remain mostly stable. Maintenance Update BeComparableTo documentation [756eaa0] v1.23.0 1.23.0 Features Custom formatting on a per-type basis can be provided using format.RegisterCustomFormatter() -- see the docs https://onsi.github.io/gomega/#adjusting-output";>here Substantial improvement have been made to StopTrying(): Users can now use StopTrying().Wrap(err) to wrap errors and StopTrying().Attach(description, object) to attach arbitrary objects to the StopTrying() error StopTrying() is now always interpreted as a failure. If you are an early adopter of StopTrying() you may need to change your code as the prior version would match against the returned value even if StopTrying() was returned. Going forward the StopTrying() api should remain stable. StopTrying() and StopTrying().Now() can both be used in matchers - not just polled functions. TryAgainAfter(duration) is used like StopTrying() but instructs Eventually and Consistently that the poll should be tried again after the specified duration. This allows you to dynamically adjust the polling duration. ctx can now be passed-in as the first argument to Eventually and Consistently. Maintenance Bump github.com/onsi/ginkgo/v2 from 2.3.0 to 2.3.1 (https://github-redirect.dependabot.com/onsi/gomega/issues/597";>#597) [afed901] Bump nokogiri from 1.13.8 to 1.13.9 in /docs (https://github-redirect.dependabot.com/onsi/gomega/issues/599";>#599) [7c691b3] Bump github.com/google/go-cmp from 0.5.8 to 0.5.9 (https://github-redirect.dependabot.com/onsi/gomega/issues/587";>#587) [ff22665] Changelog Sourced from https://github.com/onsi/gomega/blob/master/CHANGELOG.md";>github.com/onsi/gomega's changelog. 1.24.2 Fixes Correctly handle assertion failure panics for eventually/consistnetly "g Gomega"s in a goroutine [78f1660] docs:Fix typo "you an" -> "you can" (https://github-redirect.dependabot.com/onsi/gomega/issues/607";>#607) [3187c1f] fixes issue https://github-redirect.dependabot.com/onsi/gomega/issues/600";>#600 (https://github-redirect.dependabot.com/onsi/gomega/issues/606";>#606) [808d192] Maintenance Bump golang.org/x/net from 0.2.0 to 0.4.0 (https://github-redirect.dependabot.com/onsi/gomega/issues/611";>#611) [6ebc0bf] Bump nokogiri from 1.13.9 to 1.13.10 in /docs (https://github-redirect.dependabot.com/onsi/gomega/issues/612";>#612) [258cfc8] Bump github.com/onsi/ginkgo/v2 from 2.5.0 to 2.5.1 (https://github-redirect.dependabot.com/onsi/gomega/issues/609";>#609) [e6c3eb9] 1.24.1 Fixes maintain backward compatibility for Eventually and Consisntetly's signatures [4c7df5e] fix small typo (https://github-redirect.dependabot.com/onsi/gomega/issues/601";>#601) [ea0ebe6] Maintenance Bump golang.org/x/net from 0.1.0 to 0.2.0 (https://github-redirect.dependabot.com/onsi/gomega/issues/603";>#603) [1ba8372] Bump github.com/onsi/ginkgo/v2 from 2.4.0 to 2.5.0 (https://github-redirect.dependabot.com/onsi/gomega/issues/602";>#602) [f9426cb] fix label-filter in test.yml [d795db6] stop running flakey tests and rely on external network dependencies in CI [7133290] 1.24.0 Features Introducting https://onsi.github.io/gomega/#gcustom-a-convenient-mechanism-for-buildling-custom-matchers";>gcustom - a convenient mechan
[GitHub] [camel-k] dependabot[bot] opened a new pull request, #3905: chore(deps): bump github.com/prometheus/common from 0.38.0 to 0.39.0
dependabot[bot] opened a new pull request, #3905: URL: https://github.com/apache/camel-k/pull/3905 Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.38.0 to 0.39.0. Release notes Sourced from https://github.com/prometheus/common/releases";>github.com/prometheus/common's releases. v0.39.0 [ENHANCEMENT] Add support for proxy connect headers. https://github-redirect.dependabot.com/prometheus/common/issues/409";>#409 [ENHANCEMENT] Add platform info to labels. https://github-redirect.dependabot.com/prometheus/common/issues/403";>#403 Commits https://github.com/prometheus/common/commit/296ec92f02fd5e3c15443437e98b573d968eaa14";>296ec92 Merge pull request https://github-redirect.dependabot.com/prometheus/common/issues/409";>#409 from prometheus/mem/proxy_header https://github.com/prometheus/common/commit/18281a2fea3405a252e2a0bea2289938e28a3e70";>18281a2 Merge pull request https://github-redirect.dependabot.com/prometheus/common/issues/424";>#424 from prometheus/repo_sync https://github.com/prometheus/common/commit/4a0d7300ce591c3cc2b142ed7b51feb904da1dff";>4a0d730 Add support for proxy connect headers https://github.com/prometheus/common/commit/017dec0bb031686b3d1901e70fc9e944e2f91ac2";>017dec0 Update common Prometheus files https://github.com/prometheus/common/commit/befeabfff877aa101f9338238ea1e097e9fb16d3";>befeabf Merge pull request https://github-redirect.dependabot.com/prometheus/common/issues/422";>#422 from prometheus/superq/add_mod_check https://github.com/prometheus/common/commit/1bc7f65a92b30fb812759a13f6dca5e6bb091c49";>1bc7f65 Add platform info to labels (https://github-redirect.dependabot.com/prometheus/common/issues/403";>#403) https://github.com/prometheus/common/commit/82accf3617aa1f59bbbd78a6290cbf578a85cb9e";>82accf3 Add go mod version test https://github.com/prometheus/common/commit/00e3fd73712bb2598543c0e7deba86f5b74ea975";>00e3fd7 Merge pull request https://github-redirect.dependabot.com/prometheus/common/issues/418";>#418 from roidelapluie/go119 https://github.com/prometheus/common/commit/045094f9f4c6965686ba38aa2817c649e6509d85";>045094f Update deps and test with go 1.19 https://github.com/prometheus/common/commit/ddb642f834716d2a73cb8209606cd66bd99bfd53";>ddb642f Merge pull request https://github-redirect.dependabot.com/prometheus/common/issues/421";>#421 from prometheus/superq/update_sigv4 Additional commits viewable in https://github.com/prometheus/common/compare/v0.38.0...v0.39.0";>compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/prometheus/common&package-manager=go_modules&previous-version=0.38.0&new-version=0.39.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-k] branch dependabot/go_modules/github.com/prometheus/common-0.39.0 created (now ef6f90b87)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/go_modules/github.com/prometheus/common-0.39.0 in repository https://gitbox.apache.org/repos/asf/camel-k.git at ef6f90b87 chore(deps): bump github.com/prometheus/common from 0.38.0 to 0.39.0 No new revisions were added by this update.
[GitHub] [camel-karavan] mrinalsharma commented on issue #561: Operator should deploy pipeline and task for Spring-boot runtime
mrinalsharma commented on issue #561: URL: https://github.com/apache/camel-karavan/issues/561#issuecomment-1352299831 Are you planning for any major updates in the operator code in the coming days? I will work on AWS operator support when the code is stable. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-website] github-actions[bot] commented on pull request #942: blog: Added Camel K 1.11.0 release
github-actions[bot] commented on PR #942: URL: https://github.com/apache/camel-website/pull/942#issuecomment-1352255722 🚀 Preview is available at https://pr-942--camel.netlify.app -- 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 #8904: CAMEL-16262 fixed automaticRetriesDisabled option setting in http component
github-actions[bot] commented on PR #8904: URL: https://github.com/apache/camel/pull/8904#issuecomment-1352241938 ### 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] branch regen_bot updated (29b55273dc6 -> f99c22e5355)
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 29b55273dc6 CAMEL-18739 fix by handing over the completion to the original exchange (#8795) add d08b7b380af CAMEL-18739 fix by handing over the completion to the original exchange (#8795) add 6acb68e1adf CAMEL-18739 fix by handing over the completion to the original exchange (#8795) add f99c22e5355 CAMEL-16262 fixed automaticRetriesDisabled option setting in http component (#8904) No new revisions were added by this update. Summary of changes: .../main/java/org/apache/camel/component/http/HttpComponent.java | 2 +- .../camel/processor/aggregate/tarfile/TarAggregationStrategy.java | 8 .../camel/processor/aggregate/zipfile/ZipAggregationStrategy.java | 8 .../main/java/org/apache/camel/processor/MulticastProcessor.java | 5 ++--- 4 files changed, 19 insertions(+), 4 deletions(-)
[camel] branch regen_bot_3.14.x updated (56aabd4e8fa -> c63013c8a30)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot_3.14.x in repository https://gitbox.apache.org/repos/asf/camel.git from 56aabd4e8fa camel-ldap - Add docs about LDAP injection add c63013c8a30 CAMEL-16262 fixed automaticRetriesDisabled option setting in http component (#8904) No new revisions were added by this update. Summary of changes: .../src/main/java/org/apache/camel/component/http/HttpComponent.java| 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
[GitHub] [camel] lmolkova commented on pull request #8713: CAMEL-18661: Make span current and clear scope properly for async processing
lmolkova commented on PR #8713: URL: https://github.com/apache/camel/pull/8713#issuecomment-1352139062 I believe I fixed broken tests, I have some unrelated local failures, but they are not related to my changes. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-karavan] davsclaus closed issue #545: flat file or document conversion connectors
davsclaus closed issue #545: flat file or document conversion connectors URL: https://github.com/apache/camel-karavan/issues/545 -- 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 closed issue #538: aws connectors giving s3 exception null
davsclaus closed issue #538: aws connectors giving s3 exception null URL: https://github.com/apache/camel-karavan/issues/538 -- 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 #511: How to configure Auto Startup in a route using Env variable?
davsclaus commented on issue #511: URL: https://github.com/apache/camel-karavan/issues/511#issuecomment-1352101570 We would need to enrich the camel-yaml-dsl schema with information which options can have a string property placeholder as well (or check via camel-catalog) and then Karavan can have some kind of "..." button to set the option via a placeholder syntax -- 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 #511: How to configure Auto Startup in a route using Env variable?
davsclaus commented on issue #511: URL: https://github.com/apache/camel-karavan/issues/511#issuecomment-1352100028 The yaml DSL is in some areas more basic in this area and offer boolean, int, types that otherwise in Java DSL is more rich and allow to use property placeholders for many options. -- 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] davsclaus commented on pull request #8904: CAMEL-16262 fixed automaticRetriesDisabled option setting in http component
davsclaus commented on PR #8904: URL: https://github.com/apache/camel/pull/8904#issuecomment-1352093787 And congrat on your fist contribution to Apache Camel. Looking forward to more -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch camel-3.14.x updated: CAMEL-16262 fixed automaticRetriesDisabled option setting in http component (#8904)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-3.14.x in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/camel-3.14.x by this push: new c63013c8a30 CAMEL-16262 fixed automaticRetriesDisabled option setting in http component (#8904) c63013c8a30 is described below commit c63013c8a30a402cbc54c7062f3ea0084dfbef03 Author: Denis-D-M <55101583+denis-...@users.noreply.github.com> AuthorDate: Thu Dec 15 00:08:04 2022 +0400 CAMEL-16262 fixed automaticRetriesDisabled option setting in http component (#8904) Co-authored-by: Denis Mishin --- .../src/main/java/org/apache/camel/component/http/HttpComponent.java| 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/camel-http/src/main/java/org/apache/camel/component/http/HttpComponent.java b/components/camel-http/src/main/java/org/apache/camel/component/http/HttpComponent.java index e547b9b5cad..0e2c3096e0d 100644 --- a/components/camel-http/src/main/java/org/apache/camel/component/http/HttpComponent.java +++ b/components/camel-http/src/main/java/org/apache/camel/component/http/HttpComponent.java @@ -460,7 +460,7 @@ public class HttpComponent extends HttpCommonComponent implements RestProducerFa clientBuilder.disableRedirectHandling(); } if (automaticRetriesDisabled) { -clientBuilder.disableRedirectHandling(); +clientBuilder.disableAutomaticRetries(); } if (contentCompressionDisabled) { clientBuilder.disableContentCompression();
[camel] branch camel-3.18.x updated: CAMEL-16262 fixed automaticRetriesDisabled option setting in http component (#8904)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-3.18.x in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/camel-3.18.x by this push: new f4755e296c5 CAMEL-16262 fixed automaticRetriesDisabled option setting in http component (#8904) f4755e296c5 is described below commit f4755e296c5509c121451e938f245c941510a409 Author: Denis-D-M <55101583+denis-...@users.noreply.github.com> AuthorDate: Thu Dec 15 00:08:04 2022 +0400 CAMEL-16262 fixed automaticRetriesDisabled option setting in http component (#8904) Co-authored-by: Denis Mishin --- .../src/main/java/org/apache/camel/component/http/HttpComponent.java| 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/camel-http/src/main/java/org/apache/camel/component/http/HttpComponent.java b/components/camel-http/src/main/java/org/apache/camel/component/http/HttpComponent.java index 3b11c4dc457..5c970d6b7c0 100644 --- a/components/camel-http/src/main/java/org/apache/camel/component/http/HttpComponent.java +++ b/components/camel-http/src/main/java/org/apache/camel/component/http/HttpComponent.java @@ -468,7 +468,7 @@ public class HttpComponent extends HttpCommonComponent implements RestProducerFa clientBuilder.disableRedirectHandling(); } if (automaticRetriesDisabled) { -clientBuilder.disableRedirectHandling(); +clientBuilder.disableAutomaticRetries(); } if (contentCompressionDisabled) { clientBuilder.disableContentCompression();
[GitHub] [camel] davsclaus commented on pull request #8904: CAMEL-16262 fixed automaticRetriesDisabled option setting in http component
davsclaus commented on PR #8904: URL: https://github.com/apache/camel/pull/8904#issuecomment-1352092115 Thanks for spotting 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
[camel] branch main updated: CAMEL-16262 fixed automaticRetriesDisabled option setting in http component (#8904)
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 f99c22e5355 CAMEL-16262 fixed automaticRetriesDisabled option setting in http component (#8904) f99c22e5355 is described below commit f99c22e53559abe20f60ef37b663cd672fe95add Author: Denis-D-M <55101583+denis-...@users.noreply.github.com> AuthorDate: Thu Dec 15 00:08:04 2022 +0400 CAMEL-16262 fixed automaticRetriesDisabled option setting in http component (#8904) Co-authored-by: Denis Mishin --- .../src/main/java/org/apache/camel/component/http/HttpComponent.java| 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/camel-http/src/main/java/org/apache/camel/component/http/HttpComponent.java b/components/camel-http/src/main/java/org/apache/camel/component/http/HttpComponent.java index 10b43c79bdb..69a5f071fcb 100644 --- a/components/camel-http/src/main/java/org/apache/camel/component/http/HttpComponent.java +++ b/components/camel-http/src/main/java/org/apache/camel/component/http/HttpComponent.java @@ -476,7 +476,7 @@ public class HttpComponent extends HttpCommonComponent implements RestProducerFa clientBuilder.disableRedirectHandling(); } if (automaticRetriesDisabled) { -clientBuilder.disableRedirectHandling(); +clientBuilder.disableAutomaticRetries(); } if (contentCompressionDisabled) { clientBuilder.disableContentCompression();
[GitHub] [camel] davsclaus merged pull request #8904: CAMEL-16262 fixed automaticRetriesDisabled option setting in http component
davsclaus merged PR #8904: URL: https://github.com/apache/camel/pull/8904 -- 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] Denis-D-M commented on pull request #8904: CAMEL-16262 fixed automaticRetriesDisabled option setting in http component
Denis-D-M commented on PR #8904: URL: https://github.com/apache/camel/pull/8904#issuecomment-1351990540 Sorry, didn't mean to close the pr ;) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] Denis-D-M closed pull request #8904: CAMEL-16262 fixed automaticRetriesDisabled option setting in http component
Denis-D-M closed pull request #8904: CAMEL-16262 fixed automaticRetriesDisabled option setting in http component URL: https://github.com/apache/camel/pull/8904 -- 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 #8904: CAMEL-16262 fixed automaticRetriesDisabled option setting in http component
github-actions[bot] commented on PR #8904: URL: https://github.com/apache/camel/pull/8904#issuecomment-1351990297 :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] github-actions[bot] commented on pull request #8904: CAMEL-16262 fixed automaticRetriesDisabled option setting in http component
github-actions[bot] commented on PR #8904: URL: https://github.com/apache/camel/pull/8904#issuecomment-1351989920 ### 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] branch regen_bot updated (c7902015232 -> 29b55273dc6)
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 c7902015232 CAMEL-18739: camel-core - AggregationStrategy onCompletion to have access to input exchange. add 29b55273dc6 CAMEL-18739 fix by handing over the completion to the original exchange (#8795) No new revisions were added by this update. Summary of changes: components/camel-zipfile/pom.xml | 5 +++ ...t.java => ZipAggregationStrategySplitTest.java} | 40 ++ .../apache/camel/processor/MulticastProcessor.java | 1 + 3 files changed, 31 insertions(+), 15 deletions(-) copy components/camel-zipfile/src/test/java/org/apache/camel/processor/aggregate/zipfile/{ZipAggregationStrategyTest.java => ZipAggregationStrategySplitTest.java} (66%)
[camel] branch regen_bot updated (b7f45b1fd60 -> c7902015232)
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 b7f45b1fd60 Regen for commit b759c75b8cb4edbb289bf3ef9d70fe2fc6fd8e53 add 913c1cd5898 CAMEL-18739: camel-core - AggregationStrategy onCompletion to have access to input exchange. add 25c6941b8f1 CAMEL-18812 Fix REST DSL configuration placeholder for id add c7902015232 CAMEL-18739: camel-core - AggregationStrategy onCompletion to have access to input exchange. No new revisions were added by this update. Summary of changes: .../src/main/java/org/apache/camel/AggregationStrategy.java | 13 + .../java/org/apache/camel/processor/MulticastProcessor.java | 2 +- .../aggregate/ShareUnitOfWorkAggregationStrategy.java | 5 + .../camel/component/rest/FromRestExplicitComponentTest.java | 6 +- .../org/apache/camel/component/rest/FromRestGetTest.java| 7 +-- .../camel/component/rest/FromRestIdAndDescriptionTest.java | 5 - .../apache/camel/component/rest/FromRestRouteIdTest.java| 3 ++- 7 files changed, 35 insertions(+), 6 deletions(-)
[camel-kameleon] 01/02: Upgrade to Quarkus 2.15.0
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-kameleon.git commit a2e9977bfde264704d4106233baef286d79cce19 Author: Claus Ibsen AuthorDate: Wed Dec 14 19:09:24 2022 +0100 Upgrade to Quarkus 2.15.0 --- pom.xml | 4 ++-- src/main/resources/kameleon.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 506e199..009e7e7 100644 --- a/pom.xml +++ b/pom.xml @@ -36,9 +36,9 @@ under the License. 2.14.3.Final quarkus-universe-bom io.quarkus -2.14.3.Final +2.15.0.Final 3.0.0-M5 -2.14.0 +2.15.0 3.18.4 0.10.0 3.8.5 diff --git a/src/main/resources/kameleon.json b/src/main/resources/kameleon.json index 84420d7..afc76d1 100644 --- a/src/main/resources/kameleon.json +++ b/src/main/resources/kameleon.json @@ -74,11 +74,11 @@ "componentListTitle": "Camel Quarkus extensions", "versions": [ { - "name": "2.14.0", + "name": "2.15.0", "suffix": "", "javaVersions": ["11", "17"], "defaultJava": "11", - "runtimeVersion": "2.14.3.Final", + "runtimeVersion": "2.15.0.Final", "archetypeGroupId": "io.quarkus", "archetypeArtifactId": "quarkus-maven-plugin" }
[camel-kameleon] 02/02: Upgrade to Quarkus 2.15.0
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-kameleon.git commit 961d1026e0340aa9ee669f102e9ecfb9426215df Author: Claus Ibsen AuthorDate: Wed Dec 14 19:10:09 2022 +0100 Upgrade to Quarkus 2.15.0 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 009e7e7..fca12a7 100644 --- a/pom.xml +++ b/pom.xml @@ -33,7 +33,7 @@ under the License. 11 UTF-8 UTF-8 -2.14.3.Final +2.15.0.Final quarkus-universe-bom io.quarkus 2.15.0.Final
[camel-kameleon] branch main updated (b93fd66 -> 961d102)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel-kameleon.git from b93fd66 Upgrade to latest quarkus and camel-kamelets new a2e9977 Upgrade to Quarkus 2.15.0 new 961d102 Upgrade to Quarkus 2.15.0 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: pom.xml | 6 +++--- src/main/resources/kameleon.json | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-)
[GitHub] [camel] github-actions[bot] commented on pull request #8904: CAMEL-16262 fixed automaticRetriesDisabled option setting in http component
github-actions[bot] commented on PR #8904: URL: https://github.com/apache/camel/pull/8904#issuecomment-1351888782 :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] Denis-D-M opened a new pull request, #8904: CAMEL-16262 fixed automaticRetriesDisabled option setting in http component
Denis-D-M opened a new pull request, #8904: URL: https://github.com/apache/camel/pull/8904 Wrong method was mistakenly invoked, -- 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: Operator stuff for #561
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 b7b1fde Operator stuff for #561 b7b1fde is described below commit b7b1fde61839bbb3b543f2090e7661cabc0aa280 Author: Marat Gubaidullin AuthorDate: Wed Dec 14 13:03:07 2022 -0500 Operator stuff for #561 --- karavan-app/pom.xml| 2 +- karavan-builder/Dockerfile | 2 +- karavan-cloud/AWS/karavan-quarkus-task-aws.yaml| 2 +- karavan-demo/jms-to-kafka/docs/README.md | 2 +- .../apache/camel/karavan/operator/Constants.java | 2 +- .../camel/karavan/operator/KaravanReconciler.java | 22 +++--- .../operator/resource/KaravanTektonPipeline.java | 22 -- .../resources/quarkus-builder-script-kubernetes.sh | 2 +- .../resources/quarkus-builder-script-openshift.sh | 2 +- .../spring-boot-builder-script-kubernetes.sh | 17 +++-- .../spring-boot-builder-script-openshift.sh| 19 +++ karavan-vscode/README.md | 4 ++-- 12 files changed, 46 insertions(+), 52 deletions(-) diff --git a/karavan-app/pom.xml b/karavan-app/pom.xml index ace9db2..4d1325a 100644 --- a/karavan-app/pom.xml +++ b/karavan-app/pom.xml @@ -31,7 +31,7 @@ io.quarkus.platform 2.13.5.Final 3.0.0-M5 -3.18.3 +3.18.4 diff --git a/karavan-builder/Dockerfile b/karavan-builder/Dockerfile index 8cf704f..0fedd97 100644 --- a/karavan-builder/Dockerfile +++ b/karavan-builder/Dockerfile @@ -12,4 +12,4 @@ RUN mkdir /opt/mvnd && \ mv maven-mvnd-0.8.2-linux-amd64/* /opt/mvnd WORKDIR /scripts -ENTRYPOINT ["entrypoint", "-Dcamel.jbang.version=3.18.3", "camel@apache/camel"] +ENTRYPOINT ["entrypoint", "-Dcamel.jbang.version=3.18.4", "camel@apache/camel"] diff --git a/karavan-cloud/AWS/karavan-quarkus-task-aws.yaml b/karavan-cloud/AWS/karavan-quarkus-task-aws.yaml index 2abc74e..89fc26f 100644 --- a/karavan-cloud/AWS/karavan-quarkus-task-aws.yaml +++ b/karavan-cloud/AWS/karavan-quarkus-task-aws.yaml @@ -92,7 +92,7 @@ spec: cd ${CHECKOUT_DIR}/$(inputs.params.project) - entrypoint -Dcamel.jbang.version=3.18.3 camel@apache/camel export --local-kamelet-dir=${KAMELETS_DIR} + entrypoint -Dcamel.jbang.version=3.18.4 camel@apache/camel export --local-kamelet-dir=${KAMELETS_DIR} export LAST_COMMIT=$(git rev-parse --short HEAD) export DATE=$(date '+%Y%m%d%H%M%S') diff --git a/karavan-demo/jms-to-kafka/docs/README.md b/karavan-demo/jms-to-kafka/docs/README.md index a6d9667..fe4365e 100644 --- a/karavan-demo/jms-to-kafka/docs/README.md +++ b/karavan-demo/jms-to-kafka/docs/README.md @@ -26,7 +26,7 @@ docker-compose up ### Start integration ``` -jbang -Dcamel.jbang.version=3.18.3 camel@apache/camel run * +jbang -Dcamel.jbang.version=3.18.4 camel@apache/camel run * ``` ### Publish payment to JMS diff --git a/karavan-operator/src/main/java/org/apache/camel/karavan/operator/Constants.java b/karavan-operator/src/main/java/org/apache/camel/karavan/operator/Constants.java index b4d11c7..3ab679f 100644 --- a/karavan-operator/src/main/java/org/apache/camel/karavan/operator/Constants.java +++ b/karavan-operator/src/main/java/org/apache/camel/karavan/operator/Constants.java @@ -31,7 +31,7 @@ public final class Constants { public static final String PVC_M2_CACHE = "karavan-m2-cache"; public static final String PVC_JBANG_CACHE = "karavan-jbang-cache"; -public static final String PIPELINE_DEV_QUARKUS = "karavan-pipeline-dev-quarkus"; +public static final String PIPELINE_DEV = "karavan-pipeline-dev-"; public static final String TASK_DEV = "karavan-task-dev-"; public static final String ROLE_PIPELINE_DEPLOYER = "deployer"; diff --git a/karavan-operator/src/main/java/org/apache/camel/karavan/operator/KaravanReconciler.java b/karavan-operator/src/main/java/org/apache/camel/karavan/operator/KaravanReconciler.java index 9d044ee..456628a 100644 --- a/karavan-operator/src/main/java/org/apache/camel/karavan/operator/KaravanReconciler.java +++ b/karavan-operator/src/main/java/org/apache/camel/karavan/operator/KaravanReconciler.java @@ -84,7 +84,8 @@ public class KaravanReconciler implements Reconciler, EventSourceInitia private KaravanRoute karavanRoute; private KaravanDeployment karavanDeployment; -private KaravanTektonPipeline karavanTektonPipeline; +private KaravanTektonPipeline karavanTektonPipelineQuarkus; +private KaravanTektonPipeline karavanTektonPipelineSpringboot; private KaravanTektonTask karavanTektonTaskQuarkus; private KaravanTektonTask karavanTektonTaskSpringBoot; private PipelineServiceAccount pipelineServiceAccount; @@ -152,7 +153,8
[camel] 02/02: CAMEL-18739 fix by handing over the completion to the original exchange (#8795)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit 6acb68e1adf325cd069c8a5c12f99124d8dc54dd Author: Claus Ibsen AuthorDate: Wed Dec 14 18:59:13 2022 +0100 CAMEL-18739 fix by handing over the completion to the original exchange (#8795) --- .../camel/processor/aggregate/tarfile/TarAggregationStrategy.java | 8 1 file changed, 8 insertions(+) diff --git a/components/camel-tarfile/src/main/java/org/apache/camel/processor/aggregate/tarfile/TarAggregationStrategy.java b/components/camel-tarfile/src/main/java/org/apache/camel/processor/aggregate/tarfile/TarAggregationStrategy.java index 82b97315aef..76710b322dd 100644 --- a/components/camel-tarfile/src/main/java/org/apache/camel/processor/aggregate/tarfile/TarAggregationStrategy.java +++ b/components/camel-tarfile/src/main/java/org/apache/camel/processor/aggregate/tarfile/TarAggregationStrategy.java @@ -197,6 +197,14 @@ public class TarAggregationStrategy implements AggregationStrategy { return answer; } +@Override +public void onCompletion(Exchange exchange, Exchange inputExchange) { +// this aggregation strategy added onCompletion which we should handover when we are complete +if (inputExchange != null) { + exchange.adapt(ExtendedExchange.class).handoverCompletions(inputExchange); +} +} + private void addFileToTar(File source, File file, String fileName) throws IOException, ArchiveException { File tmpTar = Files.createTempFile(parentDir.toPath(), source.getName(), null).toFile(); tmpTar.delete();
[camel] 01/02: CAMEL-18739 fix by handing over the completion to the original exchange (#8795)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit d08b7b380af65e7ed85458ada13a0f78f29db62d Author: Claus Ibsen AuthorDate: Wed Dec 14 18:53:21 2022 +0100 CAMEL-18739 fix by handing over the completion to the original exchange (#8795) --- .../camel/processor/aggregate/zipfile/ZipAggregationStrategy.java | 8 .../main/java/org/apache/camel/processor/MulticastProcessor.java | 5 ++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/components/camel-zipfile/src/main/java/org/apache/camel/processor/aggregate/zipfile/ZipAggregationStrategy.java b/components/camel-zipfile/src/main/java/org/apache/camel/processor/aggregate/zipfile/ZipAggregationStrategy.java index e2a5880b9f7..4d9a0448a93 100644 --- a/components/camel-zipfile/src/main/java/org/apache/camel/processor/aggregate/zipfile/ZipAggregationStrategy.java +++ b/components/camel-zipfile/src/main/java/org/apache/camel/processor/aggregate/zipfile/ZipAggregationStrategy.java @@ -216,6 +216,14 @@ public class ZipAggregationStrategy implements AggregationStrategy { return answer; } +@Override +public void onCompletion(Exchange exchange, Exchange inputExchange) { +// this aggregation strategy added onCompletion which we should handover when we are complete +if (inputExchange != null) { + exchange.adapt(ExtendedExchange.class).handoverCompletions(inputExchange); +} +} + private static void newZipFile(File zipFile) throws URISyntaxException, IOException { if (zipFile.exists() && !zipFile.delete()) { //Delete, because ZipFileSystem needs to create file on its own (with correct END bytes in the file) throw new IOException("Cannot delete file " + zipFile); diff --git a/core/camel-core-processor/src/main/java/org/apache/camel/processor/MulticastProcessor.java b/core/camel-core-processor/src/main/java/org/apache/camel/processor/MulticastProcessor.java index e7f5c2d2fc2..af740f9b1c2 100644 --- a/core/camel-core-processor/src/main/java/org/apache/camel/processor/MulticastProcessor.java +++ b/core/camel-core-processor/src/main/java/org/apache/camel/processor/MulticastProcessor.java @@ -767,7 +767,7 @@ public class MulticastProcessor extends AsyncProcessorSupport * @param pairsthe pairs with the exchanges to process * @param callback the callback * @param doneSync the doneSync parameter to call on callback - * @param forceExhaust whether or not error handling is exhausted + * @param forceExhaust whether error handling is exhausted */ protected void doDone( Exchange original, Exchange subExchange, final Iterable pairs, @@ -800,9 +800,8 @@ public class MulticastProcessor extends AsyncProcessorSupport // if we stopped due an exception then only propagate the exception original.setException(subExchange.getException()); } else { -// copy the current result to original so it will contain this result of this eip +// copy the current result to original, so it will contain this result of this eip ExchangeHelper.copyResults(original, subExchange); - subExchange.adapt(ExtendedExchange.class).handoverCompletions(original); } }
[camel] branch main updated (29b55273dc6 -> 6acb68e1adf)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel.git from 29b55273dc6 CAMEL-18739 fix by handing over the completion to the original exchange (#8795) new d08b7b380af CAMEL-18739 fix by handing over the completion to the original exchange (#8795) new 6acb68e1adf CAMEL-18739 fix by handing over the completion to the original exchange (#8795) 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/processor/aggregate/tarfile/TarAggregationStrategy.java | 8 .../camel/processor/aggregate/zipfile/ZipAggregationStrategy.java | 8 .../main/java/org/apache/camel/processor/MulticastProcessor.java | 5 ++--- 3 files changed, 18 insertions(+), 3 deletions(-)
[GitHub] [camel] lmolkova commented on pull request #8713: CAMEL-18661: Make span current and clear scope properly for async processing
lmolkova commented on PR #8713: URL: https://github.com/apache/camel/pull/8713#issuecomment-1351859734 @bvahdat thanks! @davsclaus working on it and should will be able to fix all failures ASAP. -- 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-18739 fix by handing over the completion to the original exchange (#8795)
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 29b55273dc6 CAMEL-18739 fix by handing over the completion to the original exchange (#8795) 29b55273dc6 is described below commit 29b55273dc66027b5492e688f5a50b9c6463e548 Author: Alexander AuthorDate: Wed Dec 14 18:51:44 2022 +0100 CAMEL-18739 fix by handing over the completion to the original exchange (#8795) * Fix CAMEL-18739 by handing over the completion to the original exchange * Add unit test for bugfix issue CAMEL-18739 * Use awaitility lib for checking async if tempfile no longer exists Co-authored-by: Alexander Lex --- components/camel-zipfile/pom.xml | 5 + .../zipfile/ZipAggregationStrategySplitTest.java | 104 + .../apache/camel/processor/MulticastProcessor.java | 1 + 3 files changed, 110 insertions(+) diff --git a/components/camel-zipfile/pom.xml b/components/camel-zipfile/pom.xml index 93c7c2c6d93..82836c1cc9b 100644 --- a/components/camel-zipfile/pom.xml +++ b/components/camel-zipfile/pom.xml @@ -65,6 +65,11 @@ log4j-slf4j-impl test + +org.awaitility +awaitility +test + diff --git a/components/camel-zipfile/src/test/java/org/apache/camel/processor/aggregate/zipfile/ZipAggregationStrategySplitTest.java b/components/camel-zipfile/src/test/java/org/apache/camel/processor/aggregate/zipfile/ZipAggregationStrategySplitTest.java new file mode 100644 index 000..0887c338ba9 --- /dev/null +++ b/components/camel-zipfile/src/test/java/org/apache/camel/processor/aggregate/zipfile/ZipAggregationStrategySplitTest.java @@ -0,0 +1,104 @@ +/* + * 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.processor.aggregate.zipfile; + +import java.io.File; +import java.io.FileInputStream; +import java.util.concurrent.TimeUnit; +import java.util.zip.ZipEntry; +import java.util.zip.ZipInputStream; + +import org.apache.camel.builder.RouteBuilder; +import org.apache.camel.component.mock.MockEndpoint; +import org.apache.camel.processor.aggregate.GroupedMessageAggregationStrategy; +import org.apache.camel.test.junit5.CamelTestSupport; +import org.apache.camel.util.IOHelper; +import org.awaitility.Awaitility; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; + +import static org.apache.camel.test.junit5.TestSupport.deleteDirectory; +import static org.junit.jupiter.api.Assertions.*; + +public class ZipAggregationStrategySplitTest extends CamelTestSupport { + +private static final int EXPECTED_NO_FILES = 3; +private static final String TEST_DIR = "target/out_ZipAggregationStrategyTest"; + +@Override +@BeforeEach +public void setUp() throws Exception { +deleteDirectory(TEST_DIR); +super.setUp(); +} + +@Test +public void testSplitter() throws Exception { +MockEndpoint mock = getMockEndpoint("mock:aggregateToZipEntry"); +mock.expectedMessageCount(1); + +MockEndpoint.assertIsSatisfied(context); + +String tempFileLocation = mock.getExchanges().get(0).getIn().getHeader("tempFile", String.class); + +File[] files = new File(TEST_DIR).listFiles(); +assertNotNull(files); +assertTrue(files.length > 0, "Should be a file in " + TEST_DIR + " directory"); + +File resultFile = files[0]; + +ZipInputStream zin = new ZipInputStream(new FileInputStream(resultFile)); +try { +int fileCount = 0; +for (ZipEntry ze = zin.getNextEntry(); ze != null; ze = zin.getNextEntry()) { +fileCount++; +} +assertEquals(ZipAggregationStrategySplitTest.EXPECTED_NO_FILES, fileCount, +"Zip file should contains " + ZipAggregationStrategySplitTest.EXPECTED_NO_FILES + " files"); +} finally { +IOHelper.close(zin); +} + +// Temp file needs to be deleted now +File tempFile =
[GitHub] [camel] davsclaus merged pull request #8795: CAMEL-18739 fix by handing over the completion to the original exchange
davsclaus merged PR #8795: URL: https://github.com/apache/camel/pull/8795 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel] branch camel-3.18.x updated: CAMEL-18812 Fix REST DSL configuration placeholder for id
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-3.18.x in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/camel-3.18.x by this push: new 27cdb54f0c4 CAMEL-18812 Fix REST DSL configuration placeholder for id 27cdb54f0c4 is described below commit 27cdb54f0c4aa1166d8acec5ee0542286b1d19ba Author: Claus Ibsen AuthorDate: Wed Dec 14 18:42:28 2022 +0100 CAMEL-18812 Fix REST DSL configuration placeholder for id --- .../apache/camel/component/rest/FromRestExplicitComponentTest.java | 6 +- .../test/java/org/apache/camel/component/rest/FromRestGetTest.java | 7 +-- .../apache/camel/component/rest/FromRestIdAndDescriptionTest.java | 5 - 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/core/camel-core/src/test/java/org/apache/camel/component/rest/FromRestExplicitComponentTest.java b/core/camel-core/src/test/java/org/apache/camel/component/rest/FromRestExplicitComponentTest.java index a19718ad65b..da33b3fb2cc 100644 --- a/core/camel-core/src/test/java/org/apache/camel/component/rest/FromRestExplicitComponentTest.java +++ b/core/camel-core/src/test/java/org/apache/camel/component/rest/FromRestExplicitComponentTest.java @@ -27,12 +27,16 @@ public class FromRestExplicitComponentTest extends FromRestGetTest { return new RouteBuilder() { @Override public void configure() throws Exception { + context.getPropertiesComponent().addInitialProperty("mySpecialId", "scott"); + // configure to use dummy-rest restConfiguration().component("dummy-rest").host("localhost"); rest("/say/hello").get().to("direct:hello"); - rest("dummy-rest").path("/say/bye").get().consumes("application/json").param().type(RestParamType.header) +rest("dummy-rest").path("/say/bye") +.get().id("{{mySpecialId}}") + .consumes("application/json").param().type(RestParamType.header) .description("header param description1") .dataType("integer").allowableValues("1", "2", "3", "4").defaultValue("1").name("header_count") .required(true).endParam().param().type(RestParamType.query) diff --git a/core/camel-core/src/test/java/org/apache/camel/component/rest/FromRestGetTest.java b/core/camel-core/src/test/java/org/apache/camel/component/rest/FromRestGetTest.java index 70b6792c43a..91946aea0bc 100644 --- a/core/camel-core/src/test/java/org/apache/camel/component/rest/FromRestGetTest.java +++ b/core/camel-core/src/test/java/org/apache/camel/component/rest/FromRestGetTest.java @@ -108,8 +108,11 @@ public class FromRestGetTest extends ContextTestSupport { String out2 = template.requestBody("seda:get-say-bye", "Me", String.class); assertEquals("Bye World", out2); -Route route = context.getRoute("scott"); -Assertions.assertNotNull(route); +// some tests that inherit this class does not use dynamic id +if (context.getPropertiesComponent().resolveProperty("mySpecialId").isPresent()) { +Route route = context.getRoute("scott"); +Assertions.assertNotNull(route); +} } @Override diff --git a/core/camel-core/src/test/java/org/apache/camel/component/rest/FromRestIdAndDescriptionTest.java b/core/camel-core/src/test/java/org/apache/camel/component/rest/FromRestIdAndDescriptionTest.java index 47d9d40edf0..4fc77b4c78f 100644 --- a/core/camel-core/src/test/java/org/apache/camel/component/rest/FromRestIdAndDescriptionTest.java +++ b/core/camel-core/src/test/java/org/apache/camel/component/rest/FromRestIdAndDescriptionTest.java @@ -52,11 +52,14 @@ public class FromRestIdAndDescriptionTest extends FromRestGetTest { return new RouteBuilder() { @Override public void configure() throws Exception { + context.getPropertiesComponent().addInitialProperty("mySpecialId", "scott"); + restConfiguration().host("localhost"); rest("/say/hello").id("hello").description("Hello Service").get().id("get-say").description("Says hello to you") .to("direct:hello"); -rest("/say/bye").description("bye", "Bye Service", "en").get().description("Says bye to you") +rest("/say/bye").description("bye", "Bye Service", "en") +.get().id("{{mySpecialId}}").description("Says bye to you") .consumes("application/json").param().type(RestParamType.header) .description("header param description1").dataType("integer").allowableValues("1", "2", "3", "4") .defaultValue("1").name("header_count").required(true)
[camel] 01/03: CAMEL-18739: camel-core - AggregationStrategy onCompletion to have access to input exchange.
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit 913c1cd5898d579604cc87c88edd27444178607f Author: Claus Ibsen AuthorDate: Wed Dec 14 18:35:41 2022 +0100 CAMEL-18739: camel-core - AggregationStrategy onCompletion to have access to input exchange. --- .../src/main/java/org/apache/camel/AggregationStrategy.java | 13 + .../java/org/apache/camel/processor/MulticastProcessor.java | 2 +- .../aggregate/ShareUnitOfWorkAggregationStrategy.java | 5 + 3 files changed, 19 insertions(+), 1 deletion(-) diff --git a/core/camel-api/src/main/java/org/apache/camel/AggregationStrategy.java b/core/camel-api/src/main/java/org/apache/camel/AggregationStrategy.java index 79b454f85d8..22a4cea8479 100644 --- a/core/camel-api/src/main/java/org/apache/camel/AggregationStrategy.java +++ b/core/camel-api/src/main/java/org/apache/camel/AggregationStrategy.java @@ -120,6 +120,19 @@ public interface AggregationStrategy { default void onCompletion(Exchange exchange) { } +/** + * The aggregated {@link Exchange} has completed + * + * Important: This method must not throw any exceptions. + * + * @param exchange the current aggregated exchange, or the original {@link org.apache.camel.Exchange} if no + * aggregation has been done before the completion occurred + * @param inputExchange the input exchange (input to the EIP) + */ +default void onCompletion(Exchange exchange, Exchange inputExchange) { +onCompletion(exchange); +} + /** * A timeout occurred. * diff --git a/core/camel-core-processor/src/main/java/org/apache/camel/processor/MulticastProcessor.java b/core/camel-core-processor/src/main/java/org/apache/camel/processor/MulticastProcessor.java index 2cc448af400..380829ff369 100644 --- a/core/camel-core-processor/src/main/java/org/apache/camel/processor/MulticastProcessor.java +++ b/core/camel-core-processor/src/main/java/org/apache/camel/processor/MulticastProcessor.java @@ -776,7 +776,7 @@ public class MulticastProcessor extends AsyncProcessorSupport AggregationStrategy strategy = getAggregationStrategy(subExchange); // invoke the on completion callback if (strategy != null) { -strategy.onCompletion(subExchange); +strategy.onCompletion(subExchange, original); } // cleanup any per exchange aggregation strategy diff --git a/core/camel-core-processor/src/main/java/org/apache/camel/processor/aggregate/ShareUnitOfWorkAggregationStrategy.java b/core/camel-core-processor/src/main/java/org/apache/camel/processor/aggregate/ShareUnitOfWorkAggregationStrategy.java index 9cd293059f5..06e97ad4983 100644 --- a/core/camel-core-processor/src/main/java/org/apache/camel/processor/aggregate/ShareUnitOfWorkAggregationStrategy.java +++ b/core/camel-core-processor/src/main/java/org/apache/camel/processor/aggregate/ShareUnitOfWorkAggregationStrategy.java @@ -72,6 +72,11 @@ public final class ShareUnitOfWorkAggregationStrategy extends ServiceSupport imp strategy.onCompletion(exchange); } +@Override +public void onCompletion(Exchange exchange, Exchange inputExchange) { +strategy.onCompletion(exchange, inputExchange); +} + @Override public void timeout(Exchange exchange, int index, int total, long timeout) { strategy.timeout(exchange, index, total, timeout);
[camel] 03/03: CAMEL-18739: camel-core - AggregationStrategy onCompletion to have access to input exchange.
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit c7902015232e2af9a5f7e3d432944c6556179626 Author: Claus Ibsen AuthorDate: Wed Dec 14 18:44:03 2022 +0100 CAMEL-18739: camel-core - AggregationStrategy onCompletion to have access to input exchange. --- .../src/main/java/org/apache/camel/AggregationStrategy.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/camel-api/src/main/java/org/apache/camel/AggregationStrategy.java b/core/camel-api/src/main/java/org/apache/camel/AggregationStrategy.java index 22a4cea8479..7d062c1dd20 100644 --- a/core/camel-api/src/main/java/org/apache/camel/AggregationStrategy.java +++ b/core/camel-api/src/main/java/org/apache/camel/AggregationStrategy.java @@ -125,9 +125,9 @@ public interface AggregationStrategy { * * Important: This method must not throw any exceptions. * - * @param exchange the current aggregated exchange, or the original {@link org.apache.camel.Exchange} if no - * aggregation has been done before the completion occurred - * @param inputExchange the input exchange (input to the EIP) + * @param exchange the current aggregated exchange, or the original {@link org.apache.camel.Exchange} if no + * aggregation has been done before the completion occurred + * @param inputExchange the input exchange (input to the EIP) */ default void onCompletion(Exchange exchange, Exchange inputExchange) { onCompletion(exchange);
[camel] 02/03: CAMEL-18812 Fix REST DSL configuration placeholder for id
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit 25c6941b8f133fd3f1dce785f783266406a11bc5 Author: Claus Ibsen AuthorDate: Wed Dec 14 18:42:28 2022 +0100 CAMEL-18812 Fix REST DSL configuration placeholder for id --- .../apache/camel/component/rest/FromRestExplicitComponentTest.java | 6 +- .../test/java/org/apache/camel/component/rest/FromRestGetTest.java | 7 +-- .../apache/camel/component/rest/FromRestIdAndDescriptionTest.java | 5 - .../java/org/apache/camel/component/rest/FromRestRouteIdTest.java | 3 ++- 4 files changed, 16 insertions(+), 5 deletions(-) diff --git a/core/camel-core/src/test/java/org/apache/camel/component/rest/FromRestExplicitComponentTest.java b/core/camel-core/src/test/java/org/apache/camel/component/rest/FromRestExplicitComponentTest.java index a19718ad65b..da33b3fb2cc 100644 --- a/core/camel-core/src/test/java/org/apache/camel/component/rest/FromRestExplicitComponentTest.java +++ b/core/camel-core/src/test/java/org/apache/camel/component/rest/FromRestExplicitComponentTest.java @@ -27,12 +27,16 @@ public class FromRestExplicitComponentTest extends FromRestGetTest { return new RouteBuilder() { @Override public void configure() throws Exception { + context.getPropertiesComponent().addInitialProperty("mySpecialId", "scott"); + // configure to use dummy-rest restConfiguration().component("dummy-rest").host("localhost"); rest("/say/hello").get().to("direct:hello"); - rest("dummy-rest").path("/say/bye").get().consumes("application/json").param().type(RestParamType.header) +rest("dummy-rest").path("/say/bye") +.get().id("{{mySpecialId}}") + .consumes("application/json").param().type(RestParamType.header) .description("header param description1") .dataType("integer").allowableValues("1", "2", "3", "4").defaultValue("1").name("header_count") .required(true).endParam().param().type(RestParamType.query) diff --git a/core/camel-core/src/test/java/org/apache/camel/component/rest/FromRestGetTest.java b/core/camel-core/src/test/java/org/apache/camel/component/rest/FromRestGetTest.java index 70b6792c43a..91946aea0bc 100644 --- a/core/camel-core/src/test/java/org/apache/camel/component/rest/FromRestGetTest.java +++ b/core/camel-core/src/test/java/org/apache/camel/component/rest/FromRestGetTest.java @@ -108,8 +108,11 @@ public class FromRestGetTest extends ContextTestSupport { String out2 = template.requestBody("seda:get-say-bye", "Me", String.class); assertEquals("Bye World", out2); -Route route = context.getRoute("scott"); -Assertions.assertNotNull(route); +// some tests that inherit this class does not use dynamic id +if (context.getPropertiesComponent().resolveProperty("mySpecialId").isPresent()) { +Route route = context.getRoute("scott"); +Assertions.assertNotNull(route); +} } @Override diff --git a/core/camel-core/src/test/java/org/apache/camel/component/rest/FromRestIdAndDescriptionTest.java b/core/camel-core/src/test/java/org/apache/camel/component/rest/FromRestIdAndDescriptionTest.java index 47d9d40edf0..4fc77b4c78f 100644 --- a/core/camel-core/src/test/java/org/apache/camel/component/rest/FromRestIdAndDescriptionTest.java +++ b/core/camel-core/src/test/java/org/apache/camel/component/rest/FromRestIdAndDescriptionTest.java @@ -52,11 +52,14 @@ public class FromRestIdAndDescriptionTest extends FromRestGetTest { return new RouteBuilder() { @Override public void configure() throws Exception { + context.getPropertiesComponent().addInitialProperty("mySpecialId", "scott"); + restConfiguration().host("localhost"); rest("/say/hello").id("hello").description("Hello Service").get().id("get-say").description("Says hello to you") .to("direct:hello"); -rest("/say/bye").description("bye", "Bye Service", "en").get().description("Says bye to you") +rest("/say/bye").description("bye", "Bye Service", "en") +.get().id("{{mySpecialId}}").description("Says bye to you") .consumes("application/json").param().type(RestParamType.header) .description("header param description1").dataType("integer").allowableValues("1", "2", "3", "4") .defaultValue("1").name("header_count").required(true) diff --git a/core/camel-core/src/test/java/org/apache/camel/component/rest/FromRestRouteIdTest.java b/core/camel-core/src/test/java/org/apache/camel/component/rest/From
[camel] branch main updated (b7f45b1fd60 -> c7902015232)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel.git from b7f45b1fd60 Regen for commit b759c75b8cb4edbb289bf3ef9d70fe2fc6fd8e53 new 913c1cd5898 CAMEL-18739: camel-core - AggregationStrategy onCompletion to have access to input exchange. new 25c6941b8f1 CAMEL-18812 Fix REST DSL configuration placeholder for id new c7902015232 CAMEL-18739: camel-core - AggregationStrategy onCompletion to have access to input exchange. The 3 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: .../src/main/java/org/apache/camel/AggregationStrategy.java | 13 + .../java/org/apache/camel/processor/MulticastProcessor.java | 2 +- .../aggregate/ShareUnitOfWorkAggregationStrategy.java | 5 + .../camel/component/rest/FromRestExplicitComponentTest.java | 6 +- .../org/apache/camel/component/rest/FromRestGetTest.java| 7 +-- .../camel/component/rest/FromRestIdAndDescriptionTest.java | 5 - .../apache/camel/component/rest/FromRestRouteIdTest.java| 3 ++- 7 files changed, 35 insertions(+), 6 deletions(-)
[GitHub] [camel] davsclaus commented on pull request #8795: CAMEL-18739 fix by handing over the completion to the original exchange
davsclaus commented on PR #8795: URL: https://github.com/apache/camel/pull/8795#issuecomment-1351821364 Okay I am working on a fix in camel-zipfile and core so this will work together - just need some more polish to ensure it works without causing other problems. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-kamelets] davsclaus closed issue #1200: RAW does not seem to work in Kamelet
davsclaus closed issue #1200: RAW does not seem to work in Kamelet URL: https://github.com/apache/camel-kamelets/issues/1200 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-kamelets] davsclaus commented on issue #1200: RAW does not seem to work in Kamelet
davsclaus commented on issue #1200: URL: https://github.com/apache/camel-kamelets/issues/1200#issuecomment-1351715803 Closing as working in 3.18.x -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-kamelets] davsclaus commented on issue #1205: Documentation. Can Kamelet pull dependencies from private artifactory?
davsclaus commented on issue #1205: URL: https://github.com/apache/camel-kamelets/issues/1205#issuecomment-1351714526 Camel K is not able to do all of this that camel-kamelet-main can do. You can use camel-jbang and its 'export' command to export to camel-quarkus (what camel-k runs on top of) as a regular maven based project and deploy to k8s as a standard quarkus project. For Camel K "benefits" then there is its website: https://camel.apache.org/camel-k/1.11.x/. And its better to ask on camel-k zulip chat room or user mailing list instead of issue tracker. Closing this ticket -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-kamelets] davsclaus closed issue #1205: Documentation. Can Kamelet pull dependencies from private artifactory?
davsclaus closed issue #1205: Documentation. Can Kamelet pull dependencies from private artifactory? URL: https://github.com/apache/camel-kamelets/issues/1205 -- 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 (1adb0cbc4d7 -> b7f45b1fd60)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot in repository https://gitbox.apache.org/repos/asf/camel.git omit 1adb0cbc4d7 Regen for commit b759c75b8cb4edbb289bf3ef9d70fe2fc6fd8e53 add b7f45b1fd60 Regen for commit b759c75b8cb4edbb289bf3ef9d70fe2fc6fd8e53 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 (1adb0cbc4d7) \ N -- N -- N refs/heads/regen_bot (b7f45b1fd60) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. No new revisions were added by this update. Summary of changes:
[GitHub] [camel-kamelets] mkhudyakov commented on issue #1205: Documentation. Can Kamelet pull dependencies from private artifactory?
mkhudyakov commented on issue #1205: URL: https://github.com/apache/camel-kamelets/issues/1205#issuecomment-1351677377 Thank you a lot, @davsclaus, the injector helped ``` CamelContext camelContext = main.getCamelContext(); if (camelContext != null) { Object clazzInstance = main.getCamelContext().getRegistry().findSingleByType(clazz); if (clazzInstance != null) { System.out.println(clazz.getCanonicalName() + " already registered"); return; } Injector injector = camelContext.getInjector(); main.configure().addConfiguration((CamelConfiguration) injector.newInstance(clazz)); } else { System.err.println("CamelContext is not defined"); } ``` Could you also clarify, is such approach, when dependency is defined through the Kamelet, actually the way how it has to work once deployed to `K8S` / `Camel K` ? Or are the fat jars can be deployed to Camel K? My goal with `KameletMain` is a transition from `Spring Boot with Camel` and `camel route resource` being deployed to `K8S`. Is there any 'executive summary' documentation, which explain the benefits of Camel K as opposed to Spring Boot + Camel? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-kafka-connector] branch main updated (efaa716ef -> 75ce2a091)
This is an automated email from the ASF dual-hosted git repository. valdar pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git omit efaa716ef Updated CHANGELOG.md add 0f71390c2 [maven-release-plugin] prepare release camel-kafka-connector-3.19.0 add 3e6d55ad2 [maven-release-plugin] prepare for next development iteration add b885e2ff9 chore: regen. add 75ce2a091 Updated CHANGELOG.md 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 (efaa716ef) \ N -- N -- N refs/heads/main (75ce2a091) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. No new revisions were added by this update. Summary of changes: .../camel-kafka-connector-extensible-apicurio-archetype/pom.xml | 2 +- archetypes/camel-kafka-connector-extensible-archetype/pom.xml | 2 +- .../camel-kafka-connector-extensible-dataformat-archetype/pom.xml | 2 +- archetypes/pom.xml| 2 +- buildingtools/pom.xml | 2 +- camel-kafka-connector-catalog/pom.xml | 2 +- connectors/camel-aws-cloudtrail-source-kafka-connector/pom.xml| 2 +- .../awscloudtrailsource/CamelAwscloudtrailsourceSourceConnector.java | 3 ++- .../CamelAwscloudtrailsourceSourceConnectorConfig.java| 3 ++- .../awscloudtrailsource/CamelAwscloudtrailsourceSourceTask.java | 3 ++- connectors/camel-aws-cloudwatch-sink-kafka-connector/pom.xml | 2 +- .../awscloudwatchsink/CamelAwscloudwatchsinkSinkConnector.java| 3 ++- .../awscloudwatchsink/CamelAwscloudwatchsinkSinkConnectorConfig.java | 3 ++- .../awscloudwatchsink/CamelAwscloudwatchsinkSinkTask.java | 3 ++- connectors/camel-aws-ddb-experimental-sink-kafka-connector/pom.xml| 2 +- .../CamelAwsddbexperimentalsinkSinkConnector.java | 3 ++- .../CamelAwsddbexperimentalsinkSinkConnectorConfig.java | 3 ++- .../awsddbexperimentalsink/CamelAwsddbexperimentalsinkSinkTask.java | 3 ++- connectors/camel-aws-ddb-sink-kafka-connector/pom.xml | 2 +- .../camel/kafkaconnector/awsddbsink/CamelAwsddbsinkSinkConnector.java | 3 ++- .../kafkaconnector/awsddbsink/CamelAwsddbsinkSinkConnectorConfig.java | 3 ++- .../camel/kafkaconnector/awsddbsink/CamelAwsddbsinkSinkTask.java | 3 ++- connectors/camel-aws-ddb-streams-source-kafka-connector/pom.xml | 2 +- .../awsddbstreamssource/CamelAwsddbstreamssourceSourceConnector.java | 3 ++- .../CamelAwsddbstreamssourceSourceConnectorConfig.java| 3 ++- .../awsddbstreamssource/CamelAwsddbstreamssourceSourceTask.java | 3 ++- connectors/camel-aws-ec2-sink-kafka-connector/pom.xml | 2 +- .../camel/kafkaconnector/awsec2sink/CamelAwsec2sinkSinkConnector.java | 3 ++- .../kafkaconnector/awsec2sink/CamelAwsec2sinkSinkConnectorConfig.java | 3 ++- .../camel/kafkaconnector/awsec2sink/CamelAwsec2sinkSinkTask.java | 3 ++- connectors/camel-aws-eventbridge-sink-kafka-connector/pom.xml | 2 +- .../awseventbridgesink/CamelAwseventbridgesinkSinkConnector.java | 3 ++- .../CamelAwseventbridgesinkSinkConnectorConfig.java | 3 ++- .../awseventbridgesink/CamelAwseventbridgesinkSinkTask.java | 3 ++- connectors/camel-aws-kinesis-firehose-sink-kafka-connector/pom.xml| 2 +- .../CamelAwskinesisfirehosesinkSinkConnector.java | 3 ++- .../CamelAwskinesisfirehosesinkSinkConnectorConfig.java | 3 ++- .../awskinesisfirehosesink/CamelAwskinesisfirehosesinkSinkTask.java | 3 ++- connectors/camel-aws-kinesis-sink-kafka-connector/pom.xml | 2 +- .../awskinesissink/CamelAwskinesissinkSinkConnector.java | 3 ++- .../awskinesissink/CamelAwskinesissinkSinkConnectorConfig.java| 3 ++- .../kafkaconnector/awskinesissink/CamelAwskinesissinkSinkTask.java| 3 ++- connectors/camel-aws-kinesis-source-kafka-connector/pom.xml | 2 +- .../awskinesissource/CamelAwskinesissourceSourceConnector.java| 3 ++- .../awskinesissource/CamelAwskinesissourceSourceConnectorConfig.java | 3 ++- .../awskinesissource/CamelAwskinesissourceSourceTask.java | 3 ++- connectors/camel-aws-lambda-sink-kafka-connector/pom.xml | 2 +- .../kafkaconnector/awslambdasink/CamelAwslambdasinkSinkConnector.java | 3
[GitHub] [camel-kamelets] davsclaus commented on issue #1205: Documentation. Can Kamelet pull dependencies from private artifactory?
davsclaus commented on issue #1205: URL: https://github.com/apache/camel-kamelets/issues/1205#issuecomment-1351630208 I created a ticket about scanning downloaded JARs https://issues.apache.org/jira/browse/CAMEL-18815 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-kamelets] davsclaus commented on issue #1205: Documentation. Can Kamelet pull dependencies from private artifactory?
davsclaus commented on issue #1205: URL: https://github.com/apache/camel-kamelets/issues/1205#issuecomment-1351629867 you need to create the clazz instance via camel and not plain java - see injector on camel context -- 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