[camel] branch regen_bot updated (02f33ad -> 5b4e754)
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 02f33ad Upgrade to slf4j 1.7.33 add 5b4e754 Upgrade AWS SDK v2 to version 2.17.113 No new revisions were added by this update. Summary of changes: parent/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
[GitHub] [camel-quarkus] bvahdat opened a new issue #3471: Transacted routing in combination with Split EIP fails
bvahdat opened a new issue #3471: URL: https://github.com/apache/camel-quarkus/issues/3471 See the following added route: https://github.com/bvahdat/camel-quarkus/commit/4ba0d2dad669742c6e8a1bfa1bab456b97eb2553 Which ends up with: ``` [INFO] Scanning for projects... [INFO] [INFO] < org.apache.camel.quarkus:camel-quarkus-integration-test-jta >- [INFO] Building Camel Quarkus :: Integration Tests :: JTA 2.7.0-SNAPSHOT [INFO] [ jar ]- [INFO] [INFO] --- maven-enforcer-plugin:3.0.0-M3:enforce (camel-quarkus-enforcer-rules) @ camel-quarkus-integration-test-jta --- [INFO] [INFO] --- groovy-maven-plugin:2.1.1:execute (sanity-checks) @ camel-quarkus-integration-test-jta --- [INFO] [INFO] --- formatter-maven-plugin:2.11.0:format (format) @ camel-quarkus-integration-test-jta --- [INFO] Using 'UTF-8' encoding to format source files. [INFO] Number of files to be formatted: 5 [INFO] Successfully formatted: 0 file(s) [INFO] Fail to format: 0 file(s) [INFO] Skipped: 5 file(s) [INFO] Read only skipped: 0 file(s) [INFO] Approximate time taken: 1s [INFO] [INFO] --- impsort-maven-plugin:1.3.2:sort (sort-imports) @ camel-quarkus-integration-test-jta --- [INFO] Total Files Processed: 5 in 00:00.306 [INFO] Already Sorted: 5 [INFO] Needed Sorting: 0 [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ camel-quarkus-integration-test-jta --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- build-helper-maven-plugin:3.1.0:reserve-network-port (reserve-network-port) @ camel-quarkus-integration-test-jta --- [INFO] Reserved port 50317 for test.http.port.jvm [INFO] Reserved port 50318 for test.https.port.jvm [INFO] Reserved port 50319 for test.http.port.native [INFO] Reserved port 50320 for test.https.port.native [INFO] [INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ camel-quarkus-integration-test-jta --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ camel-quarkus-integration-test-jta --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /Users/bvahdat/Downloads/camel-quarkus/integration-tests/jta/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ camel-quarkus-integration-test-jta --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ camel-quarkus-integration-test-jta --- [INFO] [INFO] --- [INFO] T E S T S [INFO] --- [INFO] Running org.apache.camel.quarkus.component.jta.it.JtaTest 2022-01-19 08:46:12,170 WARN [io.qua.dat.dep.dev.DevServicesDatasourceProcessor] (build-11) Unable to determine a database type for default datasource [INFO] H2 database started in TCP server mode; server status: TCP server running at tcp://192.168.1.17:9092 (only local connections) Creating Broker with args --user X --password X --role admin --name broker --allow-anonymous --http-host 172.17.0.3 --host 172.17.0.3 --force Creating ActiveMQ Artemis instance at: /home/jboss/broker Auto tuning journal ... done! Your system can make 25 writes per millisecond, your journal-buffer-timeout will be 4 You can now start the broker by executing: "/home/jboss/broker/bin/artemis" run Or you can run the broker in the background using: "/home/jboss/broker/bin/artemis-service" start Running Broker __ _ / \ | |_ ___ __ __(_) _ / _ \| _ \ __|/ _ \ \/ | |/ __/ / ___ \ | \/ |_/ __/ |\/| | |\___ \ /_/ \_\| \__\|_| |_|_|/___ / Apache ActiveMQ Artemis 2.18.0 2022-01-19 07:46:17,903 INFO [org.apache.activemq.artemis.integration.bootstrap] AMQ101000: Starting ActiveMQ Artemis Server 2022-01-19 07:46:17,961 INFO [org.apache.activemq.artemis.core.server] AMQ221000: live Message Broker is starting with configuration Broker Configuration (clustered=false,journalDirectory=data/journal,bindingsDirectory=data/bindings,largeMessagesDirectory=data/large-messages,pagingDirectory=data/paging) 2022-01-19 07:46:18,009 INFO [org.apache.activemq.artemis.core.server] AMQ221012: Using AIO Journal 2022-01-19 07:46:18,078 INFO [org.apache.activemq.artemis.core.server] AMQ221057: Global Max Size is being adjusted to 1/2 of the JVM max size (-Xmx). being defined as 1,073,741,824
[GitHub] [camel-quarkus] zbendhiba commented on pull request #3370: Sql test using derby doesn't start dev service and shows class loadin…
zbendhiba commented on pull request #3370: URL: https://github.com/apache/camel-quarkus/pull/3370#issuecomment-1016167771 > @zbendhiba your suggestion sounds good. I used this way and didn't think that it is against best practices in native. If it is possible to put a jar inside docker image, it would be solution. Current fix uploads a jar into docker container > > ``` > container = new FixedHostPortGenericContainer("az82/docker-derby") > .withFixedExposedPort(SqlHelper.getDerbyDockerPort(), 1527) > .withCopyFileToContainer( > MountableFile.forClasspathResource("derby/" + jars[0].getName()), > "/dbs/storedProcedure.jar") > .waitingFor(Wait.forListeningPort()); > ``` > > Do I understand correctly, that having jar with stored procedure among dependencies cause quarkus in native to inspect and process it, Maybe I can use a current solution, where the jar won't be in dependency, but will be copied (or created) in this module via maven plugin. Would it help? No I think it's fine. I was looking at related issues, and was thinking we have a native error because of this. Thanks for your answer -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] jamesnetherton commented on issue #3461: camel-quarkus-opentelemetry component logs unresolved toD uri
jamesnetherton commented on issue #3461: URL: https://github.com/apache/camel-quarkus/issues/3461#issuecomment-1016160560 I opened a Camel ticket to investigate: https://issues.apache.org/jira/browse/CAMEL-17512 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] JiriOndrusek commented on pull request #3370: Sql test using derby doesn't start dev service and shows class loadin…
JiriOndrusek commented on pull request #3370: URL: https://github.com/apache/camel-quarkus/pull/3370#issuecomment-1016158694 @zbendhiba your suggestion sounds good. I used this way and didn't think that it is against best practices in native. If it is possible to put a jar inside docker image, it would be solution. Current fix uploads a jar into docker container ``` container = new FixedHostPortGenericContainer("az82/docker-derby") .withFixedExposedPort(SqlHelper.getDerbyDockerPort(), 1527) .withCopyFileToContainer( MountableFile.forClasspathResource("derby/" + jars[0].getName()), "/dbs/storedProcedure.jar") .waitingFor(Wait.forListeningPort()); ``` Do I understand correctly, that having jar with stored procedure among dependencies cause quarkus in native to inspect and process it, Maybe I can use a current solution, where the jar won't be in dependency, but will be copied (or created) in this module via maven plugin. Would it help? -- This is an automated message from the Apache Git Service. To respond to the message, please 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: Upgrade AWS SDK v2 to version 2.17.113
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/main by this push: new 5b4e754 Upgrade AWS SDK v2 to version 2.17.113 5b4e754 is described below commit 5b4e754f20d7ca99552e8dd0bf6d377a0d280b6c Author: Andrea Cosentino AuthorDate: Wed Jan 19 07:15:03 2022 +0100 Upgrade AWS SDK v2 to version 2.17.113 --- parent/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parent/pom.xml b/parent/pom.xml index 9e8f35e..f8fed1b 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -80,7 +80,7 @@ 1.11.0 1.11.0 4.1.1 -2.17.112 +2.17.113 2.6.1 1.2.14 2.13.1
[camel] branch regen_bot updated (603a9f2 -> 02f33ad)
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 603a9f2 Small documentation improvements (part 3) (#6782) add 02f33ad Upgrade to slf4j 1.7.33 No new revisions were added by this update. Summary of changes: parent/pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
[camel] branch regen_bot updated (c48851b -> 603a9f2)
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 c48851b CAMEL-17506 read query with key predicate returns one entity (#6781) add 603a9f2 Small documentation improvements (part 3) (#6782) No new revisions were added by this update. Summary of changes: .../camel-bean/src/main/docs/bean-language.adoc| 8 +++--- .../camel-joor/src/main/docs/joor-language.adoc| 8 +++--- .../camel-saxon/src/main/docs/xquery-language.adoc | 4 +-- .../camel-xpath/src/main/docs/xpath-language.adoc | 6 ++-- .../main/docs/modules/eips/pages/intercept.adoc| 28 +-- .../main/docs/modules/eips/pages/split-eip.adoc| 2 +- .../main/docs/modules/eips/pages/throttle-eip.adoc | 8 +++--- .../modules/languages/pages/simple-language.adoc | 10 +++ .../modules/ROOT/pages/bean-binding.adoc | 18 ++-- .../modules/ROOT/pages/exchange-pooling.adoc | 4 +-- .../modules/ROOT/pages/http-session-handling.adoc | 2 +- .../modules/ROOT/pages/lambda-route-builder.adoc | 6 ++-- docs/user-manual/modules/ROOT/pages/languages.adoc | 2 +- .../modules/ROOT/pages/oncompletion.adoc | 32 +++--- docs/user-manual/modules/ROOT/pages/predicate.adoc | 9 +++--- docs/user-manual/modules/ROOT/pages/processor.adoc | 4 +-- .../modules/ROOT/pages/route-configuration.adoc| 30 ++-- .../modules/ROOT/pages/route-controller.adoc | 16 +-- .../modules/ROOT/pages/route-policy.adoc | 4 +-- 19 files changed, 100 insertions(+), 101 deletions(-)
[GitHub] [camel-k] oscerd commented on issue #2848: Release 1.8.0
oscerd commented on issue #2848: URL: https://github.com/apache/camel-k/issues/2848#issuecomment-1016121615 So, we have camel-kamelets 0.7.0 staged and https://github.com/apache/camel-k/pull/2887 camel-k-runtime 1.11.0 staged Let me know once we are ready. -- This is an automated message from the Apache Git Service. To respond to the message, please 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: Upgrade to slf4j 1.7.33
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 02f33ad Upgrade to slf4j 1.7.33 02f33ad is described below commit 02f33adc4f5f521dd735000f8a41d7d21e1f057e Author: Claus Ibsen AuthorDate: Wed Jan 19 07:06:51 2022 +0100 Upgrade to slf4j 1.7.33 --- parent/pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parent/pom.xml b/parent/pom.xml index 9df544f..9e8f35e 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -484,8 +484,8 @@ 1.2.6 1.1 1.8.1 -1.7.32 -1.7.32 +1.7.33 +1.7.33 4.3.5 2.4.2 3.0.3
[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-1016114733 The [quarkus-main](https://github.com/apache/camel-quarkus/tree/quarkus-main) branch build has failed: * Build ID: 1715858408-636-2bc49cba-937c-49ac-b966-3d134d2f3c03 * Camel Quarkus Commit: 8d2b5c5482f30d3134899cf38f4b9ac4d0464cf1 * Quarkus Main Commit: 080bdedc9e3d620d49a9010cdde5c7592e680325 * Link to build: https://github.com/apache/camel-quarkus/actions/runs/1715858408 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-spring-boot] branch main updated: [CAMEL-17499]fix broken tests in camel-spring-boot (#430)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git The following commit(s) were added to refs/heads/main by this push: new 9045a91 [CAMEL-17499]fix broken tests in camel-spring-boot (#430) 9045a91 is described below commit 9045a91a47ae84783d56a957693f007a235fd4ed Author: Freeman(Yue) Fang AuthorDate: Wed Jan 19 00:59:37 2022 -0500 [CAMEL-17499]fix broken tests in camel-spring-boot (#430) --- .../org/apache/camel/springboot/catalog/languages.properties| 1 + .../camel/springboot/catalog/SpringBootRuntimeProviderTest.java | 4 ++-- .../java/org/apache/camel/itest/springboot/CamelJacksonxmlTest.java | 2 +- .../test/java/org/apache/camel/itest/springboot/CamelSoapTest.java | 2 +- .../java/org/apache/camel/itest/springboot/CamelTarfileTest.java| 2 +- .../apache/camel/itest/springboot/CamelUnivocityParsersTest.java| 6 +++--- .../org/apache/camel/itest/springboot/CamelXmlsecurityTest.java | 2 +- .../java/org/apache/camel/itest/springboot/CamelZipfileTest.java| 2 +- 8 files changed, 11 insertions(+), 10 deletions(-) diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages.properties b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages.properties index c91b6d0..7a71fee 100644 --- a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages.properties +++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/languages.properties @@ -6,6 +6,7 @@ joor jsonpath mvel ognl +simple spel xpath xquery diff --git a/catalog/camel-catalog-provider-springboot/src/test/java/org/apache/camel/springboot/catalog/SpringBootRuntimeProviderTest.java b/catalog/camel-catalog-provider-springboot/src/test/java/org/apache/camel/springboot/catalog/SpringBootRuntimeProviderTest.java index aff4eb7..29ac1f1 100644 --- a/catalog/camel-catalog-provider-springboot/src/test/java/org/apache/camel/springboot/catalog/SpringBootRuntimeProviderTest.java +++ b/catalog/camel-catalog-provider-springboot/src/test/java/org/apache/camel/springboot/catalog/SpringBootRuntimeProviderTest.java @@ -75,8 +75,8 @@ public class SpringBootRuntimeProviderTest { assertFalse(names.isEmpty()); assertTrue(names.contains("bindyCsv")); -assertTrue(names.contains("zipdeflater")); -assertTrue(names.contains("zipfile")); +assertTrue(names.contains("zipDeflater")); +assertTrue(names.contains("zipFile")); } @Test diff --git a/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelJacksonxmlTest.java b/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelJacksonxmlTest.java index c5b0ec1..9683445 100644 --- a/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelJacksonxmlTest.java +++ b/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelJacksonxmlTest.java @@ -40,7 +40,7 @@ public class CamelJacksonxmlTest extends AbstractSpringBootTestSupport { @Test public void componentTests() throws Exception { -this.runDataformatTest(config); +this.runDataformatTest(config, "jacksonXml"); this.runModuleUnitTestsIfEnabled(config); } diff --git a/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelSoapTest.java b/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelSoapTest.java index 4d5aedd..3d3a50d 100644 --- a/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelSoapTest.java +++ b/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelSoapTest.java @@ -40,7 +40,7 @@ public class CamelSoapTest extends AbstractSpringBootTestSupport { @Test public void componentTests() throws Exception { -this.runDataformatTest(config, "soapjaxb"); +this.runDataformatTest(config, "soap"); this.runModuleUnitTestsIfEnabled(config); } diff --git a/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelTarfileTest.java b/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelTarfileTest.java index 568b83a..0cab94d 100644 --- a/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelTarfileTest.java +++ b/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelTarfileTest.java @@ -40,7 +40,7 @@ public class CamelTarfileTest extends AbstractSpringBootTestSupport { @Test public void componentTests() throws Exception { -this.runDataformatTest(config); +
[GitHub] [camel-spring-boot] davsclaus merged pull request #430: [CAMEL-17499]fix broken tests in camel-spring-boot
davsclaus merged pull request #430: URL: https://github.com/apache/camel-spring-boot/pull/430 -- This is an automated message from the Apache Git Service. To respond to the message, please 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 (c48851b -> 603a9f2)
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 c48851b CAMEL-17506 read query with key predicate returns one entity (#6781) add 603a9f2 Small documentation improvements (part 3) (#6782) No new revisions were added by this update. Summary of changes: .../camel-bean/src/main/docs/bean-language.adoc| 8 +++--- .../camel-joor/src/main/docs/joor-language.adoc| 8 +++--- .../camel-saxon/src/main/docs/xquery-language.adoc | 4 +-- .../camel-xpath/src/main/docs/xpath-language.adoc | 6 ++-- .../main/docs/modules/eips/pages/intercept.adoc| 28 +-- .../main/docs/modules/eips/pages/split-eip.adoc| 2 +- .../main/docs/modules/eips/pages/throttle-eip.adoc | 8 +++--- .../modules/languages/pages/simple-language.adoc | 10 +++ .../modules/ROOT/pages/bean-binding.adoc | 18 ++-- .../modules/ROOT/pages/exchange-pooling.adoc | 4 +-- .../modules/ROOT/pages/http-session-handling.adoc | 2 +- .../modules/ROOT/pages/lambda-route-builder.adoc | 6 ++-- docs/user-manual/modules/ROOT/pages/languages.adoc | 2 +- .../modules/ROOT/pages/oncompletion.adoc | 32 +++--- docs/user-manual/modules/ROOT/pages/predicate.adoc | 9 +++--- docs/user-manual/modules/ROOT/pages/processor.adoc | 4 +-- .../modules/ROOT/pages/route-configuration.adoc| 30 ++-- .../modules/ROOT/pages/route-controller.adoc | 16 +-- .../modules/ROOT/pages/route-policy.adoc | 4 +-- 19 files changed, 100 insertions(+), 101 deletions(-)
[GitHub] [camel] davsclaus merged pull request #6782: Small documentation improvements (part 3)
davsclaus merged pull request #6782: URL: https://github.com/apache/camel/pull/6782 -- This is an automated message from the Apache Git Service. To respond to the message, please 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 ce20ec1 Updated CHANGELOG.md ce20ec1 is described below commit ce20ec1df02e339a2366be888ecb999c75b4aa74 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Wed Jan 19 03:12:10 2022 + Updated CHANGELOG.md --- CHANGELOG.md | 8 1 file changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index bdfb355..c32814b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,10 +6,18 @@ **Closed issues:** +- Ban netty-all [\#3464](https://github.com/apache/camel-quarkus/issues/3464) - quarkus 2.6 - debezium mysql error [\#3463](https://github.com/apache/camel-quarkus/issues/3463) +- aws2-quarkus-client Verify that no client except quarkus one is used during test [\#3447](https://github.com/apache/camel-quarkus/issues/3447) +- Refactor aws2-quarkus-client-ddb\(s3\) by copying files \(not duplicating\) [\#3236](https://github.com/apache/camel-quarkus/issues/3236) **Merged pull requests:** +- Improve documentation on setting up the Salesforce developer account [\#3469](https://github.com/apache/camel-quarkus/pull/3469) ([zbendhiba](https://github.com/zbendhiba)) +- Update Salesforce Integration tests to Salesforce API upgrade [\#3467](https://github.com/apache/camel-quarkus/pull/3467) ([zbendhiba](https://github.com/zbendhiba)) +- Ban netty-all [\#3465](https://github.com/apache/camel-quarkus/pull/3465) ([ppalaga](https://github.com/ppalaga)) +- Aws2 quarkus client ddb refactor [\#3462](https://github.com/apache/camel-quarkus/pull/3462) ([JiriOndrusek](https://github.com/JiriOndrusek)) +- aws2-quarkus-client Verify that no client except quarkus one is used [\#3458](https://github.com/apache/camel-quarkus/pull/3458) ([JiriOndrusek](https://github.com/JiriOndrusek)) - Make local maven settings applied to surefire plugin so that Quarkus … [\#3455](https://github.com/apache/camel-quarkus/pull/3455) ([ppalaga](https://github.com/ppalaga)) - Add 2.7.0 migration guide [\#3454](https://github.com/apache/camel-quarkus/pull/3454) ([jamesnetherton](https://github.com/jamesnetherton)) - Ban log4j 1.x [\#3452](https://github.com/apache/camel-quarkus/pull/3452) ([ppalaga](https://github.com/ppalaga))
[camel-k] 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.git The following commit(s) were added to refs/heads/main by this push: new a97b52a Updated CHANGELOG.md a97b52a is described below commit a97b52af63cdd162e1d988c20b6cd7043ae9f0d6 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Wed Jan 19 03:09:27 2022 + Updated CHANGELOG.md --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 62de09e..dfe0ae4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -110,6 +110,8 @@ **Merged pull requests:** +- doc: add more details about installation on IKS/ICR [\#2882](https://github.com/apache/camel-k/pull/2882) ([tadayosi](https://github.com/tadayosi)) +- fix: Install Kamelets as unstructured resources [\#2881](https://github.com/apache/camel-k/pull/2881) ([astefanutti](https://github.com/astefanutti)) - feat\(maven\): Configurable Maven CLI options [\#2879](https://github.com/apache/camel-k/pull/2879) ([astefanutti](https://github.com/astefanutti)) - fix\(log\): Structure keytool logs [\#2878](https://github.com/apache/camel-k/pull/2878) ([astefanutti](https://github.com/astefanutti)) - fix http-proxy-docs [\#2874](https://github.com/apache/camel-k/pull/2874) ([djencks](https://github.com/djencks))
[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 7816a82 Updated CHANGELOG.md 7816a82 is described below commit 7816a828462dba22d603d45374887efd1773d064 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Wed Jan 19 03:04:45 2022 + Updated CHANGELOG.md --- CHANGELOG.md | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0328ab2..cf3519f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,8 @@ # Changelog -## [Unreleased](https://github.com/apache/camel-k-runtime/tree/HEAD) +## [camel-k-runtime-project-1.11.0](https://github.com/apache/camel-k-runtime/tree/camel-k-runtime-project-1.11.0) (2022-01-18) -[Full Changelog](https://github.com/apache/camel-k-runtime/compare/camel-k-runtime-project-1.10.0...HEAD) +[Full Changelog](https://github.com/apache/camel-k-runtime/compare/camel-k-runtime-project-1.10.0...camel-k-runtime-project-1.11.0) **Closed issues:** @@ -13,6 +13,8 @@ **Merged pull requests:** +- build\(deps\): bump maven-compiler-plugin from 3.8.1 to 3.9.0 [\#780](https://github.com/apache/camel-k-runtime/pull/780) ([dependabot[bot]](https://github.com/apps/dependabot)) +- build\(deps\): bump maven-jar-plugin from 3.2.0 to 3.2.2 [\#779](https://github.com/apache/camel-k-runtime/pull/779) ([dependabot[bot]](https://github.com/apps/dependabot)) - camel-website-701 RI update attribute name \(main\) [\#774](https://github.com/apache/camel-k-runtime/pull/774) ([djencks](https://github.com/djencks)) - build\(deps\): bump jandex from 2.4.1.Final to 2.4.2.Final [\#773](https://github.com/apache/camel-k-runtime/pull/773) ([dependabot[bot]](https://github.com/apps/dependabot)) - build\(deps\): bump jandex-maven-plugin from 1.2.1 to 1.2.2 [\#772](https://github.com/apache/camel-k-runtime/pull/772) ([dependabot[bot]](https://github.com/apps/dependabot))
[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-1016031036 The [camel-main](https://github.com/apache/camel-quarkus/tree/camel-main) branch build has failed: * Build ID: 1715469799-532-d15ffeed-125b-41c1-82ec-bc22abc8b554 * Camel Quarkus Commit: 898e71a25335add0eaf8bc057b47287bc1b557a4 * Camel Main Commit: 080bdedc9e3d620d49a9010cdde5c7592e680325 * Link to build: https://github.com/apache/camel-quarkus/actions/runs/1715469799 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-kafka-connector] djencks opened a new pull request #1322: camel-website #701: RI info in table (0.11.x)
djencks opened a new pull request #1322: URL: https://github.com/apache/camel-kafka-connector/pull/1322 See apache/camel-website#701 and dev list thread "comments on c-k-c docs state && RI preview." I expect to remove the compatibility-matrix page and squash the commits. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-kafka-connector] djencks opened a new pull request #1321: camel-website #701: RI info in table (1.0.x)
djencks opened a new pull request #1321: URL: https://github.com/apache/camel-kafka-connector/pull/1321 See apache/camel-website#701 and dev list thread "comments on c-k-c docs state && RI preview." I expect to remove the compatibility-matrix page and squash the commits. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-kafka-connector] djencks opened a new pull request #1320: camel-website #701: RI info in table (main)
djencks opened a new pull request #1320: URL: https://github.com/apache/camel-kafka-connector/pull/1320 See https://github.com/apache/camel-website/issues/701 and dev list thread "comments on c-k-c docs state && RI preview." I expect to remove the compatibility-matrix page and squash the commits. -- This is an automated message from the Apache Git Service. To respond to the message, please 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] skepticoitusInteruptus opened a new pull request #6783: CAMEL-16787: Align apache-any23 version with version in parent pom
skepticoitusInteruptus opened a new pull request #6783: URL: https://github.com/apache/camel/pull/6783 This proposed file change is kind of related to "[_3rd party dependency or pom.xml refers to bintray_](https://bit.ly/caml16787)". It is not obvious exactly which artifacts in Camel's dependency graph have a transient dependency on `org.apache.any23:apache-any23:2.4` For some reason or another though, at least three dependencies trigger an attempt to download `org.apache.any23:apache-any23:2.4`: 1. `com.google.guava:guava` 2. `com.google.code.findbugs:jsr305` 3. `org.slf4j:slf4j-api` Those download attempts try to resolve `apache-any23:2.4`'s pom. That pom is [_configured with a bintray repository that is unreachable_](https://bit.ly/any2324). That unreachable bintray repository [_has been removed from `org.apache.any23:apache-any23:2.6`_](https://bit.ly/any2326). This pull request proposes that [_camel-dependencies-pom-template.xml_](https://bit.ly/camDepPom) be upgraded from `apache-any23:2.4` to `2.6` — [_like the parent/pom.xml was_](https://bit.ly/papaPom). That previous upgrade to `apache-any23:2.6` in the parent pom will have resolved [_the WARNING reported in 16787_](https://bit.ly/caml16787). -- This is an automated message from the Apache Git Service. To respond to the message, please 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 #747: DO NOT MERGE PREVIEW ONLY preview playbook for RI work
github-actions[bot] commented on pull request #747: URL: https://github.com/apache/camel-website/pull/747#issuecomment-1015992827 Preview is available at https://pr-747--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
[camel-website] branch asf-site updated (ab999e7 -> d555266)
This is an automated email from the ASF dual-hosted git repository. git-site-role pushed a change to branch asf-site in repository https://gitbox.apache.org/repos/asf/camel-website.git. discard ab999e7 Website updated to a79b7bcae261422110de67b1d32af5a156f5ca6e discard 31c5898 Website updated to 325e929157412b27394080f4d4dba3d821476ddf new e45cbd9 Website updated to 325e929157412b27394080f4d4dba3d821476ddf new d555266 Website updated to faa5817cef0f43564301a086e062e645e6125281 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 (ab999e7) \ N -- N -- N refs/heads/asf-site (d555266) 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 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: .htaccess |4 +- site-manifest.json|2 +- sitemap-camel-k.xml | 828 ++-- sitemap-camel-kafka-connector.xml | 1400 +++ sitemap-camel-kamelets.xml| 916 ++--- sitemap-camel-karaf.xml | 82 +- sitemap-camel-quarkus.xml | 2774 ++--- sitemap-camel-spring-boot.xml | 62 +- sitemap-components.xml| 7900 ++--- sitemap-manual.xml| 384 +- 10 files changed, 7176 insertions(+), 7176 deletions(-)
[camel-website] branch main updated: fix: don't fail in the post step
This is an automated email from the ASF dual-hosted git repository. zregvart pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-website.git The following commit(s) were added to refs/heads/main by this push: new faa5817 fix: don't fail in the post step faa5817 is described below commit faa5817cef0f43564301a086e062e645e6125281 Author: Zoran Regvart AuthorDate: Tue Jan 18 21:52:16 2022 +0100 fix: don't fail in the post step We don't want to fail in the post step and mask any exit status of the previous steps. --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 0803af5..950b08e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -108,7 +108,7 @@ pipeline { post { always { -sh "[ -x $WORKSPACE/docker-pipe/teardown.sh ] && $WORKSPACE/docker-pipe/teardown.sh" +sh "[ -x $WORKSPACE/docker-pipe/teardown.sh ] && $WORKSPACE/docker-pipe/teardown.sh || true" } fixed { mail subject: 'Website build status', body: "拾 Build succeeded!", to: 'camel-website.874fb06555c2b4407efde9f9a3b13c13.show-sen...@streams.zulipchat.com'
[camel] branch regen_bot updated (c0e0399 -> c48851b)
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 c0e0399 CAMEL-17499: Renaming inconsistent data format names in model add c48851b CAMEL-17506 read query with key predicate returns one entity (#6781) No new revisions were added by this update. Summary of changes: .../org/apache/camel/component/olingo4/api/impl/Olingo4AppImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
[camel] branch regen_bot_3.14.x updated (8a7102e -> 762be8d)
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 8a7102e CAMEL-17509: fix invalid topic info displayed when using topic patterns add 762be8d CAMEL-17506 read query with key predicate returns one entity (#6781) No new revisions were added by this update. Summary of changes: .../org/apache/camel/component/olingo4/api/impl/Olingo4AppImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
[camel-website] branch asf-site updated (9624ee1 -> ab999e7)
This is an automated email from the ASF dual-hosted git repository. git-site-role pushed a change to branch asf-site in repository https://gitbox.apache.org/repos/asf/camel-website.git. discard 9624ee1 Website updated to a79b7bcae261422110de67b1d32af5a156f5ca6e discard 54cd46a Website updated to 325e929157412b27394080f4d4dba3d821476ddf new 31c5898 Website updated to 325e929157412b27394080f4d4dba3d821476ddf new ab999e7 Website updated to a79b7bcae261422110de67b1d32af5a156f5ca6e 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 (9624ee1) \ N -- N -- N refs/heads/asf-site (ab999e7) 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 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: .htaccess |8 +- camel-k/next/installation/platform/iks.html|2 +- camel-k/next/installation/registry/icr.html|2 +- camel-k/next/installation/registry/k3s.html|2 +- camel-kamelets/next/cassandra-sink.html|2 +- camel-kamelets/next/cassandra-source.html |2 +- camel-kamelets/next/value-to-key-action.html |2 +- camel-karaf/next/components.html |2 +- camel-spring-boot/next/list.html |2 +- .../dataformats/avro-jackson-dataformat.html |2 +- .../dataformats/avro-jackson-dataformat.html |2 +- .../dataformats/avro-jackson-dataformat.html |2 +- .../dataformats/avro-jackson-dataformat.html |2 +- components/3.14.x/disruptor-component.html |2 +- components/3.14.x/disruptor-vm-component.html |2 +- components/3.14.x/http-component.html |2 +- components/next/activemq-component.html|2 +- components/next/ahc-component.html |2 +- components/next/ahc-ws-component.html |2 +- components/next/amqp-component.html|2 +- components/next/arangodb-component.html|2 +- components/next/as2-component.html |2 +- components/next/asterisk-component.html|2 +- components/next/atlasmap-component.html|2 +- components/next/atmos-component.html |2 +- .../next/atmosphere-websocket-component.html |2 +- components/next/atom-component.html|2 +- components/next/atomix-map-component.html |2 +- components/next/atomix-messaging-component.html|2 +- components/next/atomix-multimap-component.html |2 +- components/next/atomix-queue-component.html|2 +- components/next/atomix-set-component.html |2 +- components/next/atomix-value-component.html|2 +- components/next/avro-component.html|2 +- components/next/aws-secrets-manager-component.html |2 +- components/next/aws-summary.html |2 +- components/next/aws2-athena-component.html |2 +- components/next/aws2-cw-component.html |2 +- components/next/aws2-ddb-component.html|2 +- components/next/aws2-ddbstream-component.html |2 +- components/next/aws2-ec2-component.html|2 +- components/next/aws2-ecs-component.html|2 +- components/next/aws2-eks-component.html|2 +- components/next/aws2-eventbridge-component.html|2 +- components/next/aws2-iam-component.html|2 +- components/next/aws2-kinesis-component.html|2 +- .../next/aws2-kinesis-firehose-component.html |2 +- components/next/aws2-kms-component.html|2 +- components/next/aws2-lambda-component.html |2 +- components/next/aws2-mq-component.html |2 +- components/next/aws2-msk-component.html|2 +- components/next/aws2-s3-component.html |2 +- components/next/aws2-ses-component.html|2 +- components/next/aws2-sns-component.html|2 +- components/next/aws2-sqs-component.html|2 +- components/next/aws2-sts-component.html|2 +- components/next/aws2-translate-component.html |2 +-
[GitHub] [camel] essobedo opened a new pull request #6782: Small documentation improvements (part 3)
essobedo opened a new pull request #6782: URL: https://github.com/apache/camel/pull/6782 ## Modifications: * Fix typos * Improve grammar * Fix incorrect test code snippets -- This is an automated message from the Apache Git Service. To respond to the message, please 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 (4865a1c -> c0e0399)
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 4865a1c CAMEL-17426: Prevent MicroProfile Health conflicting health data add cccdd7f (chores) camel-kafka: cleanup isAutoCommitEnable handling add c0e0399 CAMEL-17499: Renaming inconsistent data format names in model No new revisions were added by this update. Summary of changes: .../resources/org/apache/camel/catalog/components/kafka.json | 4 ++-- .../resources/org/apache/camel/catalog/dataformats.properties | 2 +- .../org/apache/camel/catalog/dataformats/avroJackson.json | 2 +- .../{avro-jackson-dataformat => avroJackson-dataformat}| 0 .../META-INF/services/org/apache/camel/dataformat.properties | 2 +- .../org/apache/camel/dataformat/{avro-jackson => avroJackson} | 0 .../org/apache/camel/component/jackson/avro/avroJackson.json | 2 +- ...vro-jackson-dataformat.adoc => avroJackson-dataformat.adoc} | 2 +- .../camel/component/jackson/avro/JacksonAvroDataFormat.java| 4 ++-- .../apache/camel/component/kafka/KafkaComponentConfigurer.java | 6 +++--- .../apache/camel/component/kafka/KafkaEndpointConfigurer.java | 6 +++--- .../resources/org/apache/camel/component/kafka/kafka.json | 4 ++-- .../org/apache/camel/component/kafka/KafkaConfiguration.java | 6 +++--- .../org/apache/camel/component/kafka/KafkaFetchRecords.java| 10 ++ .../component/kafka/consumer/support/KafkaRecordProcessor.java | 4 ++-- .../kafka/consumer/support/KafkaRecordProcessorFacade.java | 5 + .../java/org/apache/camel/model/dataformat/AvroLibrary.java| 2 +- .../resources/org/apache/camel/main/dataformats.properties | 2 +- .../modules/dataformats/examples/json/avro-jackson.json| 1 - .../modules/dataformats/examples/json/avroJackson.json | 1 + docs/components/modules/dataformats/nav.adoc | 2 +- .../modules/dataformats/pages/avro-jackson-dataformat.adoc | 1 - .../modules/dataformats/pages/avroJackson-dataformat.adoc | 1 + .../builder/component/dsl/KafkaComponentBuilderFactory.java| 7 +++ .../builder/endpoint/dsl/KafkaEndpointBuilderFactory.java | 8 .../apache/camel/maven/packaging/PackageDataFormatMojo.java| 6 +++--- 26 files changed, 40 insertions(+), 50 deletions(-) rename components/camel-jackson-avro/src/generated/resources/org/apache/camel/component/jackson/avro/avro-jackson.json => catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/avroJackson.json (99%) rename components/camel-jackson-avro/src/generated/resources/META-INF/services/org/apache/camel/configurer/{avro-jackson-dataformat => avroJackson-dataformat} (100%) rename components/camel-jackson-avro/src/generated/resources/META-INF/services/org/apache/camel/dataformat/{avro-jackson => avroJackson} (100%) rename catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/avro-jackson.json => components/camel-jackson-avro/src/generated/resources/org/apache/camel/component/jackson/avro/avroJackson.json (99%) rename components/camel-jackson-avro/src/main/docs/{avro-jackson-dataformat.adoc => avroJackson-dataformat.adoc} (98%) delete mode 12 docs/components/modules/dataformats/examples/json/avro-jackson.json create mode 12 docs/components/modules/dataformats/examples/json/avroJackson.json delete mode 12 docs/components/modules/dataformats/pages/avro-jackson-dataformat.adoc create mode 12 docs/components/modules/dataformats/pages/avroJackson-dataformat.adoc
[camel] branch camel-3.14.x updated: CAMEL-17506 read query with key predicate returns one entity (#6781)
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 762be8d CAMEL-17506 read query with key predicate returns one entity (#6781) 762be8d is described below commit 762be8d3177ddf8a9559a797a4233166366e0540 Author: damienb-opt <36661255+damienb-...@users.noreply.github.com> AuthorDate: Tue Jan 18 19:17:01 2022 +0100 CAMEL-17506 read query with key predicate returns one entity (#6781) https://issues.apache.org/jira/browse/CAMEL-17506 --- .../org/apache/camel/component/olingo4/api/impl/Olingo4AppImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/camel-olingo4/camel-olingo4-api/src/main/java/org/apache/camel/component/olingo4/api/impl/Olingo4AppImpl.java b/components/camel-olingo4/camel-olingo4-api/src/main/java/org/apache/camel/component/olingo4/api/impl/Olingo4AppImpl.java index b73f958..889f929 100644 --- a/components/camel-olingo4/camel-olingo4-api/src/main/java/org/apache/camel/component/olingo4/api/impl/Olingo4AppImpl.java +++ b/components/camel-olingo4/camel-olingo4-api/src/main/java/org/apache/camel/component/olingo4/api/impl/Olingo4AppImpl.java @@ -514,7 +514,7 @@ public final class Olingo4AppImpl implements Olingo4App { List keyPredicates = uriResourceEntitySet.getKeyPredicates(); // Check result type: single Entity or EntitySet based // on key predicate detection -if (keyPredicates.size() == 1) { +if (keyPredicates.size() >= 1) { response = (T) odataReader.readEntity(content, getResourceContentType(uriInfo)); } else { response = (T) odataReader.readEntitySet(content, getResourceContentType(uriInfo));
[camel] branch main updated: CAMEL-17506 read query with key predicate returns one entity (#6781)
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 c48851b CAMEL-17506 read query with key predicate returns one entity (#6781) c48851b is described below commit c48851b20687adeaf75ae9d8d1a063da43ee2c5b Author: damienb-opt <36661255+damienb-...@users.noreply.github.com> AuthorDate: Tue Jan 18 19:17:01 2022 +0100 CAMEL-17506 read query with key predicate returns one entity (#6781) https://issues.apache.org/jira/browse/CAMEL-17506 --- .../org/apache/camel/component/olingo4/api/impl/Olingo4AppImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/camel-olingo4/camel-olingo4-api/src/main/java/org/apache/camel/component/olingo4/api/impl/Olingo4AppImpl.java b/components/camel-olingo4/camel-olingo4-api/src/main/java/org/apache/camel/component/olingo4/api/impl/Olingo4AppImpl.java index b73f958..889f929 100644 --- a/components/camel-olingo4/camel-olingo4-api/src/main/java/org/apache/camel/component/olingo4/api/impl/Olingo4AppImpl.java +++ b/components/camel-olingo4/camel-olingo4-api/src/main/java/org/apache/camel/component/olingo4/api/impl/Olingo4AppImpl.java @@ -514,7 +514,7 @@ public final class Olingo4AppImpl implements Olingo4App { List keyPredicates = uriResourceEntitySet.getKeyPredicates(); // Check result type: single Entity or EntitySet based // on key predicate detection -if (keyPredicates.size() == 1) { +if (keyPredicates.size() >= 1) { response = (T) odataReader.readEntity(content, getResourceContentType(uriInfo)); } else { response = (T) odataReader.readEntitySet(content, getResourceContentType(uriInfo));
[GitHub] [camel] davsclaus merged pull request #6781: [CAMEL-17506] read query with key predicate returns one entity
davsclaus merged pull request #6781: URL: https://github.com/apache/camel/pull/6781 -- This is an automated message from the Apache Git Service. To respond to the message, please 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 (cccdd7f -> 4865a1c)
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 cccdd7f (chores) camel-kafka: cleanup isAutoCommitEnable handling This update removed existing revisions from the reference, leaving the reference pointing at a previous point in the repository history. * -- * -- N refs/heads/regen_bot (4865a1c) \ O -- O -- O (cccdd7f) 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: .../resources/org/apache/camel/catalog/components/kafka.json | 4 ++-- .../apache/camel/component/kafka/KafkaComponentConfigurer.java | 6 +++--- .../apache/camel/component/kafka/KafkaEndpointConfigurer.java | 6 +++--- .../resources/org/apache/camel/component/kafka/kafka.json | 4 ++-- .../org/apache/camel/component/kafka/KafkaConfiguration.java | 6 +++--- .../org/apache/camel/component/kafka/KafkaFetchRecords.java| 10 -- .../component/kafka/consumer/support/KafkaRecordProcessor.java | 4 ++-- .../kafka/consumer/support/KafkaRecordProcessorFacade.java | 5 - .../builder/component/dsl/KafkaComponentBuilderFactory.java| 7 --- .../builder/endpoint/dsl/KafkaEndpointBuilderFactory.java | 8 10 files changed, 35 insertions(+), 25 deletions(-)
[camel] branch regen_bot updated (0b23492 -> cccdd7f)
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 0b23492 (chores) camel-kafka: remove deprecated methods add 4865a1c CAMEL-17426: Prevent MicroProfile Health conflicting health data add cccdd7f (chores) camel-kafka: cleanup isAutoCommitEnable handling No new revisions were added by this update. Summary of changes: .../org/apache/camel/catalog/components/kafka.json | 4 +- .../component/kafka/KafkaComponentConfigurer.java | 6 +- .../component/kafka/KafkaEndpointConfigurer.java | 6 +- .../org/apache/camel/component/kafka/kafka.json| 4 +- .../camel/component/kafka/KafkaConfiguration.java | 6 +- .../camel/component/kafka/KafkaFetchRecords.java | 10 +- .../consumer/support/KafkaRecordProcessor.java | 4 +- .../support/KafkaRecordProcessorFacade.java| 5 +- .../camel-microprofile-health/pom.xml | 48 +++-- .../src/main/docs/microprofile-health.adoc | 18 +- .../AbstractCamelMicroProfileHealthCheck.java | 122 --- .../AbstractCamelMicroProfileLivenessCheck.java| 48 - .../AbstractCamelMicroProfileReadinessCheck.java | 42 .../health/CamelMicroProfileHealthCheck.java | 66 ++ .../CamelMicroProfileHealthCheckRegistry.java | 195 + .../health/CamelMicroProfileHealthHelper.java | 122 +++ .../health/CamelMicroProfileLivenessCheck.java | 41 .../health/CamelMicroProfileReadinessCheck.java| 41 .../CamelMicroProfileRepositoryHealthCheck.java| 71 +++ ...CamelMicroProfileHealthCheckRepositoryTest.java | 140 ++-- .../health/CamelMicroProfileHealthCheckTest.java | 236 ++--- .../CamelMicroProfileHealthConsumerTest.java | 52 +++-- ...CamelMicroProfileHealthRegistryBindingTest.java | 44 .../health/CamelMicroProfileHealthTestSupport.java | 88 +--- .../impl/health/DefaultHealthCheckRegistry.java| 9 +- .../dsl/KafkaComponentBuilderFactory.java | 7 +- .../endpoint/dsl/KafkaEndpointBuilderFactory.java | 8 +- parent/pom.xml | 2 +- 28 files changed, 943 insertions(+), 502 deletions(-) delete mode 100644 components/camel-microprofile/camel-microprofile-health/src/main/java/org/apache/camel/microprofile/health/AbstractCamelMicroProfileHealthCheck.java delete mode 100644 components/camel-microprofile/camel-microprofile-health/src/main/java/org/apache/camel/microprofile/health/AbstractCamelMicroProfileLivenessCheck.java delete mode 100644 components/camel-microprofile/camel-microprofile-health/src/main/java/org/apache/camel/microprofile/health/AbstractCamelMicroProfileReadinessCheck.java create mode 100644 components/camel-microprofile/camel-microprofile-health/src/main/java/org/apache/camel/microprofile/health/CamelMicroProfileHealthCheck.java create mode 100644 components/camel-microprofile/camel-microprofile-health/src/main/java/org/apache/camel/microprofile/health/CamelMicroProfileHealthCheckRegistry.java create mode 100644 components/camel-microprofile/camel-microprofile-health/src/main/java/org/apache/camel/microprofile/health/CamelMicroProfileHealthHelper.java delete mode 100644 components/camel-microprofile/camel-microprofile-health/src/main/java/org/apache/camel/microprofile/health/CamelMicroProfileLivenessCheck.java delete mode 100644 components/camel-microprofile/camel-microprofile-health/src/main/java/org/apache/camel/microprofile/health/CamelMicroProfileReadinessCheck.java create mode 100644 components/camel-microprofile/camel-microprofile-health/src/main/java/org/apache/camel/microprofile/health/CamelMicroProfileRepositoryHealthCheck.java create mode 100644 components/camel-microprofile/camel-microprofile-health/src/test/java/org/apache/camel/microprofile/health/CamelMicroProfileHealthRegistryBindingTest.java
[camel-quarkus] branch main updated: Improve documentation on setting up the Salesforce developer account
This is an automated email from the ASF dual-hosted git repository. zbendhiba 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 080bded Improve documentation on setting up the Salesforce developer account 080bded is described below commit 080bdedc9e3d620d49a9010cdde5c7592e680325 Author: Zineb Bendhiba AuthorDate: Tue Jan 18 15:38:13 2022 +0100 Improve documentation on setting up the Salesforce developer account --- integration-tests/salesforce/README.adoc | 17 - 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/integration-tests/salesforce/README.adoc b/integration-tests/salesforce/README.adoc index 703636c..0326d90 100644 --- a/integration-tests/salesforce/README.adoc +++ b/integration-tests/salesforce/README.adoc @@ -2,16 +2,23 @@ By default, the Salesforce integration tests use WireMock to stub the API interactions. -IMPORTANT: Note that when using Wiremock, the Change Data Capture Events test is disabled. +IMPORTANT: Note that when using Wiremock, the Change Data Capture Events test, and the Platform event test are disabled. To run `camel-quarkus-salesforce` integration tests using Salesforce API interactions, you must first create a Salesforce developer account https://developer.salesforce.com/. -Next create a new 'Connected App' from the app manager page. You may need to adjust the OAuth policy settings for -`Permitted Users` and also `IP Relaxation` rules, depending on your needs. Also enable Change Data Capture for the 'Account' entity by visiting the Integrations -> Change Data Capture page. +Next create a new 'Connected App' by visiting Apps -> App Manager page. In the form, enable OAuth Settings, and set those fields. +* Set a value for the callback URL (example : https://login.salesforce.com/oauth2/callback](https://login.salesforce.com/oauth2/callback) +* Add OAuth Scopes: (example Full access (Full)) -Next create a document named 'test'. +You may need to adjust the OAuth policy settings for `Permitted Users` and also `IP Relaxation` rules, depending on your needs. If needed, this can be achieved by visiting Apps -> Connected Apps -> Manage connected apps page. -Next create a new Platform Event named `TestEvent` by visiting the Integrations -> Platform Events. Set Publish Behavior to `Publish Immediately`. Update the Platform Event, add a new Custom Field of type `Text`, named `Test_Field`. Set its length to 30. +Next add your profile to the list of authorized profiles. Go to App -> App Manager page. Select your connected app, and click on Manage. Scroll to Profiles, and select Manage Profiles. Add your profile to the list. + +Next enable 'Change Data Capture' for the 'Account' entity by visiting the Integrations -> Change Data Capture page. + +Next create a new 'Platform Event' named `TestEvent` by visiting the Integrations -> Platform Events. Set Publish Behavior to `Publish Immediately`. Update the Platform Event, add a new Custom Field of type `Text`, named `Test_Field`. Set its length to 30. + +Next create a document named 'test'. This can be accessed from the Global Actions menu. In case you can't find it, you can switch to Salesforce classical view. You can find the app OAuth settings by choosing the 'view' option from the app manager page. Then set the following environment variables.
[GitHub] [camel-quarkus] zbendhiba merged pull request #3469: Improve documentation on setting up the Salesforce developer account
zbendhiba merged pull request #3469: URL: https://github.com/apache/camel-quarkus/pull/3469 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
svn commit: r52138 - in /dev/camel/camel-k-runtime/1.11.0: ./ camel-k-runtime-project-1.11.0-source-release.zip camel-k-runtime-project-1.11.0-source-release.zip.asc camel-k-runtime-project-1.11.0-sou
Author: acosentino Date: Tue Jan 18 17:48:13 2022 New Revision: 52138 Log: Camel-K-runtime 1.11.0 import Added: dev/camel/camel-k-runtime/1.11.0/ dev/camel/camel-k-runtime/1.11.0/camel-k-runtime-project-1.11.0-source-release.zip (with props) dev/camel/camel-k-runtime/1.11.0/camel-k-runtime-project-1.11.0-source-release.zip.asc (with props) dev/camel/camel-k-runtime/1.11.0/camel-k-runtime-project-1.11.0-source-release.zip.sha512 Added: dev/camel/camel-k-runtime/1.11.0/camel-k-runtime-project-1.11.0-source-release.zip == Binary file - no diff available. Propchange: dev/camel/camel-k-runtime/1.11.0/camel-k-runtime-project-1.11.0-source-release.zip -- svn:mime-type = application/zip Added: dev/camel/camel-k-runtime/1.11.0/camel-k-runtime-project-1.11.0-source-release.zip.asc == Binary file - no diff available. Propchange: dev/camel/camel-k-runtime/1.11.0/camel-k-runtime-project-1.11.0-source-release.zip.asc -- svn:mime-type = application/pgp-signature Added: dev/camel/camel-k-runtime/1.11.0/camel-k-runtime-project-1.11.0-source-release.zip.sha512 == --- dev/camel/camel-k-runtime/1.11.0/camel-k-runtime-project-1.11.0-source-release.zip.sha512 (added) +++ dev/camel/camel-k-runtime/1.11.0/camel-k-runtime-project-1.11.0-source-release.zip.sha512 Tue Jan 18 17:48:13 2022 @@ -0,0 +1 @@ +32ccbab3a5e025da73afb301aa550e79e9b03fdc512215df9f8cf72fac6729579f5624479e22894f8dc292e6fb1ddb1359698abafb161d8cacb5c79aaf18ec31 \ No newline at end of file
svn commit: r52137 - /dev/camel/camel-kafka-connector/1.11.0/
Author: acosentino Date: Tue Jan 18 17:47:48 2022 New Revision: 52137 Log: Wrong location Removed: dev/camel/camel-kafka-connector/1.11.0/
svn commit: r52136 - in /dev/camel/camel-kafka-connector: ./ 1.11.0/ 1.11.0/camel-k-runtime-project-1.11.0-source-release.zip 1.11.0/camel-k-runtime-project-1.11.0-source-release.zip.asc 1.11.0/camel-
Author: acosentino Date: Tue Jan 18 17:47:01 2022 New Revision: 52136 Log: Camel-K-runtime 1.11.0 import Added: dev/camel/camel-kafka-connector/ dev/camel/camel-kafka-connector/1.11.0/ dev/camel/camel-kafka-connector/1.11.0/camel-k-runtime-project-1.11.0-source-release.zip (with props) dev/camel/camel-kafka-connector/1.11.0/camel-k-runtime-project-1.11.0-source-release.zip.asc (with props) dev/camel/camel-kafka-connector/1.11.0/camel-k-runtime-project-1.11.0-source-release.zip.sha512 Added: dev/camel/camel-kafka-connector/1.11.0/camel-k-runtime-project-1.11.0-source-release.zip == Binary file - no diff available. Propchange: dev/camel/camel-kafka-connector/1.11.0/camel-k-runtime-project-1.11.0-source-release.zip -- svn:mime-type = application/zip Added: dev/camel/camel-kafka-connector/1.11.0/camel-k-runtime-project-1.11.0-source-release.zip.asc == Binary file - no diff available. Propchange: dev/camel/camel-kafka-connector/1.11.0/camel-k-runtime-project-1.11.0-source-release.zip.asc -- svn:mime-type = application/pgp-signature Added: dev/camel/camel-kafka-connector/1.11.0/camel-k-runtime-project-1.11.0-source-release.zip.sha512 == --- dev/camel/camel-kafka-connector/1.11.0/camel-k-runtime-project-1.11.0-source-release.zip.sha512 (added) +++ dev/camel/camel-kafka-connector/1.11.0/camel-k-runtime-project-1.11.0-source-release.zip.sha512 Tue Jan 18 17:47:01 2022 @@ -0,0 +1 @@ +32ccbab3a5e025da73afb301aa550e79e9b03fdc512215df9f8cf72fac6729579f5624479e22894f8dc292e6fb1ddb1359698abafb161d8cacb5c79aaf18ec31 \ No newline at end of file
[camel] branch main updated: CAMEL-17499: Renaming inconsistent data format names in model
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 c0e0399 CAMEL-17499: Renaming inconsistent data format names in model c0e0399 is described below commit c0e03992592d31c295d4eb8fafc5516246437f3d Author: Claus Ibsen AuthorDate: Tue Jan 18 16:18:32 2022 +0100 CAMEL-17499: Renaming inconsistent data format names in model --- .../resources/org/apache/camel/catalog/dataformats.properties | 2 +- .../resources/org/apache/camel/catalog/dataformats/avroJackson.json | 2 +- .../configurer/{avro-jackson-dataformat => avroJackson-dataformat} | 0 .../META-INF/services/org/apache/camel/dataformat.properties| 2 +- .../org/apache/camel/dataformat/{avro-jackson => avroJackson} | 0 .../org/apache/camel/component/jackson/avro/avroJackson.json| 2 +- .../{avro-jackson-dataformat.adoc => avroJackson-dataformat.adoc} | 2 +- .../apache/camel/component/jackson/avro/JacksonAvroDataFormat.java | 4 ++-- .../main/java/org/apache/camel/model/dataformat/AvroLibrary.java| 2 +- .../resources/org/apache/camel/main/dataformats.properties | 2 +- docs/components/modules/dataformats/examples/json/avro-jackson.json | 1 - docs/components/modules/dataformats/examples/json/avroJackson.json | 1 + docs/components/modules/dataformats/nav.adoc| 2 +- .../modules/dataformats/pages/avro-jackson-dataformat.adoc | 1 - .../modules/dataformats/pages/avroJackson-dataformat.adoc | 1 + .../org/apache/camel/maven/packaging/PackageDataFormatMojo.java | 6 +++--- 16 files changed, 15 insertions(+), 15 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats.properties b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats.properties index 1945cd1..06de992 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats.properties +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats.properties @@ -1,7 +1,7 @@ any23 asn1 avro -avro-jackson +avroJackson barcode base64 beanio diff --git a/components/camel-jackson-avro/src/generated/resources/org/apache/camel/component/jackson/avro/avro-jackson.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/avroJackson.json similarity index 99% rename from components/camel-jackson-avro/src/generated/resources/org/apache/camel/component/jackson/avro/avro-jackson.json rename to catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/avroJackson.json index 6feacf5..9811918 100644 --- a/components/camel-jackson-avro/src/generated/resources/org/apache/camel/component/jackson/avro/avro-jackson.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/avroJackson.json @@ -1,7 +1,7 @@ { "dataformat": { "kind": "dataformat", -"name": "avro-jackson", +"name": "avroJackson", "title": "Avro Jackson", "description": "Marshal POJOs to Avro and back using Jackson.", "deprecated": false, diff --git a/components/camel-jackson-avro/src/generated/resources/META-INF/services/org/apache/camel/configurer/avro-jackson-dataformat b/components/camel-jackson-avro/src/generated/resources/META-INF/services/org/apache/camel/configurer/avroJackson-dataformat similarity index 100% rename from components/camel-jackson-avro/src/generated/resources/META-INF/services/org/apache/camel/configurer/avro-jackson-dataformat rename to components/camel-jackson-avro/src/generated/resources/META-INF/services/org/apache/camel/configurer/avroJackson-dataformat diff --git a/components/camel-jackson-avro/src/generated/resources/META-INF/services/org/apache/camel/dataformat.properties b/components/camel-jackson-avro/src/generated/resources/META-INF/services/org/apache/camel/dataformat.properties index c22fed7..39bdd4f 100644 --- a/components/camel-jackson-avro/src/generated/resources/META-INF/services/org/apache/camel/dataformat.properties +++ b/components/camel-jackson-avro/src/generated/resources/META-INF/services/org/apache/camel/dataformat.properties @@ -1,5 +1,5 @@ # Generated by camel build tools - do NOT edit this file! -dataFormats=avro-jackson +dataFormats=avroJackson groupId=org.apache.camel artifactId=camel-jackson-avro version=3.15.0-SNAPSHOT diff --git a/components/camel-jackson-avro/src/generated/resources/META-INF/services/org/apache/camel/dataformat/avro-jackson b/components/camel-jackson-avro/src/generated/resources/META-INF/services/org/apache/camel/dataformat/avroJackson similarity index 100% rename from components/camel-jackson-avro/src/generated/resources/META-INF/services/org/apache/camel/dataformat/avro-jackson rename to
[camel] branch main updated: (chores) camel-kafka: cleanup isAutoCommitEnable handling
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/main by this push: new cccdd7f (chores) camel-kafka: cleanup isAutoCommitEnable handling cccdd7f is described below commit cccdd7f208ae963fbe7bb02c9932b56d5aa1b17b Author: Otavio Rodolfo Piske AuthorDate: Tue Jan 18 16:14:08 2022 +0100 (chores) camel-kafka: cleanup isAutoCommitEnable handling --- .../resources/org/apache/camel/catalog/components/kafka.json | 4 ++-- .../apache/camel/component/kafka/KafkaComponentConfigurer.java | 6 +++--- .../apache/camel/component/kafka/KafkaEndpointConfigurer.java | 6 +++--- .../resources/org/apache/camel/component/kafka/kafka.json | 4 ++-- .../org/apache/camel/component/kafka/KafkaConfiguration.java | 6 +++--- .../org/apache/camel/component/kafka/KafkaFetchRecords.java| 10 ++ .../component/kafka/consumer/support/KafkaRecordProcessor.java | 4 ++-- .../kafka/consumer/support/KafkaRecordProcessorFacade.java | 5 + .../builder/component/dsl/KafkaComponentBuilderFactory.java| 7 +++ .../builder/endpoint/dsl/KafkaEndpointBuilderFactory.java | 8 10 files changed, 25 insertions(+), 35 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/kafka.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/kafka.json index 5cd0250..4a3781f 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/kafka.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/kafka.json @@ -30,7 +30,7 @@ "reconnectBackoffMaxMs": { "kind": "property", "displayName": "Reconnect Backoff Max Ms", "group": "common", "label": "common", "required": false, "type": "integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "1000", "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "The maximum amount of time in milliseconds to wait when reconnecting to a b [...] "shutdownTimeout": { "kind": "property", "displayName": "Shutdown Timeout", "group": "common", "label": "common", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 3, "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "Timeout in milliseconds to wait gracefully for the consumer or producer to shutdown and terminate its wo [...] "allowManualCommit": { "kind": "property", "displayName": "Allow Manual Commit", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "Whether to allow doing manual commits via KafkaManualCommit. If this option is enabled then [...] -"autoCommitEnable": { "kind": "property", "displayName": "Auto Commit Enable", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "true", "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "If true, periodically commit to ZooKeeper the offset of messages already fetched b [...] +"autoCommitEnable": { "kind": "property", "displayName": "Auto Commit Enable", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "If true, periodically commit to ZooKeeper the offset of messages already fetched by the consum [...] "autoCommitIntervalMs": { "kind": "property", "displayName": "Auto Commit Interval Ms", "group": "consumer", "label": "consumer", "required": false, "type": "integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "5000", "configurationClass": "org.apache.camel.component.kafka.KafkaConfiguration", "configurationField": "configuration", "description": "The frequency in ms that the consumer offsets are committed to zookeeper." }, "autoCommitOnStop": { "kind": "property", "displayName": "Auto Commit On Stop", "group": "consumer", "label": "consumer", "required": false, "type": "string",
[GitHub] [camel] orpiske merged pull request #6780: (chores) camel-kafka: cleanup isAutoCommitEnable handling
orpiske merged pull request #6780: URL: https://github.com/apache/camel/pull/6780 -- This is an automated message from the Apache Git Service. To respond to the message, please 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-17426: Prevent MicroProfile Health conflicting health data
This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/main by this push: new 4865a1c CAMEL-17426: Prevent MicroProfile Health conflicting health data 4865a1c is described below commit 4865a1c0da461b1c1ef97b1c922e80d335251593 Author: James Netherton AuthorDate: Tue Jan 18 14:35:14 2022 + CAMEL-17426: Prevent MicroProfile Health conflicting health data * Introduce CamelMicroProfileHealthCheckRegistry * Register individual Camel health check with SmallRye Health registries * Aggregate routes & consumers health check results 'WIP - complete --- .../camel-microprofile-health/pom.xml | 48 +++-- .../src/main/docs/microprofile-health.adoc | 18 +- .../AbstractCamelMicroProfileHealthCheck.java | 122 --- .../AbstractCamelMicroProfileLivenessCheck.java| 48 - .../AbstractCamelMicroProfileReadinessCheck.java | 42 .../health/CamelMicroProfileHealthCheck.java | 66 ++ .../CamelMicroProfileHealthCheckRegistry.java | 195 + .../health/CamelMicroProfileHealthHelper.java | 122 +++ .../health/CamelMicroProfileLivenessCheck.java | 41 .../health/CamelMicroProfileReadinessCheck.java| 41 .../CamelMicroProfileRepositoryHealthCheck.java| 71 +++ ...CamelMicroProfileHealthCheckRepositoryTest.java | 140 ++-- .../health/CamelMicroProfileHealthCheckTest.java | 236 ++--- .../CamelMicroProfileHealthConsumerTest.java | 52 +++-- ...CamelMicroProfileHealthRegistryBindingTest.java | 44 .../health/CamelMicroProfileHealthTestSupport.java | 88 +--- .../impl/health/DefaultHealthCheckRegistry.java| 9 +- parent/pom.xml | 2 +- 18 files changed, 918 insertions(+), 467 deletions(-) diff --git a/components/camel-microprofile/camel-microprofile-health/pom.xml b/components/camel-microprofile/camel-microprofile-health/pom.xml index 846b06e..07c9783 100644 --- a/components/camel-microprofile/camel-microprofile-health/pom.xml +++ b/components/camel-microprofile/camel-microprofile-health/pom.xml @@ -46,16 +46,22 @@ -org.eclipse.microprofile.health -microprofile-health-api -${microprofile-health-version} -provided +io.smallrye +smallrye-health +${smallrye-health-version} - + +io.smallrye.config +smallrye-config +${smallrye-config-version} + + + javax.enterprise cdi-api ${cdi-api-2.0-version} +provided @@ -64,17 +70,10 @@ camel-test-junit5 test - -io.smallrye -smallrye-health -${smallrye-health-version} -test - - -io.smallrye.config -smallrye-config -${smallrye-config-version} +org.jboss.weld +weld-junit5 +${weld-junit5-version} test @@ -104,4 +103,23 @@ + + + +jdk17-build + +[17,) + + + + +maven-surefire-plugin + +--add-opens java.base/java.lang=ALL-UNNAMED + + + + + + diff --git a/components/camel-microprofile/camel-microprofile-health/src/main/docs/microprofile-health.adoc b/components/camel-microprofile/camel-microprofile-health/src/main/docs/microprofile-health.adoc index aad6994..bd0c25c 100644 --- a/components/camel-microprofile/camel-microprofile-health/src/main/docs/microprofile-health.adoc +++ b/components/camel-microprofile/camel-microprofile-health/src/main/docs/microprofile-health.adoc @@ -27,6 +27,13 @@ for this component: == Usage +This component provides a custom `HealthCheckRegistry` implementation that needs to be registered on the `CamelContext`. +[source,java] + +HealthCheckRegistry registry = new CamelMicroProfileHealthCheckRegistry(); +camelContext.setExtension(HealthCheckRegistry.class, registry); + + By default, Camel health checks are registered as both MicroProfile Health liveness and readiness checks. To have finer control over whether a Camel health check should be considered either a readiness or liveness check, you can extend `AbstractHealthCheck` and override the `isLiveness()` and `isReadiness()` methods. @@ -57,14 +64,3 @@ public class MyHealthCheck extends AbstractHealthCheck { } } - -== Auto
[GitHub] [camel] jamesnetherton merged pull request #6779: CAMEL-17426: Prevent MicroProfile Health conflicting health data
jamesnetherton merged pull request #6779: URL: https://github.com/apache/camel/pull/6779 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-k-runtime] branch main updated: [maven-release-plugin] prepare for next development iteration
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git The following commit(s) were added to refs/heads/main by this push: new 69a7030 [maven-release-plugin] prepare for next development iteration 69a7030 is described below commit 69a703096e6f804619fb408ad1ee7dfa3a0ca3f0 Author: Andrea Cosentino AuthorDate: Tue Jan 18 18:07:54 2022 +0100 [maven-release-plugin] prepare for next development iteration --- camel-k-cloudevents/deployment/pom.xml| 2 +- camel-k-cloudevents/pom.xml | 2 +- camel-k-cloudevents/runtime/pom.xml | 2 +- camel-k-core/api/pom.xml | 2 +- camel-k-core/deployment/pom.xml | 2 +- camel-k-core/pom.xml | 2 +- camel-k-core/runtime/pom.xml | 2 +- camel-k-core/support/pom.xml | 2 +- camel-k-cron/deployment/pom.xml | 2 +- camel-k-cron/impl/pom.xml | 2 +- camel-k-cron/pom.xml | 2 +- camel-k-cron/runtime/pom.xml | 2 +- camel-k-kamelet-reify/deployment/pom.xml | 2 +- camel-k-kamelet-reify/pom.xml | 2 +- camel-k-kamelet-reify/runtime/pom.xml | 2 +- camel-k-knative/consumer/deployment/pom.xml | 2 +- camel-k-knative/consumer/pom.xml | 2 +- camel-k-knative/consumer/runtime/pom.xml | 2 +- camel-k-knative/deployment/pom.xml| 2 +- camel-k-knative/impl/pom.xml | 2 +- camel-k-knative/pom.xml | 2 +- camel-k-knative/producer/deployment/pom.xml | 2 +- camel-k-knative/producer/pom.xml | 2 +- camel-k-knative/producer/runtime/pom.xml | 2 +- camel-k-knative/runtime/pom.xml | 2 +- camel-k-loader-jsh/deployment/pom.xml | 2 +- camel-k-loader-jsh/impl/pom.xml | 2 +- camel-k-loader-jsh/pom.xml| 2 +- camel-k-loader-jsh/runtime/pom.xml| 2 +- camel-k-master/deployment/pom.xml | 2 +- camel-k-master/impl/pom.xml | 2 +- camel-k-master/pom.xml| 2 +- camel-k-master/runtime/pom.xml| 2 +- camel-k-runtime/deployment/pom.xml| 2 +- camel-k-runtime/pom.xml | 2 +- camel-k-runtime/runtime/pom.xml | 2 +- camel-k-webhook/deployment/pom.xml| 2 +- camel-k-webhook/impl/pom.xml | 2 +- camel-k-webhook/pom.xml | 2 +- camel-k-webhook/runtime/pom.xml | 2 +- components/camel-cloudevents/pom.xml | 2 +- components/camel-knative/camel-knative-api/pom.xml| 2 +- components/camel-knative/camel-knative-http/pom.xml | 2 +- components/camel-knative/camel-knative-test/pom.xml | 2 +- components/camel-knative/camel-knative/pom.xml| 2 +- components/camel-knative/pom.xml | 2 +- components/pom.xml| 2 +- distribution/pom.xml | 2 +- examples/cron/pom.xml | 2 +- examples/groovy/pom.xml | 2 +- examples/java/pom.xml | 2 +- examples/js/pom.xml | 2 +- examples/kafka-source-s3/pom.xml | 2 +- examples/kamelets-discovery/pom.xml | 2 +- examples/kamelets/pom.xml | 2 +- examples/knative/pom.xml | 2 +- examples/kotlin/pom.xml | 2 +-
[camel-k-runtime] annotated tag camel-k-runtime-project-1.11.0 created (now d62ee65)
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a change to annotated tag camel-k-runtime-project-1.11.0 in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git. at d62ee65 (tag) tagging 47dbafdd198b8f58a7b979a2553b5cfdc3a9884e (commit) replaces camel-k-runtime-project-1.10.0 by Andrea Cosentino on Tue Jan 18 18:07:49 2022 +0100 - Log - [maven-release-plugin] copy for tag camel-k-runtime-project-1.11.0 --- No new revisions were added by this update.
[camel-k-runtime] branch main updated: [maven-release-plugin] prepare release camel-k-runtime-project-1.11.0
This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git The following commit(s) were added to refs/heads/main by this push: new 47dbafd [maven-release-plugin] prepare release camel-k-runtime-project-1.11.0 47dbafd is described below commit 47dbafdd198b8f58a7b979a2553b5cfdc3a9884e Author: Andrea Cosentino AuthorDate: Tue Jan 18 18:07:43 2022 +0100 [maven-release-plugin] prepare release camel-k-runtime-project-1.11.0 --- camel-k-cloudevents/deployment/pom.xml| 2 +- camel-k-cloudevents/pom.xml | 2 +- camel-k-cloudevents/runtime/pom.xml | 2 +- camel-k-core/api/pom.xml | 2 +- camel-k-core/deployment/pom.xml | 2 +- camel-k-core/pom.xml | 2 +- camel-k-core/runtime/pom.xml | 2 +- camel-k-core/support/pom.xml | 2 +- camel-k-cron/deployment/pom.xml | 2 +- camel-k-cron/impl/pom.xml | 2 +- camel-k-cron/pom.xml | 2 +- camel-k-cron/runtime/pom.xml | 2 +- camel-k-kamelet-reify/deployment/pom.xml | 2 +- camel-k-kamelet-reify/pom.xml | 2 +- camel-k-kamelet-reify/runtime/pom.xml | 2 +- camel-k-knative/consumer/deployment/pom.xml | 2 +- camel-k-knative/consumer/pom.xml | 2 +- camel-k-knative/consumer/runtime/pom.xml | 2 +- camel-k-knative/deployment/pom.xml| 2 +- camel-k-knative/impl/pom.xml | 2 +- camel-k-knative/pom.xml | 2 +- camel-k-knative/producer/deployment/pom.xml | 2 +- camel-k-knative/producer/pom.xml | 2 +- camel-k-knative/producer/runtime/pom.xml | 2 +- camel-k-knative/runtime/pom.xml | 2 +- camel-k-loader-jsh/deployment/pom.xml | 2 +- camel-k-loader-jsh/impl/pom.xml | 2 +- camel-k-loader-jsh/pom.xml| 2 +- camel-k-loader-jsh/runtime/pom.xml| 2 +- camel-k-master/deployment/pom.xml | 2 +- camel-k-master/impl/pom.xml | 2 +- camel-k-master/pom.xml| 2 +- camel-k-master/runtime/pom.xml| 2 +- camel-k-runtime/deployment/pom.xml| 2 +- camel-k-runtime/pom.xml | 2 +- camel-k-runtime/runtime/pom.xml | 2 +- camel-k-webhook/deployment/pom.xml| 2 +- camel-k-webhook/impl/pom.xml | 2 +- camel-k-webhook/pom.xml | 2 +- camel-k-webhook/runtime/pom.xml | 2 +- components/camel-cloudevents/pom.xml | 2 +- components/camel-knative/camel-knative-api/pom.xml| 2 +- components/camel-knative/camel-knative-http/pom.xml | 2 +- components/camel-knative/camel-knative-test/pom.xml | 2 +- components/camel-knative/camel-knative/pom.xml| 2 +- components/camel-knative/pom.xml | 2 +- components/pom.xml| 2 +- distribution/pom.xml | 2 +- examples/cron/pom.xml | 2 +- examples/groovy/pom.xml | 2 +- examples/java/pom.xml | 2 +- examples/js/pom.xml | 2 +- examples/kafka-source-s3/pom.xml | 2 +- examples/kamelets-discovery/pom.xml | 2 +- examples/kamelets/pom.xml | 2 +- examples/knative/pom.xml | 2 +- examples/kotlin/pom.xml
[GitHub] [camel] astefanutti commented on pull request #6779: CAMEL-17426: Prevent MicroProfile Health conflicting health data
astefanutti commented on pull request #6779: URL: https://github.com/apache/camel/pull/6779#issuecomment-1015620642 > So I guess you're left with the options of either combining & delimiting all of the error data in a single string (not great for human readability) or not aggregating the results of the routes / consumers checks (which I'd prefer to avoid due to the potential verbosity of reporting them as individual items). I think the output is more meant to be processed by clients like a GUI or an operator, rather than consumed by humans. We, developers, consume it, but I think that's because we are developers, even if we also happen to be human beings :). > Or have additional data elements like `.error.message` & `.error.stacktrace`. That is what I was thinking, or like `error.message[health-check-id]`. The first point we would need to address is whether we go for individual or aggregated results. Anyway, this PR is already a great improvement over the current format. -- This is an automated message from the Apache Git Service. To respond to the message, please 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 (4baa202 -> 0b23492)
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 4baa202 CAMEL-17499: Renaming inconsistent data format names in model add 0b23492 (chores) camel-kafka: remove deprecated methods No new revisions were added by this update. Summary of changes: .../apache/camel/component/kafka/DefaultKafkaManualCommit.java | 5 - .../camel/component/kafka/DefaultKafkaManualSyncCommit.java | 5 - .../java/org/apache/camel/component/kafka/KafkaManualCommit.java | 9 - 3 files changed, 19 deletions(-)
[GitHub] [camel] damienb-opt opened a new pull request #6781: [CAMEL-17506] read query with key predicate returns one entity
damienb-opt opened a new pull request #6781: URL: https://github.com/apache/camel/pull/6781 https://issues.apache.org/jira/browse/CAMEL-17506 - [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. - [ ] 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 Note: there a no unit tests in this component, only integration tests which depends on an external service http://services.odata.org/TripPinRESTierService whose schema has no entity with a complex key -- This is an automated message from the Apache Git Service. To respond to the message, please 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-karaf] branch main updated: CAMEL-17499: Renaming inconsistent data format names in model
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-karaf.git The following commit(s) were added to refs/heads/main by this push: new 1e3fb19 CAMEL-17499: Renaming inconsistent data format names in model 1e3fb19 is described below commit 1e3fb193e8d2049756c9014e53d0b5930fcdc6f6 Author: Claus Ibsen AuthorDate: Tue Jan 18 17:12:03 2022 +0100 CAMEL-17499: Renaming inconsistent data format names in model --- .../main/resources/org/apache/camel/catalog/karaf/dataformats.properties | 1 - 1 file changed, 1 deletion(-) diff --git a/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/dataformats.properties b/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/dataformats.properties index 826b6b5..06de992 100644 --- a/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/dataformats.properties +++ b/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/dataformats.properties @@ -1,7 +1,6 @@ any23 asn1 avro -avro-jackson avroJackson barcode base64
[camel] branch regen_bot updated (ecf0862 -> 4baa202)
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 ecf0862 CAMEL-17499: Renaming inconsistent data format names in model add 4baa202 CAMEL-17499: Renaming inconsistent data format names in model No new revisions were added by this update. Summary of changes: .../ROOT/pages/camel-3x-upgrade-guide-3_15.adoc| 24 ++ 1 file changed, 24 insertions(+)
svn commit: r52132 - in /dev/camel/camel-kamelets/0.7.0: ./ camel-kamelets-0.7.0.tar.gz camel-kamelets-0.7.0.tar.gz.asc camel-kamelets-0.7.0.tar.gz.sha512
Author: nferraro Date: Tue Jan 18 15:55:09 2022 New Revision: 52132 Log: Camel Kamelets 0.7.0 Added: dev/camel/camel-kamelets/0.7.0/ dev/camel/camel-kamelets/0.7.0/camel-kamelets-0.7.0.tar.gz (with props) dev/camel/camel-kamelets/0.7.0/camel-kamelets-0.7.0.tar.gz.asc (with props) dev/camel/camel-kamelets/0.7.0/camel-kamelets-0.7.0.tar.gz.sha512 Added: dev/camel/camel-kamelets/0.7.0/camel-kamelets-0.7.0.tar.gz == Binary file - no diff available. Propchange: dev/camel/camel-kamelets/0.7.0/camel-kamelets-0.7.0.tar.gz -- svn:mime-type = application/gzip Added: dev/camel/camel-kamelets/0.7.0/camel-kamelets-0.7.0.tar.gz.asc == Binary file - no diff available. Propchange: dev/camel/camel-kamelets/0.7.0/camel-kamelets-0.7.0.tar.gz.asc -- svn:mime-type = application/pgp-signature Added: dev/camel/camel-kamelets/0.7.0/camel-kamelets-0.7.0.tar.gz.sha512 == --- dev/camel/camel-kamelets/0.7.0/camel-kamelets-0.7.0.tar.gz.sha512 (added) +++ dev/camel/camel-kamelets/0.7.0/camel-kamelets-0.7.0.tar.gz.sha512 Tue Jan 18 15:55:09 2022 @@ -0,0 +1 @@ +5625b90514d32e2dcc76a1e1ac9cc7922c3d56d07e982254cdd13ae1aa406212d2e8a0d18e7623fbb8fcdbba3a125684f35ee1c498f0b303fa22bbff77314399 *camel-kamelets-0.7.0.tar.gz
[GitHub] [camel-quarkus] zbendhiba commented on pull request #3370: Sql test using derby doesn't start dev service and shows class loadin…
zbendhiba commented on pull request #3370: URL: https://github.com/apache/camel-quarkus/pull/3370#issuecomment-1015547264 Maybe I'm wrong. Can you achieve this using it only at QuarkusTestResourceLifecycleManager level? Or is the problem come from the fact of the existence of a library in the pom.xml file ? Or can we push the jar inside the Docker image using docker compose? My point is that something needed just for TestResource should not be included in the native build. Unless I'm wrong about how QuarkusTestResourceLifecycleManager works -- This is an automated message from the Apache Git Service. To respond to the message, please 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] nicolaferraro opened a new pull request #2887: Fix #2788: use kamelets 0.7.0 and align with new dir structure
nicolaferraro opened a new pull request #2887: URL: https://github.com/apache/camel-k/pull/2887 Fix #2788 **Release Note** ```release-note NONE ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] jamesnetherton edited a comment on pull request #6779: CAMEL-17426: Prevent MicroProfile Health conflicting health data
jamesnetherton edited a comment on pull request #6779: URL: https://github.com/apache/camel/pull/6779#issuecomment-1015531508 > I could see the case where the user checks the error, fixes it, then expect her/his application to run, but realises another error gets reported True... and this is pretty much a continuation of what happened before where all Camel health check results were aggregated. > I realise that may not be trivial to report the list of errors, but that's not impossible :) If SmallRye Health made it possible to structure the values of the `data` element, then you could report additional error elements pretty easily (E.g as maps or arrays). But that's not currently possible. So I guess you're left with the options of either combining & delimiting all of the error data in a single string (not great for human readability) or not aggregating the results of the routes / consumers checks (which I'd prefer to avoid due to the potential verbosity of reporting them as individual items). Or have additional data elements like `.error.message` & `.error.message`. -- This is an automated message from the Apache Git Service. To respond to the message, please 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] jamesnetherton edited a comment on pull request #6779: CAMEL-17426: Prevent MicroProfile Health conflicting health data
jamesnetherton edited a comment on pull request #6779: URL: https://github.com/apache/camel/pull/6779#issuecomment-1015531508 > I could see the case where the user checks the error, fixes it, then expect her/his application to run, but realises another error gets reported True... and this is pretty much a continuation of what happened before where all Camel health check results were aggregated. > I realise that may not be trivial to report the list of errors, but that's not impossible :) If SmallRye Health made it possible to structure the values of the `data` element, then you could report additional error elements pretty easily (E.g as maps or arrays). But that's not currently possible. So I guess you're left with the options of either combining & delimiting all of the error data in a single string (not great for human readability) or not aggregating the results of the routes / consumers checks (which I'd prefer to avoid due to the potential verbosity of reporting them as individual items). Or have additional data elements like `.error.message` & `.error.stacktrace`. -- This is an automated message from the Apache Git Service. To respond to the message, please 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 (3b7fc55 -> ecf0862)
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 3b7fc55 CAMEL-17499: Renaming inconsistent data format names in model add ecf0862 CAMEL-17499: Renaming inconsistent data format names in model No new revisions were added by this update. Summary of changes: .../org/apache/camel/tooling/util/Strings.java | 44 ++ 1 file changed, 44 insertions(+)
[camel] branch regen_bot updated (744f2b4 -> 3b7fc55)
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 744f2b4 CAMEL-17509: fix invalid topic info displayed when using topic patterns add 3b7fc55 CAMEL-17499: Renaming inconsistent data format names in model No new revisions were added by this update. Summary of changes: .../org/apache/camel/catalog/dataformats.properties | 6 +++--- .../apache/camel/catalog/dataformats/bindyCsv.json | 2 +- .../{bindy-fixed.json => bindyFixed.json}| 2 +- .../apache/camel/catalog/dataformats/bindyKvp.json | 2 +- .../org/apache/camel/catalog/CamelCatalogTest.java | 20 ++-- .../{bindy-csv-dataformat => bindyCsv-dataformat}| 0 ...{bindy-fixed-dataformat => bindyFixed-dataformat} | 0 .../{bindy-kvp-dataformat => bindyKvp-dataformat}| 0 .../services/org/apache/camel/dataformat.properties | 2 +- .../apache/camel/dataformat/{bindy-csv => bindyCsv} | 0 .../camel/dataformat/{bindy-fixed => bindyFixed} | 0 .../apache/camel/dataformat/{bindy-kvp => bindyKvp} | 0 .../apache/camel/dataformat/bindy/csv/bindyCsv.json | 2 +- .../fixed/{bindy-fixed.json => bindyFixed.json} | 2 +- .../apache/camel/dataformat/bindy/kvp/bindyKvp.json | 2 +- .../camel-bindy/src/main/docs/bindy-dataformat.adoc | 2 +- .../dataformat/bindy/csv/BindyCsvDataFormat.java | 4 ++-- .../bindy/fixed/BindyFixedLengthDataFormat.java | 4 ++-- .../bindy/kvp/BindyKeyValuePairDataFormat.java | 4 ++-- .../camel/model/dataformat/BindyDataFormat.java | 6 +++--- .../org/apache/camel/main/dataformats.properties | 6 +++--- .../modules/dataformats/examples/json/bindy-csv.json | 1 - .../dataformats/examples/json/bindy-fixed.json | 1 - .../modules/dataformats/examples/json/bindy-kvp.json | 1 - .../modules/dataformats/examples/json/bindyCsv.json | 1 + .../dataformats/examples/json/bindyFixed.json| 1 + .../modules/dataformats/examples/json/bindyKvp.json | 1 + .../ROOT/pages/camel-3x-upgrade-guide-3_15.adoc | 7 +-- .../camel/maven/packaging/PackageDataFormatMojo.java | 14 +++--- 29 files changed, 48 insertions(+), 45 deletions(-) rename components/camel-bindy/src/generated/resources/org/apache/camel/dataformat/bindy/csv/bindy-csv.json => catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/bindyCsv.json (99%) rename catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/{bindy-fixed.json => bindyFixed.json} (98%) rename components/camel-bindy/src/generated/resources/org/apache/camel/dataformat/bindy/kvp/bindy-kvp.json => catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/bindyKvp.json (99%) rename components/camel-bindy/src/generated/resources/META-INF/services/org/apache/camel/configurer/{bindy-csv-dataformat => bindyCsv-dataformat} (100%) rename components/camel-bindy/src/generated/resources/META-INF/services/org/apache/camel/configurer/{bindy-fixed-dataformat => bindyFixed-dataformat} (100%) rename components/camel-bindy/src/generated/resources/META-INF/services/org/apache/camel/configurer/{bindy-kvp-dataformat => bindyKvp-dataformat} (100%) rename components/camel-bindy/src/generated/resources/META-INF/services/org/apache/camel/dataformat/{bindy-csv => bindyCsv} (100%) rename components/camel-bindy/src/generated/resources/META-INF/services/org/apache/camel/dataformat/{bindy-fixed => bindyFixed} (100%) rename components/camel-bindy/src/generated/resources/META-INF/services/org/apache/camel/dataformat/{bindy-kvp => bindyKvp} (100%) rename catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/bindy-csv.json => components/camel-bindy/src/generated/resources/org/apache/camel/dataformat/bindy/csv/bindyCsv.json (99%) rename components/camel-bindy/src/generated/resources/org/apache/camel/dataformat/bindy/fixed/{bindy-fixed.json => bindyFixed.json} (98%) rename catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/bindy-kvp.json => components/camel-bindy/src/generated/resources/org/apache/camel/dataformat/bindy/kvp/bindyKvp.json (99%) delete mode 12 docs/components/modules/dataformats/examples/json/bindy-csv.json delete mode 12 docs/components/modules/dataformats/examples/json/bindy-fixed.json delete mode 12 docs/components/modules/dataformats/examples/json/bindy-kvp.json create mode 12 docs/components/modules/dataformats/examples/json/bindyCsv.json create mode 12 docs/components/modules/dataformats/examples/json/bindyFixed.json create mode 12 docs/components/modules/dataformats/examples/json/bindyKvp.json
[camel] branch main updated (4baa202 -> 0b23492)
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel.git. from 4baa202 CAMEL-17499: Renaming inconsistent data format names in model add 0b23492 (chores) camel-kafka: remove deprecated methods No new revisions were added by this update. Summary of changes: .../apache/camel/component/kafka/DefaultKafkaManualCommit.java | 5 - .../camel/component/kafka/DefaultKafkaManualSyncCommit.java | 5 - .../java/org/apache/camel/component/kafka/KafkaManualCommit.java | 9 - 3 files changed, 19 deletions(-)
[GitHub] [camel] jamesnetherton commented on pull request #6779: CAMEL-17426: Prevent MicroProfile Health conflicting health data
jamesnetherton commented on pull request #6779: URL: https://github.com/apache/camel/pull/6779#issuecomment-1015531508 > I could see the case where the user checks the error, fixes it, then expect her/his application to run, but realises another error gets reported True... and this is pretty much a continuation of what happened before where all Camel health check results were aggregated. > I realise that may not be trivial to report the list of errors, but that's not impossible :) If SmallRye Health made it possible to structure the values of the `data` element, then you could report additional error elements pretty easily (E.g as maps or arrays). But that's not currently possible. So I guess you're left with the options of either combining & delimiting all of the error data in a single string (not great for human readability) or not aggregating the results of the routes / consumers checks (which I'd prefer to avoid due to the potential verbosity of reporting them as individual items). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] orpiske merged pull request #6778: (chores) camel-kafka: remove deprecated methods
orpiske merged pull request #6778: URL: https://github.com/apache/camel/pull/6778 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel] orpiske opened a new pull request #6780: (chores) camel-kafka: cleanup isAutoCommitEnable handling
orpiske opened a new pull request #6780: URL: https://github.com/apache/camel/pull/6780 Simplifying stuff before I start the second part of Kafka's work for CAMEL-15562 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-kamelets] github-actions[bot] closed pull request #720: Generated sources regen
github-actions[bot] closed pull request #720: URL: https://github.com/apache/camel-kamelets/pull/720 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-kamelets] branch regen_bot updated (8ea08cf -> a6533dd)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git. discard 8ea08cf Regen for commit a51c5815847c61cd628a0cf353be9aa5f0285fa2 add a6533dd Restore Kamelets for development 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 (8ea08cf) \ N -- N -- N refs/heads/regen_bot (a6533dd) 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-quarkus] JiriOndrusek commented on pull request #3370: Sql test using derby doesn't start dev service and shows class loadin…
JiriOndrusek commented on pull request #3370: URL: https://github.com/apache/camel-quarkus/pull/3370#issuecomment-1015526206 @zbendhiba I'll try to explain. From what I remember: 1. We want to add a test for derby against external db. 2. External db is started by the test via docker image. 3. To be able to execute stored procedure in the derby db, jar with the implementation of that procedure has to be uploaded into the db. ``` CA sqlj.install_jar('/PATH_TO_JAR/camel-quarkus-integration-test-sql-derby-stored-procedure-*.jar', 'AddNumsProcedure' , 0) CALL syscs_util.syscs_set_database_property('derby.database.classpath', 'APP.ADDNUMSPROCEDURE') ``` (In case of the dev service, derby runs with the same class loader and there is no need to upload this procedure. It is there because it is a dependecy of the module.) My answer is that we need this jar for both JVM and native and it is used by the test resource to initialize derby (started via docker) to contain our stored procedure. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-k] astefanutti opened a new issue #2886: Update readiness condition based on new Camel health check format
astefanutti opened a new issue #2886: URL: https://github.com/apache/camel-k/issues/2886 The parsing of the health check results from the integration Pod(s) readiness endpoint(s) should be adapted once apache/camel#6779 is pulled. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-kamelets] github-actions[bot] opened a new pull request #720: Generated sources regen
github-actions[bot] opened a new pull request #720: URL: https://github.com/apache/camel-kamelets/pull/720 Regen bot :robot: found some uncommited changes after running build on :camel: kamelets main. Please do not delete `regen_bot` branch after merge/rebase. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-kamelets] branch regen_bot updated (3bc7bb8 -> 8ea08cf)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch regen_bot in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git. from 3bc7bb8 Value to Key Action: Improve description a bit add 03a7ab2 Update Kamelets for release 0.7.0 add d5743eb [maven-release-plugin] prepare release v0.7.0 add a51c581 [maven-release-plugin] prepare for next development iteration add 8ea08cf Regen for commit a51c5815847c61cd628a0cf353be9aa5f0285fa2 No new revisions were added by this update. Summary of changes: pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
[camel-kamelets] 01/01: [maven-release-plugin] prepare for next development iteration
This is an automated email from the ASF dual-hosted git repository. nferraro pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git commit a51c5815847c61cd628a0cf353be9aa5f0285fa2 Author: nicolaferraro AuthorDate: Tue Jan 18 16:25:07 2022 +0100 [maven-release-plugin] prepare for next development iteration --- library/camel-kamelets-bom/pom.xml | 2 +- library/camel-kamelets-catalog/pom.xml | 2 +- library/camel-kamelets-utils/pom.xml | 2 +- library/camel-kamelets/pom.xml | 2 +- pom.xml| 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/library/camel-kamelets-bom/pom.xml b/library/camel-kamelets-bom/pom.xml index 611f4ed..145c376 100644 --- a/library/camel-kamelets-bom/pom.xml +++ b/library/camel-kamelets-bom/pom.xml @@ -23,7 +23,7 @@ org.apache.camel.kamelets camel-kamelets-parent -0.7.0 +main-SNAPSHOT ../../pom.xml diff --git a/library/camel-kamelets-catalog/pom.xml b/library/camel-kamelets-catalog/pom.xml index d83d19d..a0ed86c 100644 --- a/library/camel-kamelets-catalog/pom.xml +++ b/library/camel-kamelets-catalog/pom.xml @@ -23,7 +23,7 @@ org.apache.camel.kamelets camel-kamelets-parent -0.7.0 +main-SNAPSHOT ../../pom.xml diff --git a/library/camel-kamelets-utils/pom.xml b/library/camel-kamelets-utils/pom.xml index d52891f..cb71d07 100644 --- a/library/camel-kamelets-utils/pom.xml +++ b/library/camel-kamelets-utils/pom.xml @@ -23,7 +23,7 @@ org.apache.camel.kamelets camel-kamelets-parent -0.7.0 +main-SNAPSHOT ../../pom.xml diff --git a/library/camel-kamelets/pom.xml b/library/camel-kamelets/pom.xml index 0221c73..483fc53 100644 --- a/library/camel-kamelets/pom.xml +++ b/library/camel-kamelets/pom.xml @@ -23,7 +23,7 @@ org.apache.camel.kamelets camel-kamelets-parent -0.7.0 +main-SNAPSHOT ../../pom.xml diff --git a/pom.xml b/pom.xml index 86c2cc0..ed53de2 100644 --- a/pom.xml +++ b/pom.xml @@ -29,7 +29,7 @@ org.apache.camel.kamelets camel-kamelets-parent pom -0.7.0 +main-SNAPSHOT Camel Kamelets Parent Camel Kamelets Library Parent
[camel-kamelets] branch main updated (03a7ab2 -> a51c581)
This is an automated email from the ASF dual-hosted git repository. nferraro pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git. from 03a7ab2 Update Kamelets for release 0.7.0 add d5743eb [maven-release-plugin] prepare release v0.7.0 new a51c581 [maven-release-plugin] prepare for next development iteration 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: pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
[camel-kamelets] annotated tag v0.7.0 created (now a44aa5a)
This is an automated email from the ASF dual-hosted git repository. nferraro pushed a change to annotated tag v0.7.0 in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git. at a44aa5a (tag) tagging d5743eb112a621a1fc1db47785c70c886ba23aaa (commit) replaces v0.5.0 by nicolaferraro on Tue Jan 18 16:24:52 2022 +0100 - Log - [maven-release-plugin] copy for tag v0.7.0 --- This annotated tag includes the following new commits: new d5743eb [maven-release-plugin] prepare release v0.7.0 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-kamelets] 01/01: [maven-release-plugin] prepare release v0.7.0
This is an automated email from the ASF dual-hosted git repository. nferraro pushed a commit to annotated tag v0.7.0 in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git commit d5743eb112a621a1fc1db47785c70c886ba23aaa Author: nicolaferraro AuthorDate: Tue Jan 18 16:01:47 2022 +0100 [maven-release-plugin] prepare release v0.7.0 --- library/camel-kamelets-bom/pom.xml | 2 +- library/camel-kamelets-catalog/pom.xml | 2 +- library/camel-kamelets-utils/pom.xml | 2 +- library/camel-kamelets/pom.xml | 2 +- pom.xml| 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/library/camel-kamelets-bom/pom.xml b/library/camel-kamelets-bom/pom.xml index 145c376..611f4ed 100644 --- a/library/camel-kamelets-bom/pom.xml +++ b/library/camel-kamelets-bom/pom.xml @@ -23,7 +23,7 @@ org.apache.camel.kamelets camel-kamelets-parent -main-SNAPSHOT +0.7.0 ../../pom.xml diff --git a/library/camel-kamelets-catalog/pom.xml b/library/camel-kamelets-catalog/pom.xml index a0ed86c..d83d19d 100644 --- a/library/camel-kamelets-catalog/pom.xml +++ b/library/camel-kamelets-catalog/pom.xml @@ -23,7 +23,7 @@ org.apache.camel.kamelets camel-kamelets-parent -main-SNAPSHOT +0.7.0 ../../pom.xml diff --git a/library/camel-kamelets-utils/pom.xml b/library/camel-kamelets-utils/pom.xml index cb71d07..d52891f 100644 --- a/library/camel-kamelets-utils/pom.xml +++ b/library/camel-kamelets-utils/pom.xml @@ -23,7 +23,7 @@ org.apache.camel.kamelets camel-kamelets-parent -main-SNAPSHOT +0.7.0 ../../pom.xml diff --git a/library/camel-kamelets/pom.xml b/library/camel-kamelets/pom.xml index 483fc53..0221c73 100644 --- a/library/camel-kamelets/pom.xml +++ b/library/camel-kamelets/pom.xml @@ -23,7 +23,7 @@ org.apache.camel.kamelets camel-kamelets-parent -main-SNAPSHOT +0.7.0 ../../pom.xml diff --git a/pom.xml b/pom.xml index 18e3bdb..86c2cc0 100644 --- a/pom.xml +++ b/pom.xml @@ -29,7 +29,7 @@ org.apache.camel.kamelets camel-kamelets-parent pom -main-SNAPSHOT +0.7.0 Camel Kamelets Parent Camel Kamelets Library Parent @@ -113,7 +113,7 @@ scm:git:http://gitbox.apache.org/repos/asf/camel-kamelets.git scm:git:https://gitbox.apache.org/repos/asf/camel-kamelets.git https://gitbox.apache.org/repos/asf?p=camel-kamelets.git;a=summary -v0.6.0 +v0.7.0
[GitHub] [camel-k] astefanutti merged pull request #2881: fix: Install Kamelets as unstructured resources
astefanutti merged pull request #2881: URL: https://github.com/apache/camel-k/pull/2881 -- This is an automated message from the Apache Git Service. To respond to the message, please 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] 02/03: fix: Install Kamelets as unstructured resources
This is an automated email from the ASF dual-hosted git repository. astefanutti pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k.git commit 0e5c2ce0aec2d5198fb3d69e49fead8e25e5acce Author: Antonin Stefanutti AuthorDate: Mon Jan 17 19:12:14 2022 +0100 fix: Install Kamelets as unstructured resources --- pkg/install/kamelets.go | 14 +++--- pkg/util/kubernetes/loader.go | 15 +++ 2 files changed, 14 insertions(+), 15 deletions(-) diff --git a/pkg/install/kamelets.go b/pkg/install/kamelets.go index f910436..024341c 100644 --- a/pkg/install/kamelets.go +++ b/pkg/install/kamelets.go @@ -90,7 +90,7 @@ func KameletCatalog(ctx context.Context, c client.Client, namespace string) erro } // We may want to throttle the creation of Go routines if the number of bundled Kamelets increases. g.Go(func() error { - kamelet, err := loadKamelet(path.Join(kameletDir, f.Name()), namespace, c.GetScheme()) + kamelet, err := loadKamelet(path.Join(kameletDir, f.Name()), namespace) if err != nil { return err } @@ -177,22 +177,22 @@ func isIncompatibleServerError(err error) bool { return false } -func loadKamelet(path string, namespace string, scheme *runtime.Scheme) (*v1alpha1.Kamelet, error) { +func loadKamelet(path string, namespace string) (ctrl.Object, error) { content, err := util.ReadFile(path) if err != nil { return nil, err } - obj, err := kubernetes.LoadResourceFromYaml(scheme, string(content)) + kamelet, err := kubernetes.LoadUnstructuredFromYaml(string(content)) if err != nil { return nil, err } - kamelet, ok := obj.(*v1alpha1.Kamelet) - if !ok { - return nil, fmt.Errorf("cannot load Kamelet from file %q", path) + gvk := kamelet.GetObjectKind().GroupVersionKind() + if gvk.Group != v1alpha1.SchemeGroupVersion.Group || gvk.Kind != "Kamelet" { + return nil, fmt.Errorf("file %q does not define a Kamelet", path) } - kamelet.Namespace = namespace + kamelet.SetNamespace(namespace) if kamelet.GetAnnotations() == nil { kamelet.SetAnnotations(make(map[string]string)) diff --git a/pkg/util/kubernetes/loader.go b/pkg/util/kubernetes/loader.go index ad4217b..e076eab 100644 --- a/pkg/util/kubernetes/loader.go +++ b/pkg/util/kubernetes/loader.go @@ -29,7 +29,7 @@ import ( ctrl "sigs.k8s.io/controller-runtime/pkg/client" ) -// LoadResourceFromYaml loads a k8s resource from a yaml definition. +// LoadResourceFromYaml returns a Kubernetes resource from its serialized YAML definition. func LoadResourceFromYaml(scheme *runtime.Scheme, data string) (ctrl.Object, error) { source := []byte(data) jsonSource, err := yaml.ToJSON(source) @@ -53,19 +53,18 @@ func LoadResourceFromYaml(scheme *runtime.Scheme, data string) (ctrl.Object, err return o, nil } -// LoadRawResourceFromYaml loads a k8s resource from a yaml definition without making assumptions on the underlying type. -func LoadRawResourceFromYaml(data string) (runtime.Object, error) { - source := []byte(data) - jsonSource, err := yaml.ToJSON(source) +// LoadUnstructuredFromYaml returns an unstructured resource from its serialized YAML definition. +func LoadUnstructuredFromYaml(data string) (ctrl.Object, error) { + source, err := yaml.ToJSON([]byte(data)) if err != nil { return nil, err } - var objmap map[string]interface{} - if err = json.Unmarshal(jsonSource, ); err != nil { + var obj map[string]interface{} + if err = json.Unmarshal(source, ); err != nil { return nil, err } return { - Object: objmap, + Object: obj, }, nil }
[camel-k] branch main updated (7bbf80e8 -> 467a697)
This is an automated email from the ASF dual-hosted git repository. astefanutti pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel-k.git. from 7bbf80e8 doc: add more details about installation on IKS/ICR new 436a34f fix(patch): Do not compute positive patch for unstructured object new 0e5c2ce fix: Install Kamelets as unstructured resources new 467a697 fix: Use Kamelet serialized JSON as merge patch for client-side apply 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: e2e/support/test_support.go | 4 +- pkg/client/apply.go | 4 +- pkg/cmd/builder/builder.go | 2 +- pkg/cmd/install.go | 2 +- pkg/controller/build/monitor_routine.go | 2 +- pkg/controller/kameletbinding/initialize.go | 2 +- pkg/install/kamelets.go | 34 + pkg/install/operator.go | 2 +- pkg/trait/deployer.go | 6 +-- pkg/util/kubernetes/loader.go | 15 +++--- pkg/util/patch/patch.go | 75 +++-- 11 files changed, 70 insertions(+), 78 deletions(-)
[camel-k] 01/03: fix(patch): Do not compute positive patch for unstructured object
This is an automated email from the ASF dual-hosted git repository. astefanutti pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k.git commit 436a34ff835dcc8a1e31d116475f1ff7c0849f9f Author: Antonin Stefanutti AuthorDate: Mon Jan 17 19:10:26 2022 +0100 fix(patch): Do not compute positive patch for unstructured object --- e2e/support/test_support.go | 4 +- pkg/client/apply.go | 4 +- pkg/cmd/builder/builder.go | 2 +- pkg/cmd/install.go | 2 +- pkg/controller/build/monitor_routine.go | 2 +- pkg/controller/kameletbinding/initialize.go | 2 +- pkg/install/kamelets.go | 4 +- pkg/install/operator.go | 2 +- pkg/trait/deployer.go | 6 +-- pkg/util/patch/patch.go | 75 +++-- 10 files changed, 53 insertions(+), 50 deletions(-) diff --git a/e2e/support/test_support.go b/e2e/support/test_support.go index 319ab49..1a69db0 100644 --- a/e2e/support/test_support.go +++ b/e2e/support/test_support.go @@ -701,7 +701,7 @@ func PatchIntegration(ns string, name string, mutate func(it *v1.Integration)) e } target := it.DeepCopy() mutate(target) - p, err := patch.PositiveMergePatch(it, target) + p, err := patch.MergePatch(it, target) if err != nil { return err } else if len(p) == 0 { @@ -774,7 +774,7 @@ func UpdateKameletBinding(ns string, name string, upd func(it *v1alpha1.KameletB target := klb.DeepCopy() upd(target) // For some reasons, full patch fails on some clusters - p, err := patch.PositiveMergePatch(klb, target) + p, err := patch.MergePatch(klb, target) if err != nil { return err } else if len(p) == 0 { diff --git a/pkg/client/apply.go b/pkg/client/apply.go index cfcc2c6..2a63bc2 100644 --- a/pkg/client/apply.go +++ b/pkg/client/apply.go @@ -77,7 +77,7 @@ func (a *ServerOrClientSideApplier) Apply(ctx context.Context, object ctrl.Objec } func (a *ServerOrClientSideApplier) serverSideApply(ctx context.Context, resource runtime.Object) error { - target, err := patch.PositiveApplyPatch(resource) + target, err := patch.ApplyPatch(resource) if err != nil { return err } @@ -99,7 +99,7 @@ func (a *ServerOrClientSideApplier) clientSideApply(ctx context.Context, resourc if err != nil { return err } - p, err := patch.PositiveMergePatch(object, resource) + p, err := patch.MergePatch(object, resource) if err != nil { return err } else if len(p) == 0 { diff --git a/pkg/cmd/builder/builder.go b/pkg/cmd/builder/builder.go index bd22ddf..390a535 100644 --- a/pkg/cmd/builder/builder.go +++ b/pkg/cmd/builder/builder.go @@ -78,7 +78,7 @@ func Run(namespace string, buildName string, taskName string) { // is made on the build containers. target.Status.Phase = v1.BuildPhaseNone // Patch the build status with the result - p, err := patch.PositiveMergePatch(build, target) + p, err := patch.MergePatch(build, target) exitOnError(err, "cannot create merge patch") if len(p) > 0 { diff --git a/pkg/cmd/install.go b/pkg/cmd/install.go index f3869dd..878c15d 100644 --- a/pkg/cmd/install.go +++ b/pkg/cmd/install.go @@ -715,7 +715,7 @@ func createDefaultMavenSettingsConfigMap(ctx context.Context, client client.Clie return err } - p, err := patch.PositiveMergePatch(existing, cm) + p, err := patch.MergePatch(existing, cm) if err != nil { return err } else if len(p) != 0 { diff --git a/pkg/controller/build/monitor_routine.go b/pkg/controller/build/monitor_routine.go index f9d0083..92e55af 100644 --- a/pkg/controller/build/monitor_routine.go +++ b/pkg/controller/build/monitor_routine.go @@ -186,7 +186,7 @@ func (action *monitorRoutineAction) updateBuildStatus(ctx context.Context, build // Copy the failure field from the build to persist recovery state target.Status.Failure = build.Status.Failure // Patch the build status with the result - p, err := patch.PositiveMergePatch(build, target) + p, err := patch.MergePatch(build, target) if err != nil { action.L.Errorf(err, "Cannot patch build status: %s", build.Name) event.NotifyBuildError(ctx, action.client, action.recorder, build, target, err) diff --git a/pkg/controller/kameletbinding/initialize.go b/pkg/controller/kameletbinding/initialize.go index d65656a..3f85198 100644 --- a/pkg/controller/kameletbinding/initialize.go +++ b/pkg/controller/kameletbinding/initialize.go @@ -85,7 +85,7 @@ func (action *initializeAction) propagateIcon(ctx
[camel-k] 03/03: fix: Use Kamelet serialized JSON as merge patch for client-side apply
This is an automated email from the ASF dual-hosted git repository. astefanutti pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k.git commit 467a69774d0756d2b15c32244b1dc55c90926ab6 Author: Antonin Stefanutti AuthorDate: Tue Jan 18 11:46:58 2022 +0100 fix: Use Kamelet serialized JSON as merge patch for client-side apply --- pkg/install/kamelets.go | 18 -- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/pkg/install/kamelets.go b/pkg/install/kamelets.go index 024341c..6bd15f4 100644 --- a/pkg/install/kamelets.go +++ b/pkg/install/kamelets.go @@ -19,6 +19,7 @@ package install import ( "context" + "encoding/json" "errors" "fmt" "io/fs" @@ -33,7 +34,6 @@ import ( "golang.org/x/sync/errgroup" k8serrors "k8s.io/apimachinery/pkg/api/errors" - "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/types" @@ -139,26 +139,16 @@ func serverSideApply(ctx context.Context, c client.Client, resource runtime.Obje } func clientSideApply(ctx context.Context, c client.Client, resource ctrl.Object) error { - err := c.Create(ctx, resource) - if err == nil { + if err := c.Create(ctx, resource); err == nil { return nil } else if !k8serrors.IsAlreadyExists(err) { return fmt.Errorf("error during create resource: %s/%s: %w", resource.GetNamespace(), resource.GetName(), err) } - object := {} - object.SetNamespace(resource.GetNamespace()) - object.SetName(resource.GetName()) - object.SetGroupVersionKind(resource.GetObjectKind().GroupVersionKind()) - err = c.Get(ctx, ctrl.ObjectKeyFromObject(object), object) + // Directly use the serialized resource as JSON merge patch since it's prescriptive + p, err := json.Marshal(resource) if err != nil { return err } - p, err := patch.MergePatch(object, resource) - if err != nil { - return err - } else if len(p) == 0 { - return nil - } return c.Patch(ctx, resource, ctrl.RawPatch(types.MergePatchType, p)) }
[GitHub] [camel] astefanutti edited a comment on pull request #6779: CAMEL-17426: Prevent MicroProfile Health conflicting health data
astefanutti edited a comment on pull request #6779: URL: https://github.com/apache/camel/pull/6779#issuecomment-1015518666 Is it OK for users that only the first error gets reported? I could see the case where the user checks the error, fixes it, then expect her/his application to run, but realises another error gets reported? I realise that may not be trivial to report the list of errors, but that's not impossible :) -- This is an automated message from the Apache Git Service. To respond to the message, please 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] astefanutti commented on pull request #6779: CAMEL-17426: Prevent MicroProfile Health conflicting health data
astefanutti commented on pull request #6779: URL: https://github.com/apache/camel/pull/6779#issuecomment-1015518666 Is it OK for users that only the first error gets reported? I could see the case where the user checks the error, fixes it, then expect her/his application to run, but realise another error gets reported? I realise that may not be trivial to report the list of errors, but that's not impossible :) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-spring-boot] branch main updated: CAMEL-17499: Renaming inconsistent data format names in model
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git The following commit(s) were added to refs/heads/main by this push: new 3bfd2f2 CAMEL-17499: Renaming inconsistent data format names in model 3bfd2f2 is described below commit 3bfd2f2011dfe836744f800ed968860de2ac9a6b Author: Claus Ibsen AuthorDate: Tue Jan 18 16:22:16 2022 +0100 CAMEL-17499: Renaming inconsistent data format names in model --- .../org/apache/camel/springboot/catalog/dataformats.properties| 2 +- .../catalog/dataformats/{avro-jackson.json => avroJackson.json} | 2 +- .../camel-jackson-avro-starter/src/main/docs/jackson-avro.json| 2 +- .../jackson/avro/springboot/JacksonAvroDataFormatConfiguration.java | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats.properties b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats.properties index 083e7d3..5a3d8ed 100644 --- a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats.properties +++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats.properties @@ -1,7 +1,7 @@ any23 asn1 avro -avro-jackson +avroJackson barcode base64 beanio diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/avro-jackson.json b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/avroJackson.json similarity index 99% rename from catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/avro-jackson.json rename to catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/avroJackson.json index 9a1061e..a431d33 100644 --- a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/avro-jackson.json +++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/avroJackson.json @@ -1,7 +1,7 @@ { "dataformat": { "kind": "dataformat", -"name": "avro-jackson", +"name": "avroJackson", "title": "Avro Jackson", "description": "Marshal POJOs to Avro and back using Jackson.", "deprecated": false, diff --git a/components-starter/camel-jackson-avro-starter/src/main/docs/jackson-avro.json b/components-starter/camel-jackson-avro-starter/src/main/docs/jackson-avro.json index 6f7c18d..e16817e 100644 --- a/components-starter/camel-jackson-avro-starter/src/main/docs/jackson-avro.json +++ b/components-starter/camel-jackson-avro-starter/src/main/docs/jackson-avro.json @@ -74,7 +74,7 @@ { "name": "camel.dataformat.avro-jackson.enabled", "type": "java.lang.Boolean", - "description": "Whether to enable auto configuration of the avro-jackson data format. This is enabled by default.", + "description": "Whether to enable auto configuration of the avroJackson data format. This is enabled by default.", "sourceType": "org.apache.camel.component.jackson.avro.springboot.JacksonAvroDataFormatConfiguration" }, { diff --git a/components-starter/camel-jackson-avro-starter/src/main/java/org/apache/camel/component/jackson/avro/springboot/JacksonAvroDataFormatConfiguration.java b/components-starter/camel-jackson-avro-starter/src/main/java/org/apache/camel/component/jackson/avro/springboot/JacksonAvroDataFormatConfiguration.java index 99795be..dfad3c0 100644 --- a/components-starter/camel-jackson-avro-starter/src/main/java/org/apache/camel/component/jackson/avro/springboot/JacksonAvroDataFormatConfiguration.java +++ b/components-starter/camel-jackson-avro-starter/src/main/java/org/apache/camel/component/jackson/avro/springboot/JacksonAvroDataFormatConfiguration.java @@ -32,8 +32,8 @@ public class JacksonAvroDataFormatConfiguration DataFormatConfigurationPropertiesCommon { /** - * Whether to enable auto configuration of the avro-jackson data format. - * This is enabled by default. + * Whether to enable auto configuration of the avroJackson data format. This + * is enabled by default. */ private Boolean enabled; /**
[camel-karaf] branch main updated: CAMEL-17499: Renaming inconsistent data format names in model
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-karaf.git The following commit(s) were added to refs/heads/main by this push: new 7e435a7 CAMEL-17499: Renaming inconsistent data format names in model 7e435a7 is described below commit 7e435a7a5656ee47d614582ae82804d665727ae0 Author: Claus Ibsen AuthorDate: Tue Jan 18 16:21:47 2022 +0100 CAMEL-17499: Renaming inconsistent data format names in model --- .../resources/org/apache/camel/catalog/karaf/dataformats.properties | 1 + .../catalog/karaf/dataformats/{avro-jackson.json => avroJackson.json} | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/dataformats.properties b/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/dataformats.properties index 1945cd1..826b6b5 100644 --- a/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/dataformats.properties +++ b/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/dataformats.properties @@ -2,6 +2,7 @@ any23 asn1 avro avro-jackson +avroJackson barcode base64 beanio diff --git a/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/dataformats/avro-jackson.json b/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/dataformats/avroJackson.json similarity index 99% rename from catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/dataformats/avro-jackson.json rename to catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/dataformats/avroJackson.json index 6feacf5..9811918 100644 --- a/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/dataformats/avro-jackson.json +++ b/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/dataformats/avroJackson.json @@ -1,7 +1,7 @@ { "dataformat": { "kind": "dataformat", -"name": "avro-jackson", +"name": "avroJackson", "title": "Avro Jackson", "description": "Marshal POJOs to Avro and back using Jackson.", "deprecated": false,
[GitHub] [camel-quarkus] zbendhiba commented on pull request #3370: Sql test using derby doesn't start dev service and shows class loadin…
zbendhiba commented on pull request #3370: URL: https://github.com/apache/camel-quarkus/pull/3370#issuecomment-1015517100 @JiriOndrusek I'm not sure if I understand this PR correctly. Why do we need this external jar for native mode ? Is it for a Test Resource needs, or is it required for the code of the 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
[camel] branch main updated: CAMEL-17499: Renaming inconsistent data format names in model
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 4baa202 CAMEL-17499: Renaming inconsistent data format names in model 4baa202 is described below commit 4baa2028ecb8f6c69bc27c0ba399785ada8e365f Author: Claus Ibsen AuthorDate: Tue Jan 18 16:02:25 2022 +0100 CAMEL-17499: Renaming inconsistent data format names in model --- .../ROOT/pages/camel-3x-upgrade-guide-3_15.adoc| 24 ++ 1 file changed, 24 insertions(+) diff --git a/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_15.adoc b/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_15.adoc index 7e967e7..a282000 100644 --- a/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_15.adoc +++ b/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide-3_15.adoc @@ -62,6 +62,30 @@ The data formats naming has been made consistent to use Camel Case: | zipfile | zipFile | +The Spring Boot auto-configuration names has also been renamed +(uses dash case as this is Spring Boot naming style): + +[width="100%",cols="1m,1m",options="header"] +| +| Old Name | New Name +| camel.dataformat.fhirjson | camel.dataformat.fhir-json +| camel.dataformat.fhirxml | camel.dataformat.fhir-xml +| camel.dataformat.gzipdeflater | camel.dataformat.gzip-deflater +| camel.dataformat.jacksonxml | camel.dataformat.jackson-xml +| camel.dataformat.jsonapi | camel.dataformat.json-api +| camel.dataformat.mimemultipart | camel.dataformat.mime-multipart +| camel.dataformat.securexml | camel.dataformat.xml-security +| camel.dataformat.tarfile | camel.dataformat.tar-file +| camel.dataformat.tidymarkup | camel.dataformat.tidy-markup +| camel.dataformat.univocitycsv | camel.dataformat.univocity-csv +| camel.dataformat.univocityfixed | camel.dataformat.univocity-fixed +| camel.dataformat.univocitytsv | camel.dataformat.univocity-tsv +| camel.dataformat.zipdeflater | camel.dataformat.zip-deflater +| camel.dataformat.zipfile | camel.dataformat.zip-file +| + + + Message History The message history output has changed to include source column, which refers to the Java class/XML file
[camel-spring-boot] branch main updated: CAMEL-17499: Renaming inconsistent data format names in model
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git The following commit(s) were added to refs/heads/main by this push: new e2e94d0 CAMEL-17499: Renaming inconsistent data format names in model e2e94d0 is described below commit e2e94d04f86d6ff5badec8a53660c12a0b9f1cc4 Author: Claus Ibsen AuthorDate: Tue Jan 18 16:02:11 2022 +0100 CAMEL-17499: Renaming inconsistent data format names in model --- .../camel-fhir-starter/src/main/docs/fhir.json | 68 ++-- .../FhirJsonDataFormatAutoConfiguration.java | 4 +- .../FhirJsonDataFormatConfiguration.java | 2 +- .../FhirXmlDataFormatAutoConfiguration.java| 4 +- .../springboot/FhirXmlDataFormatConfiguration.java | 2 +- .../src/main/docs/jacksonxml.json | 38 +++ .../JacksonXMLDataFormatAutoConfiguration.java | 4 +- .../JacksonXMLDataFormatConfiguration.java | 2 +- .../src/main/docs/jsonapi.json | 12 +-- .../JsonApiDataFormatAutoConfiguration.java| 4 +- .../springboot/JsonApiDataFormatConfiguration.java | 2 +- .../camel-mail-starter/src/main/docs/mail.json | 18 ++-- .../MimeMultipartDataFormatAutoConfiguration.java | 4 +- .../MimeMultipartDataFormatConfiguration.java | 2 +- .../src/main/docs/tagsoup.json | 12 +-- .../TidyMarkupDataFormatAutoConfiguration.java | 4 +- .../TidyMarkupDataFormatConfiguration.java | 2 +- .../src/main/docs/tarfile.json | 16 +-- .../TarFileDataFormatAutoConfiguration.java| 4 +- .../springboot/TarFileDataFormatConfiguration.java | 2 +- .../src/main/docs/univocity-parsers.json | 118 ++--- .../UniVocityCsvDataFormatAutoConfiguration.java | 4 +- .../UniVocityCsvDataFormatConfiguration.java | 2 +- .../UniVocityFixedDataFormatAutoConfiguration.java | 4 +- .../UniVocityFixedDataFormatConfiguration.java | 2 +- .../UniVocityTsvDataFormatAutoConfiguration.java | 4 +- .../UniVocityTsvDataFormatConfiguration.java | 2 +- .../src/main/docs/xmlsecurity.json | 32 +++--- .../XMLSecurityDataFormatAutoConfiguration.java| 4 +- .../XMLSecurityDataFormatConfiguration.java| 2 +- .../src/main/docs/zip-deflater.json| 18 ++-- .../GzipDeflaterDataFormatAutoConfiguration.java | 4 +- .../GzipDeflaterDataFormatConfiguration.java | 2 +- .../ZipDeflaterDataFormatAutoConfiguration.java| 4 +- .../ZipDeflaterDataFormatConfiguration.java| 2 +- .../src/main/docs/zipfile.json | 16 +-- .../ZipFileDataFormatAutoConfiguration.java| 4 +- .../springboot/ZipFileDataFormatConfiguration.java | 2 +- 38 files changed, 216 insertions(+), 216 deletions(-) diff --git a/components-starter/camel-fhir-starter/src/main/docs/fhir.json b/components-starter/camel-fhir-starter/src/main/docs/fhir.json index 6572aff..958e70d 100644 --- a/components-starter/camel-fhir-starter/src/main/docs/fhir.json +++ b/components-starter/camel-fhir-starter/src/main/docs/fhir.json @@ -12,23 +12,23 @@ "sourceMethod": "getCustomizer()" }, { - "name": "camel.dataformat.fhirjson", + "name": "camel.dataformat.fhir-json", "type": "org.apache.camel.component.fhir.springboot.FhirJsonDataFormatConfiguration", "sourceType": "org.apache.camel.component.fhir.springboot.FhirJsonDataFormatConfiguration" }, { - "name": "camel.dataformat.fhirjson.customizer", + "name": "camel.dataformat.fhir-json.customizer", "type": "org.apache.camel.spring.boot.DataFormatConfigurationPropertiesCommon$CustomizerProperties", "sourceType": "org.apache.camel.component.fhir.springboot.FhirJsonDataFormatConfiguration", "sourceMethod": "getCustomizer()" }, { - "name": "camel.dataformat.fhirxml", + "name": "camel.dataformat.fhir-xml", "type": "org.apache.camel.component.fhir.springboot.FhirXmlDataFormatConfiguration", "sourceType": "org.apache.camel.component.fhir.springboot.FhirXmlDataFormatConfiguration" }, { - "name": "camel.dataformat.fhirxml.customizer", + "name": "camel.dataformat.fhir-xml.customizer", "type": "org.apache.camel.spring.boot.DataFormatConfigurationPropertiesCommon$CustomizerProperties", "sourceType": "org.apache.camel.component.fhir.springboot.FhirXmlDataFormatConfiguration", "sourceMethod": "getCustomizer()" @@ -221,196 +221,196 @@ "defaultValue": "ONCE" }, { - "name": "camel.dataformat.fhirjson.content-type-header", + "name": "camel.dataformat.fhir-json.content-type-header", "type": "java.lang.Boolean", "description": "Whether the data format should set the Content-Type header with the
[GitHub] [camel-quarkus] zbendhiba commented on pull request #3469: Improve documentation on setting up the Salesforce developer account
zbendhiba commented on pull request #3469: URL: https://github.com/apache/camel-quarkus/pull/3469#issuecomment-1015496203 Last push was about adding Platform events in the list of tests disabled while using Wiremock -- This is an automated message from the Apache Git Service. To respond to the message, please 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 #3470: Health check `CamelBeanBuildItem` should use the check id as the name
jamesnetherton opened a new issue #3470: URL: https://github.com/apache/camel-quarkus/issues/3470 There's a `BuildStep` in the `microprofile-health` extension which discovers health checks and creates a `CamelBeanBuildItem` for each of them. At present the simple name of the health check class is used as the bean name. We should use the id assigned to the check since there are some places where this is referenced in Camel. E.g `camel.health.contextEnabled=false` does not work because the `ContextHealthCheck` cannot be found by the expected registry lookup key. -- This is an automated message from the Apache Git Service. To respond to the message, please 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] jamesnetherton opened a new pull request #6779: CAMEL-17426: Prevent MicroProfile Health conflicting health data
jamesnetherton opened a new pull request #6779: URL: https://github.com/apache/camel/pull/6779 I reworked MP health so that it now depends on SmallRye Health & registers camel checks with the relevant liveness or readiness registry. That way each check can write its own details content and not have the chance to overwrite detail coming from other checks. To avoid generating a very verbose health output (E.g if there many routes configured), I made the results of the routes and consumers checks to be an aggregated one. And only report the first failure encountered on the occurrence of errors. E.g: ```json { "status": "DOWN", "checks": [ { "name": "camel-routes", "status": "UP" }, { "name": "context", "status": "UP", "data": { "context.name": "camel-example", "context.version": "3.15.0-SNAPSHOT", "context.status": "Started" } }, { "name": "camel-consumers", "status": "DOWN" "data": { "failure.endpoint.uri": "foo:bar?option=value", "failure.error.count": "1", "error.message": "the error message", "error.stacktrace": "the stack trace" } }, ] } ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[camel-spring-boot] branch main updated: CAMEL-17499: Renaming inconsistent data format names in model
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git The following commit(s) were added to refs/heads/main by this push: new a3ffe96 CAMEL-17499: Renaming inconsistent data format names in model a3ffe96 is described below commit a3ffe96d4a053379b92e693ab68068bb0b9fc779 Author: Claus Ibsen AuthorDate: Tue Jan 18 15:53:50 2022 +0100 CAMEL-17499: Renaming inconsistent data format names in model --- .../apache/camel/springboot/catalog/dataformats.properties | 6 +++--- .../catalog/dataformats/{bindy-csv.json => bindyCsv.json} | 2 +- .../dataformats/{bindy-fixed.json => bindyFixed.json} | 2 +- .../catalog/dataformats/{bindy-kvp.json => bindyKvp.json} | 2 +- .../springboot/catalog/SpringBootRuntimeProviderTest.java | 4 ++-- .../camel-bindy-starter/src/main/docs/bindy.json | 6 +++--- .../csv/springboot/BindyCsvDataFormatConfiguration.java| 4 ++-- .../BindyFixedLengthDataFormatConfiguration.java | 2 +- .../BindyKeyValuePairDataFormatConfiguration.java | 4 ++-- .../org/apache/camel/itest/springboot/CamelBindyTest.java | 6 +++--- .../springboot/maven/SpringBootAutoConfigurationMojo.java | 14 -- 11 files changed, 27 insertions(+), 25 deletions(-) diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats.properties b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats.properties index 27a5e6c..083e7d3 100644 --- a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats.properties +++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats.properties @@ -5,9 +5,9 @@ avro-jackson barcode base64 beanio -bindy-csv -bindy-fixed -bindy-kvp +bindyCsv +bindyFixed +bindyKvp cbor crypto csv diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/bindy-csv.json b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/bindyCsv.json similarity index 99% rename from catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/bindy-csv.json rename to catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/bindyCsv.json index 9525f02..f76cbc5 100644 --- a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/bindy-csv.json +++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/bindyCsv.json @@ -1,7 +1,7 @@ { "dataformat": { "kind": "dataformat", -"name": "bindy-csv", +"name": "bindyCsv", "title": "Bindy CSV", "description": "Marshal and unmarshal between POJOs and Comma separated values (CSV) format using Camel Bindy", "deprecated": false, diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/bindy-fixed.json b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/bindyFixed.json similarity index 98% rename from catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/bindy-fixed.json rename to catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/bindyFixed.json index 97d2882..1630de8 100644 --- a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/bindy-fixed.json +++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/bindyFixed.json @@ -1,7 +1,7 @@ { "dataformat": { "kind": "dataformat", -"name": "bindy-fixed", +"name": "bindyFixed", "title": "Bindy Fixed Length", "description": "Marshal and unmarshal between POJOs and fixed field length format using Camel Bindy", "deprecated": false, diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/bindy-kvp.json b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/bindyKvp.json similarity index 99% rename from catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/bindy-kvp.json rename to catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/dataformats/bindyKvp.json index 4a4aaed..990f91f 100644 ---
[camel] branch main updated: CAMEL-17499: Renaming inconsistent data format names in model
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 ecf0862 CAMEL-17499: Renaming inconsistent data format names in model ecf0862 is described below commit ecf0862c5a7aa2c2d3970d4afc73477ec3a1a94d Author: Claus Ibsen AuthorDate: Tue Jan 18 15:47:59 2022 +0100 CAMEL-17499: Renaming inconsistent data format names in model --- .../org/apache/camel/tooling/util/Strings.java | 44 ++ 1 file changed, 44 insertions(+) diff --git a/tooling/camel-tooling-util/src/main/java/org/apache/camel/tooling/util/Strings.java b/tooling/camel-tooling-util/src/main/java/org/apache/camel/tooling/util/Strings.java index d853a2b..8bec20b 100644 --- a/tooling/camel-tooling-util/src/main/java/org/apache/camel/tooling/util/Strings.java +++ b/tooling/camel-tooling-util/src/main/java/org/apache/camel/tooling/util/Strings.java @@ -17,6 +17,7 @@ package org.apache.camel.tooling.util; import java.util.Collection; +import java.util.Locale; /** * Some String helper methods @@ -190,4 +191,47 @@ public final class Strings { return sb.toString(); } +/** + * Converts the string from camel case into dash format (helloGreatWorld -> hello-great-world) + * + * @param text the string + * @return the string camel cased + */ +public static String camelCaseToDash(String text) { +if (text == null || text.isEmpty()) { +return text; +} +StringBuilder answer = new StringBuilder(); + +Character prev = null; +Character next = null; +char[] arr = text.toCharArray(); +for (int i = 0; i < arr.length; i++) { +char ch = arr[i]; +if (i < arr.length - 1) { +next = arr[i + 1]; +} else { +next = null; +} +if (ch == '-' || ch == '_') { +answer.append("-"); +} else if (Character.isUpperCase(ch) && prev != null && !Character.isUpperCase(prev)) { +if (prev != '-' && prev != '_') { +answer.append("-"); +} +answer.append(ch); +} else if (Character.isUpperCase(ch) && prev != null && next != null && Character.isLowerCase(next)) { +if (prev != '-' && prev != '_') { +answer.append("-"); +} +answer.append(ch); +} else { +answer.append(ch); +} +prev = ch; +} + +return answer.toString().toLowerCase(Locale.ENGLISH); +} + }
[GitHub] [camel-quarkus] zbendhiba opened a new pull request #3469: Improve documentation on setting up the Salesforce developer account
zbendhiba opened a new pull request #3469: URL: https://github.com/apache/camel-quarkus/pull/3469 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-k] astefanutti opened a new pull request #2885: feat: Global HTTP proxy support (1.6.x backport)
astefanutti opened a new pull request #2885: URL: https://github.com/apache/camel-k/pull/2885 Backport #2858 to 1.6.x **Release Note** ```release-note feat: Global HTTP proxy support ``` -- This is an automated message from the Apache Git Service. To respond to the message, please 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-karaf] branch main updated: CAMEL-17499: Renaming inconsistent data format names in model
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-karaf.git The following commit(s) were added to refs/heads/main by this push: new 92323bb CAMEL-17499: Renaming inconsistent data format names in model 92323bb is described below commit 92323bb2f891baea07d0083b19d6af102dc82687 Author: Claus Ibsen AuthorDate: Tue Jan 18 15:30:15 2022 +0100 CAMEL-17499: Renaming inconsistent data format names in model --- .../resources/org/apache/camel/catalog/karaf/dataformats.properties | 6 +++--- .../catalog/karaf/dataformats/{bindy-csv.json => bindyCsv.json} | 2 +- .../catalog/karaf/dataformats/{bindy-fixed.json => bindyFixed.json} | 2 +- .../catalog/karaf/dataformats/{bindy-kvp.json => bindyKvp.json} | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/dataformats.properties b/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/dataformats.properties index 7ba32b4..1945cd1 100644 --- a/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/dataformats.properties +++ b/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/dataformats.properties @@ -5,9 +5,9 @@ avro-jackson barcode base64 beanio -bindy-csv -bindy-fixed -bindy-kvp +bindyCsv +bindyFixed +bindyKvp cbor crypto csv diff --git a/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/dataformats/bindy-csv.json b/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/dataformats/bindyCsv.json similarity index 99% rename from catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/dataformats/bindy-csv.json rename to catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/dataformats/bindyCsv.json index 5563c4f..4ec72c3 100644 --- a/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/dataformats/bindy-csv.json +++ b/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/dataformats/bindyCsv.json @@ -1,7 +1,7 @@ { "dataformat": { "kind": "dataformat", -"name": "bindy-csv", +"name": "bindyCsv", "title": "Bindy CSV", "description": "Marshal and unmarshal between POJOs and Comma separated values (CSV) format using Camel Bindy", "deprecated": false, diff --git a/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/dataformats/bindy-fixed.json b/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/dataformats/bindyFixed.json similarity index 98% rename from catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/dataformats/bindy-fixed.json rename to catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/dataformats/bindyFixed.json index f46b44f..1f9113d 100644 --- a/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/dataformats/bindy-fixed.json +++ b/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/dataformats/bindyFixed.json @@ -1,7 +1,7 @@ { "dataformat": { "kind": "dataformat", -"name": "bindy-fixed", +"name": "bindyFixed", "title": "Bindy Fixed Length", "description": "Marshal and unmarshal between POJOs and fixed field length format using Camel Bindy", "deprecated": false, diff --git a/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/dataformats/bindy-kvp.json b/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/dataformats/bindyKvp.json similarity index 99% rename from catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/dataformats/bindy-kvp.json rename to catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/dataformats/bindyKvp.json index 02db066..a1033ad 100644 --- a/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/dataformats/bindy-kvp.json +++ b/catalog/camel-catalog-provider-karaf/src/main/resources/org/apache/camel/catalog/karaf/dataformats/bindyKvp.json @@ -1,7 +1,7 @@ { "dataformat": { "kind": "dataformat", -"name": "bindy-kvp", +"name": "bindyKvp", "title": "Bindy Key Value Pair", "description": "Marshal and unmarshal between POJOs and key-value pair (KVP) format using Camel Bindy", "deprecated": false,
[camel] branch main updated: CAMEL-17499: Renaming inconsistent data format names in model
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 3b7fc55 CAMEL-17499: Renaming inconsistent data format names in model 3b7fc55 is described below commit 3b7fc55a6aca40694705e1502d9a05109c15d801 Author: Claus Ibsen AuthorDate: Tue Jan 18 15:26:39 2022 +0100 CAMEL-17499: Renaming inconsistent data format names in model --- .../org/apache/camel/catalog/dataformats.properties | 6 +++--- .../apache/camel/catalog/dataformats/bindyCsv.json | 2 +- .../{bindy-fixed.json => bindyFixed.json}| 2 +- .../apache/camel/catalog/dataformats/bindyKvp.json | 2 +- .../org/apache/camel/catalog/CamelCatalogTest.java | 20 ++-- .../{bindy-csv-dataformat => bindyCsv-dataformat}| 0 ...{bindy-fixed-dataformat => bindyFixed-dataformat} | 0 .../{bindy-kvp-dataformat => bindyKvp-dataformat}| 0 .../services/org/apache/camel/dataformat.properties | 2 +- .../apache/camel/dataformat/{bindy-csv => bindyCsv} | 0 .../camel/dataformat/{bindy-fixed => bindyFixed} | 0 .../apache/camel/dataformat/{bindy-kvp => bindyKvp} | 0 .../apache/camel/dataformat/bindy/csv/bindyCsv.json | 2 +- .../fixed/{bindy-fixed.json => bindyFixed.json} | 2 +- .../apache/camel/dataformat/bindy/kvp/bindyKvp.json | 2 +- .../camel-bindy/src/main/docs/bindy-dataformat.adoc | 2 +- .../dataformat/bindy/csv/BindyCsvDataFormat.java | 4 ++-- .../bindy/fixed/BindyFixedLengthDataFormat.java | 4 ++-- .../bindy/kvp/BindyKeyValuePairDataFormat.java | 4 ++-- .../camel/model/dataformat/BindyDataFormat.java | 6 +++--- .../org/apache/camel/main/dataformats.properties | 6 +++--- .../modules/dataformats/examples/json/bindy-csv.json | 1 - .../dataformats/examples/json/bindy-fixed.json | 1 - .../modules/dataformats/examples/json/bindy-kvp.json | 1 - .../modules/dataformats/examples/json/bindyCsv.json | 1 + .../dataformats/examples/json/bindyFixed.json| 1 + .../modules/dataformats/examples/json/bindyKvp.json | 1 + .../ROOT/pages/camel-3x-upgrade-guide-3_15.adoc | 7 +-- .../camel/maven/packaging/PackageDataFormatMojo.java | 14 +++--- 29 files changed, 48 insertions(+), 45 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats.properties b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats.properties index 7ba32b4..1945cd1 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats.properties +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats.properties @@ -5,9 +5,9 @@ avro-jackson barcode base64 beanio -bindy-csv -bindy-fixed -bindy-kvp +bindyCsv +bindyFixed +bindyKvp cbor crypto csv diff --git a/components/camel-bindy/src/generated/resources/org/apache/camel/dataformat/bindy/csv/bindy-csv.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/bindyCsv.json similarity index 99% rename from components/camel-bindy/src/generated/resources/org/apache/camel/dataformat/bindy/csv/bindy-csv.json rename to catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/bindyCsv.json index 5563c4f..4ec72c3 100644 --- a/components/camel-bindy/src/generated/resources/org/apache/camel/dataformat/bindy/csv/bindy-csv.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/bindyCsv.json @@ -1,7 +1,7 @@ { "dataformat": { "kind": "dataformat", -"name": "bindy-csv", +"name": "bindyCsv", "title": "Bindy CSV", "description": "Marshal and unmarshal between POJOs and Comma separated values (CSV) format using Camel Bindy", "deprecated": false, diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/bindy-fixed.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/bindyFixed.json similarity index 98% rename from catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/bindy-fixed.json rename to catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/bindyFixed.json index f46b44f..1f9113d 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/bindy-fixed.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/dataformats/bindyFixed.json @@ -1,7 +1,7 @@ { "dataformat": { "kind": "dataformat", -"name": "bindy-fixed", +"name": "bindyFixed", "title": "Bindy Fixed Length", "description": "Marshal and unmarshal between POJOs and fixed field length format using Camel Bindy", "deprecated": false, diff --git
[GitHub] [camel-kafka-connector] oscerd commented on issue #1319: Pubsub kafka connector error: java.net.UnknownHostException: pubsub.googleapis.com: Name or service not known
oscerd commented on issue #1319: URL: https://github.com/apache/camel-kafka-connector/issues/1319#issuecomment-1015454228 Are you behind a proxy? It's really weird. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[GitHub] [camel-quarkus] zbendhiba merged pull request #3467: Update Salesforce Integration tests to Salesforce API upgrade
zbendhiba merged pull request #3467: URL: https://github.com/apache/camel-quarkus/pull/3467 -- This is an automated message from the Apache Git Service. To respond to the message, please 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: Update Salesforce Integration tests to Salesforce API upgrade
This is an automated email from the ASF dual-hosted git repository. zbendhiba 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 3f0f0c7 Update Salesforce Integration tests to Salesforce API upgrade 3f0f0c7 is described below commit 3f0f0c7d1ece58e46c50a8e36f8728e98c6fba13 Author: Zineb Bendhiba AuthorDate: Tue Jan 18 12:46:30 2022 +0100 Update Salesforce Integration tests to Salesforce API upgrade --- integration-tests/salesforce/README.adoc | 2 +- .../camel/quarkus/component/salesforce/SalesforceIntegrationTest.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/integration-tests/salesforce/README.adoc b/integration-tests/salesforce/README.adoc index 2e96395..703636c 100644 --- a/integration-tests/salesforce/README.adoc +++ b/integration-tests/salesforce/README.adoc @@ -11,7 +11,7 @@ Next create a new 'Connected App' from the app manager page. You may need to adj Next create a document named 'test'. -Next create a new Platform Event named `TestEvent`. Set Publish Behavior to `Publish Immediately`. Save and make sure the API name is `TestEvent__e`. Update the Platform Event, add a new Custom Field of type `Text`, named `Test_Field`. Set its length to 30. Save and make sure the API name of the field is `Test_Field__c`. +Next create a new Platform Event named `TestEvent` by visiting the Integrations -> Platform Events. Set Publish Behavior to `Publish Immediately`. Update the Platform Event, add a new Custom Field of type `Text`, named `Test_Field`. Set its length to 30. You can find the app OAuth settings by choosing the 'view' option from the app manager page. Then set the following environment variables. diff --git a/integration-tests/salesforce/src/test/java/org/apache/camel/quarkus/component/salesforce/SalesforceIntegrationTest.java b/integration-tests/salesforce/src/test/java/org/apache/camel/quarkus/component/salesforce/SalesforceIntegrationTest.java index 1e8f3d2..e1ee1fc 100644 --- a/integration-tests/salesforce/src/test/java/org/apache/camel/quarkus/component/salesforce/SalesforceIntegrationTest.java +++ b/integration-tests/salesforce/src/test/java/org/apache/camel/quarkus/component/salesforce/SalesforceIntegrationTest.java @@ -123,8 +123,8 @@ public class SalesforceIntegrationTest { .contentType(ContentType.JSON) .get("/salesforce/platform/event") .asString(); -assertTrue(event.contains("channel=/event/TestEvent__e")); -assertTrue(event.contains("Test_Field__c=data")); +assertTrue(event.contains("/event/TestEvent__e")); +assertTrue(event.contains("Test_Field__c")); } }
[GitHub] [camel-kafka-connector] nsgeorgi opened a new issue #1319: Pubsub kafka connector error: java.net.UnknownHostException: pubsub.googleapis.com: Name or service not known
nsgeorgi opened a new issue #1319: URL: https://github.com/apache/camel-kafka-connector/issues/1319 Hi guys, Im getting the below error when running pubsub kafka connector 0.11.0. Any ideas? Thanks **WARNING: [Channel<2>: (pubsub.googleapis.com:443)] Failed to resolve name. status=Status{code=UNAVAILABLE, description=Unable to resolve host pubsub.googleapis.com, cause=java.lang.RuntimeException: java.net.UnknownHostException: pubsub.googleapis.com: Name or service not known at io.grpc.internal.DnsNameResolver.resolveAddresses(DnsNameResolver.java:223) at io.grpc.internal.DnsNameResolver.doResolve(DnsNameResolver.java:282) at io.grpc.grpclb.GrpclbNameResolver.doResolve(GrpclbNameResolver.java:63) at io.grpc.internal.DnsNameResolver$Resolve.run(DnsNameResolver.java:318) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: java.net.UnknownHostException: pubsub.googleapis.com: Name or service not known at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method) at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:929) at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1324) at java.net.InetAddress.getAllByName0(InetAddress.java:1277)** -- This is an automated message from the Apache Git Service. To respond to the message, please 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