(camel-quarkus) 28/33: Partial fix of compilation issue caused by CAMEL-20548
This is an automated email from the ASF dual-hosted git repository. jiriondrusek pushed a commit to branch camel-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git commit 0a5baf524e8bbe7aa6938faf2defb195c2fbde25 Author: JiriOndrusek AuthorDate: Tue Mar 19 09:35:08 2024 +0100 Partial fix of compilation issue caused by CAMEL-20548 --- .../camel/quarkus/maven/CamelQuarkusExtension.java | 2 +- .../org/apache/camel/quarkus/maven/CqCatalog.java | 32 +++--- .../org/apache/camel/quarkus/maven/CqUtils.java| 4 +-- .../quarkus/maven/PrepareCatalogQuarkusMojo.java | 2 +- .../quarkus/maven/UpdateExtensionDocPageMojo.java | 6 ++-- 5 files changed, 35 insertions(+), 11 deletions(-) diff --git a/tooling/maven-plugin/src/main/java/org/apache/camel/quarkus/maven/CamelQuarkusExtension.java b/tooling/maven-plugin/src/main/java/org/apache/camel/quarkus/maven/CamelQuarkusExtension.java index 785c301677..923d3f8d6f 100644 --- a/tooling/maven-plugin/src/main/java/org/apache/camel/quarkus/maven/CamelQuarkusExtension.java +++ b/tooling/maven-plugin/src/main/java/org/apache/camel/quarkus/maven/CamelQuarkusExtension.java @@ -26,7 +26,7 @@ import java.util.List; import java.util.Optional; import java.util.Properties; -import org.apache.camel.catalog.Kind; +import org.apache.camel.tooling.model.Kind; import org.apache.maven.model.Dependency; import org.apache.maven.model.Model; import org.apache.maven.model.io.xpp3.MavenXpp3Reader; diff --git a/tooling/maven-plugin/src/main/java/org/apache/camel/quarkus/maven/CqCatalog.java b/tooling/maven-plugin/src/main/java/org/apache/camel/quarkus/maven/CqCatalog.java index 906a2c11ba..2d7d7beafc 100644 --- a/tooling/maven-plugin/src/main/java/org/apache/camel/quarkus/maven/CqCatalog.java +++ b/tooling/maven-plugin/src/main/java/org/apache/camel/quarkus/maven/CqCatalog.java @@ -25,6 +25,9 @@ import java.nio.file.Files; import java.nio.file.Path; import java.util.ArrayList; import java.util.List; +import java.util.Map; +import java.util.Properties; +import java.util.TreeMap; import java.util.function.Function; import java.util.function.Predicate; import java.util.stream.Collectors; @@ -34,7 +37,6 @@ import org.apache.camel.catalog.CamelCatalog; import org.apache.camel.catalog.DefaultCamelCatalog; import org.apache.camel.catalog.DefaultRuntimeProvider; import org.apache.camel.catalog.DefaultVersionManager; -import org.apache.camel.catalog.Kind; import org.apache.camel.catalog.RuntimeProvider; import org.apache.camel.catalog.impl.CatalogHelper; import org.apache.camel.tooling.model.ArtifactModel; @@ -42,6 +44,7 @@ import org.apache.camel.tooling.model.ComponentModel; import org.apache.camel.tooling.model.DataFormatModel; import org.apache.camel.tooling.model.DevConsoleModel; import org.apache.camel.tooling.model.JsonMapper; +import org.apache.camel.tooling.model.Kind; import org.apache.camel.tooling.model.LanguageModel; import org.apache.camel.tooling.model.OtherModel; import org.apache.camel.tooling.model.TransformerModel; @@ -168,7 +171,7 @@ public class CqCatalog { return kinds().flatMap(this::models); } -public Stream> models(org.apache.camel.catalog.Kind kind) { +public Stream> models(Kind kind) { return catalog.findNames(kind).stream().map(name -> (ArtifactModel) catalog.model(kind, name)); } @@ -189,7 +192,7 @@ public class CqCatalog { throw new RuntimeException("Could not create " + out.getParent(), e); } String rawJson; -switch (Kind.valueOf(model.getKind())) { +switch (model.getKind()) { case component: rawJson = JsonMapper.createParameterJsonSchema((ComponentModel) model); break; @@ -221,7 +224,7 @@ public class CqCatalog { public static Stream kinds() { return Stream.of(Kind.values()) -.filter(kind -> kind != org.apache.camel.catalog.Kind.eip); +.filter(kind -> kind != Kind.eip); } public static boolean isFirstScheme(ArtifactModel model) { @@ -337,6 +340,7 @@ public class CqCatalog { private static final String LANGUAGE_CATALOG = CQ_CATALOG_DIR + "/languages.properties"; private static final String TRANSFORMER_CATALOG = CQ_CATALOG_DIR + "/transformers.properties"; private static final String OTHER_CATALOG = CQ_CATALOG_DIR + "/others.properties"; +private static final String CAPABILITIES_CATALOG = "org/apache/camel/catalog/capabilities.properties"; private CamelCatalog camelCatalog; @@ -423,6 +427,10 @@ public class CqCatalog { return OTHER_CATALOG; } +protected String getCapabilitiesCatalog() { +return CAPABILITIES_CATALOG; +} + @Override public List findComponentNames() { List names = new ArrayList<>(); @@ -506,6 +514,22 @@ public class CqCatalog { }
(camel-quarkus) 14/33: Fixed micrometer because of CAMEL-20461
This is an automated email from the ASF dual-hosted git repository. jiriondrusek pushed a commit to branch camel-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git commit 724d5a531441610c93d30be78c9fd41cb2ec1f80 Author: JiriOndrusek AuthorDate: Tue Mar 12 10:42:11 2024 +0100 Fixed micrometer because of CAMEL-20461 --- .../camel/quarkus/component/micrometer/CamelMicrometerRecorder.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/extensions/micrometer/runtime/src/main/java/org/apache/camel/quarkus/component/micrometer/CamelMicrometerRecorder.java b/extensions/micrometer/runtime/src/main/java/org/apache/camel/quarkus/component/micrometer/CamelMicrometerRecorder.java index ddc5584c37..d7e7f2a9bc 100644 --- a/extensions/micrometer/runtime/src/main/java/org/apache/camel/quarkus/component/micrometer/CamelMicrometerRecorder.java +++ b/extensions/micrometer/runtime/src/main/java/org/apache/camel/quarkus/component/micrometer/CamelMicrometerRecorder.java @@ -59,7 +59,9 @@ public class CamelMicrometerRecorder { @Override public void configure(CamelContext camelContext) { if (config.enableRoutePolicy) { -camelContext.addRoutePolicyFactory(new MicrometerRoutePolicyFactory()); +MicrometerRoutePolicyFactory mrpf = new MicrometerRoutePolicyFactory(); +mrpf.setCamelContext(camelContext); +camelContext.addRoutePolicyFactory(mrpf); } ManagementStrategy managementStrategy = camelContext.getManagementStrategy();
(camel) branch regen_bot updated (2ba94c08df1 -> 3f5da41dd2f)
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 2ba94c08df1 CAMEL-17641: Generate json metadata for pojo beans in camel-core that end users can use such as AggregationStrategy implementations. And have that information in camel-catalog for tooling assistance. add 3f5da41dd2f CAMEL-20524: camel-main sources-jar is needed by camel-spring-boot to build No new revisions were added by this update. Summary of changes: core/camel-main/pom.xml | 13 + 1 file changed, 13 insertions(+)
(camel-k-runtime) branch dependabot/maven/org.apache.maven.plugins-maven-remote-resources-plugin-3.2.0 deleted (was 8268c84e)
This is an automated email from the ASF dual-hosted git repository. pcongiusti pushed a change to branch dependabot/maven/org.apache.maven.plugins-maven-remote-resources-plugin-3.2.0 in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git was 8268c84e build(deps): bump org.apache.maven.plugins:maven-remote-resources-plugin The revisions that were on this branch are still contained in other references; therefore, this change does not discard any commits from the repository.
(camel) branch main updated (fd90eca7042 -> 9ed212167b6)
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 fd90eca7042 CAMEL-20584: Revert "Bump mongo-java-driver-version from 4.11.1 to 5.0.0 (#13476)" (#13544) add 9ed212167b6 Bump com.google.apis:google-api-services-sheets (#13538) No new revisions were added by this update. Summary of changes: parent/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
[PR] Generated sources regen [camel]
github-actions[bot] opened a new pull request, #13547: URL: https://github.com/apache/camel/pull/13547 Regen bot :robot: found some uncommitted changes after running build on :camel: `main` branch. Please do not delete `regen_bot` branch after merge/rebase. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [PR] fix(ci): use ubuntu which now have 16 GB memory [camel-k]
squakez merged PR #5259: URL: https://github.com/apache/camel-k/pull/5259 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] Camelk | AtlasMap Support [camel-k]
oscerd closed issue #5261: Camelk | AtlasMap Support URL: https://github.com/apache/camel-k/issues/5261 -- 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) 08/33: fixed Rest - inlining requires unique routes
This is an automated email from the ASF dual-hosted git repository. jiriondrusek pushed a commit to branch camel-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git commit 1d96702feaa5033d21e2b343ebe74893e828b359 Author: JiriOndrusek AuthorDate: Fri Mar 8 15:09:21 2024 +0100 fixed Rest - inlining requires unique routes --- integration-tests/rest/pom.xml | 4 .../quarkus/component/rest/it/RestRoutes.java | 26 +++--- 2 files changed, 17 insertions(+), 13 deletions(-) diff --git a/integration-tests/rest/pom.xml b/integration-tests/rest/pom.xml index a9d407008a..de76b46bbe 100644 --- a/integration-tests/rest/pom.xml +++ b/integration-tests/rest/pom.xml @@ -59,6 +59,10 @@ org.apache.camel.quarkus camel-quarkus-rest + +org.apache.camel.quarkus +camel-quarkus-seda + io.quarkus quarkus-resteasy-jsonb diff --git a/integration-tests/rest/src/main/java/org/apache/camel/quarkus/component/rest/it/RestRoutes.java b/integration-tests/rest/src/main/java/org/apache/camel/quarkus/component/rest/it/RestRoutes.java index ea6254c9a7..4bd328713c 100644 --- a/integration-tests/rest/src/main/java/org/apache/camel/quarkus/component/rest/it/RestRoutes.java +++ b/integration-tests/rest/src/main/java/org/apache/camel/quarkus/component/rest/it/RestRoutes.java @@ -42,29 +42,29 @@ public class RestRoutes extends RouteBuilder { rest("/rest") .delete() .produces("text/plain") -.to("direct:echoMethodPath") +.to("seda:echoMethodPath") .get() .produces("text/plain") -.to("direct:echoMethodPath") +.to("seda:echoMethodPath") .head() -.to("direct:contentTypeText") +.to("seda:contentTypeText") .patch() .consumes("text/plain") .produces("text/plain") -.to("direct:echoBodyPath") +.to("seda:echoBodyPath") .post() .consumes("text/plain") .produces("text/plain") -.to("direct:echoBodyPath") +.to("seda:echoBodyPath") .put() .consumes("text/plain") .produces("text/plain") -.to("direct:echoBodyPath") +.to("seda:echoBodyPath") .post("/validation") .clientRequestValidation(true) @@ -81,7 +81,7 @@ public class RestRoutes extends RouteBuilder { .bindingMode(RestBindingMode.json) .type(Person.class) .produces(MediaType.TEXT_PLAIN) -.to("direct:personString") +.to("seda:personString") .get("/binding/json/producer") .to("direct:personJson") @@ -90,7 +90,7 @@ public class RestRoutes extends RouteBuilder { .bindingMode(RestBindingMode.xml) .type(Person.class) .produces(MediaType.TEXT_PLAIN) -.to("direct:personString") +.to("seda:personString") .get("/binding/xml/producer") .to("direct:personXml") @@ -99,15 +99,15 @@ public class RestRoutes extends RouteBuilder { .to("direct:hello") .verb("head", "/custom/verb") -.to("direct:contentTypeText") +.to("seda:contentTypeText") .post("/multipart/upload") .to("direct:processAttachments"); -from("direct:echoMethodPath") +from("seda:echoMethodPath") .setBody().simple("${header.CamelHttpMethod}: ${header.CamelHttpPath}"); -from("direct:echoBodyPath") +from("seda:echoBodyPath") .setBody().simple("${body}: ${header.CamelHttpPath}"); from("direct:greetWithBody") @@ -119,7 +119,7 @@ public class RestRoutes extends RouteBuilder { from("direct:hello") .log("Hello ${body}"); -from("direct:personString") +from("seda:personString") .setHeader(Exchange.CONTENT_TYPE, constant("text/plain")) .setBody().simple("Name: ${body.firstName} ${body.lastName}, Age: ${body.age}"); @@ -129,7 +129,7 @@ public class RestRoutes extends RouteBuilder { from("direct:personXml") .setBody().constant(PERSON_XML); -from("direct:contentTypeText") +from("seda:contentTypeText") .setHeader(Exchange.CONTENT_TYPE).constant("text/plain"); from("direct:processAttachments")
(camel-quarkus) 13/33: Fixed shiro after update of dependency
This is an automated email from the ASF dual-hosted git repository. jiriondrusek pushed a commit to branch camel-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git commit 31d01b962516a17d7e0500803a924972283bf2d1 Author: JiriOndrusek AuthorDate: Tue Mar 12 09:54:24 2024 +0100 Fixed shiro after update of dependency --- .../apache/camel/quarkus/component/shiro/deployment/ShiroProcessor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/shiro/deployment/src/main/java/org/apache/camel/quarkus/component/shiro/deployment/ShiroProcessor.java b/extensions/shiro/deployment/src/main/java/org/apache/camel/quarkus/component/shiro/deployment/ShiroProcessor.java index 275ed9d76a..e1425d55f9 100644 --- a/extensions/shiro/deployment/src/main/java/org/apache/camel/quarkus/component/shiro/deployment/ShiroProcessor.java +++ b/extensions/shiro/deployment/src/main/java/org/apache/camel/quarkus/component/shiro/deployment/ShiroProcessor.java @@ -101,6 +101,6 @@ class ShiroProcessor { @BuildStep IndexDependencyBuildItem registerDependencyForIndex() { -return new IndexDependencyBuildItem("org.apache.shiro", "shiro-core", "jakarta"); +return new IndexDependencyBuildItem("org.apache.shiro", "shiro-core"); } }
(camel-spring-boot) branch main updated: [CAMEL-20577] Test for avoid rest dupes
This is an automated email from the ASF dual-hosted git repository. fmariani 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 ef979632725 [CAMEL-20577] Test for avoid rest dupes ef979632725 is described below commit ef979632725bbd83e9045c32d4abb6d5941fc000 Author: Croway AuthorDate: Tue Mar 19 15:32:44 2024 +0100 [CAMEL-20577] Test for avoid rest dupes --- core/camel-spring-boot-xml/pom.xml | 5 ++ .../camel/spring/boot/xml/MixedRestDslTest.java| 74 ++ .../src/test/resources/camel-xml-io-dsl.xml| 27 .../src/test/resources/spring-camel-context.xml| 46 ++ 4 files changed, 152 insertions(+) diff --git a/core/camel-spring-boot-xml/pom.xml b/core/camel-spring-boot-xml/pom.xml index 6fa2756f4b9..fe1833f2577 100644 --- a/core/camel-spring-boot-xml/pom.xml +++ b/core/camel-spring-boot-xml/pom.xml @@ -92,6 +92,11 @@ ${spring-boot-version} test + +org.apache.camel.springboot +camel-jetty-starter +${project.version} + diff --git a/core/camel-spring-boot-xml/src/test/java/org/apache/camel/spring/boot/xml/MixedRestDslTest.java b/core/camel-spring-boot-xml/src/test/java/org/apache/camel/spring/boot/xml/MixedRestDslTest.java new file mode 100644 index 000..c683303835b --- /dev/null +++ b/core/camel-spring-boot-xml/src/test/java/org/apache/camel/spring/boot/xml/MixedRestDslTest.java @@ -0,0 +1,74 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.camel.spring.boot.xml; + +import org.apache.camel.CamelContext; +import org.apache.camel.builder.RouteBuilder; +import org.apache.camel.component.rest.RestEndpoint; +import org.apache.camel.spring.boot.CamelAutoConfiguration; +import org.apache.camel.test.spring.junit5.CamelSpringBootTest; +import org.assertj.core.api.Assertions; +import org.junit.jupiter.api.Test; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.boot.autoconfigure.EnableAutoConfiguration; +import org.springframework.boot.test.context.SpringBootTest; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import org.springframework.context.annotation.ImportResource; +import org.springframework.test.annotation.DirtiesContext; + +@DirtiesContext +@CamelSpringBootTest +@SpringBootTest( +properties = { + "camel.springboot.routes-include-pattern=classpath:camel-xml-io-dsl.xml", +"spring.main.allow-circular-references=true" +}) +public class MixedRestDslTest { + +@Autowired +CamelContext camelContext; + +@Test +public void testMultipleRestDslDefinition() { +Assertions.assertThat(camelContext.getRoutes()) +.filteredOn( +route -> route.getEndpoint() instanceof RestEndpoint +) +.map(route -> ((RestEndpoint) route.getEndpoint()).getPath()) +.containsExactlyInAnyOrder( +"java", +"xml-io", +"spring"); +} + +@Configuration +@EnableAutoConfiguration +@ImportResource(value = { "classpath:spring-camel-context.xml" }) +public static class TestConfiguration { + +@Bean +protected RouteBuilder createRouteBuilder() throws Exception { +return new RouteBuilder() { +@Override +public void configure() { +rest("java").get().to("direct:test"); +} +}; +} +} +} diff --git a/core/camel-spring-boot-xml/src/test/resources/camel-xml-io-dsl.xml b/core/camel-spring-boot-xml/src/test/resources/camel-xml-io-dsl.xml new file mode 100644 index 000..c96156752ae --- /dev/null +++ b/core/camel-spring-boot-xml/src/test/resources/camel-xml-io-dsl.xml @@ -0,0 +1,27 @@ + + + +http://camel.apache.org/schema/spring;> + + + + + + \ No newline at
(camel-spring-boot) 01/02: Regen
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git commit 25550766cf549365830bae20a79ad7def46a7e12 Author: Claus Ibsen AuthorDate: Wed Mar 20 11:43:32 2024 +0100 Regen --- .../catalog/components/azure-servicebus.json | 82 +++--- .../springboot/catalog/components/jcache.json | 36 +- .../springboot/catalog/components/milvus.json | 10 +-- .../src/main/docs/azure-servicebus.json| 7 ++ .../ServiceBusComponentConfiguration.java | 13 5 files changed, 83 insertions(+), 65 deletions(-) diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/azure-servicebus.json b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/azure-servicebus.json index 4a607996876..cdc4b962086 100644 --- a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/azure-servicebus.json +++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/azure-servicebus.json @@ -32,25 +32,26 @@ "bridgeErrorHandler": { "index": 6, "kind": "property", "displayName": "Bridge Error Handler", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions (if possible) occurred while the Camel consumer is trying to pickup incoming messages, or the like [...] "consumerOperation": { "index": 7, "kind": "property", "displayName": "Consumer Operation", "group": "consumer", "label": "consumer", "required": false, "type": "object", "javaType": "org.apache.camel.component.azure.servicebus.ServiceBusConsumerOperationDefinition", "enum": [ "receiveMessages", "peekMessages" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "receiveMessages", "configurationClass": "org.apache.camel.component.azure.servicebus.ServiceBusCon [...] "disableAutoComplete": { "index": 8, "kind": "property", "displayName": "Disable Auto Complete", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.azure.servicebus.ServiceBusConfiguration", "configurationField": "configuration", "description": "Disables auto-complete and auto-abandon of received message [...] -"maxAutoLockRenewDuration": { "index": 9, "kind": "property", "displayName": "Max Auto Lock Renew Duration", "group": "consumer", "label": "consumer", "required": false, "type": "object", "javaType": "java.time.Duration", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "5m", "configurationClass": "org.apache.camel.component.azure.servicebus.ServiceBusConfiguration", "configurationField": "configuration", "description": "Sets the amount of time to continue au [...] -"peekNumMaxMessages": { "index": 10, "kind": "property", "displayName": "Peek Num Max Messages", "group": "consumer", "label": "consumer", "required": false, "type": "integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.servicebus.ServiceBusConfiguration", "configurationField": "configuration", "description": "Set the max number of messages to be peeked during the peek operation." }, -"prefetchCount": { "index": 11, "kind": "property", "displayName": "Prefetch Count", "group": "consumer", "label": "consumer", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.servicebus.ServiceBusConfiguration", "configurationField": "configuration", "description": "Sets the prefetch count of the receiver. For both PEEK_LOCK PEEK_LOCK and RECEIVE_AND_DELETE RECEI [...] -"receiverAsyncClient": { "index": 12, "kind": "property", "displayName": "Receiver Async Client", "group": "consumer", "label": "consumer", "required": false, "type": "object", "javaType": "com.azure.messaging.servicebus.ServiceBusReceiverAsyncClient", "deprecated": false, "deprecationNote": "", "autowired": true, "secret": false, "configurationClass": "org.apache.camel.component.azure.servicebus.ServiceBusConfiguration", "configurationField": "configuration", "description": "Sets th [...] -"serviceBusReceiveMode": { "index": 13, "kind": "property", "displayName": "Service Bus Receive Mode", "group": "consumer", "label": "consumer",
(camel-quarkus) 07/33: fixed kamelet #5849
This is an automated email from the ASF dual-hosted git repository. jiriondrusek pushed a commit to branch camel-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git commit 1eb2a5ec00d643b7d3d3ba42f101b124cd9bdcdc Author: JiriOndrusek AuthorDate: Fri Mar 8 14:56:55 2024 +0100 fixed kamelet #5849 --- .../camel/quarkus/component/kamelet/deployment/KameletProcessor.java | 5 + .../org/apache/camel/quarkus/component/kamelet/KameletRecorder.java | 5 + 2 files changed, 10 insertions(+) diff --git a/extensions/kamelet/deployment/src/main/java/org/apache/camel/quarkus/component/kamelet/deployment/KameletProcessor.java b/extensions/kamelet/deployment/src/main/java/org/apache/camel/quarkus/component/kamelet/deployment/KameletProcessor.java index 1b9ea1f1c1..1bd217b289 100644 --- a/extensions/kamelet/deployment/src/main/java/org/apache/camel/quarkus/component/kamelet/deployment/KameletProcessor.java +++ b/extensions/kamelet/deployment/src/main/java/org/apache/camel/quarkus/component/kamelet/deployment/KameletProcessor.java @@ -130,6 +130,11 @@ class KameletProcessor { resource.setLocation(originalResource.getLocation()); resource.setExists(originalResource.exists()); definition.setResource(resource); +//remove references to camelContext https://github.com/apache/camel-quarkus/issues/5849 +definition.setCamelContext(null); +if (definition.getRoute() != null && definition.getRoute().getOutputs() != null) { +definition.getRoute().getOutputs().forEach(o -> o.setCamelContext(null)); +} }); return new CamelContextCustomizerBuildItem( diff --git a/extensions/kamelet/runtime/src/main/java/org/apache/camel/quarkus/component/kamelet/KameletRecorder.java b/extensions/kamelet/runtime/src/main/java/org/apache/camel/quarkus/component/kamelet/KameletRecorder.java index 98499932ed..b431298fc0 100644 --- a/extensions/kamelet/runtime/src/main/java/org/apache/camel/quarkus/component/kamelet/KameletRecorder.java +++ b/extensions/kamelet/runtime/src/main/java/org/apache/camel/quarkus/component/kamelet/KameletRecorder.java @@ -58,6 +58,11 @@ public class KameletRecorder { } } } +//return references to camelContext https://github.com/apache/camel-quarkus/issues/5849 +definition.setCamelContext(context); +if (definition.getRoute() != null && definition.getRoute().getOutputs() != null) { +definition.getRoute().getOutputs().forEach(o -> o.setCamelContext(context)); +} } context.getCamelContextExtension().getContextPlugin(Model.class).addRouteTemplateDefinitions(definitions); } catch (Exception e) {
(camel) branch main updated: CAMEL-17641: Generate json metadata for pojo beans in camel-core that end users can use such as AggregationStrategy implementations. And have that information in camel-cat
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 2ba94c08df1 CAMEL-17641: Generate json metadata for pojo beans in camel-core that end users can use such as AggregationStrategy implementations. And have that information in camel-catalog for tooling assistance. 2ba94c08df1 is described below commit 2ba94c08df132541f3a53ff5a8b1efd03b516140 Author: Claus Ibsen AuthorDate: Wed Mar 20 11:23:44 2024 +0100 CAMEL-17641: Generate json metadata for pojo beans in camel-core that end users can use such as AggregationStrategy implementations. And have that information in camel-catalog for tooling assistance. --- .../beans/CassandraIdempotentRepository.json | 2 +- .../org/apache/camel/catalog/CamelCatalogTest.java | 2 +- .../CassandraIdempotentRepositoryConfigurer.java | 10 ++--- .../camel/bean/CassandraIdempotentRepository.json | 2 +- .../cassandra/CassandraIdempotentRepository.java | 44 ++ .../NamedCassandraIdempotentRepository.java| 8 ++-- 6 files changed, 32 insertions(+), 36 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/beans/CassandraIdempotentRepository.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/beans/CassandraIdempotentRepository.json index 78269b7e649..abab9ac67b7 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/beans/CassandraIdempotentRepository.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/beans/CassandraIdempotentRepository.json @@ -10,7 +10,7 @@ "groupId": "org.apache.camel", "artifactId": "camel-cassandraql", "version": "4.5.0-SNAPSHOT", -"properties": { "session": { "index": 0, "kind": "property", "displayName": "Session", "required": true, "type": "object", "javaType": "org.apache.camel.processor.idempotent.cassandra.CassandraIdempotentRepository", "deprecated": false, "autowired": false, "secret": false, "description": "Cassandra session" }, "table": { "index": 1, "kind": "property", "displayName": "Table", "required": false, "type": "object", "javaType": "org.apache.camel.processor.idempotent.cassandra.CassandraId [...] +"properties": { "session": { "index": 0, "kind": "property", "displayName": "Session", "required": true, "type": "object", "javaType": "org.apache.camel.processor.idempotent.cassandra.CassandraIdempotentRepository", "deprecated": false, "autowired": false, "secret": false, "description": "Cassandra session" }, "table": { "index": 1, "kind": "property", "displayName": "Table", "required": false, "type": "object", "javaType": "org.apache.camel.processor.idempotent.cassandra.CassandraId [...] } } diff --git a/catalog/camel-catalog/src/test/java/org/apache/camel/catalog/CamelCatalogTest.java b/catalog/camel-catalog/src/test/java/org/apache/camel/catalog/CamelCatalogTest.java index 05740bbacb7..9aa8a3be5f0 100644 --- a/catalog/camel-catalog/src/test/java/org/apache/camel/catalog/CamelCatalogTest.java +++ b/catalog/camel-catalog/src/test/java/org/apache/camel/catalog/CamelCatalogTest.java @@ -1647,7 +1647,7 @@ public class CamelCatalogTest { PojoBeanModel model = catalog.pojoBeanModel("ZipAggregationStrategy"); assertNotNull(model); -assertEquals("bean", model.getKind()); +assertEquals(Kind.bean, model.getKind()); assertEquals("ZipAggregationStrategy", model.getName()); assertEquals("org.apache.camel.processor.aggregate.zipfile.ZipAggregationStrategy", model.getJavaType()); assertEquals(6, model.getOptions().size()); diff --git a/components/camel-cassandraql/src/generated/java/org/apache/camel/processor/idempotent/cassandra/CassandraIdempotentRepositoryConfigurer.java b/components/camel-cassandraql/src/generated/java/org/apache/camel/processor/idempotent/cassandra/CassandraIdempotentRepositoryConfigurer.java index a775cce13b5..bdf047cb598 100644 --- a/components/camel-cassandraql/src/generated/java/org/apache/camel/processor/idempotent/cassandra/CassandraIdempotentRepositoryConfigurer.java +++ b/components/camel-cassandraql/src/generated/java/org/apache/camel/processor/idempotent/cassandra/CassandraIdempotentRepositoryConfigurer.java @@ -22,9 +22,9 @@ public class CassandraIdempotentRepositoryConfigurer extends org.apache.camel.su org.apache.camel.processor.idempotent.cassandra.CassandraIdempotentRepository target = (org.apache.camel.processor.idempotent.cassandra.CassandraIdempotentRepository) obj; switch (ignoreCase ? name.toLowerCase() : name) { case "pkcolumns": -case "PKColumns": target.setPKColumns(property(camelContext, java.lang.String.class, value)); return true; +case "PkColumns":
Re: [I] Quarkus native check failing [camel-k]
squakez closed issue #4885: Quarkus native check failing URL: https://github.com/apache/camel-k/issues/4885 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [PR] fix #4948 part of #3397 [camel-k]
github-actions[bot] commented on PR #5119: URL: https://github.com/apache/camel-k/pull/5119#issuecomment-2009258746 :warning: Unit test coverage report - coverage decreased from 37.3% to 37.2% (**-0.1%**) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [PR] Generated sources regen [camel]
oscerd closed pull request #13548: Generated sources regen URL: https://github.com/apache/camel/pull/13548 -- 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) 19/33: Formating fix
This is an automated email from the ASF dual-hosted git repository. jiriondrusek pushed a commit to branch camel-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git commit 1f61dd8640056e860e5efd740cb3f11e09786c9c Author: JiriOndrusek AuthorDate: Tue Mar 12 13:47:01 2024 +0100 Formating fix --- .../org/apache/camel/quarkus/component/micrometer/it/MicrometerTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/integration-tests/micrometer/src/test/java/org/apache/camel/quarkus/component/micrometer/it/MicrometerTest.java b/integration-tests/micrometer/src/test/java/org/apache/camel/quarkus/component/micrometer/it/MicrometerTest.java index 66320eb929..55cda48300 100644 --- a/integration-tests/micrometer/src/test/java/org/apache/camel/quarkus/component/micrometer/it/MicrometerTest.java +++ b/integration-tests/micrometer/src/test/java/org/apache/camel/quarkus/component/micrometer/it/MicrometerTest.java @@ -41,6 +41,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue; @QuarkusTest class MicrometerTest extends AbstractMicrometerTest { private static final Logger LOG = Logger.getLogger(MicrometerTest.class); + @Test public void testMicrometerMetricsCounter() throws Exception { RestAssured.get("/micrometer/counter/0")
(camel) branch devel-camel-20383 updated: Fixed license format on the Jenkinsfile
This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch devel-camel-20383 in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/devel-camel-20383 by this push: new 522c77d2d4b Fixed license format on the Jenkinsfile 522c77d2d4b is described below commit 522c77d2d4bd0fe293a4bbc7aefa88dadf5a34fc Author: Otavio Rodolfo Piske AuthorDate: Wed Mar 20 11:26:47 2024 +0100 Fixed license format on the Jenkinsfile --- pom.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/pom.xml b/pom.xml index 3ff141ea2b7..e04bea4f802 100644 --- a/pom.xml +++ b/pom.xml @@ -338,6 +338,7 @@ SCRIPT_STYLE SCRIPT_STYLE SCRIPT_STYLE +SLASHSTAR_STYLE SLASHSTAR_STYLE SLASHSTAR_STYLE SLASHSTAR_STYLE
(camel-quarkus) 30/33: Fix of catalog suggested in #5893
This is an automated email from the ASF dual-hosted git repository. jiriondrusek pushed a commit to branch camel-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git commit f77fcc7d2897be0a50826a15e855adea3df8246f Author: JiriOndrusek AuthorDate: Tue Mar 19 12:09:03 2024 +0100 Fix of catalog suggested in #5893 --- .../camel/catalog/quarkus/QuarkusRuntimeProviderTest.java | 4 ++-- docs/modules/ROOT/examples/components/coap+tcp.yml | 13 + docs/modules/ROOT/examples/components/coaps+tcp.yml | 13 + docs/modules/ROOT/examples/components/coaps.yml | 13 + docs/modules/ROOT/examples/components/cometds.yml | 13 + docs/modules/ROOT/examples/components/disruptor-vm.yml | 13 + docs/modules/ROOT/examples/components/https.yml | 13 + docs/modules/ROOT/examples/components/imaps.yml | 13 + docs/modules/ROOT/examples/components/pop3.yml | 13 + docs/modules/ROOT/examples/components/pop3s.yml | 13 + docs/modules/ROOT/examples/components/smpps.yml | 13 + docs/modules/ROOT/examples/components/smtp.yml | 13 + docs/modules/ROOT/examples/components/smtps.yml | 13 + .../camel/quarkus/maven/PrepareCatalogQuarkusMojo.java | 4 ++-- 14 files changed, 160 insertions(+), 4 deletions(-) diff --git a/catalog/src/test/java/org/apache/camel/catalog/quarkus/QuarkusRuntimeProviderTest.java b/catalog/src/test/java/org/apache/camel/catalog/quarkus/QuarkusRuntimeProviderTest.java index c508552b4b..0e331e470a 100644 --- a/catalog/src/test/java/org/apache/camel/catalog/quarkus/QuarkusRuntimeProviderTest.java +++ b/catalog/src/test/java/org/apache/camel/catalog/quarkus/QuarkusRuntimeProviderTest.java @@ -31,8 +31,8 @@ import java.util.stream.Stream; import org.apache.camel.catalog.CamelCatalog; import org.apache.camel.catalog.DefaultCamelCatalog; -import org.apache.camel.catalog.Kind; import org.apache.camel.tooling.model.ArtifactModel; +import org.apache.camel.tooling.model.Kind; import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; @@ -72,7 +72,7 @@ public class QuarkusRuntimeProviderTest { @Test public void extensionsPresent() throws Exception { -final Set artifactIdsPresentInCatalog = Stream.of(org.apache.camel.catalog.Kind.values()) +final Set artifactIdsPresentInCatalog = Stream.of(Kind.values()) .filter(kind -> kind != Kind.eip) .flatMap(kind -> catalog.findNames(kind).stream() .map(name -> catalog.model(kind, name))) diff --git a/docs/modules/ROOT/examples/components/coap+tcp.yml b/docs/modules/ROOT/examples/components/coap+tcp.yml new file mode 100644 index 00..311d13f86f --- /dev/null +++ b/docs/modules/ROOT/examples/components/coap+tcp.yml @@ -0,0 +1,13 @@ +# Do not edit directly! +# This file was generated by camel-quarkus-maven-plugin:update-extension-doc-page +cqArtifactId: camel-quarkus-coap +cqArtifactIdBase: coap +cqNativeSupported: false +cqStatus: Preview +cqDeprecated: false +cqJvmSince: 1.1.0 +cqNativeSince: n/a +cqCamelPartName: coap+tcp +cqCamelPartTitle: CoAP +cqCamelPartDescription: Send and receive messages to/from COAP capable devices. +cqExtensionPageTitle: CoAP diff --git a/docs/modules/ROOT/examples/components/coaps+tcp.yml b/docs/modules/ROOT/examples/components/coaps+tcp.yml new file mode 100644 index 00..070e673051 --- /dev/null +++ b/docs/modules/ROOT/examples/components/coaps+tcp.yml @@ -0,0 +1,13 @@ +# Do not edit directly! +# This file was generated by camel-quarkus-maven-plugin:update-extension-doc-page +cqArtifactId: camel-quarkus-coap +cqArtifactIdBase: coap +cqNativeSupported: false +cqStatus: Preview +cqDeprecated: false +cqJvmSince: 1.1.0 +cqNativeSince: n/a +cqCamelPartName: coaps+tcp +cqCamelPartTitle: CoAP +cqCamelPartDescription: Send and receive messages to/from COAP capable devices. +cqExtensionPageTitle: CoAP diff --git a/docs/modules/ROOT/examples/components/coaps.yml b/docs/modules/ROOT/examples/components/coaps.yml new file mode 100644 index 00..2c5056c4d2 --- /dev/null +++ b/docs/modules/ROOT/examples/components/coaps.yml @@ -0,0 +1,13 @@ +# Do not edit directly! +# This file was generated by camel-quarkus-maven-plugin:update-extension-doc-page +cqArtifactId: camel-quarkus-coap +cqArtifactIdBase: coap +cqNativeSupported: false +cqStatus: Preview +cqDeprecated: false +cqJvmSince: 1.1.0 +cqNativeSince: n/a +cqCamelPartName: coaps +cqCamelPartTitle: CoAP (Secure) +cqCamelPartDescription: Send and receive messages to/from COAP capable devices. +cqExtensionPageTitle: CoAP diff --git a/docs/modules/ROOT/examples/components/cometds.yml b/docs/modules/ROOT/examples/components/cometds.yml new
(camel) branch main updated (0941aabb32b -> 35b16aed25a)
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 0941aabb32b Regen add 35b16aed25a (chores) camel-mllp: parallelize unit tests No new revisions were added by this update. Summary of changes: components/camel-mllp/pom.xml| 5 + .../camel/component/mllp/internal/MllpSocketBufferWriteTest.java | 2 ++ 2 files changed, 7 insertions(+)
(camel) branch main updated: Regen
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/main by this push: new 0941aabb32b Regen 0941aabb32b is described below commit 0941aabb32b058225d712389fc2b477730a3cba5 Author: Claus Ibsen AuthorDate: Wed Mar 20 11:05:55 2024 +0100 Regen --- .../idempotent/cassandra/CassandraIdempotentRepositoryConfigurer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/camel-cassandraql/src/generated/java/org/apache/camel/processor/idempotent/cassandra/CassandraIdempotentRepositoryConfigurer.java b/components/camel-cassandraql/src/generated/java/org/apache/camel/processor/idempotent/cassandra/CassandraIdempotentRepositoryConfigurer.java index 96bc8b2f760..a775cce13b5 100644 --- a/components/camel-cassandraql/src/generated/java/org/apache/camel/processor/idempotent/cassandra/CassandraIdempotentRepositoryConfigurer.java +++ b/components/camel-cassandraql/src/generated/java/org/apache/camel/processor/idempotent/cassandra/CassandraIdempotentRepositoryConfigurer.java @@ -22,7 +22,7 @@ public class CassandraIdempotentRepositoryConfigurer extends org.apache.camel.su org.apache.camel.processor.idempotent.cassandra.CassandraIdempotentRepository target = (org.apache.camel.processor.idempotent.cassandra.CassandraIdempotentRepository) obj; switch (ignoreCase ? name.toLowerCase() : name) { case "pkcolumns": -case "PKColumns": target.setPKColumns(property(camelContext, java.lang.String[].class, value)); return true; +case "PKColumns": target.setPKColumns(property(camelContext, java.lang.String.class, value)); return true; case "prefixpkvalues": case "PrefixPKValues": target.setPrefixPKValues(property(camelContext, java.lang.String[].class, value)); return true; case "readconsistencylevel": @@ -43,7 +43,7 @@ public class CassandraIdempotentRepositoryConfigurer extends org.apache.camel.su public Class getOptionType(String name, boolean ignoreCase) { switch (ignoreCase ? name.toLowerCase() : name) { case "pkcolumns": -case "PKColumns": return java.lang.String[].class; +case "PKColumns": return java.lang.String.class; case "prefixpkvalues": case "PrefixPKValues": return java.lang.String[].class; case "readconsistencylevel":
Re: [PR] Integration builds fail with arm64 base image [camel-k]
squakez commented on PR #5246: URL: https://github.com/apache/camel-k/pull/5246#issuecomment-2009270960 Unfortunately this is not yet good to be merged. We have an upgrade check failure. It seems it's because the previous base image was not built with the multi platform, confirming my assumption that we must provide the platform value as a parameter. ``` dump.go:337: > {"level":"info","ts":"2024-03-19T08:39:07Z","logger":"camel-k.maven.build","msg":"Using base image with digest: sha256:3a874c26391e63a32e7dcf668b9909a9d8173d998083b7a85b7c5fa5c23c4546"} dump.go:337: > {"level":"info","ts":"2024-03-19T08:39:07Z","logger":"camel-k.maven.build","msg":""} dump.go:337: > {"level":"info","ts":"2024-03-19T08:39:07Z","logger":"camel-k.maven.build","msg":""} dump.go:337: > {"level":"info","ts":"2024-03-19T08:39:07Z","logger":"camel-k.maven.build","msg":"BUILD FAILURE"} dump.go:337: > {"level":"info","ts":"2024-03-19T08:39:07Z","logger":"camel-k.maven.build","msg":""} dump.go:337: > {"level":"info","ts":"2024-03-19T08:39:07Z","logger":"camel-k.maven.build","msg":"Total time: 2.208 s (Wall Clock)"} dump.go:337: > {"level":"info","ts":"2024-03-19T08:39:07Z","logger":"camel-k.maven.build","msg":"Finished at: 2024-03-19T08:39:07Z"} dump.go:337: > {"level":"info","ts":"2024-03-19T08:39:07Z","logger":"camel-k.maven.build","msg":""} dump.go:337: > {"level":"error","ts":"2024-03-19T08:39:07Z","logger":"camel-k.maven.build","msg":"Failed to execute goal com.google.cloud.tools:jib-maven-plugin:3.4.1:build (default-cli) on project camel-k-integration: cannot build for multiple platforms since the base image 'kind-registry:5000/test-8caec862-1309-4695-81f8-9c6dabddf705/camel-k-kit-cnskqin2fd5c73csicrg@sha256:3a874c26391e63a32e7dcf668b9909a9d8173d998083b7a85b7c5fa5c23c4546' is not a manifest list. -> [Help 1]","stacktrace":"github.com/apache/camel-k/v2/pkg/util/log.Logger.Error\n\tgithub.com/apache/camel-k/v2/pkg/util/log/log.go:81\ngithub.com/apache/camel-k/v2/pkg/util/maven.normalizeLog\n\tgithub.com/apache/camel-k/v2/pkg/util/maven/maven_log.go:83\ngithub.com/apache/camel-k/v2/pkg/util/maven.MavenLogHandler\n\tgithub.com/apache/camel-k/v2/pkg/util/maven/maven_log.go:54\ngithub.com/apache/camel-k/v2/pkg/util.scan\n\tgithub.com/apache/camel-k/v2/pkg/util/command.go:76\ngithub.com/apache/camel-k/v2/pkg/ut il.RunAndLog.func1\n\tgithub.co ``` -- 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: build(deps): bump org.apache.maven.plugins:maven-remote-resources-plugin
This is an automated email from the ASF dual-hosted git repository. pcongiusti 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 6d7be253 build(deps): bump org.apache.maven.plugins:maven-remote-resources-plugin 6d7be253 is described below commit 6d7be253f65937ba6b7645d2b6e413737d830ef1 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> AuthorDate: Tue Mar 12 20:43:31 2024 + build(deps): bump org.apache.maven.plugins:maven-remote-resources-plugin Bumps [org.apache.maven.plugins:maven-remote-resources-plugin](https://github.com/apache/maven-remote-resources-plugin) from 3.1.0 to 3.2.0. - [Release notes](https://github.com/apache/maven-remote-resources-plugin/releases) - [Commits](https://github.com/apache/maven-remote-resources-plugin/compare/maven-remote-resources-plugin-3.1.0...maven-remote-resources-plugin-3.2.0) --- updated-dependencies: - dependency-name: org.apache.maven.plugins:maven-remote-resources-plugin dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index f2023dbf..6e23210c 100644 --- a/pom.xml +++ b/pom.xml @@ -62,7 +62,7 @@ 3.7.0 3.6.1 3.2.5 - 3.1.0 + 3.2.0 3.2.5 2.16.2 1.0
Re: [PR] Bump org.apache.kafka:kafka-clients from 3.6.1 to 3.7.0 [camel]
davsclaus commented on PR #13526: URL: https://github.com/apache/camel/pull/13526#issuecomment-2009156146 The 3.7.0 should be backwards compatible, but there may be some new options we may want to expose in camel-kafka https://cwiki.apache.org/confluence/display/KAFKA/KIP-580%3A+Exponential+Backoff+for+Kafka+Clients -- 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) 02/02: Adjust catalog with recent code changes
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git commit 7c51e83c3b54bac05b6e324b08ec49bf3b8e6f81 Author: Claus Ibsen AuthorDate: Wed Mar 20 11:45:54 2024 +0100 Adjust catalog with recent code changes --- .../catalog/SpringBootRuntimeProvider.java | 23 +- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/catalog/camel-catalog-provider-springboot/src/main/java/org/apache/camel/springboot/catalog/SpringBootRuntimeProvider.java b/catalog/camel-catalog-provider-springboot/src/main/java/org/apache/camel/springboot/catalog/SpringBootRuntimeProvider.java index a1a493e736e..a35fad2f929 100644 --- a/catalog/camel-catalog-provider-springboot/src/main/java/org/apache/camel/springboot/catalog/SpringBootRuntimeProvider.java +++ b/catalog/camel-catalog-provider-springboot/src/main/java/org/apache/camel/springboot/catalog/SpringBootRuntimeProvider.java @@ -19,7 +19,10 @@ package org.apache.camel.springboot.catalog; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; +import java.util.Collection; +import java.util.Collections; import java.util.List; +import java.util.Map; import org.apache.camel.catalog.CamelCatalog; import org.apache.camel.catalog.RuntimeProvider; @@ -37,12 +40,14 @@ public class SpringBootRuntimeProvider implements RuntimeProvider { private static final String TRANSFORMER_DIR = "org/apache/camel/springboot/catalog/transformers"; private static final String CONSOLE_DIR = "org/apache/camel/springboot/catalog/dev-consoles"; private static final String OTHER_DIR = "org/apache/camel/springboot/catalog/others"; +private static final String BEAN_DIR = "org/apache/camel/springboot/catalog/beans"; private static final String COMPONENTS_CATALOG = "org/apache/camel/springboot/catalog/components.properties"; private static final String DATA_FORMATS_CATALOG = "org/apache/camel/springboot/catalog/dataformats.properties"; private static final String LANGUAGE_CATALOG = "org/apache/camel/springboot/catalog/languages.properties"; private static final String TRANSFORMER_CATALOG = "org/apache/camel/springboot/catalog/transformers.properties"; private static final String CONSOLES_CATALOG = "org/apache/camel/springboot/catalog/dev-consoles.properties"; private static final String OTHER_CATALOG = "org/apache/camel/springboot/catalog/others.properties"; +private static final String BEAN_CATALOG = "org/apache/camel/springboot/catalog/beans.properties"; private CamelCatalog camelCatalog; @@ -101,6 +106,11 @@ public class SpringBootRuntimeProvider implements RuntimeProvider { return OTHER_DIR; } +@Override +public String getPojoBeanJSonSchemaDirectory() { +return BEAN_DIR; +} + @Override public List findComponentNames() { return findNames(COMPONENTS_CATALOG); @@ -130,7 +140,18 @@ public class SpringBootRuntimeProvider implements RuntimeProvider { public List findOtherNames() { return findNames(OTHER_CATALOG); } - + +@Override +public List findBeansNames() { +return findNames(BEAN_CATALOG); +} + +@Override +public Map findCapabilities() { +// TODO: add SB specific capabilities +return Collections.EMPTY_MAP; +} + private List findNames(String pathToPropertyCatalogDescriptor) { List names = new ArrayList<>(); try (InputStream is = camelCatalog.getVersionManager().getResourceAsStream(pathToPropertyCatalogDescriptor)) {
[I] Camelk | AtlasMap Support [camel-k]
yuvanmytri opened a new issue, #5261: URL: https://github.com/apache/camel-k/issues/5261 ### Requirement Seems like AtlasMap is no longer listed as supported component on Camel 4.x, Is there anything changed with AtlasMap as a roadmap for Camelk and data mapping? https://github.com/KaotoIO/kaoto-next/issues/961 https://camel.apache.org/components/3.22.x/atlasmap-component.html ### Problem Seems like AtlasMap is no longer listed as supported component on Camel 4.x, Is there anything changed with AtlasMap as a roadmap for Camelk and data mapping? https://github.com/KaotoIO/kaoto-next/issues/961 https://camel.apache.org/components/3.22.x/atlasmap-component.html ### Proposal _No response_ ### Open questions Seems like AtlasMap is no longer listed as supported component on Camel 4.x, Is there anything changed with AtlasMap as a roadmap for Camelk and data mapping? https://github.com/KaotoIO/kaoto-next/issues/961 https://camel.apache.org/components/3.22.x/atlasmap-component.html -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel-k) branch main updated: fix(ci): use ubuntu which now have 16 GB memory
This is an automated email from the ASF dual-hosted git repository. pcongiusti 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 b521f43a9 fix(ci): use ubuntu which now have 16 GB memory b521f43a9 is described below commit b521f43a944864fd1e5ed7712b8305e3b12717cf Author: Pasquale Congiusti AuthorDate: Tue Mar 19 17:00:39 2024 +0100 fix(ci): use ubuntu which now have 16 GB memory Closes #4885 --- .github/workflows/native.yml | 5 +++-- .github/workflows/nightly-native-test.yml | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/native.yml b/.github/workflows/native.yml index adcb1f4f0..edeb79905 100644 --- a/.github/workflows/native.yml +++ b/.github/workflows/native.yml @@ -65,7 +65,7 @@ concurrency: jobs: higher-memory: if: contains(github.event.pull_request.labels.*.name, 'trigger native test') -runs-on: macos-12 +runs-on: ubuntu-latest steps: - name: Checkout code @@ -90,7 +90,8 @@ jobs: lower-memory: if: contains(github.event.pull_request.labels.*.name, 'trigger native test') -runs-on: macos-12 +runs-on: ubuntu-latest + steps: - name: Checkout code diff --git a/.github/workflows/nightly-native-test.yml b/.github/workflows/nightly-native-test.yml index a3a357d2e..8b1b7bed8 100644 --- a/.github/workflows/nightly-native-test.yml +++ b/.github/workflows/nightly-native-test.yml @@ -34,7 +34,7 @@ jobs: ref-branch: [main] if: github.repository == 'apache/camel-k' -runs-on: macos-12 +runs-on: ubuntu-latest steps: - name: "Checkout code" uses: actions/checkout@v4
(camel-k-runtime) branch dependabot/maven/org.jolokia-jolokia-agent-jvm-2.0.2 deleted (was 958141b4)
This is an automated email from the ASF dual-hosted git repository. pcongiusti pushed a change to branch dependabot/maven/org.jolokia-jolokia-agent-jvm-2.0.2 in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git was 958141b4 build(deps): bump org.jolokia:jolokia-agent-jvm from 2.0.1 to 2.0.2 The revisions that were on this branch are still contained in other references; therefore, this change does not discard any commits from the repository.
Re: [PR] (chores) camel-mllp: parallelize unit tests [camel]
orpiske commented on PR #13545: URL: https://github.com/apache/camel/pull/13545#issuecomment-2009158083 > fyi I think there is one test that always fail on jdk21 - there is a JIRA about it Yeah, I noticed that one when I was looking at this. I marked it as `help-wanted` and good start contribution. -- 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) 16/33: Fixed main-yaml - inlining requires unique routes, partialy fixed openapi-java
This is an automated email from the ASF dual-hosted git repository. jiriondrusek pushed a commit to branch camel-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git commit aa1c0bfaac74381eacda02b1b3cd6c87838ce954 Author: JiriOndrusek AuthorDate: Tue Mar 12 11:13:43 2024 +0100 Fixed main-yaml - inlining requires unique routes, partialy fixed openapi-java --- integration-tests/main-yaml/pom.xml| 4 .../main-yaml/src/main/resources/routes/my-rests.yaml | 14 +++--- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/integration-tests/main-yaml/pom.xml b/integration-tests/main-yaml/pom.xml index 642ce85ef2..eafe3ab998 100644 --- a/integration-tests/main-yaml/pom.xml +++ b/integration-tests/main-yaml/pom.xml @@ -43,6 +43,10 @@ org.apache.camel.quarkus camel-quarkus-direct + +org.apache.camel.quarkus +camel-quarkus-seda + org.apache.camel.quarkus camel-quarkus-log diff --git a/integration-tests/main-yaml/src/main/resources/routes/my-rests.yaml b/integration-tests/main-yaml/src/main/resources/routes/my-rests.yaml index 4a0b109589..ea9d766033 100644 --- a/integration-tests/main-yaml/src/main/resources/routes/my-rests.yaml +++ b/integration-tests/main-yaml/src/main/resources/routes/my-rests.yaml @@ -18,27 +18,27 @@ - rest: get: - path: "/rest" -to: "direct:echoMethodPath" +to: "seda:choMethodPath" post: - path: "/rest" -to: "direct:echoMethodPath" +to: "seda:choMethodPath" patch: - path: "/rest" -to: "direct:echoMethodPath" +to: "seda:choMethodPath" put: - path: "/rest" -to: "direct:echoMethodPath" +to: "seda:choMethodPath" delete: - path: "/rest" -to: "direct:echoMethodPath" +to: "seda:choMethodPath" head: - path: "/rest" -to: "direct:echoMethodPath" +to: "seda:choMethodPath" - route: id: "rest-route" from: - uri: "direct:echoMethodPath" + uri: "seda:choMethodPath" steps: - setBody: simple: "${header.CamelHttpMethod}: ${header.CamelHttpPath}"
Re: [PR] (chores) camel-mllp: parallelize unit tests [camel]
github-actions[bot] commented on PR #13545: URL: https://github.com/apache/camel/pull/13545#issuecomment-2009113610 :star2: Thank you for your contribution to the Apache Camel project! :star2: :robot: CI automation will test this PR automatically. :camel: Apache Camel Committers, please review the following items: * First-time contributors **require MANUAL approval** for the GitHub Actions to run * You can use the command `/component-test (camel-)component-name1 (camel-)component-name2..` to request a test from the test bot. * You can label PRs using `build-all`, `build-dependents`, `skip-tests` and `test-dependents` to fine-tune the checks executed by this PR. * Build and test logs are available in the Summary page. **Only** [Apache Camel committers](https://camel.apache.org/community/team/#committers) have access to the summary. * :warning: Be careful when sharing logs. Review their contents before sharing them publicly. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [PR] build(deps): bump org.jolokia:jolokia-agent-jvm from 2.0.1 to 2.0.2 [camel-k-runtime]
squakez merged PR #1181: URL: https://github.com/apache/camel-k-runtime/pull/1181 -- 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 (9ed212167b6 -> 0e6f390b20f)
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 9ed212167b6 Bump com.google.apis:google-api-services-sheets (#13538) add c0931290558 Pojo beans in camel-catalog (#13491) add 0e6f390b20f Regen for commit c0931290558005d216f6921d7229af25e95ccda9 No new revisions were added by this update. Summary of changes: .../org/apache/camel/catalog/beans.properties | 37 +++ .../beans/CaffeineAggregationRepository.json | 16 ++ .../beans/CaffeineIdempotentRepository.json| 16 ++ .../beans/CassandraAggregationRepository.json | 16 ++ .../beans/CassandraIdempotentRepository.json | 16 ++ .../catalog/beans/DefaultHeaderFilterStrategy.json | 16 ++ .../beans/EhcacheAggregationRepository.json| 16 ++ .../catalog/beans/EhcacheIdempotentRepository.json | 16 ++ ...astichsearchBulkRequestAggregationStrategy.json | 15 + .../catalog/beans/Etcd3AggregationRepository.json | 16 ++ .../catalog/beans/FileIdempotentRepository.json| 16 ++ .../beans/GroupedBodyAggregationStrategy.json | 15 + .../beans/GroupedExchangeAggregationStrategy.json | 15 + .../beans/GroupedMessageAggregationStrategy.json | 15 + .../beans/HazelcastAggregationRepository.json | 16 ++ .../beans/HazelcastIdempotentRepository.json | 16 ++ .../InfinispanEmbeddedAggregationRepository.json | 16 ++ .../InfinispanEmbeddedIdempotentRepository.json| 16 ++ .../InfinispanRemoteAggregationRepository.json | 16 ++ .../InfinispanRemoteIdempotentRepository.json | 16 ++ .../catalog/beans/JCacheAggregationRepository.json | 16 ++ .../catalog/beans/JCacheIdempotentRepository.json | 16 ++ .../catalog/beans/JdbcAggregationRepository.json | 16 ++ .../catalog/beans/JdbcMessageIdRepository.json | 16 ++ .../catalog/beans/KafkaIdempotentRepository.json | 16 ++ .../beans/LevelDBAggregationRepository.json| 16 ++ .../catalog/beans/MemoryAggregationRepository.json | 16 ++ .../catalog/beans/MemoryIdempotentRepository.json | 16 ++ .../catalog/beans/MongoDbIdempotentRepository.json | 16 ++ .../OpensearchBulkRequestAggregationStrategy.json | 15 + .../beans/SpringRedisIdempotentRepository.json | 16 ++ .../catalog/beans/StringAggregationStrategy.json | 16 ++ .../catalog/beans/TarAggregationStrategy.json | 16 ++ .../beans/UseLatestAggregationStrategy.json| 15 + .../beans/UseOriginalAggregationStrategy.json | 15 + .../catalog/beans/XsltAggregationStrategy.json | 16 ++ .../beans/XsltSaxonAggregationStrategy.json| 16 ++ .../catalog/beans/ZipAggregationStrategy.json | 16 ++ .../apache/camel/catalog/components/jcache.json| 36 +-- .../org/apache/camel/catalog/CamelCatalog.java | 14 + .../catalog/CamelCatalogJSonSchemaResolver.java| 7 + .../apache/camel/catalog/DefaultCamelCatalog.java | 14 + .../camel/catalog/DefaultRuntimeProvider.java | 16 ++ .../org/apache/camel/catalog/RuntimeProvider.java | 10 + .../org/apache/camel/catalog/CamelCatalogTest.java | 21 ++ .../CaffeineAggregationRepositoryConfigurer.java | 73 + .../CaffeineIdempotentRepositoryConfigurer.java| 49 .../services/org/apache/camel/bean.properties | 7 + .../camel/bean/CaffeineAggregationRepository.json | 16 ++ .../camel/bean/CaffeineIdempotentRepository.json | 16 ++ ...ocessor.aggregate.CaffeineAggregationRepository | 2 + ...ocessor.idempotent.CaffeineIdempotentRepository | 2 + .../aggregate/CaffeineAggregationRepository.java | 38 +-- .../idempotent/CaffeineIdempotentRepository.java | 23 +- .../CassandraAggregationRepositoryConfigurer.java | 127 .../CassandraIdempotentRepositoryConfigurer.java | 85 ++ .../services/org/apache/camel/bean.properties | 7 + .../camel/bean/CassandraAggregationRepository.json | 16 ++ .../camel/bean/CassandraIdempotentRepository.json | 16 ++ ...regate.cassandra.CassandraAggregationRepository | 2 + ...mpotent.cassandra.CassandraIdempotentRepository | 2 + .../cassandra/CassandraAggregationRepository.java | 93 +++--- .../NamedCassandraAggregationRepository.java | 1 + .../cassandra/CassandraIdempotentRepository.java | 70 +++-- .../NamedCassandraIdempotentRepository.java| 1 + .../EhcacheAggregationRepositoryConfigurer.java| 79 + .../EhcacheIdempotentRepositoryConfigurer.java | 49 .../services/org/apache/camel/bean.properties | 7 + .../camel/bean/EhcacheAggregationRepository.json | 16 ++ .../camel/bean/EhcacheIdempotentRepository.json| 16 ++ ...rocessor.aggregate.EhcacheAggregationRepository | 2 + ...rocessor.idempotent.EhcacheIdempotentRepository | 2 + .../aggregate/EhcacheAggregationRepository.java| 40 +-- .../idempotent/EhcacheIdempotentRepository.java| 13 +-
(camel-quarkus) 01/33: Upgrade Camel to 4.5.0
This is an automated email from the ASF dual-hosted git repository. jiriondrusek pushed a commit to branch camel-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git commit 87a4c22e92b80cedd0e073e6dc93b73c56ff8f2b Author: James Netherton AuthorDate: Wed Mar 6 14:56:22 2024 + Upgrade Camel to 4.5.0 --- .../catalog/quarkus/QuarkusRuntimeProvider.java| 21 +++ .../quarkus/QuarkusRuntimeProviderTest.java| 10 +++ docs/antora.yml| 2 +- .../ROOT/examples/components/rest-openapi.yml | 2 +- .../pages/reference/extensions/rest-openapi.adoc | 4 +-- .../catalog/BuildTimeJsonSchemaResolver.java | 5 .../core/deployment/catalog/SchemaResource.java| 2 +- .../camel/quarkus/core/CamelContextRecorder.java | 4 --- .../camel/quarkus/core/FastCamelContext.java | 11 +--- extensions-jvm/azure-cosmosdb/deployment/pom.xml | 4 +++ extensions-jvm/azure-cosmosdb/runtime/pom.xml | 4 +++ .../language/deployment/dm/DryModeMain.java| 2 +- .../org/apache/camel/component/qute/qute.json | 0 .../camel/quarkus/component/avro/it/AvroRoute.java | 11 .../apache/camel/quarkus/js/JavaScriptDslTest.java | 2 +- .../camel/quarkus/main/CoreMainXmlJaxbTest.java| 1 - integration-tests/ssh/pom.xml | 2 ++ .../camel/quarkus/component/ssh/it/SshIT.java | 2 ++ .../camel/quarkus/component/ssh/it/SshTest.java| 2 ++ .../component/velocity/it/VelocityTest.java| 6 ++--- pom.xml| 20 +++--- .../org/apache/camel/quarkus/maven/CqCatalog.java | 31 +- .../org/apache/camel/quarkus/maven/CqUtils.java| 2 ++ .../quarkus/maven/PrepareCatalogQuarkusMojo.java | 3 +++ .../quarkus/maven/UpdateExtensionDocPageMojo.java | 2 ++ 25 files changed, 120 insertions(+), 35 deletions(-) diff --git a/catalog/src/main/java/org/apache/camel/catalog/quarkus/QuarkusRuntimeProvider.java b/catalog/src/main/java/org/apache/camel/catalog/quarkus/QuarkusRuntimeProvider.java index d8a72bfada..ab9f6fabdb 100644 --- a/catalog/src/main/java/org/apache/camel/catalog/quarkus/QuarkusRuntimeProvider.java +++ b/catalog/src/main/java/org/apache/camel/catalog/quarkus/QuarkusRuntimeProvider.java @@ -35,10 +35,12 @@ public class QuarkusRuntimeProvider implements RuntimeProvider { private static final String COMPONENT_DIR = "org/apache/camel/catalog/quarkus/components"; private static final String DATAFORMAT_DIR = "org/apache/camel/catalog/quarkus/dataformats"; private static final String LANGUAGE_DIR = "org/apache/camel/catalog/quarkus/languages"; +private static final String TRANSFORMER_DIR = "org/apache/camel/catalog/quarkus/transformers"; private static final String OTHER_DIR = "org/apache/camel/catalog/quarkus/others"; private static final String COMPONENTS_CATALOG = "org/apache/camel/catalog/quarkus/components.properties"; private static final String DATA_FORMATS_CATALOG = "org/apache/camel/catalog/quarkus/dataformats.properties"; private static final String LANGUAGE_CATALOG = "org/apache/camel/catalog/quarkus/languages.properties"; +private static final String TRANSFORMER_CATALOG = "org/apache/camel/catalog/quarkus/transformers.properties"; private static final String OTHER_CATALOG = "org/apache/camel/catalog/quarkus/others.properties"; private CamelCatalog camelCatalog; @@ -83,6 +85,11 @@ public class QuarkusRuntimeProvider implements RuntimeProvider { return LANGUAGE_DIR; } +@Override +public String getTransformerJSonSchemaDirectory() { +return TRANSFORMER_DIR; +} + @Override public String getOtherJSonSchemaDirectory() { return OTHER_DIR; @@ -130,6 +137,20 @@ public class QuarkusRuntimeProvider implements RuntimeProvider { return names; } +@Override +public List findTransformerNames() { +List names = new ArrayList<>(); +InputStream is = camelCatalog.getVersionManager().getResourceAsStream(TRANSFORMER_CATALOG); +if (is != null) { +try { +CatalogHelper.loadLines(is, names); +} catch (IOException e) { +// ignore +} +} +return names; +} + @Override public List findOtherNames() { List names = new ArrayList<>(); diff --git a/catalog/src/test/java/org/apache/camel/catalog/quarkus/QuarkusRuntimeProviderTest.java b/catalog/src/test/java/org/apache/camel/catalog/quarkus/QuarkusRuntimeProviderTest.java index 20c0b3a9de..e3adf83bc6 100644 --- a/catalog/src/test/java/org/apache/camel/catalog/quarkus/QuarkusRuntimeProviderTest.java +++ b/catalog/src/test/java/org/apache/camel/catalog/quarkus/QuarkusRuntimeProviderTest.java @@ -183,6 +183,16 @@ public class QuarkusRuntimeProviderTest {
[PR] Partial revert of 0fb5aa31ae590eb042a1664ff18b6d5c44acc5c4 because of… [camel]
JiriOndrusek opened a new pull request, #13549: URL: https://github.com/apache/camel/pull/13549 partial fix of https://issues.apache.org/jira/browse/CAMEL-20585 I reverted 2 changes from 0fb5aa31ae590eb042a1664ff18b6d5c44acc5c4, which are causing https://issues.apache.org/jira/browse/CAMEL-20585. This is just a quick fix to make camel-quarkus work with camel/main branch. # Description # Target - [ ] I checked that the commit is targeting the correct branch (note that Camel 3 uses `camel-3.x`, whereas Camel 4 uses the `main` branch) # Tracking - [ ] If this is a large change, bug fix, or code improvement, I checked there is a [JIRA issue](https://issues.apache.org/jira/browse/CAMEL) filed for the change (usually before you start working on it). # Apache Camel coding standards and style - [ ] I checked that each commit in the pull request has a meaningful subject line and body. - [ ] I have run `mvn clean install -DskipTests` locally and I have committed all auto-generated changes -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] XSD might be wrong [camel-website]
davsclaus closed issue #1159: XSD might be wrong URL: https://github.com/apache/camel-website/issues/1159 -- 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) 02/33: Fix catalog JSON resolution in native mode
This is an automated email from the ASF dual-hosted git repository. jiriondrusek pushed a commit to branch camel-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git commit d0ef58afdeec37fb461faf6492f4075dfa23edc1 Author: James Netherton AuthorDate: Fri Mar 8 08:48:10 2024 + Fix catalog JSON resolution in native mode --- docs/modules/ROOT/pages/reference/extensions/core.adoc| 8 .../quarkus/core/deployment/CamelNativeImageProcessor.java| 7 ++- .../main/java/org/apache/camel/quarkus/core/CamelConfig.java | 11 +++ 3 files changed, 25 insertions(+), 1 deletion(-) diff --git a/docs/modules/ROOT/pages/reference/extensions/core.adoc b/docs/modules/ROOT/pages/reference/extensions/core.adoc index 014d098b7d..4ca4a1b84c 100644 --- a/docs/modules/ROOT/pages/reference/extensions/core.adoc +++ b/docs/modules/ROOT/pages/reference/extensions/core.adoc @@ -208,6 +208,14 @@ Setting this to `false` helps to reduce the size of the native image. In JVM mod | `boolean` | `true` +|icon:lock[title=Fixed at build time] [[quarkus.camel.runtime-catalog.transformers]]`link:#quarkus.camel.runtime-catalog.transformers[quarkus.camel.runtime-catalog.transformers]` + +If `true` the Runtime Camel Catalog embedded in the application will contain JSON schemas of Camel transformers available in the application; otherwise transformer JSON schemas will not be available in the Runtime Camel Catalog and any attempt to access those will result in a RuntimeException. + +Setting this to `false` helps to reduce the size of the native image. In JVM mode, there is no real benefit of setting this flag to `false` except for making the behavior consistent with native mode. +| `boolean` +| `true` + |icon:lock[title=Fixed at build time] [[quarkus.camel.routes-discovery.enabled]]`link:#quarkus.camel.routes-discovery.enabled[quarkus.camel.routes-discovery.enabled]` Enable automatic discovery of routes during static initialization. diff --git a/extensions-core/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/CamelNativeImageProcessor.java b/extensions-core/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/CamelNativeImageProcessor.java index 3319d86b62..4711587b18 100644 --- a/extensions-core/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/CamelNativeImageProcessor.java +++ b/extensions-core/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/CamelNativeImageProcessor.java @@ -44,6 +44,7 @@ import org.apache.camel.TypeConverter; import org.apache.camel.impl.engine.DefaultComponentResolver; import org.apache.camel.impl.engine.DefaultDataFormatResolver; import org.apache.camel.impl.engine.DefaultLanguageResolver; +import org.apache.camel.impl.engine.DefaultTransformerResolver; import org.apache.camel.quarkus.core.CamelConfig; import org.apache.camel.quarkus.core.CamelConfig.ReflectionConfig; import org.apache.camel.quarkus.core.CamelConfigFlags; @@ -179,7 +180,7 @@ public class CamelNativeImageProcessor { .forEach(service -> { String packageName = getPackageName(service.type); -String jsonPath = String.format("%s/%s.json", packageName.replace('.', '/'), service.name); +String jsonPath = String.format("META-INF/%s/%s.json", packageName.replace('.', '/'), service.name); if (config.runtimeCatalog.components && service.path.startsWith(DefaultComponentResolver.RESOURCE_PATH)) { @@ -193,6 +194,10 @@ public class CamelNativeImageProcessor { && service.path.startsWith(DefaultLanguageResolver.LANGUAGE_RESOURCE_PATH)) { resources.add(new NativeImageResourceBuildItem(jsonPath)); } +if (config.runtimeCatalog.transformers +&& service.path.startsWith(DefaultTransformerResolver.DATA_TYPE_TRANSFORMER_RESOURCE_PATH)) { +resources.add(new NativeImageResourceBuildItem(jsonPath)); +} }); if (config.runtimeCatalog.models) { diff --git a/extensions-core/core/runtime/src/main/java/org/apache/camel/quarkus/core/CamelConfig.java b/extensions-core/core/runtime/src/main/java/org/apache/camel/quarkus/core/CamelConfig.java index a03ca09958..7ba39b5430 100644 --- a/extensions-core/core/runtime/src/main/java/org/apache/camel/quarkus/core/CamelConfig.java +++ b/extensions-core/core/runtime/src/main/java/org/apache/camel/quarkus/core/CamelConfig.java @@ -339,6 +339,17 @@ public class CamelConfig { */ @ConfigItem(defaultValue = "true") public boolean models; + +/** + * If {@code true} the Runtime Camel Catalog embedded in the application will contain JSON schemas of Camel + * transformers available in the application;
(camel-quarkus) 21/33: Micrometer more debug logging
This is an automated email from the ASF dual-hosted git repository. jiriondrusek pushed a commit to branch camel-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git commit 940c3c2c24de34c187f7df6857cc049d184b62a8 Author: JiriOndrusek AuthorDate: Wed Mar 13 09:35:36 2024 +0100 Micrometer more debug logging --- .../component/micrometer/it/MicrometerResource.java | 19 +++ 1 file changed, 19 insertions(+) diff --git a/integration-tests/micrometer/src/main/java/org/apache/camel/quarkus/component/micrometer/it/MicrometerResource.java b/integration-tests/micrometer/src/main/java/org/apache/camel/quarkus/component/micrometer/it/MicrometerResource.java index fd7906e808..4e5cb3067a 100644 --- a/integration-tests/micrometer/src/main/java/org/apache/camel/quarkus/component/micrometer/it/MicrometerResource.java +++ b/integration-tests/micrometer/src/main/java/org/apache/camel/quarkus/component/micrometer/it/MicrometerResource.java @@ -20,11 +20,14 @@ import java.util.ArrayList; import java.util.LinkedList; import java.util.List; import java.util.NoSuchElementException; +import java.util.Optional; import java.util.concurrent.TimeUnit; +import io.micrometer.core.instrument.Meter; import io.micrometer.core.instrument.MeterRegistry; import io.micrometer.core.instrument.Tag; import io.micrometer.core.instrument.Tags; +import io.micrometer.core.instrument.composite.CompositeMeterRegistry; import io.micrometer.core.instrument.search.Search; import io.micrometer.prometheus.PrometheusMeterRegistry; import jakarta.inject.Inject; @@ -42,9 +45,11 @@ import org.apache.camel.component.micrometer.MicrometerComponent; import org.apache.camel.component.micrometer.MicrometerConstants; import org.apache.camel.component.micrometer.eventnotifier.MicrometerEventNotifierService; import org.apache.camel.component.micrometer.messagehistory.MicrometerMessageHistoryService; +import org.jboss.logging.Logger; @Path("/micrometer") public class MicrometerResource { +private static final Logger LOG = Logger.getLogger(MicrometerResource.class); @Inject ProducerTemplate producerTemplate; @@ -172,6 +177,20 @@ public class MicrometerResource { public Response statistics() { MicrometerEventNotifierService service = camelContext.hasService(MicrometerEventNotifierService.class); String json = service.dumpStatisticsAsJson(); + +//todo debug logging +LOG.info("json is " + json); +LOG.info("Service.started(): " + service.isStarted()); +LOG.info("meter registry is " + service.getMeterRegistry()); +if (service.getMeterRegistry() instanceof CompositeMeterRegistry) { +LOG.info("composite registry from " + ((CompositeMeterRegistry) service.getMeterRegistry()).getRegistries()); +} +Optional om = service.getMeterRegistry().getMeters().stream() +.filter(m -> m.getId().getName().contains("camel.routes.added")).findFirst(); +LOG.info("meter `camel.routes.added` " + om.get()); +if (om.isPresent()) { +LOG.info("value is " + om.get().measure().iterator().next().getValue()); +} return Response.ok().entity(json).build(); }
(camel) branch main updated: Regen for commit c0931290558005d216f6921d7229af25e95ccda9 (#13547)
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 4c2a11515c8 Regen for commit c0931290558005d216f6921d7229af25e95ccda9 (#13547) 4c2a11515c8 is described below commit 4c2a11515c8eddccf83f789b9362825b30a9c780 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Wed Mar 20 11:12:28 2024 +0100 Regen for commit c0931290558005d216f6921d7229af25e95ccda9 (#13547) Signed-off-by: GitHub Co-authored-by: davsclaus
(camel-k-runtime) branch main updated: build(deps): bump org.jolokia:jolokia-agent-jvm from 2.0.1 to 2.0.2
This is an automated email from the ASF dual-hosted git repository. pcongiusti 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 3e6818e1 build(deps): bump org.jolokia:jolokia-agent-jvm from 2.0.1 to 2.0.2 3e6818e1 is described below commit 3e6818e1bdd6d3dbd67b8f19053bd06ea373144e Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> AuthorDate: Tue Mar 19 23:39:24 2024 + build(deps): bump org.jolokia:jolokia-agent-jvm from 2.0.1 to 2.0.2 Bumps org.jolokia:jolokia-agent-jvm from 2.0.1 to 2.0.2. --- updated-dependencies: - dependency-name: org.jolokia:jolokia-agent-jvm dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- support/camel-k-runtime-bom/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/camel-k-runtime-bom/pom.xml b/support/camel-k-runtime-bom/pom.xml index bccaec46..56966694 100644 --- a/support/camel-k-runtime-bom/pom.xml +++ b/support/camel-k-runtime-bom/pom.xml @@ -35,7 +35,7 @@ 1710891132 -2.0.1 +2.0.2 3.4.1 3.8.6 io.quarkus.platform
Re: [I] Camelk | AtlasMap Support [camel-k]
oscerd closed issue #5261: Camelk | AtlasMap Support URL: https://github.com/apache/camel-k/issues/5261 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [PR] (chores) camel-mllp: parallelize unit tests [camel]
davsclaus commented on PR #13545: URL: https://github.com/apache/camel/pull/13545#issuecomment-2009152227 fyi I think there is one test that always fail on jdk21 - there is a JIRA about it -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [PR] fix #4948 part of #3397 [camel-k]
squakez commented on PR #5119: URL: https://github.com/apache/camel-k/pull/5119#issuecomment-2009111979 @valdar please rebase against `main` again. The Quarkus native checks have been fixed, so you won't need to run them manually any longer. Thanks. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[PR] (chores) camel-mllp: parallelize unit tests [camel]
orpiske opened a new pull request, #13545: URL: https://github.com/apache/camel/pull/13545 (no comment) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel) branch dependabot/maven/com.google.apis-google-api-services-sheets-v4-rev20240312-2.0.0 deleted (was 29bcb00ee37)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/com.google.apis-google-api-services-sheets-v4-rev20240312-2.0.0 in repository https://gitbox.apache.org/repos/asf/camel.git was 29bcb00ee37 Bump com.google.apis:google-api-services-sheets The revisions that were on this branch are still contained in other references; therefore, this change does not discard any commits from the repository.
Re: [PR] build(deps): bump org.apache.maven.plugins:maven-remote-resources-plugin from 3.1.0 to 3.2.0 [camel-k-runtime]
squakez merged PR #1183: URL: https://github.com/apache/camel-k-runtime/pull/1183 -- 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: feat(catalog): capabilities properties
This is an automated email from the ASF dual-hosted git repository. pcongiusti 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 aeffbc20 feat(catalog): capabilities properties aeffbc20 is described below commit aeffbc2055a4384433ea20aa47632384154a40e9 Author: Pasquale Congiusti AuthorDate: Mon Mar 18 16:36:09 2024 +0100 feat(catalog): capabilities properties --- .../camel/k/catalog/model/CamelCapability.java | 33 ++ .../org/apache/camel/k/catalog/model/Property.java | 49 +++ .../src/it/generate-catalog/verify.groovy | 41 .../camel/k/tooling/maven/GenerateCatalogMojo.java | 72 -- 4 files changed, 189 insertions(+), 6 deletions(-) diff --git a/support/camel-k-catalog-model/src/main/java/org/apache/camel/k/catalog/model/CamelCapability.java b/support/camel-k-catalog-model/src/main/java/org/apache/camel/k/catalog/model/CamelCapability.java index 5312dbd6..ed933ece 100644 --- a/support/camel-k-catalog-model/src/main/java/org/apache/camel/k/catalog/model/CamelCapability.java +++ b/support/camel-k-catalog-model/src/main/java/org/apache/camel/k/catalog/model/CamelCapability.java @@ -36,6 +36,27 @@ public interface CamelCapability { return Collections.emptySortedSet(); } +@Value.Auxiliary +@Value.Default +@Value.NaturalOrder +default SortedSet getRuntimeProperties() { +return Collections.emptySortedSet(); +} + +@Value.Auxiliary +@Value.Default +@Value.NaturalOrder +default SortedSet getBuildTimeProperties() { +return Collections.emptySortedSet(); +} + +@Value.Auxiliary +@Value.Default +@Value.NaturalOrder +default SortedSet getMetadata() { +return Collections.emptySortedSet(); +} + static CamelCapability forArtifact(String groupId, String artifactId) { return new Builder().addDependency(groupId, artifactId).build(); } @@ -52,5 +73,17 @@ public interface CamelCapability { return super.addDependencies(Artifact.from(groupId, artifactId, classifier.get())); } } + +public Builder addRuntimeProperty(String key, String value) { +return super.addRuntimeProperty(Property.from(key, value)); +} + +public Builder addBuildTimeProperty(String key, String value) { +return super.addBuildTimeProperty(Property.from(key, value)); +} + +public Builder addMetadata(String key, String value) { +return super.addMetadata(Property.from(key, value)); +} } } diff --git a/support/camel-k-catalog-model/src/main/java/org/apache/camel/k/catalog/model/Property.java b/support/camel-k-catalog-model/src/main/java/org/apache/camel/k/catalog/model/Property.java new file mode 100644 index ..fdaad618 --- /dev/null +++ b/support/camel-k-catalog-model/src/main/java/org/apache/camel/k/catalog/model/Property.java @@ -0,0 +1,49 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.camel.k.catalog.model; + +import java.util.Comparator; + +import com.fasterxml.jackson.annotation.JsonPropertyOrder; + +@JsonPropertyOrder({"key", "value"}) +public interface Property extends Comparable { +String getKey(); +String getValue(); + +@Override +default int compareTo(Property o) { +return Comparator +.comparing(Property::getKey) +.compare(this, o); +} + +static Property from(String key, String value) { +return new Property() { +@Override +public String getKey() { +return key; +} + +@Override +public String getValue() { +return value; +} +}; +} + +} diff --git a/support/camel-k-maven-plugin/src/it/generate-catalog/verify.groovy b/support/camel-k-maven-plugin/src/it/generate-catalog/verify.groovy index c863cba9..749acec1 100644 --- a/support/camel-k-maven-plugin/src/it/generate-catalog/verify.groovy +++
Re: [PR] feat(catalog): capabilities properties [camel-k-runtime]
squakez merged PR #1185: URL: https://github.com/apache/camel-k-runtime/pull/1185 -- 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 (f5f2f59c1b8 -> 522e6ca4b27)
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 f5f2f59c1b8 Regen for commit f45d00b5ddb60ca0559773cb8a5157281fccb5bf (#13543) add 522e6ca4b27 Regen No new revisions were added by this update. Summary of changes: .../AzureServicebusComponentBuilderFactory.java| 17 +++ .../dsl/ServiceBusEndpointBuilderFactory.java | 35 ++ 2 files changed, 52 insertions(+)
(camel) branch regen_bot updated (6bafb6ceec7 -> f5f2f59c1b8)
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 6bafb6ceec7 Regen for commit f45d00b5ddb60ca0559773cb8a5157281fccb5bf add f5f2f59c1b8 Regen for commit f45d00b5ddb60ca0559773cb8a5157281fccb5bf (#13543) 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 (6bafb6ceec7) \ N -- N -- N refs/heads/regen_bot (f5f2f59c1b8) You should already have received notification emails for all of the O revisions, and so the following emails describe only the N revisions from the common base, B. Any revisions marked "omit" are not gone; other references still refer to them. Any revisions marked "discard" are gone forever. No new revisions were added by this update. Summary of changes:
(camel) branch main updated: Regen
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 522e6ca4b27 Regen 522e6ca4b27 is described below commit 522e6ca4b27499f6958db21dc9fd0ee62d97e541 Author: Andrea Cosentino AuthorDate: Wed Mar 20 10:11:33 2024 +0100 Regen Signed-off-by: Andrea Cosentino --- .../AzureServicebusComponentBuilderFactory.java| 17 +++ .../dsl/ServiceBusEndpointBuilderFactory.java | 35 ++ 2 files changed, 52 insertions(+) diff --git a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AzureServicebusComponentBuilderFactory.java b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AzureServicebusComponentBuilderFactory.java index 925f0796013..eb26e95513a 100644 --- a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AzureServicebusComponentBuilderFactory.java +++ b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AzureServicebusComponentBuilderFactory.java @@ -217,6 +217,23 @@ public interface AzureServicebusComponentBuilderFactory { doSetProperty("disableAutoComplete", disableAutoComplete); return this; } +/** + * Enable application level deadlettering to the subscription deadletter + * subqueue if deadletter related headers are set. + * + * The option is a: codeboolean/code type. + * + * Default: false + * Group: consumer + * + * @param enableDeadLettering the value to set + * @return the dsl builder + */ +default AzureServicebusComponentBuilder enableDeadLettering( +boolean enableDeadLettering) { +doSetProperty("enableDeadLettering", enableDeadLettering); +return this; +} /** * Sets the amount of time to continue auto-renewing the lock. Setting * ZERO disables auto-renewal. For ServiceBus receive mode diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ServiceBusEndpointBuilderFactory.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ServiceBusEndpointBuilderFactory.java index 59fa3566a2c..4dc20bfaa4b 100644 --- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ServiceBusEndpointBuilderFactory.java +++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ServiceBusEndpointBuilderFactory.java @@ -294,6 +294,41 @@ public interface ServiceBusEndpointBuilderFactory { doSetProperty("disableAutoComplete", disableAutoComplete); return this; } +/** + * Enable application level deadlettering to the subscription deadletter + * subqueue if deadletter related headers are set. + * + * The option is a: codeboolean/code type. + * + * Default: false + * Group: consumer + * + * @param enableDeadLettering the value to set + * @return the dsl builder + */ +default ServiceBusEndpointConsumerBuilder enableDeadLettering( +boolean enableDeadLettering) { +doSetProperty("enableDeadLettering", enableDeadLettering); +return this; +} +/** + * Enable application level deadlettering to the subscription deadletter + * subqueue if deadletter related headers are set. + * + * The option will be converted to a codeboolean/code + * type. + * + * Default: false + * Group: consumer + * + * @param enableDeadLettering the value to set + * @return the dsl builder + */ +default ServiceBusEndpointConsumerBuilder enableDeadLettering( +String enableDeadLettering) { +doSetProperty("enableDeadLettering", enableDeadLettering); +return this; +} /** * Sets the amount of time to continue auto-renewing the lock. Setting * ZERO disables auto-renewal. For ServiceBus receive mode
(camel) branch main updated: Regen for commit f45d00b5ddb60ca0559773cb8a5157281fccb5bf (#13543)
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 f5f2f59c1b8 Regen for commit f45d00b5ddb60ca0559773cb8a5157281fccb5bf (#13543) f5f2f59c1b8 is described below commit f5f2f59c1b87940a04f1cacd6eb1c52dab80054f Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Wed Mar 20 10:08:17 2024 +0100 Regen for commit f45d00b5ddb60ca0559773cb8a5157281fccb5bf (#13543) Signed-off-by: GitHub Co-authored-by: oscerd --- .../camel/catalog/components/azure-servicebus.json | 82 +++--- .../kotlin/components/AzureServicebusUriDsl.kt | 16 + 2 files changed, 58 insertions(+), 40 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-servicebus.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-servicebus.json index a74ccb77a6b..72b04bd2499 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-servicebus.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/azure-servicebus.json @@ -32,25 +32,26 @@ "bridgeErrorHandler": { "index": 6, "kind": "property", "displayName": "Bridge Error Handler", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions (if possible) occurred while the Camel consumer is trying to pickup incoming messages, or the like [...] "consumerOperation": { "index": 7, "kind": "property", "displayName": "Consumer Operation", "group": "consumer", "label": "consumer", "required": false, "type": "object", "javaType": "org.apache.camel.component.azure.servicebus.ServiceBusConsumerOperationDefinition", "enum": [ "receiveMessages", "peekMessages" ], "deprecated": false, "autowired": false, "secret": false, "defaultValue": "receiveMessages", "configurationClass": "org.apache.camel.component.azure.servicebus.ServiceBusCon [...] "disableAutoComplete": { "index": 8, "kind": "property", "displayName": "Disable Auto Complete", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "configurationClass": "org.apache.camel.component.azure.servicebus.ServiceBusConfiguration", "configurationField": "configuration", "description": "Disables auto-complete and auto-abandon of received message [...] -"maxAutoLockRenewDuration": { "index": 9, "kind": "property", "displayName": "Max Auto Lock Renew Duration", "group": "consumer", "label": "consumer", "required": false, "type": "object", "javaType": "java.time.Duration", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "5m", "configurationClass": "org.apache.camel.component.azure.servicebus.ServiceBusConfiguration", "configurationField": "configuration", "description": "Sets the amount of time to continue au [...] -"peekNumMaxMessages": { "index": 10, "kind": "property", "displayName": "Peek Num Max Messages", "group": "consumer", "label": "consumer", "required": false, "type": "integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.servicebus.ServiceBusConfiguration", "configurationField": "configuration", "description": "Set the max number of messages to be peeked during the peek operation." }, -"prefetchCount": { "index": 11, "kind": "property", "displayName": "Prefetch Count", "group": "consumer", "label": "consumer", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.azure.servicebus.ServiceBusConfiguration", "configurationField": "configuration", "description": "Sets the prefetch count of the receiver. For both PEEK_LOCK PEEK_LOCK and RECEIVE_AND_DELETE RECEI [...] -"receiverAsyncClient": { "index": 12, "kind": "property", "displayName": "Receiver Async Client", "group": "consumer", "label": "consumer", "required": false, "type": "object", "javaType": "com.azure.messaging.servicebus.ServiceBusReceiverAsyncClient", "deprecated": false, "deprecationNote": "", "autowired": true, "secret": false, "configurationClass": "org.apache.camel.component.azure.servicebus.ServiceBusConfiguration", "configurationField": "configuration", "description": "Sets th [...] -"serviceBusReceiveMode": { "index": 13, "kind": "property", "displayName":
Re: [PR] Generated sources regen [camel]
oscerd merged PR #13543: URL: https://github.com/apache/camel/pull/13543 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [PR] CAMEL-20584: Revert "Bump mongo-java-driver-version from 4.11.1 to 5.0.0 (#13476)" [camel]
github-actions[bot] commented on PR #13544: URL: https://github.com/apache/camel/pull/13544#issuecomment-2009080937 :star2: Thank you for your contribution to the Apache Camel project! :star2: :robot: CI automation will test this PR automatically. :camel: Apache Camel Committers, please review the following items: * First-time contributors **require MANUAL approval** for the GitHub Actions to run * You can use the command `/component-test (camel-)component-name1 (camel-)component-name2..` to request a test from the test bot. * You can label PRs using `build-all`, `build-dependents`, `skip-tests` and `test-dependents` to fine-tune the checks executed by this PR. * Build and test logs are available in the Summary page. **Only** [Apache Camel committers](https://camel.apache.org/community/team/#committers) have access to the summary. * :warning: Be careful when sharing logs. Review their contents before sharing them publicly. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[PR] CAMEL-20584: Revert "Bump mongo-java-driver-version from 4.11.1 to 5.0.0 (#13476)" [camel]
orpiske opened a new pull request, #13544: URL: https://github.com/apache/camel/pull/13544 This reverts commit 6fe4706f1ff4051bebe109f6bdd28fd35d737f77. -- 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 (335b1903075 -> 6bafb6ceec7)
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 335b1903075 Sync add f45d00b5ddb CAMEL-20565 - Azure servicebus dead-lettering (#13507) add 6bafb6ceec7 Regen for commit f45d00b5ddb60ca0559773cb8a5157281fccb5bf No new revisions were added by this update. Summary of changes: .../camel/catalog/components/azure-servicebus.json | 82 +++--- .../servicebus/ServiceBusComponentConfigurer.java | 6 ++ .../servicebus/ServiceBusEndpointConfigurer.java | 6 ++ .../servicebus/ServiceBusEndpointUriFactory.java | 3 +- .../azure/servicebus/azure-servicebus.json | 82 +++--- .../azure/servicebus/ServiceBusConfiguration.java | 14 .../azure/servicebus/ServiceBusConsumer.java | 21 +- .../AzureServicebusComponentBuilderFactory.java| 1 + .../kotlin/components/AzureServicebusUriDsl.kt | 16 + 9 files changed, 149 insertions(+), 82 deletions(-)
[PR] Generated sources regen [camel]
github-actions[bot] opened a new pull request, #13543: URL: https://github.com/apache/camel/pull/13543 Regen bot :robot: found some uncommitted changes after running build on :camel: `main` branch. Please do not delete `regen_bot` branch after merge/rebase. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel) branch pojo-beans updated (03c5fbc875a -> 285cbc96f66)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch pojo-beans in repository https://gitbox.apache.org/repos/asf/camel.git from 03c5fbc875a Merge branch 'main' into pojo-beans add 285cbc96f66 CAMEL-17641: Generate json metadata for pojo beans in camel-core that end users can use such as AggregationStrategy implementations. And have that information in camel-catalog for tooling assistance. No new revisions were added by this update. Summary of changes: .../src/main/java/org/apache/camel/tooling/model/PojoBeanModel.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
(camel) branch regen_bot updated (93cf2567a0c -> 335b1903075)
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 93cf2567a0c Bump flink-version from 1.18.1 to 1.19.0 (#13539) add de91375c6a8 CAMEL-20576 camel-jbang-plugin-k run command kebab-case parsing invalid (#13536) add 335b1903075 Sync No new revisions were added by this update. Summary of changes: .../apache/camel/catalog/releases/camel-quarkus-releases.json | 5 + .../apache/camel/dsl/jbang/core/commands/k/TraitHelper.java | 5 - .../camel/dsl/jbang/core/commands/k/IntegrationRunTest.java | 11 +-- 3 files changed, 18 insertions(+), 3 deletions(-)
(camel) branch main updated: CAMEL-20565 - Azure servicebus dead-lettering (#13507)
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 f45d00b5ddb CAMEL-20565 - Azure servicebus dead-lettering (#13507) f45d00b5ddb is described below commit f45d00b5ddb60ca0559773cb8a5157281fccb5bf Author: Romain Pfund <44622509+romain-pf...@users.noreply.github.com> AuthorDate: Wed Mar 20 09:59:31 2024 +0100 CAMEL-20565 - Azure servicebus dead-lettering (#13507) * Add DeadLettering config * DeadLettering message * DeadLettering generated files * Use stacktrace in errordescription * Check if subqueue is set * Use ObjectHelper - Co-authored-by: Romain Pfund --- .../servicebus/ServiceBusComponentConfigurer.java | 6 ++ .../servicebus/ServiceBusEndpointConfigurer.java | 6 ++ .../servicebus/ServiceBusEndpointUriFactory.java | 3 +- .../azure/servicebus/azure-servicebus.json | 82 +++--- .../azure/servicebus/ServiceBusConfiguration.java | 14 .../azure/servicebus/ServiceBusConsumer.java | 21 +- .../AzureServicebusComponentBuilderFactory.java| 1 + 7 files changed, 91 insertions(+), 42 deletions(-) diff --git a/components/camel-azure/camel-azure-servicebus/src/generated/java/org/apache/camel/component/azure/servicebus/ServiceBusComponentConfigurer.java b/components/camel-azure/camel-azure-servicebus/src/generated/java/org/apache/camel/component/azure/servicebus/ServiceBusComponentConfigurer.java index c322856c874..2f6bbe2d17f 100644 --- a/components/camel-azure/camel-azure-servicebus/src/generated/java/org/apache/camel/component/azure/servicebus/ServiceBusComponentConfigurer.java +++ b/components/camel-azure/camel-azure-servicebus/src/generated/java/org/apache/camel/component/azure/servicebus/ServiceBusComponentConfigurer.java @@ -48,6 +48,8 @@ public class ServiceBusComponentConfigurer extends PropertyConfigurerSupport imp case "credentialType": getOrCreateConfiguration(target).setCredentialType(property(camelContext, org.apache.camel.component.azure.servicebus.CredentialType.class, value)); return true; case "disableautocomplete": case "disableAutoComplete": getOrCreateConfiguration(target).setDisableAutoComplete(property(camelContext, boolean.class, value)); return true; +case "enabledeadlettering": +case "enableDeadLettering": getOrCreateConfiguration(target).setEnableDeadLettering(property(camelContext, boolean.class, value)); return true; case "fullyqualifiednamespace": case "fullyQualifiedNamespace": getOrCreateConfiguration(target).setFullyQualifiedNamespace(property(camelContext, java.lang.String.class, value)); return true; case "lazystartproducer": @@ -114,6 +116,8 @@ public class ServiceBusComponentConfigurer extends PropertyConfigurerSupport imp case "credentialType": return org.apache.camel.component.azure.servicebus.CredentialType.class; case "disableautocomplete": case "disableAutoComplete": return boolean.class; +case "enabledeadlettering": +case "enableDeadLettering": return boolean.class; case "fullyqualifiednamespace": case "fullyQualifiedNamespace": return java.lang.String.class; case "lazystartproducer": @@ -176,6 +180,8 @@ public class ServiceBusComponentConfigurer extends PropertyConfigurerSupport imp case "credentialType": return getOrCreateConfiguration(target).getCredentialType(); case "disableautocomplete": case "disableAutoComplete": return getOrCreateConfiguration(target).isDisableAutoComplete(); +case "enabledeadlettering": +case "enableDeadLettering": return getOrCreateConfiguration(target).isEnableDeadLettering(); case "fullyqualifiednamespace": case "fullyQualifiedNamespace": return getOrCreateConfiguration(target).getFullyQualifiedNamespace(); case "lazystartproducer": diff --git a/components/camel-azure/camel-azure-servicebus/src/generated/java/org/apache/camel/component/azure/servicebus/ServiceBusEndpointConfigurer.java b/components/camel-azure/camel-azure-servicebus/src/generated/java/org/apache/camel/component/azure/servicebus/ServiceBusEndpointConfigurer.java index d2501cd900b..057f4c12227 100644 --- a/components/camel-azure/camel-azure-servicebus/src/generated/java/org/apache/camel/component/azure/servicebus/ServiceBusEndpointConfigurer.java +++ b/components/camel-azure/camel-azure-servicebus/src/generated/java/org/apache/camel/component/azure/servicebus/ServiceBusEndpointConfigurer.java @@ -38,6 +38,8 @@ public class ServiceBusEndpointConfigurer extends PropertyConfigurerSupport impl case "credentialType": target.getConfiguration().setCredentialType(property(camelContext,
Re: [PR] CAMEL-20565 - Azure servicebus dead-lettering [camel]
oscerd merged PR #13507: URL: https://github.com/apache/camel/pull/13507 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [PR] CAMEL-20565 - Azure servicebus dead-lettering [camel]
oscerd commented on PR #13507: URL: https://github.com/apache/camel/pull/13507#issuecomment-2009067811 Let's merge this and regen -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel) branch pojo-beans updated (8ceef02ba1f -> 03c5fbc875a)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch pojo-beans in repository https://gitbox.apache.org/repos/asf/camel.git from 8ceef02ba1f CAMEL-17641: Generate json metadata for pojo beans in camel-core that end users can use such as AggregationStrategy implementations. And have that information in camel-catalog for tooling assistance. add 5d5229966b6 CAMEL-20579: Handle NotYetImplementedForExchangeException for xchange ticker service lookup add 81358a64cf9 (chores) camel-kafka: increase fork timeout to prevent failures due to long-running tests add d4065543906 CAMEL-20477: try to fix flakiness on AsyncJmsProducerTest add 6a3a3d62ba7 CAMEL-20477: try to fix flakiness on TemporaryQueueRouteTest add 3d24f15edca CAMEL-20477: only use a persistent broker if needed by the test add cda13fe CAMEL-20477: rework overly fragile test add a376bc91483 CAMEL-20477: try to fix flakiness on JmsInOutRoutingSlipTest add 89674b561ea CAMEL-20477: rework the multiple consumer tests add d20172ff809 CAMEL-20477: allow using a fixed port for the Artemis VM service add abf1b8345c7 CAMEL-20477: startup reliability test needs a fully clean runtime to run reliably add fdf997b5938 catalog: make catalog more type safe add f266086e2cb Bump org.l2x6.cq:cq-alias-fastinstall-quickly-extension (#13528) add f05d00ab500 Bump spring-version from 6.1.3 to 6.1.5 (#13525) add c43821f1816 Bump huaweicloud-sdk-version from 3.1.85 to 3.1.86 (#13524) add df81b98b8b0 Bump org.eclipse.angus:angus-mail from 2.0.2 to 2.0.3 (#13527) add ca91b4f885f Bump aws-java-sdk2-version from 2.25.10 to 2.25.12 (#13523) add a8341e088de Camel-Milvus Test Infra: Improved options (#13529) add ef2335ccb73 Camel-Milvus Test Infra: Align langchain embeddings component to new usage (#13532) add 988e4cafc70 CAMEL-20559 camel-jbang-plugin-k run command error on a multi-valued trait property (#13521) add 1a20991e9f8 CAMEL-20581: ensure components use the correct lifecycle for service add 74236b7ffc7 CAMEL-20477: fixed incorrect lifecycle for the Artemis service add da4848cba96 Camel-Milvus: Improve headers (#13535) add 0fb5aa31ae5 Clean up updateResource usage add 1e214d825cb Fix code style add 930387aa752 Avoid rest routes dupes add 19b3ab298a1 (chores) camel-chatscript: fixed incorrect lifecycle for the ChatScript add 0fb200411d8 CAMEL-16660 - Hazelcast : tests : create camel-test-infra-Hazelcast. add 0d9bc34586e Bump com.graphql-java:graphql-java from 21.3 to 21.4 (#13542) add cfdd6e478ed Bump org.apache.pdfbox:pdfbox from 3.0.1 to 3.0.2 (#13541) add 78cd9e55772 Bump org.apache.cxf.xjcplugins:cxf-xjc-ts from 4.0.0 to 4.0.1 (#13540) add 93cf2567a0c Bump flink-version from 1.18.1 to 1.19.0 (#13539) add de91375c6a8 CAMEL-20576 camel-jbang-plugin-k run command kebab-case parsing invalid (#13536) add 335b1903075 Sync add 03c5fbc875a Merge branch 'main' into pojo-beans No new revisions were added by this update. Summary of changes: .mvn/extensions.xml| 2 +- .../apache/camel/catalog/components/milvus.json| 8 +- .../catalog/releases/camel-quarkus-releases.json | 5 + .../apache/camel/catalog/DefaultCamelCatalog.java | 75 +++--- ...LangchainEmbeddingsComponentMilvusTargetIT.java | 6 +- ...angchainEmbeddingsComponentQdrantTargetIT.java} | 2 +- .../camel/component/ChatScriptComponentIT.java | 2 +- components/camel-hazelcast/pom.xml | 15 +++ .../hazelcast/HazelcastConfigurationTest.java | 54 +- .../hazelcast/HazelcastListProducerTest.java | 15 ++- .../HazelcastSedaTransferExchangeTest.java | 15 ++- .../hazelcast/HazelcastSetProducerTest.java| 15 ++- ...lcastAggregationRepositoryCamelTestSupport.java | 24 ++--- .../HazelcastIdempotentRepositoryTest.java | 13 ++- components/camel-jms/pom.xml | 14 ++- .../camel/component/jms/JmsComponentTest.java | 2 +- .../jms/JmsDefaultTaskExecutorTypeTest.java| 2 +- .../camel/component/jms/JmsDeliveryDelayTest.java | 41 ++-- ...est.java => JmsMultipleConsumersQueueTest.java} | 69 ++--- ...est.java => JmsMultipleConsumersTopicTest.java} | 64 +--- .../component/jms/async/AsyncJmsProducerTest.java | 31 -- .../jms/issues/JmsInOutRoutingSlipTest.java| 13 ++- .../component/jms/temp/JmsReconnectManualTest.java | 2 +- ...tReplyTemporaryRefreshFailureOnStartupTest.java | 37 +-- .../jms/temp/TemporaryQueueRouteTest.java | 8 +- components/camel-kafka/pom.xml | 2 +- .../org/apache/camel/component/milvus/milvus.json | 8 +- .../org/apache/camel/component/milvus/Milvus.java | 14 --- .../camel/component/milvus/MilvusProducer.java | 1
(camel) branch main updated: Sync
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 335b1903075 Sync 335b1903075 is described below commit 335b19030757c1c1a1fa3fa206f05b769c93921f Author: Andrea Cosentino AuthorDate: Wed Mar 20 09:53:11 2024 +0100 Sync Signed-off-by: Andrea Cosentino --- .../org/apache/camel/catalog/releases/camel-quarkus-releases.json| 5 + 1 file changed, 5 insertions(+) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/releases/camel-quarkus-releases.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/releases/camel-quarkus-releases.json index 0fd976c5256..ff43de60684 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/releases/camel-quarkus-releases.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/releases/camel-quarkus-releases.json @@ -230,5 +230,10 @@ "version": "3.8.0", "date": "2024-02-28", "jdk": "17,21" +}, +{ +"version": "3.8.1", +"date": "2024-03-19", +"jdk": "17,21" } ]
(camel) branch regen_bot updated (0d9bc34586e -> 93cf2567a0c)
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 0d9bc34586e Bump com.graphql-java:graphql-java from 21.3 to 21.4 (#13542) add cfdd6e478ed Bump org.apache.pdfbox:pdfbox from 3.0.1 to 3.0.2 (#13541) add 78cd9e55772 Bump org.apache.cxf.xjcplugins:cxf-xjc-ts from 4.0.0 to 4.0.1 (#13540) add 93cf2567a0c Bump flink-version from 1.18.1 to 1.19.0 (#13539) No new revisions were added by this update. Summary of changes: parent/pom.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
(camel) branch regen_bot updated (0fb200411d8 -> 0d9bc34586e)
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 0fb200411d8 CAMEL-16660 - Hazelcast : tests : create camel-test-infra-Hazelcast. add 0d9bc34586e Bump com.graphql-java:graphql-java from 21.3 to 21.4 (#13542) No new revisions were added by this update. Summary of changes: parent/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Re: [PR] Bump com.google.apis:google-api-services-sheets from v4-rev20230815-2.0.0 to v4-rev20240312-2.0.0 [camel]
github-actions[bot] commented on PR #13538: URL: https://github.com/apache/camel/pull/13538#issuecomment-2009046955 :robot: The Apache Camel test robot will run the tests for you :+1: -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [PR] Bump com.google.apis:google-api-services-sheets from v4-rev20230815-2.0.0 to v4-rev20240312-2.0.0 [camel]
davsclaus commented on PR #13538: URL: https://github.com/apache/camel/pull/13538#issuecomment-2009046270 /component-test camel-google -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel) branch main updated (93cf2567a0c -> de91375c6a8)
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 93cf2567a0c Bump flink-version from 1.18.1 to 1.19.0 (#13539) add de91375c6a8 CAMEL-20576 camel-jbang-plugin-k run command kebab-case parsing invalid (#13536) No new revisions were added by this update. Summary of changes: .../apache/camel/dsl/jbang/core/commands/k/TraitHelper.java | 5 - .../camel/dsl/jbang/core/commands/k/IntegrationRunTest.java | 11 +-- 2 files changed, 13 insertions(+), 3 deletions(-)
(camel) branch dependabot/maven/flink-version-1.19.0 deleted (was 073a6c5b89d)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/flink-version-1.19.0 in repository https://gitbox.apache.org/repos/asf/camel.git was 073a6c5b89d Bump flink-version from 1.18.1 to 1.19.0 The revisions that were on this branch are still contained in other references; therefore, this change does not discard any commits from the repository.
Re: [PR] CAMEL-20576 camel-jbang-plugin-k run command kebab-case parsing invalid [camel]
davsclaus merged PR #13536: URL: https://github.com/apache/camel/pull/13536 -- 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 (78cd9e55772 -> 93cf2567a0c)
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 78cd9e55772 Bump org.apache.cxf.xjcplugins:cxf-xjc-ts from 4.0.0 to 4.0.1 (#13540) add 93cf2567a0c Bump flink-version from 1.18.1 to 1.19.0 (#13539) No new revisions were added by this update. Summary of changes: parent/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
(camel) branch dependabot/maven/org.apache.cxf.xjcplugins-cxf-xjc-ts-4.0.1 deleted (was 932cc588fd5)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/org.apache.cxf.xjcplugins-cxf-xjc-ts-4.0.1 in repository https://gitbox.apache.org/repos/asf/camel.git was 932cc588fd5 Bump org.apache.cxf.xjcplugins:cxf-xjc-ts from 4.0.0 to 4.0.1 The revisions that were on this branch are still contained in other references; therefore, this change does not discard any commits from the repository.
Re: [PR] Bump flink-version from 1.18.1 to 1.19.0 [camel]
davsclaus merged PR #13539: URL: https://github.com/apache/camel/pull/13539 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel) branch dependabot/maven/org.apache.pdfbox-pdfbox-3.0.2 deleted (was 355fc13c2c9)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/org.apache.pdfbox-pdfbox-3.0.2 in repository https://gitbox.apache.org/repos/asf/camel.git was 355fc13c2c9 Bump org.apache.pdfbox:pdfbox from 3.0.1 to 3.0.2 The revisions that were on this branch are still contained in other references; therefore, this change does not discard any commits from the repository.
Re: [PR] Bump org.apache.cxf.xjcplugins:cxf-xjc-ts from 4.0.0 to 4.0.1 [camel]
davsclaus merged PR #13540: URL: https://github.com/apache/camel/pull/13540 -- 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 (cfdd6e478ed -> 78cd9e55772)
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 cfdd6e478ed Bump org.apache.pdfbox:pdfbox from 3.0.1 to 3.0.2 (#13541) add 78cd9e55772 Bump org.apache.cxf.xjcplugins:cxf-xjc-ts from 4.0.0 to 4.0.1 (#13540) No new revisions were added by this update. Summary of changes: parent/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Re: [PR] Bump org.apache.pdfbox:pdfbox from 3.0.1 to 3.0.2 [camel]
davsclaus merged PR #13541: URL: https://github.com/apache/camel/pull/13541 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel) branch dependabot/maven/com.graphql-java-graphql-java-21.4 deleted (was f994d42fa82)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/com.graphql-java-graphql-java-21.4 in repository https://gitbox.apache.org/repos/asf/camel.git was f994d42fa82 Bump com.graphql-java:graphql-java from 21.3 to 21.4 The revisions that were on this branch are still contained in other references; therefore, this change does not discard any commits from the repository.
(camel) branch main updated (0d9bc34586e -> cfdd6e478ed)
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 0d9bc34586e Bump com.graphql-java:graphql-java from 21.3 to 21.4 (#13542) add cfdd6e478ed Bump org.apache.pdfbox:pdfbox from 3.0.1 to 3.0.2 (#13541) No new revisions were added by this update. Summary of changes: parent/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Re: [PR] Bump com.graphql-java:graphql-java from 21.3 to 21.4 [camel]
davsclaus merged PR #13542: URL: https://github.com/apache/camel/pull/13542 -- 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 (0fb200411d8 -> 0d9bc34586e)
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 0fb200411d8 CAMEL-16660 - Hazelcast : tests : create camel-test-infra-Hazelcast. add 0d9bc34586e Bump com.graphql-java:graphql-java from 21.3 to 21.4 (#13542) No new revisions were added by this update. Summary of changes: parent/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
(camel) branch pojo-beans updated (cbefa462634 -> 8ceef02ba1f)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch pojo-beans in repository https://gitbox.apache.org/repos/asf/camel.git from cbefa462634 CAMEL-17641: Generate json metadata for pojo beans in camel-core that end users can use such as AggregationStrategy implementations. And have that information in camel-catalog for tooling assistance. add 7c09ade9e14 CAMEL-17641: Generate json metadata for pojo beans in camel-core that end users can use such as AggregationStrategy implementations. And have that information in camel-catalog for tooling assistance. add 2e96443946b CAMEL-17641: Generate json metadata for pojo beans in camel-core that end users can use such as AggregationStrategy implementations. And have that information in camel-catalog for tooling assistance. add 6378a475fbb CAMEL-17641: Generate json metadata for pojo beans in camel-core that end users can use such as AggregationStrategy implementations. And have that information in camel-catalog for tooling assistance. add 8ceef02ba1f CAMEL-17641: Generate json metadata for pojo beans in camel-core that end users can use such as AggregationStrategy implementations. And have that information in camel-catalog for tooling assistance. No new revisions were added by this update. Summary of changes: .../beans/CaffeineAggregationRepository.json | 4 +- .../beans/CassandraAggregationRepository.json | 4 +- .../beans/CassandraIdempotentRepository.json | 2 +- .../catalog/beans/DefaultHeaderFilterStrategy.json | 2 +- .../beans/EhcacheAggregationRepository.json| 4 +- .../catalog/beans/Etcd3AggregationRepository.json | 4 +- .../catalog/beans/FileIdempotentRepository.json| 2 +- .../beans/HazelcastAggregationRepository.json | 4 +- .../beans/HazelcastIdempotentRepository.json | 2 +- .../InfinispanEmbeddedAggregationRepository.json | 2 +- .../InfinispanRemoteAggregationRepository.json | 2 +- .../catalog/beans/JCacheAggregationRepository.json | 4 +- .../catalog/beans/JCacheIdempotentRepository.json | 2 +- .../catalog/beans/JdbcAggregationRepository.json | 4 +- .../catalog/beans/JdbcMessageIdRepository.json | 2 +- .../catalog/beans/KafkaIdempotentRepository.json | 2 +- .../beans/LevelDBAggregationRepository.json| 4 +- .../catalog/beans/MemoryAggregationRepository.json | 2 +- .../catalog/beans/MongoDbIdempotentRepository.json | 2 +- .../beans/SpringRedisIdempotentRepository.json | 2 +- .../catalog/beans/TarAggregationStrategy.json | 2 +- .../catalog/beans/XsltAggregationStrategy.json | 2 +- .../beans/XsltSaxonAggregationStrategy.json| 2 +- .../catalog/beans/ZipAggregationStrategy.json | 2 +- .../camel/bean/CaffeineAggregationRepository.json | 4 +- .../aggregate/CaffeineAggregationRepository.java | 6 +- .../idempotent/CaffeineIdempotentRepository.java | 3 +- .../CassandraIdempotentRepositoryConfigurer.java | 4 +- .../camel/bean/CassandraAggregationRepository.json | 4 +- .../camel/bean/CassandraIdempotentRepository.json | 2 +- .../cassandra/CassandraAggregationRepository.java | 32 + .../NamedCassandraAggregationRepository.java | 1 + .../cassandra/CassandraIdempotentRepository.java | 20 +++--- .../NamedCassandraIdempotentRepository.java| 1 + .../camel/bean/EhcacheAggregationRepository.json | 4 +- .../idempotent/EhcacheIdempotentRepository.java| 3 +- ...astichsearchBulkRequestAggregationStrategy.java | 3 +- .../camel/bean/Etcd3AggregationRepository.json | 4 +- .../aggregate/Etcd3AggregationRepository.java | 4 +- .../camel/bean/HazelcastAggregationRepository.json | 4 +- .../camel/bean/HazelcastIdempotentRepository.json | 2 +- .../hazelcast/HazelcastAggregationRepository.java | 8 +-- .../hazelcast/HazelcastIdempotentRepository.java | 3 +- .../InfinispanEmbeddedAggregationRepository.json | 2 +- .../InfinispanEmbeddedAggregationRepository.java | 5 +- .../InfinispanRemoteAggregationRepository.json | 2 +- .../InfinispanRemoteAggregationRepository.java | 4 +- .../camel/bean/JCacheAggregationRepository.json| 4 +- .../camel/bean/JCacheIdempotentRepository.json | 2 +- .../idempotent/JCacheIdempotentRepository.java | 3 +- .../camel/bean/KafkaIdempotentRepository.json | 2 +- .../kafka/KafkaIdempotentRepository.java | 3 +- .../camel/bean/LevelDBAggregationRepository.json | 4 +- .../camel/bean/MongoDbIdempotentRepository.json| 2 +- .../idempotent/MongoDbIdempotentRepository.java| 3 +- .../OpensearchBulkRequestAggregationStrategy.java | 3 +- .../bean/SpringRedisIdempotentRepository.json | 2 +- .../SpringRedisIdempotentRepository.java | 3 +- .../camel/bean/JdbcAggregationRepository.json | 4 +- .../apache/camel/bean/JdbcMessageIdRepository.json | 2 +-
Re: [PR] Bump com.graphql-java:graphql-java from 21.3 to 21.4 [camel]
github-actions[bot] commented on PR #13542: URL: https://github.com/apache/camel/pull/13542#issuecomment-2009015840 :robot: The Apache Camel test robot will run the tests for you :+1: -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [PR] Bump com.graphql-java:graphql-java from 21.3 to 21.4 [camel]
oscerd commented on PR #13542: URL: https://github.com/apache/camel/pull/13542#issuecomment-2009015163 /component-test graphql -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [PR] Bump flink-version from 1.18.1 to 1.19.0 [camel]
github-actions[bot] commented on PR #13539: URL: https://github.com/apache/camel/pull/13539#issuecomment-2009013213 :robot: The Apache Camel test robot will run the tests for you :+1: -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [PR] Bump flink-version from 1.18.1 to 1.19.0 [camel]
oscerd commented on PR #13539: URL: https://github.com/apache/camel/pull/13539#issuecomment-2009012580 /component-test flink -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [PR] Bump com.graphql-java:graphql-java from 21.3 to 21.4 [camel]
github-actions[bot] commented on PR #13542: URL: https://github.com/apache/camel/pull/13542#issuecomment-2008959783 :star2: Thank you for your contribution to the Apache Camel project! :star2: :robot: CI automation will test this PR automatically. :camel: Apache Camel Committers, please review the following items: * First-time contributors **require MANUAL approval** for the GitHub Actions to run * You can use the command `/component-test (camel-)component-name1 (camel-)component-name2..` to request a test from the test bot. * You can label PRs using `build-all`, `build-dependents`, `skip-tests` and `test-dependents` to fine-tune the checks executed by this PR. * Build and test logs are available in the Summary page. **Only** [Apache Camel committers](https://camel.apache.org/community/team/#committers) have access to the summary. * :warning: Be careful when sharing logs. Review their contents before sharing them publicly. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel) branch dependabot/maven/com.graphql-java-graphql-java-21.4 created (now f994d42fa82)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/com.graphql-java-graphql-java-21.4 in repository https://gitbox.apache.org/repos/asf/camel.git at f994d42fa82 Bump com.graphql-java:graphql-java from 21.3 to 21.4 No new revisions were added by this update.
[PR] Bump com.graphql-java:graphql-java from 21.3 to 21.4 [camel]
dependabot[bot] opened a new pull request, #13542: URL: https://github.com/apache/camel/pull/13542 Bumps [com.graphql-java:graphql-java](https://github.com/graphql-java/graphql-java) from 21.3 to 21.4. Release notes Sourced from https://github.com/graphql-java/graphql-java/releases;>com.graphql-java:graphql-java's releases. 21.4 This is a special release to help control introspection queries. This release adds a default check for introspection queries, to check that they are sensible. This feature is a backport of https://redirect.github.com/graphql-java/graphql-java/pull/3526;>graphql-java/graphql-java#3526 and https://redirect.github.com/graphql-java/graphql-java/pull/3527;>graphql-java/graphql-java#3527. This release also adds an optional maximum result nodes limit, which is a backport of https://redirect.github.com/graphql-java/graphql-java/pull/3525;>graphql-java/graphql-java#3525. What's Changed 21.x Backport PR 3526 and PR 3527 by https://github.com/dondonz;>@​dondonz in https://redirect.github.com/graphql-java/graphql-java/pull/3529;>graphql-java/graphql-java#3529 21.x backport 3525 max result nodes by https://github.com/dondonz;>@​dondonz in https://redirect.github.com/graphql-java/graphql-java/pull/3528;>graphql-java/graphql-java#3528 Full Changelog: https://github.com/graphql-java/graphql-java/compare/v21.3...v21.4;>https://github.com/graphql-java/graphql-java/compare/v21.3...v21.4 Commits https://github.com/graphql-java/graphql-java/commit/5876cc863c0929be7b9b0edb7abf735a216893c8;>5876cc8 Merge pull request https://redirect.github.com/graphql-java/graphql-java/issues/3538;>#3538 from graphql-java/21.x-pull-in-21.3-commits https://github.com/graphql-java/graphql-java/commit/a79bebf9b725860d50f00a63f21d1f0ae62eeb04;>a79bebf Merge commit '42efd9b23ef9ae7ba862d9affefe04a03a9b99cb' into 21.x-pull-in-21 https://github.com/graphql-java/graphql-java/commit/ddc53be5ec397f7c92c6055c2790e73cc57e8197;>ddc53be Merge pull request https://redirect.github.com/graphql-java/graphql-java/issues/3528;>#3528 from graphql-java/21.x-backport-3525-max-result-nodes https://github.com/graphql-java/graphql-java/commit/990ee73ab7e1a712d9f24c543dcb34d94c91fbde;>990ee73 Merge pull request https://redirect.github.com/graphql-java/graphql-java/issues/3529;>#3529 from graphql-java/21.x-backport-3526-disable-introsp... https://github.com/graphql-java/graphql-java/commit/bfd6478d8caad46d50e462093d742996b39c33d4;>bfd6478 Fix hanging test - must return completed ExecutionResult, not null https://github.com/graphql-java/graphql-java/commit/81b41b0b5cba4dcf9508aeeff65899d0fd06b32b;>81b41b0 Fix typo https://github.com/graphql-java/graphql-java/commit/498f1eb9fafc072ebe75ce1ec6925186b3a7965a;>498f1eb Cherry pick GoodFaithIntrospection https://redirect.github.com/graphql-java/graphql-java/issues/3527;>#3527 https://github.com/graphql-java/graphql-java/commit/f1c4069b582b9363ffe3a666bc6a162734a2d833;>f1c4069 Backport PR 3526 with minor adjustments https://github.com/graphql-java/graphql-java/commit/fc5d4e521026d05d6735d2e1b03fa71f54922199;>fc5d4e5 Add cherry pick of PR 3525 and minor adjustments See full diff in https://github.com/graphql-java/graphql-java/compare/v21.3...v21.4;>compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.graphql-java:graphql-java=maven=21.3=21.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close
(camel-k) branch main updated: chore: Use camel case for Pipe error handler ref
This is an automated email from the ASF dual-hosted git repository. cdeppisch 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 0b64ac126 chore: Use camel case for Pipe error handler ref 0b64ac126 is described below commit 0b64ac1264a8e7032d7618edd9ccfca8ac933fd0 Author: Christoph Deppisch AuthorDate: Tue Mar 12 20:45:40 2024 +0100 chore: Use camel case for Pipe error handler ref --- pkg/apis/camel/v1/integration_types_support.go | 5 +++ pkg/controller/pipe/integration.go | 5 +-- pkg/controller/pipe/integration_test.go| 50 ++ pkg/trait/error_handler.go | 5 ++- pkg/trait/error_handler_test.go| 17 + 5 files changed, 68 insertions(+), 14 deletions(-) diff --git a/pkg/apis/camel/v1/integration_types_support.go b/pkg/apis/camel/v1/integration_types_support.go index e124cb71e..3705c5a05 100644 --- a/pkg/apis/camel/v1/integration_types_support.go +++ b/pkg/apis/camel/v1/integration_types_support.go @@ -116,6 +116,11 @@ func (in *IntegrationSpec) AddDependency(dependency string) { in.Dependencies = append(in.Dependencies, dependency) } +// AddConfigurationProperty adds a new configuration property. +func (in *IntegrationSpec) AddConfigurationProperty(confValue string) { + in.AddConfiguration("property", confValue) +} + // GetConfigurationProperty returns a configuration property. func (in *IntegrationSpec) GetConfigurationProperty(property string) string { for _, confSpec := range in.Configuration { diff --git a/pkg/controller/pipe/integration.go b/pkg/controller/pipe/integration.go index d78928f65..80b06d662 100644 --- a/pkg/controller/pipe/integration.go +++ b/pkg/controller/pipe/integration.go @@ -224,10 +224,7 @@ func configureBinding(integration *v1.Integration, bindings ...*bindings.Binding return err } - integration.Spec.Configuration = append(integration.Spec.Configuration, v1.ConfigurationSpec{ - Type: "property", - Value: entry, - }) + integration.Spec.AddConfigurationProperty(entry) } } diff --git a/pkg/controller/pipe/integration_test.go b/pkg/controller/pipe/integration_test.go index 13e16591b..30af04706 100644 --- a/pkg/controller/pipe/integration_test.go +++ b/pkg/controller/pipe/integration_test.go @@ -54,6 +54,56 @@ func TestCreateIntegrationForPipe(t *testing.T) { assert.Equal(t, expectedNominalRoute(), string(dsl)) } +func TestCreateIntegrationForPipeWithSinkErrorHandler(t *testing.T) { + client, err := test.NewFakeClient() + require.NoError(t, err) + + pipe := nominalPipe("my-error-handler-pipe") + pipe.Spec.ErrorHandler = { + RawMessage: []byte(`{"sink": {"endpoint": {"uri": "someUri"}}}`), + } + + it, err := CreateIntegrationFor(context.TODO(), client, ) + require.NoError(t, err) + assert.Equal(t, "my-error-handler-pipe", it.Name) + assert.Equal(t, "default", it.Namespace) + assert.Equal(t, "camel.apache.org/v1", it.OwnerReferences[0].APIVersion) + assert.Equal(t, "Pipe", it.OwnerReferences[0].Kind) + assert.Equal(t, "my-error-handler-pipe", it.OwnerReferences[0].Name) + assert.Len(t, it.Spec.Configuration, 3) + assert.Equal(t, "#class:org.apache.camel.builder.DeadLetterChannelBuilder", it.Spec.GetConfigurationProperty("camel.beans.defaultErrorHandler")) + assert.Equal(t, "someUri", it.Spec.GetConfigurationProperty("camel.beans.defaultErrorHandler.deadLetterUri")) + assert.Equal(t, "defaultErrorHandler", it.Spec.GetConfigurationProperty(v1.ErrorHandlerRefName)) + dsl, err := dsl.ToYamlDSL(it.Spec.Flows) + require.NoError(t, err) + assert.Equal(t, expectedNominalRoute(), string(dsl)) +} + +func TestCreateIntegrationForPipeWithLogErrorHandler(t *testing.T) { + client, err := test.NewFakeClient() + require.NoError(t, err) + + pipe := nominalPipe("my-error-handler-pipe") + pipe.Spec.ErrorHandler = { + RawMessage: []byte(`{"log": {"parameters": {"showHeaders": "true"}}}`), + } + + it, err := CreateIntegrationFor(context.TODO(), client, ) + require.NoError(t, err) + assert.Equal(t, "my-error-handler-pipe", it.Name) + assert.Equal(t, "default", it.Namespace) + assert.Equal(t, "camel.apache.org/v1", it.OwnerReferences[0].APIVersion) + assert.Equal(t, "Pipe", it.OwnerReferences[0].Kind) + assert.Equal(t, "my-error-handler-pipe", it.OwnerReferences[0].Name) + assert.Len(t, it.Spec.Configuration, 3) + assert.Equal(t, "#class:org.apache.camel.builder.DefaultErrorHandlerBuilder",
Re: [PR] chore: Use camel case for Pipe error handler ref [camel-k]
christophd merged PR #5260: URL: https://github.com/apache/camel-k/pull/5260 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [PR] Bump org.apache.pdfbox:pdfbox from 3.0.1 to 3.0.2 [camel]
github-actions[bot] commented on PR #13541: URL: https://github.com/apache/camel/pull/13541#issuecomment-2008957878 :robot: The Apache Camel test robot will run the tests for you :+1: -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [PR] Bump org.apache.pdfbox:pdfbox from 3.0.1 to 3.0.2 [camel]
apupier commented on PR #13541: URL: https://github.com/apache/camel/pull/13541#issuecomment-2008957457 /component-test pdf -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [PR] Bump org.apache.pdfbox:pdfbox from 3.0.1 to 3.0.2 [camel]
github-actions[bot] commented on PR #13541: URL: https://github.com/apache/camel/pull/13541#issuecomment-2008956301 :star2: Thank you for your contribution to the Apache Camel project! :star2: :robot: CI automation will test this PR automatically. :camel: Apache Camel Committers, please review the following items: * First-time contributors **require MANUAL approval** for the GitHub Actions to run * You can use the command `/component-test (camel-)component-name1 (camel-)component-name2..` to request a test from the test bot. * You can label PRs using `build-all`, `build-dependents`, `skip-tests` and `test-dependents` to fine-tune the checks executed by this PR. * Build and test logs are available in the Summary page. **Only** [Apache Camel committers](https://camel.apache.org/community/team/#committers) have access to the summary. * :warning: Be careful when sharing logs. Review their contents before sharing them publicly. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel) branch dependabot/maven/org.apache.pdfbox-pdfbox-3.0.2 created (now 355fc13c2c9)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/org.apache.pdfbox-pdfbox-3.0.2 in repository https://gitbox.apache.org/repos/asf/camel.git at 355fc13c2c9 Bump org.apache.pdfbox:pdfbox from 3.0.1 to 3.0.2 No new revisions were added by this update.
[PR] Bump org.apache.pdfbox:pdfbox from 3.0.1 to 3.0.2 [camel]
dependabot[bot] opened a new pull request, #13541: URL: https://github.com/apache/camel/pull/13541 Bumps org.apache.pdfbox:pdfbox from 3.0.1 to 3.0.2. [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.apache.pdfbox:pdfbox=maven=3.0.1=3.0.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [PR] Bump org.apache.cxf.xjcplugins:cxf-xjc-ts from 4.0.0 to 4.0.1 [camel]
github-actions[bot] commented on PR #13540: URL: https://github.com/apache/camel/pull/13540#issuecomment-2008944526 :star2: Thank you for your contribution to the Apache Camel project! :star2: :robot: CI automation will test this PR automatically. :camel: Apache Camel Committers, please review the following items: * First-time contributors **require MANUAL approval** for the GitHub Actions to run * You can use the command `/component-test (camel-)component-name1 (camel-)component-name2..` to request a test from the test bot. * You can label PRs using `build-all`, `build-dependents`, `skip-tests` and `test-dependents` to fine-tune the checks executed by this PR. * Build and test logs are available in the Summary page. **Only** [Apache Camel committers](https://camel.apache.org/community/team/#committers) have access to the summary. * :warning: Be careful when sharing logs. Review their contents before sharing them publicly. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel) branch dependabot/maven/org.apache.cxf.xjcplugins-cxf-xjc-ts-4.0.1 created (now 932cc588fd5)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/org.apache.cxf.xjcplugins-cxf-xjc-ts-4.0.1 in repository https://gitbox.apache.org/repos/asf/camel.git at 932cc588fd5 Bump org.apache.cxf.xjcplugins:cxf-xjc-ts from 4.0.0 to 4.0.1 No new revisions were added by this update.