Re: [I] [CI] - Quarkus Main Branch Build Failure [camel-quarkus]
github-actions[bot] commented on issue #2926: URL: https://github.com/apache/camel-quarkus/issues/2926#issuecomment-2027884921 The [quarkus-main](https://github.com/apache/camel-quarkus/tree/quarkus-main) branch build has failed: * Build ID: 8487653151-1437-3fcfdd8c-942c-4ee5-bb6e-884982bbb7ee * Camel Quarkus Commit: a78e60e187f627da947ddf79357e861ff78fd89a * Quarkus Main Commit: 9845d7b8321536c755466854ced167bff7600958 * Link to build: https://github.com/apache/camel-quarkus/actions/runs/8487653151 -- 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] [Github Actions] Periodic Sync Camel Spring Boot (Camel 4) [camel-spring-boot]
github-actions[bot] opened a new pull request, #1120: URL: https://github.com/apache/camel-spring-boot/pull/1120 Periodic Sync of Camel Spring Boot Main Branch with main Camel Main. see https://github.com/apache/camel-spring-boot/blob/main/.github/workflows/automatic-sync-main.yml -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel-k) branch main updated (708f21007 -> c06dbed9d)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel-k.git from 708f21007 knative-service stage fix add c06dbed9d chore: nightly automatic updates No new revisions were added by this update. Summary of changes: CHANGELOG.md | 1 + 1 file changed, 1 insertion(+)
Re: [PR] Fixup catalog: make catalog more type safe [camel]
ppalaga commented on PR #13665: URL: https://github.com/apache/camel/pull/13665#issuecomment-2027755577 Could please somebody help me to understand what the CI failure means? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel-karavan) branch main updated: Paths redesign
This is an automated email from the ASF dual-hosted git repository. marat pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-karavan.git The following commit(s) were added to refs/heads/main by this push: new c003b70a Paths redesign c003b70a is described below commit c003b70a16e00d0720a87b81903bbf39674dc3f3 Author: Marat Gubaidullin AuthorDate: Fri Mar 29 17:21:35 2024 -0400 Paths redesign --- karavan-app/src/main/webui/src/api/KaravanApi.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/karavan-app/src/main/webui/src/api/KaravanApi.tsx b/karavan-app/src/main/webui/src/api/KaravanApi.tsx index bae8382d..9d30fb80 100644 --- a/karavan-app/src/main/webui/src/api/KaravanApi.tsx +++ b/karavan-app/src/main/webui/src/api/KaravanApi.tsx @@ -683,7 +683,7 @@ export class KaravanApi { } static async postOpenApi(file: ProjectFile, generateRest: boolean, generateRoutes: boolean, integrationName: string) { -const uri = `/api/file/openapi/${generateRest}/${generateRoutes}/${integrationName}`; +const uri = `/ui/file/openapi/${generateRest}/${generateRoutes}/${integrationName}`; return instance.post(encodeURI(uri), file); } }
(camel-karavan) 01/02: Paths redesign
This is an automated email from the ASF dual-hosted git repository. marat pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-karavan.git commit 24fe564aebc8c7fbe1253d78b5b7b9d390a7d5c4 Author: Marat Gubaidullin AuthorDate: Fri Mar 29 16:46:15 2024 -0400 Paths redesign --- .../apache/camel/karavan/api/BuildResource.java| 2 +- .../camel/karavan/api/ComponentResources.java | 2 +- .../camel/karavan/api/ConfigurationResource.java | 2 +- .../camel/karavan/api/ContainerResource.java | 2 +- .../apache/camel/karavan/api/DevModeResource.java | 2 +- .../apache/camel/karavan/api/ImagesResource.java | 2 +- .../camel/karavan/api/InfrastructureResource.java | 2 +- .../apache/camel/karavan/api/KameletResources.java | 2 +- .../apache/camel/karavan/api/LogWatchResource.java | 2 +- .../camel/karavan/api/NotificationResource.java| 2 +- .../camel/karavan/api/ProjectFileResource.java | 2 +- .../camel/karavan/api/ProjectGitResource.java | 2 +- .../apache/camel/karavan/api/ProjectResource.java | 2 +- .../apache/camel/karavan/api/StatusResource.java | 2 +- .../apache/camel/karavan/api/UsersResource.java| 2 +- .../apache/camel/karavan/service/GitService.java | 2 +- .../src/main/resources/application.properties | 5 +- karavan-app/src/main/webui/src/api/KaravanApi.tsx | 100 ++--- karavan-app/src/main/webui/src/api/LogWatchApi.tsx | 2 +- .../src/main/webui/src/api/NotificationApi.tsx | 4 +- karavan-app/src/main/webui/src/index.css | 47 -- .../src/main/webui/src/projects/ProjectsPage.css | 68 ++ .../src/main/webui/src/projects/ProjectsPage.tsx | 6 +- 23 files changed, 142 insertions(+), 122 deletions(-) diff --git a/karavan-app/src/main/java/org/apache/camel/karavan/api/BuildResource.java b/karavan-app/src/main/java/org/apache/camel/karavan/api/BuildResource.java index 7dd5fbda..f8590a56 100644 --- a/karavan-app/src/main/java/org/apache/camel/karavan/api/BuildResource.java +++ b/karavan-app/src/main/java/org/apache/camel/karavan/api/BuildResource.java @@ -27,7 +27,7 @@ import org.apache.camel.karavan.service.KaravanCacheService; import org.apache.camel.karavan.code.CodeService; import org.apache.camel.karavan.kubernetes.KubernetesService; -@Path("/api/build") +@Path("/ui/build") public class BuildResource { @Inject diff --git a/karavan-app/src/main/java/org/apache/camel/karavan/api/ComponentResources.java b/karavan-app/src/main/java/org/apache/camel/karavan/api/ComponentResources.java index d763fefb..46148989 100644 --- a/karavan-app/src/main/java/org/apache/camel/karavan/api/ComponentResources.java +++ b/karavan-app/src/main/java/org/apache/camel/karavan/api/ComponentResources.java @@ -23,7 +23,7 @@ import jakarta.ws.rs.Produces; import jakarta.ws.rs.core.MediaType; import org.apache.camel.karavan.code.CodeService; -@Path("/api/component") +@Path("/ui/component") public class ComponentResources { @Inject diff --git a/karavan-app/src/main/java/org/apache/camel/karavan/api/ConfigurationResource.java b/karavan-app/src/main/java/org/apache/camel/karavan/api/ConfigurationResource.java index df877078..43860129 100644 --- a/karavan-app/src/main/java/org/apache/camel/karavan/api/ConfigurationResource.java +++ b/karavan-app/src/main/java/org/apache/camel/karavan/api/ConfigurationResource.java @@ -25,7 +25,7 @@ import jakarta.ws.rs.core.Response; import org.apache.camel.karavan.docker.DockerService; import org.apache.camel.karavan.service.ConfigService; -@Path("/api/configuration") +@Path("/ui/configuration") public class ConfigurationResource { @Inject diff --git a/karavan-app/src/main/java/org/apache/camel/karavan/api/ContainerResource.java b/karavan-app/src/main/java/org/apache/camel/karavan/api/ContainerResource.java index a5450dc2..2cd59af9 100644 --- a/karavan-app/src/main/java/org/apache/camel/karavan/api/ContainerResource.java +++ b/karavan-app/src/main/java/org/apache/camel/karavan/api/ContainerResource.java @@ -41,7 +41,7 @@ import java.util.stream.Collectors; import static org.apache.camel.karavan.service.ContainerStatusService.CONTAINER_STATUS; import static org.apache.camel.karavan.shared.Constants.*; -@Path("/api/container") +@Path("/ui/container") public class ContainerResource { @Inject diff --git a/karavan-app/src/main/java/org/apache/camel/karavan/api/DevModeResource.java b/karavan-app/src/main/java/org/apache/camel/karavan/api/DevModeResource.java index ce6f4903..514a4690 100644 --- a/karavan-app/src/main/java/org/apache/camel/karavan/api/DevModeResource.java +++ b/karavan-app/src/main/java/org/apache/camel/karavan/api/DevModeResource.java @@ -35,7 +35,7 @@ import org.jboss.logging.Logger; import static org.apache.camel.karavan.service.ContainerStatusService.CONTAINER_STATUS; -@Path("/api/devmode") +@Path("/ui/devmode") public class
(camel-karavan) 02/02: Fix #1210
This is an automated email from the ASF dual-hosted git repository. marat pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-karavan.git commit 6332a5ecaf3b1dcef3d5a900a3cff1cabb029cf1 Author: Marat Gubaidullin AuthorDate: Fri Mar 29 17:09:37 2024 -0400 Fix #1210 --- .../org/apache/camel/karavan/code/CodeService.java | 37 +++--- ...ilder-env.properties => builder-env.properties} | 0 2 files changed, 18 insertions(+), 19 deletions(-) diff --git a/karavan-app/src/main/java/org/apache/camel/karavan/code/CodeService.java b/karavan-app/src/main/java/org/apache/camel/karavan/code/CodeService.java index 89a536cd..03a646d6 100644 --- a/karavan-app/src/main/java/org/apache/camel/karavan/code/CodeService.java +++ b/karavan-app/src/main/java/org/apache/camel/karavan/code/CodeService.java @@ -66,7 +66,7 @@ public class CodeService { public static final String PROJECT_DEPLOYMENT_JKUBE_FILENAME = "deployment" + PROJECT_JKUBE_EXTENSION; private static final String SNIPPETS_PATH = "/snippets/"; private static final String DATA_FOLDER = System.getProperty("user.dir") + File.separator + "data"; -public static final String BUILDER_ENV_MAPPING_FILENAME = "kubernetes-builder-env.properties"; +public static final String BUILDER_ENV_MAPPING_FILENAME = "builder-env.properties"; private static final int INTERNAL_PORT = 8080; @ConfigProperty(name = "karavan.environment") @@ -89,7 +89,6 @@ public class CodeService { List blockList = List.of("components-blocklist.txt", "kamelets-blocklist.txt"); List beansTemplates = List.of("database", "messaging"); -List targets = List.of("openshift", "kubernetes", "docker"); List interfaces = List.of("org.apache.camel.AggregationStrategy.java", "org.apache.camel.Processor.java"); public static final Map DEFAULT_CONTAINER_RESOURCES = Map.of( @@ -134,12 +133,7 @@ public class CodeService { } public ProjectFile getApplicationProperties(Project project) { -String target = "docker"; -if (ConfigService.inKubernetes()) { -target = kubernetesService.isOpenshift() ? "openshift" : "kubernetes"; -} -String templateName = target + "-" + APPLICATION_PROPERTIES_FILENAME; -String templateText = getTemplateText(templateName); +String templateText = getTemplateText(APPLICATION_PROPERTIES_FILENAME); Template result = engine.parse(templateText); TemplateInstance instance = result .data("projectId", project.getProjectId()) @@ -164,17 +158,12 @@ public class CodeService { vertx.fileSystem().writeFileBlocking(path, Buffer.buffer(code)); } catch (Exception e) { LOGGER.error(e.getMessage()); -e.printStackTrace(); } } public String getBuilderScript() { -String target = ConfigService.inKubernetes() -? (kubernetesService.isOpenshift() ? "openshift" : "kubernetes") -: "docker"; -String templateName = target + "-" + BUILD_SCRIPT_FILENAME; -String envTemplate = getTemplateText(environment + "." + templateName); -return envTemplate != null ? envTemplate : getTemplateText(templateName); +String envTemplate = getTemplateText(environment + "." + BUILD_SCRIPT_FILENAME); +return envTemplate != null ? envTemplate : getTemplateText(BUILD_SCRIPT_FILENAME); } public String getTemplateText(String fileName) { @@ -196,12 +185,22 @@ public class CodeService { public Map getTemplates() { Map result = new HashMap<>(); +if (ConfigService.inKubernetes()) { +if (kubernetesService.isOpenshift()) { +result.put(APPLICATION_PROPERTIES_FILENAME, getResourceFile(SNIPPETS_PATH + "openshift-" + APPLICATION_PROPERTIES_FILENAME)); +result.put(BUILD_SCRIPT_FILENAME, getResourceFile(SNIPPETS_PATH + "openshift-" + BUILD_SCRIPT_FILENAME)); +} else { +result.put(APPLICATION_PROPERTIES_FILENAME, getResourceFile(SNIPPETS_PATH + "kubernetes-" + APPLICATION_PROPERTIES_FILENAME)); +result.put(BUILD_SCRIPT_FILENAME, getResourceFile(SNIPPETS_PATH + "kubernetes-" + BUILD_SCRIPT_FILENAME)); +} +result.put(BUILDER_ENV_MAPPING_FILENAME, getResourceFile(SNIPPETS_PATH + BUILDER_ENV_MAPPING_FILENAME)); +} else { +result.put(APPLICATION_PROPERTIES_FILENAME, getResourceFile(SNIPPETS_PATH + "docker-" + APPLICATION_PROPERTIES_FILENAME)); +result.put(BUILD_SCRIPT_FILENAME, getResourceFile(SNIPPETS_PATH + "docker-" + BUILD_SCRIPT_FILENAME)); +} + List files = new ArrayList<>(interfaces); -files.addAll(targets.stream().map(target -> target + "-" + APPLICATION_PROPERTIES_FILENAME).toList()); -files.addAll(targets.stream().map(target -> target + "-" +
Re: [I] Templates should contain only env specific properties and scripts [camel-karavan]
mgubaidullin closed issue #1210: Templates should contain only env specific properties and scripts URL: https://github.com/apache/camel-karavan/issues/1210 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel-karavan) branch main updated (618e1a2d -> 6332a5ec)
This is an automated email from the ASF dual-hosted git repository. marat pushed a change to branch main in repository https://gitbox.apache.org/repos/asf/camel-karavan.git from 618e1a2d Upgrade deps new 24fe564a Paths redesign new 6332a5ec Fix #1210 The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../apache/camel/karavan/api/BuildResource.java| 2 +- .../camel/karavan/api/ComponentResources.java | 2 +- .../camel/karavan/api/ConfigurationResource.java | 2 +- .../camel/karavan/api/ContainerResource.java | 2 +- .../apache/camel/karavan/api/DevModeResource.java | 2 +- .../apache/camel/karavan/api/ImagesResource.java | 2 +- .../camel/karavan/api/InfrastructureResource.java | 2 +- .../apache/camel/karavan/api/KameletResources.java | 2 +- .../apache/camel/karavan/api/LogWatchResource.java | 2 +- .../camel/karavan/api/NotificationResource.java| 2 +- .../camel/karavan/api/ProjectFileResource.java | 2 +- .../camel/karavan/api/ProjectGitResource.java | 2 +- .../apache/camel/karavan/api/ProjectResource.java | 2 +- .../apache/camel/karavan/api/StatusResource.java | 2 +- .../apache/camel/karavan/api/UsersResource.java| 2 +- .../org/apache/camel/karavan/code/CodeService.java | 37 .../apache/camel/karavan/service/GitService.java | 2 +- .../src/main/resources/application.properties | 5 +- ...ilder-env.properties => builder-env.properties} | 0 karavan-app/src/main/webui/src/api/KaravanApi.tsx | 100 ++--- karavan-app/src/main/webui/src/api/LogWatchApi.tsx | 2 +- .../src/main/webui/src/api/NotificationApi.tsx | 4 +- karavan-app/src/main/webui/src/index.css | 47 -- .../ProjectsPage.css} | 49 -- .../src/main/webui/src/projects/ProjectsPage.tsx | 6 +- 25 files changed, 136 insertions(+), 146 deletions(-) rename karavan-app/src/main/resources/snippets/{kubernetes-builder-env.properties => builder-env.properties} (100%) copy karavan-app/src/main/webui/src/{containers/ContainerPage.css => projects/ProjectsPage.css} (54%)
[PR] Upgrade to cq-maven-plugin 4.7.0 [camel-quarkus]
ppalaga opened a new pull request, #5934: URL: https://github.com/apache/camel-quarkus/pull/5934 (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
Re: [I] Incorrect display name and description for errorHandlers [camel-karavan]
mgubaidullin closed issue #599: Incorrect display name and description for errorHandlers URL: https://github.com/apache/camel-karavan/issues/599 -- 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] spark component not available in vscode extension latest version(3.20.0). It was available till ver 3.18.5 [camel-karavan]
mgubaidullin closed issue #670: spark component not available in vscode extension latest version(3.20.0). It was available till ver 3.18.5 URL: https://github.com/apache/camel-karavan/issues/670 -- 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] Namespace field doen not work in xpath expression [camel-karavan]
mgubaidullin closed issue #996: Namespace field doen not work in xpath expression URL: https://github.com/apache/camel-karavan/issues/996 -- 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] Caused by: java.lang.IllegalArgumentException: Cannot find RoutesBuilderLoader in classpath supporting file extension: htm at org.apache.camel.impl.engine.DefaultRoutesLoader.findRoutesBuilde
mgubaidullin closed issue #1048: Caused by: java.lang.IllegalArgumentException: Cannot find RoutesBuilderLoader in classpath supporting file extension: htm at org.apache.camel.impl.engine.DefaultRoutesLoader.findRoutesBuilders(DefaultRoutesLoader.java:96) URL: https://github.com/apache/camel-karavan/issues/1048 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] Karavan in Docker - Setup error [camel-karavan]
mgubaidullin closed issue #1206: Karavan in Docker - Setup error URL: https://github.com/apache/camel-karavan/issues/1206 -- 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] Karavan in Docker - Setup error [camel-karavan]
mgubaidullin commented on issue #1206: URL: https://github.com/apache/camel-karavan/issues/1206#issuecomment-2027680076 1. First three lines on your screenshot indicates that you did not configure env variables correct 2. KARAVAN_GIT_REPOSITORY should be YOUR repository to store YOUR projects -- 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-20611 : rename camel Langchain to camel Langchain4j [camel]
davsclaus commented on PR #13664: URL: https://github.com/apache/camel/pull/13664#issuecomment-2027643784 we should after this PR is merged, also adjust camel-spring-boot. Also add a note in the 4.6 upgrade guide (if not already done) about this rename -- 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-20611 : rename camel Langchain to camel Langchain4j [camel]
davsclaus commented on PR #13664: URL: https://github.com/apache/camel/pull/13664#issuecomment-2027643207 that test error is unrelated - its something with jdk21 and kamelet-main ( we need to look at this later ) -- 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] Fixup catalog: make catalog more type safe [camel]
ppalaga opened a new pull request, #13665: URL: https://github.com/apache/camel/pull/13665 Fixup fdf997b5938b76b5b4bd893f9bd76ae7d8c42773 Adding some missing methods -- 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 (d9e4e114947 -> dc79e8e8c27)
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 d9e4e114947 CAMEL-20615: camel-yaml-dsl - Fix variableReceive when using route as top elemenet add 002dacd643e Fixed Bedrock Agent Producer response for ingestion job add b8ff434333a camel-jbang - Upgrade to 4.5.0 release add 69b850bf7bf Enable camel-nats for Power add 6e124a83428 CAMEL-20557: Rest DSL to use openapi spec directly (#13647) add 05333cbdfba camel-jbang - Upgrade to quarkus 3.9.1 add 70d0a6a9db0 Polished add 77653d0644b CAMEL-20620: camel-platform-http-vertx - Path parameters should not leak back to calling client (#13648) add b5c2d273349 Bump com.amazonaws:aws-xray-recorder-sdk-bom from 2.15.1 to 2.15.2 (#13649) add 563ca1eca57 Bump org.glassfish.jaxb:jaxb-runtime from 4.0.4 to 4.0.5 (#13651) add ee51635ce32 Bump huaweicloud-sdk-version from 3.1.87 to 3.1.88 (#13654) add 0f1b413c7b4 Bump org.redisson:redisson from 3.26.0 to 3.27.2 (#13656) add 8d84bacfc69 Bump io.fabric8:mockwebserver from 6.10.0 to 6.11.0 (#13657) add d32040cf313 Bump org.owasp:dependency-check-maven from 9.0.9 to 9.0.10 (#13658) add 234ccfca6ea Bump org.apache.maven.plugins:maven-assembly-plugin from 3.7.0 to 3.7.1 (#13652) add 9ab70185914 camel-jbang - Upgrade to 4.0.0-RC2 add ebd4b055991 Bump org.codehaus.mojo:sql-maven-plugin from 1.5 to 3.0.0 (#13650) add 6030ea3c77a Bump aws-java-sdk2-version from 2.25.19 to 2.25.20 (#13653) add fbee8b098f3 CAMEL-19164: upgrade to http components 5.x (#13619) add 64d67f6b9ab Regen add 70b559dbaad CAMEL-19164: upgrade to http components 5.x add fd50d851db5 CAMEL-20632- Fix documentation for Camel Langchain4j chat component (#13659) add 68661a84041 CAMEL-20625: Create a camel-google-pubsub-lite component (#13630) add c235e341d9c CAMEL-20625: Create a camel-google-pubsub-lite component add e1450ab8658 CAMEL-20625: Create a camel-google-pubsub-lite component add 439beab2d3c CAMEL-20625: Create a camel-google-pubsub-lite component add 5d51c1e4dd7 CAMEL-20625: Create a camel-google-pubsub-lite component add 63b04d437cb CAMEL-20625: Create a camel-google-pubsub-lite component add dcbe7d0a901 Bump djl-version from 0.26.0 to 0.27.0 (#13655) add c2bcd0e2a74 CAMEL-20629: camel-platform-http-vertx - Header filter strategy should be HttpHeaderFilterStrategy (#13661) add c96925e6710 CAMEL-20625: fix description for the consumerBytesOutstanding param (#13660) add 0c0f3667e88 Regen add 8e21ea5b609 Regen add aefc55c69d4 Upgrade camel-coap to 3.11.0 add f12fa8278c6 Update camel-3x-upgrade-guide.adoc (#13662) add 1741a358932 Fix doc xref add 9dd47b805c0 CAMEL-20623: Use same client request validation in rest-dsl with open… (#13663) add 6f3e66582dc CAMEL-20629: camel-platform-http-vertx - Header filter strategy should be HttpHeaderFilterStrategy add dc79e8e8c27 CAMEL-20635: camel-jbang - Export to quarkus does not work with newer Q releases No new revisions were added by this update. Summary of changes: bom/camel-bom/pom.xml | 5 + catalog/camel-allcomponents/pom.xml| 5 + .../org/apache/camel/catalog/components.properties | 1 + .../org/apache/camel/catalog/components/as2.json | 8 +- .../apache/camel/catalog/components/aws2-ec2.json | 2 +- .../catalog/components/google-pubsub-lite.json | 60 ++ .../camel/catalog/components/platform-http.json| 7 +- .../camel/catalog/components/rest-openapi.json | 64 +- .../org/apache/camel/catalog/models.properties | 1 + .../org/apache/camel/catalog/models/openApi.json | 23 + .../org/apache/camel/catalog/models/rest.json | 5 +- .../camel/catalog/models/restConfiguration.json| 2 +- .../apache/camel/catalog/schemas/camel-spring.xsd | 71 +- .../{java => }/docs/langchain-chat-component.adoc | 10 +- components/camel-as2/camel-as2-api/pom.xml | 11 +- .../as2/api/AS2AsynchronousMDNManager.java | 89 +-- .../component/as2/api/AS2ClientConnection.java | 170 +++-- .../camel/component/as2/api/AS2ClientManager.java | 17 +- .../camel/component/as2/api/AS2Constants.java | 4 +- .../apache/camel/component/as2/api/AS2Header.java | 24 +- .../component/as2/api/AS2ServerConnection.java | 69 +- .../camel/component/as2/api/AS2ServerManager.java | 8 +- .../component/as2/api/AS2SignedDataGenerator.java | 2 +- .../AS2MessageDispositionNotificationEntity.java | 26 +- .../api/entity/ApplicationEDIConsentEntity.java| 9 +- .../as2/api/entity/ApplicationEDIFACTEntity.java | 8 +- .../as2/api/entity/ApplicationEDIX12Entity.java| 8 +- .../as2/api/entity/ApplicationEntity.java | 12 +-
Re: [PR] CAMEL-20611 : rename camel Langchain to camel Langchain4j [camel]
zbendhiba commented on PR #13664: URL: https://github.com/apache/camel/pull/13664#issuecomment-2027540413 the build doesn't seem to be related to the changes, or I'm missing some logs -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel) branch camel-4.0.x updated: CAMEL-20635: camel-jbang - Export to quarkus does not work with newer Q releases
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-4.0.x in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/camel-4.0.x by this push: new 8b8d7e9b1f4 CAMEL-20635: camel-jbang - Export to quarkus does not work with newer Q releases 8b8d7e9b1f4 is described below commit 8b8d7e9b1f46a3485e39eb48240669f616091e8a Author: Claus Ibsen AuthorDate: Fri Mar 29 18:43:23 2024 +0100 CAMEL-20635: camel-jbang - Export to quarkus does not work with newer Q releases --- .../java/org/apache/camel/dsl/jbang/core/common/CatalogLoader.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/common/CatalogLoader.java b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/common/CatalogLoader.java index f3cf0e9b41d..45e54b788ba 100644 --- a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/common/CatalogLoader.java +++ b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/common/CatalogLoader.java @@ -151,11 +151,12 @@ public final class CatalogLoader { String camelQuarkusVersion = null; CamelCatalog answer = new DefaultCamelCatalog(true); -// quarkus version must end with .Final if (quarkusVersion == null) { return answer; } -if (!quarkusVersion.endsWith(".Final")) { +// quarkus 3.2.x and older must have .Final +boolean finalSuffix = VersionHelper.isLE(quarkusVersion, "3.2"); +if (finalSuffix && !quarkusVersion.endsWith(".Final")) { quarkusVersion += ".Final"; }
(camel) branch camel-4.4.x updated: CAMEL-20635: camel-jbang - Export to quarkus does not work with newer Q releases
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-4.4.x in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/camel-4.4.x by this push: new 3e89265e53d CAMEL-20635: camel-jbang - Export to quarkus does not work with newer Q releases 3e89265e53d is described below commit 3e89265e53d6710a940bd16555088f9ad03ae6a9 Author: Claus Ibsen AuthorDate: Fri Mar 29 18:43:23 2024 +0100 CAMEL-20635: camel-jbang - Export to quarkus does not work with newer Q releases --- .../java/org/apache/camel/dsl/jbang/core/common/CatalogLoader.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/common/CatalogLoader.java b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/common/CatalogLoader.java index 97c7aaadcdc..d10bb13826d 100644 --- a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/common/CatalogLoader.java +++ b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/common/CatalogLoader.java @@ -152,11 +152,12 @@ public final class CatalogLoader { String camelQuarkusVersion = null; CamelCatalog answer = new DefaultCamelCatalog(true); -// quarkus version must end with .Final if (quarkusVersion == null) { return answer; } -if (!quarkusVersion.endsWith(".Final")) { +// quarkus 3.2.x and older must have .Final +boolean finalSuffix = VersionHelper.isLE(quarkusVersion, "3.2"); +if (finalSuffix && !quarkusVersion.endsWith(".Final")) { quarkusVersion += ".Final"; }
(camel) branch main updated (6f3e66582dc -> dc79e8e8c27)
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 6f3e66582dc CAMEL-20629: camel-platform-http-vertx - Header filter strategy should be HttpHeaderFilterStrategy add dc79e8e8c27 CAMEL-20635: camel-jbang - Export to quarkus does not work with newer Q releases No new revisions were added by this update. Summary of changes: .../java/org/apache/camel/dsl/jbang/core/common/CatalogLoader.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
Re: [PR] CAMEL-20611 : rename camel Langchain to camel Langchain4j [camel]
github-actions[bot] commented on PR #13664: URL: https://github.com/apache/camel/pull/13664#issuecomment-2027501908 :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-20611 : rename camel Langchain to camel Langchain4j [camel]
zbendhiba opened a new pull request, #13664: URL: https://github.com/apache/camel/pull/13664 # 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
(camel) branch main updated: CAMEL-20629: camel-platform-http-vertx - Header filter strategy should be HttpHeaderFilterStrategy
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 6f3e66582dc CAMEL-20629: camel-platform-http-vertx - Header filter strategy should be HttpHeaderFilterStrategy 6f3e66582dc is described below commit 6f3e66582dc809733dc1803ded0e95bf78e1eb55 Author: Claus Ibsen AuthorDate: Fri Mar 29 17:10:18 2024 +0100 CAMEL-20629: camel-platform-http-vertx - Header filter strategy should be HttpHeaderFilterStrategy --- .../java/org/apache/camel/http/base}/HttpHeaderFilterStrategy.java | 2 +- .../main/java/org/apache/camel/http/common/DefaultHttpBinding.java | 4 ++-- .../src/main/java/org/apache/camel/http/common/HttpBinding.java| 2 +- .../main/java/org/apache/camel/http/common/HttpCommonEndpoint.java | 2 +- .../org/apache/camel/http/common/HttpHeaderFilterStrategy.java | 7 +-- components/camel-platform-http-vertx/pom.xml | 4 components/camel-platform-http/pom.xml | 2 +- .../apache/camel/component/platform/http/PlatformHttpEndpoint.java | 2 +- 8 files changed, 16 insertions(+), 9 deletions(-) diff --git a/components/camel-http-common/src/main/java/org/apache/camel/http/common/HttpHeaderFilterStrategy.java b/components/camel-http-base/src/main/java/org/apache/camel/http/base/HttpHeaderFilterStrategy.java similarity index 97% copy from components/camel-http-common/src/main/java/org/apache/camel/http/common/HttpHeaderFilterStrategy.java copy to components/camel-http-base/src/main/java/org/apache/camel/http/base/HttpHeaderFilterStrategy.java index bc7ca239979..9249a9fd325 100644 --- a/components/camel-http-common/src/main/java/org/apache/camel/http/common/HttpHeaderFilterStrategy.java +++ b/components/camel-http-base/src/main/java/org/apache/camel/http/base/HttpHeaderFilterStrategy.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.http.common; +package org.apache.camel.http.base; import java.util.Set; diff --git a/components/camel-http-common/src/main/java/org/apache/camel/http/common/DefaultHttpBinding.java b/components/camel-http-common/src/main/java/org/apache/camel/http/common/DefaultHttpBinding.java index 4f37622f612..835993eddbc 100644 --- a/components/camel-http-common/src/main/java/org/apache/camel/http/common/DefaultHttpBinding.java +++ b/components/camel-http-common/src/main/java/org/apache/camel/http/common/DefaultHttpBinding.java @@ -65,7 +65,7 @@ import static org.apache.camel.support.http.HttpUtil.determineResponseCode; /** * Binding between {@link HttpMessage} and {@link HttpServletResponse}. * - * Uses by default the {@link org.apache.camel.http.common.HttpHeaderFilterStrategy} + * Uses by default the {@link org.apache.camel.http.base.HttpHeaderFilterStrategy} */ public class DefaultHttpBinding implements HttpBinding { @@ -91,7 +91,7 @@ public class DefaultHttpBinding implements HttpBinding { private boolean mapHttpMessageBody = true; private boolean mapHttpMessageHeaders = true; private boolean mapHttpMessageFormUrlEncodedBody = true; -private HeaderFilterStrategy headerFilterStrategy = new HttpHeaderFilterStrategy(); +private HeaderFilterStrategy headerFilterStrategy = new org.apache.camel.http.base.HttpHeaderFilterStrategy(); private String fileNameExtWhitelist; public DefaultHttpBinding() { diff --git a/components/camel-http-common/src/main/java/org/apache/camel/http/common/HttpBinding.java b/components/camel-http-common/src/main/java/org/apache/camel/http/common/HttpBinding.java index 06b6db7846d..95f4a1845c2 100644 --- a/components/camel-http-common/src/main/java/org/apache/camel/http/common/HttpBinding.java +++ b/components/camel-http-common/src/main/java/org/apache/camel/http/common/HttpBinding.java @@ -218,7 +218,7 @@ public interface HttpBinding { /** * Sets the header filter strategy to use. * - * Will default use {@link org.apache.camel.http.common.HttpHeaderFilterStrategy} + * Will default use {@link org.apache.camel.http.base.HttpHeaderFilterStrategy} * * @param headerFilterStrategy the custom strategy */ diff --git a/components/camel-http-common/src/main/java/org/apache/camel/http/common/HttpCommonEndpoint.java b/components/camel-http-common/src/main/java/org/apache/camel/http/common/HttpCommonEndpoint.java index 208c4e55690..0e97735a413 100644 --- a/components/camel-http-common/src/main/java/org/apache/camel/http/common/HttpCommonEndpoint.java +++ b/components/camel-http-common/src/main/java/org/apache/camel/http/common/HttpCommonEndpoint.java @@ -41,7 +41,7 @@ public abstract class HttpCommonEndpoint extends DefaultEndpoint implements Head URI httpUri; @UriParam(label =
(camel-kamelets-examples) branch main updated: Update example
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-kamelets-examples.git The following commit(s) were added to refs/heads/main by this push: new d37bdaf Update example d37bdaf is described below commit d37bdafb4268dd395981942871df32147cd14347 Author: Claus Ibsen AuthorDate: Fri Mar 29 17:09:30 2024 +0100 Update example --- jbang/open-api-contract-first/petstore.camel.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jbang/open-api-contract-first/petstore.camel.yaml b/jbang/open-api-contract-first/petstore.camel.yaml index fbd1fc3..92c57f6 100644 --- a/jbang/open-api-contract-first/petstore.camel.yaml +++ b/jbang/open-api-contract-first/petstore.camel.yaml @@ -1,3 +1,5 @@ +- restConfiguration: +clientRequestValidation: true - rest: openApi: specification: petstore-v3.json
(camel) branch main updated: CAMEL-20623: Use same client request validation in rest-dsl with open… (#13663)
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 9dd47b805c0 CAMEL-20623: Use same client request validation in rest-dsl with open… (#13663) 9dd47b805c0 is described below commit 9dd47b805c005445424460485f76bb5d424a28a2 Author: Claus Ibsen AuthorDate: Fri Mar 29 17:02:39 2024 +0100 CAMEL-20623: Use same client request validation in rest-dsl with open… (#13663) * CAMEL-20623: Use same client request validation in rest-dsl with openapi contract first, as rest-dsl with code-first. * CAMEL-20623: Use same client request validation in rest-dsl with openapi contract first, as rest-dsl with code-first. --- .../camel/catalog/components/rest-openapi.json | 56 ++--- .../org/apache/camel/catalog/models/openApi.json | 5 +- .../apache/camel/catalog/schemas/camel-spring.xsd | 10 - ...PlatformHttpRestOpenApiConsumerRestDslTest.java | 4 +- .../vertx/PlatformHttpRestOpenApiConsumerTest.java | 4 +- .../http/PlatformHttpHeaderFilterStrategy.java | 2 +- .../openapi/RestOpenApiComponentConfigurer.java| 6 + .../openapi/RestOpenApiEndpointConfigurer.java | 6 + .../openapi/RestOpenApiEndpointUriFactory.java | 3 +- .../camel/component/rest/openapi/rest-openapi.json | 56 ++--- .../rest/openapi/RestOpenApiComponent.java | 14 +- .../rest/openapi/RestOpenApiEndpoint.java | 13 +- .../rest/openapi/RestOpenApiProcessor.java | 234 ++--- .../org/apache/camel/model/rest/openApi.json | 5 +- .../apache/camel/model/rest/OpenApiDefinition.java | 37 .../apache/camel/model/rest/RestDefinition.java| 11 +- .../apache/camel/processor/RestBindingAdvice.java | 37 +--- .../org/apache/camel/support/http/HttpUtil.java| 1 - .../org/apache/camel/support/http/RestUtil.java| 63 ++ .../java/org/apache/camel/xml/in/ModelParser.java | 1 - .../java/org/apache/camel/xml/out/ModelWriter.java | 1 - .../org/apache/camel/yaml/out/ModelWriter.java | 1 - .../dsl/RestOpenapiComponentBuilderFactory.java| 54 +++-- .../dsl/RestOpenApiEndpointBuilderFactory.java | 203 ++ .../camel/kotlin/components/RestOpenapiUriDsl.kt | 44 ++-- .../dsl/yaml/deserializers/ModelDeserializers.java | 6 - .../generated/resources/schema/camelYamlDsl.json | 5 - 27 files changed, 563 insertions(+), 319 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/rest-openapi.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/rest-openapi.json index 112945aab32..d5104b9f003 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/rest-openapi.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/rest-openapi.json @@ -24,43 +24,45 @@ }, "componentProperties": { "basePath": { "index": 0, "kind": "property", "displayName": "Base Path", "group": "common", "label": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "API basePath, for example \/v2. Default is unset, if set overrides the value present in OpenApi specification." }, -"requestValidationEnabled": { "index": 1, "kind": "property", "displayName": "Request Validation Enabled", "group": "common", "label": "common", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Enable validation of requests against the configured OpenAPI specification" }, -"specificationUri": { "index": 2, "kind": "property", "displayName": "Specification Uri", "group": "common", "label": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "openapi.json", "description": "Path to the OpenApi specification file. The scheme, host base path are taken from this specification, but these can be overridden with properties on the component or endpoint level. If [...] -"requestValidationCustomizer": { "index": 3, "kind": "property", "displayName": "Request Validation Customizer", "group": "common (advanced)", "label": "common,advanced", "required": false, "type": "object", "javaType": "org.apache.camel.component.rest.openapi.validator.RequestValidationCustomizer", "deprecated": false, "autowired": false, "secret": false, "description": "If request validation is enabled, this option provides the capability to customize the creation of OpenApiInterac [...] -"apiContextPath": { "index": 4, "kind": "property", "displayName": "Api Context Path", "group":
(camel) branch val deleted (was 8263695e0ea)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch val in repository https://gitbox.apache.org/repos/asf/camel.git was 8263695e0ea CAMEL-20623: Use same client request validation in rest-dsl with openapi contract first, as rest-dsl with code-first. 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-20623: Use same client request validation in rest-dsl with open… [camel]
davsclaus merged PR #13663: URL: https://github.com/apache/camel/pull/13663 -- 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] Issue format Datetime java [camel-karavan]
davsclaus closed issue #958: Issue format Datetime java URL: https://github.com/apache/camel-karavan/issues/958 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel-k) branch main updated: knative-service stage fix
This is an automated email from the ASF dual-hosted git repository. gfournier 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 708f21007 knative-service stage fix 708f21007 is described below commit 708f2100741126c127b6a1eaac437850df10be1a Author: Mert Öztürk AuthorDate: Fri Mar 29 16:43:25 2024 +0200 knative-service stage fix --- docs/modules/ROOT/pages/running/camel-runtimes.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules/ROOT/pages/running/camel-runtimes.adoc b/docs/modules/ROOT/pages/running/camel-runtimes.adoc index db1fdb235..e18dc3607 100644 --- a/docs/modules/ROOT/pages/running/camel-runtimes.adoc +++ b/docs/modules/ROOT/pages/running/camel-runtimes.adoc @@ -150,10 +150,10 @@ NOTE: this is a best effort analysis taking as reference the work available in v |x |KNative Service -|v |x |x |x +|v |KNative |x
Re: [PR] knative-service stage fix [camel-k]
gansheer merged PR #5300: URL: https://github.com/apache/camel-k/pull/5300 -- 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] Docker compose fails [camel-karavan]
davsclaus closed issue #1173: Docker compose fails URL: https://github.com/apache/camel-karavan/issues/1173 -- 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: Fix doc xref
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 1741a358932 Fix doc xref 1741a358932 is described below commit 1741a358932235051752d3a44b049d5547440b0e Author: Claus Ibsen AuthorDate: Fri Mar 29 16:46:41 2024 +0100 Fix doc xref --- .../src/main/docs/google-pubsub-lite-component.adoc | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/components/camel-google/camel-google-pubsub-lite/src/main/docs/google-pubsub-lite-component.adoc b/components/camel-google/camel-google-pubsub-lite/src/main/docs/google-pubsub-lite-component.adoc index 3c4aea08ae9..9eaee8b0362 100644 --- a/components/camel-google/camel-google-pubsub-lite/src/main/docs/google-pubsub-lite-component.adoc +++ b/components/camel-google/camel-google-pubsub-lite/src/main/docs/google-pubsub-lite-component.adoc @@ -15,11 +15,12 @@ *{component-header}* -The Google Pubsub Lite component provides access +The Google PubSub Lite component provides access to https://cloud.google.com/pubsub/[Cloud Pub/Sub Lite Infrastructure] via the https://github.com/googleapis/java-pubsublite[Google Cloud Pub/Sub Lite Client for Java]. -The standard https://camel.apache.org/components/google-pubsub-component.html[Google Pub/Sub connector] isn't compatible with Pub/Sub Lite service due to API and message model differences. Please refer to the following links to learn more about these differences: +The standard xref:google-pubsub-component[Google Pub/Sub component] isn't compatible with Pub/Sub Lite service due to API and message model differences. +Please refer to the following links to learn more about these differences: * https://cloud.google.com/pubsub/docs/overview#lite[Pub/Sub Lite Overview] * https://cloud.google.com/pubsub/docs/choosing-pubsub-or-lite[Choosing between Pub/Sub or Pub/Sub Lite] @@ -39,7 +40,7 @@ for this component: == URI Format -The Google Pubsub Component uses the following URI format: +The Google PubSub Component uses the following URI format: google-pubsub-lite://project-id:location:destinationName?[options] @@ -78,6 +79,7 @@ A Map set as message header `GooglePubsubConstants.ATTRIBUTES` will be sent as P When producing messages set the message header `GooglePubsubConstants.ORDERING_KEY` . This will be set as the PubSub Lite orderingKey for the message. More information in https://cloud.google.com/pubsub/lite/docs/publishing#using_ordering_keys[Using ordering keys]. == Consumer Endpoints + Google PubSub Lite will redeliver the message if it has not been acknowledged within the time period set as a configuration option on the subscription. The component will acknowledge the message once exchange processing has been completed.
(camel) branch val updated (76f8100e640 -> 8263695e0ea)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch val in repository https://gitbox.apache.org/repos/asf/camel.git from 76f8100e640 CAMEL-20623: Use same client request validation in rest-dsl with openapi contract first, as rest-dsl with code-first. add 8263695e0ea CAMEL-20623: Use same client request validation in rest-dsl with openapi contract first, as rest-dsl with code-first. No new revisions were added by this update. Summary of changes: .../component/platform/http/PlatformHttpHeaderFilterStrategy.java | 2 +- .../main/java/org/apache/camel/processor/RestBindingAdvice.java| 1 - .../src/main/java/org/apache/camel/support/http/RestUtil.java | 7 --- 3 files changed, 5 insertions(+), 5 deletions(-)
[PR] knative-service stage fix [camel-k]
mertdotcc opened a new pull request, #5300: URL: https://github.com/apache/camel-k/pull/5300 Minor fix regarding the `knative-service` trait as per discussion w/ @squakez -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel) 01/01: CAMEL-20623: Use same client request validation in rest-dsl with openapi contract first, as rest-dsl with code-first.
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch val in repository https://gitbox.apache.org/repos/asf/camel.git commit 76f8100e6401390924de078fa5a625aba79f66f5 Author: Claus Ibsen AuthorDate: Fri Mar 29 15:38:53 2024 +0100 CAMEL-20623: Use same client request validation in rest-dsl with openapi contract first, as rest-dsl with code-first. --- .../camel/catalog/components/rest-openapi.json | 56 ++--- .../org/apache/camel/catalog/models/openApi.json | 5 +- .../apache/camel/catalog/schemas/camel-spring.xsd | 10 - ...PlatformHttpRestOpenApiConsumerRestDslTest.java | 4 +- .../vertx/PlatformHttpRestOpenApiConsumerTest.java | 4 +- .../openapi/RestOpenApiComponentConfigurer.java| 6 + .../openapi/RestOpenApiEndpointConfigurer.java | 6 + .../openapi/RestOpenApiEndpointUriFactory.java | 3 +- .../camel/component/rest/openapi/rest-openapi.json | 56 ++--- .../rest/openapi/RestOpenApiComponent.java | 14 +- .../rest/openapi/RestOpenApiEndpoint.java | 13 +- .../rest/openapi/RestOpenApiProcessor.java | 234 ++--- .../org/apache/camel/model/rest/openApi.json | 5 +- .../apache/camel/model/rest/OpenApiDefinition.java | 37 .../apache/camel/model/rest/RestDefinition.java| 11 +- .../apache/camel/processor/RestBindingAdvice.java | 36 +--- .../org/apache/camel/support/http/HttpUtil.java| 1 - .../org/apache/camel/support/http/RestUtil.java| 62 ++ .../java/org/apache/camel/xml/in/ModelParser.java | 1 - .../java/org/apache/camel/xml/out/ModelWriter.java | 1 - .../org/apache/camel/yaml/out/ModelWriter.java | 1 - .../dsl/RestOpenapiComponentBuilderFactory.java| 54 +++-- .../dsl/RestOpenApiEndpointBuilderFactory.java | 203 ++ .../camel/kotlin/components/RestOpenapiUriDsl.kt | 44 ++-- .../dsl/yaml/deserializers/ModelDeserializers.java | 6 - .../generated/resources/schema/camelYamlDsl.json | 5 - 26 files changed, 561 insertions(+), 317 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/rest-openapi.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/rest-openapi.json index 112945aab32..d5104b9f003 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/rest-openapi.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/rest-openapi.json @@ -24,43 +24,45 @@ }, "componentProperties": { "basePath": { "index": 0, "kind": "property", "displayName": "Base Path", "group": "common", "label": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "API basePath, for example \/v2. Default is unset, if set overrides the value present in OpenApi specification." }, -"requestValidationEnabled": { "index": 1, "kind": "property", "displayName": "Request Validation Enabled", "group": "common", "label": "common", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Enable validation of requests against the configured OpenAPI specification" }, -"specificationUri": { "index": 2, "kind": "property", "displayName": "Specification Uri", "group": "common", "label": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "openapi.json", "description": "Path to the OpenApi specification file. The scheme, host base path are taken from this specification, but these can be overridden with properties on the component or endpoint level. If [...] -"requestValidationCustomizer": { "index": 3, "kind": "property", "displayName": "Request Validation Customizer", "group": "common (advanced)", "label": "common,advanced", "required": false, "type": "object", "javaType": "org.apache.camel.component.rest.openapi.validator.RequestValidationCustomizer", "deprecated": false, "autowired": false, "secret": false, "description": "If request validation is enabled, this option provides the capability to customize the creation of OpenApiInterac [...] -"apiContextPath": { "index": 4, "kind": "property", "displayName": "Api Context Path", "group": "consumer", "label": "consumer", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "Sets the context-path to use for servicing the OpenAPI specification" }, -"bridgeErrorHandler": { "index": 5, "kind": "property", "displayName": "Bridge Error Handler", "group": "consumer", "label": "consumer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
Re: [PR] CAMEL-20623: Use same client request validation in rest-dsl with open… [camel]
github-actions[bot] commented on PR #13663: URL: https://github.com/apache/camel/pull/13663#issuecomment-2027332795 :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 val created (now 76f8100e640)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch val in repository https://gitbox.apache.org/repos/asf/camel.git at 76f8100e640 CAMEL-20623: Use same client request validation in rest-dsl with openapi contract first, as rest-dsl with code-first. This branch includes the following new commits: new 76f8100e640 CAMEL-20623: Use same client request validation in rest-dsl with openapi contract first, as rest-dsl with code-first. The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference.
[PR] CAMEL-20623: Use same client request validation in rest-dsl with open… [camel]
davsclaus opened a new pull request, #13663: URL: https://github.com/apache/camel/pull/13663 …api contract first, as rest-dsl with code-first. # 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: [PR] Update camel-3x-upgrade-guide.adoc [camel]
davsclaus merged PR #13662: URL: https://github.com/apache/camel/pull/13662 -- 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: Update camel-3x-upgrade-guide.adoc (#13662)
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 f12fa8278c6 Update camel-3x-upgrade-guide.adoc (#13662) f12fa8278c6 is described below commit f12fa8278c6c3da4a6b118c5639d00ebe8a965e3 Author: venkag AuthorDate: Fri Mar 29 10:32:57 2024 -0400 Update camel-3x-upgrade-guide.adoc (#13662) The link to Upgrade guide from 3.21 to 3.22 is not correct. Fixing it to point to the right one. --- docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide.adoc b/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide.adoc index dd7964d20e1..a6b6190713e 100644 --- a/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide.adoc +++ b/docs/user-manual/modules/ROOT/pages/camel-3x-upgrade-guide.adoc @@ -30,4 +30,4 @@ You can find upgrade guide for each release in the following pages: - xref:camel-3x-upgrade-guide-3_19.adoc[Upgrade guide 3.18 -> 3.19] - xref:camel-3x-upgrade-guide-3_20.adoc[Upgrade guide 3.19 -> 3.20] - xref:camel-3x-upgrade-guide-3_21.adoc[Upgrade guide 3.20 -> 3.21] -- xref:camel-3x-upgrade-guide-3_21.adoc[Upgrade guide 3.21 -> 3.22] +- xref:camel-3x-upgrade-guide-3_22.adoc[Upgrade guide 3.21 -> 3.22]
[PR] Update camel-3x-upgrade-guide.adoc [camel]
venkag opened a new pull request, #13662: URL: https://github.com/apache/camel/pull/13662 The link to Upgrade guide from 3.21 to 3.22 is not correct. Fixing it to point to the right one. # 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
[I] Karavan in Docker - Setup error [camel-karavan]
majdiAlKotamy opened a new issue, #1206: URL: https://github.com/apache/camel-karavan/issues/1206 Hi @mgubaidullin, I Have an issue wanna share it with you, when I try to install Karavan in Docker. Take a look please on the attached screenshot, knowing I am using the same docker compose file tat existeed in the repo, and I have stored the constants values on ubuntu env like ``` KARAVAN_GIT_REPOSITORY=https://github.com/apache/camel-karavan KARAVAN_GIT_USERNAME=majdi KARAVAN_GIT_PASSWORD=*** REGISTRY_HTTP_SECRET=*** ``` https://github.com/apache/camel-karavan/assets/62914344/58113d27-e3c5-4699-b65b-5ecc696834c5;> https://github.com/apache/camel-karavan/assets/62914344/0c6046c9-9989-49df-aeb6-f6a46986ace9;> looking to your assitance Thanks in advance -- 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) branch main updated: Upgrade camel-coap to 3.11.0
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/main by this push: new aefc55c69d4 Upgrade camel-coap to 3.11.0 aefc55c69d4 is described below commit aefc55c69d425721e3b0eee0cebdb90fadcb9f7b Author: Claus Ibsen AuthorDate: Fri Mar 29 13:47:47 2024 +0100 Upgrade camel-coap to 3.11.0 --- parent/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parent/pom.xml b/parent/pom.xml index a53594750ba..72863c9c142 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -81,7 +81,7 @@ 0.9.5.5 3.1.8 3.11.0 -3.10.0 +3.11.0 7.20.0 2.2.0 4.17.0
(camel-spring-boot) 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-spring-boot.git The following commit(s) were added to refs/heads/main by this push: new c45c03a3ebf Regen c45c03a3ebf is described below commit c45c03a3ebfd6e003ff0cce3999134bc7274e7e4 Author: Claus Ibsen AuthorDate: Fri Mar 29 13:43:21 2024 +0100 Regen --- .../catalog/components/google-pubsub-lite.json | 4 ++-- .../catalog/components/platform-http.json | 3 ++- .../src/main/docs/google-pubsub-lite.json | 2 +- .../GooglePubsubLiteComponentConfiguration.java| 26 +++--- .../src/main/docs/platform-http.json | 6 + .../PlatformHttpComponentConfiguration.java| 16 + .../springboot/PlatformHttpComponentConverter.java | 2 ++ 7 files changed, 42 insertions(+), 17 deletions(-) diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-pubsub-lite.json b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-pubsub-lite.json index 6968dea8ca7..371d64ee105 100644 --- a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-pubsub-lite.json +++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-pubsub-lite.json @@ -24,8 +24,8 @@ }, "componentProperties": { "bridgeErrorHandler": { "index": 0, "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 [...] -"consumerMessagesOutstanding": { "index": 1, "kind": "property", "displayName": "Consumer Messages Outstanding", "group": "consumer", "label": "consumer", "required": false, "type": "integer", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 1000, "description": "The number of messages that may be outstanding to the client. Must be 0." }, -"consumerBytesOutstanding": { "index": 2, "kind": "property", "displayName": "Consumer Bytes Outstanding", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "integer", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 10485760, "description": "How many milliseconds should each producer stay alive in the cache. Must be greater than the allowed size of the largest message (1 MiB)." }, +"consumerBytesOutstanding": { "index": 1, "kind": "property", "displayName": "Consumer Bytes Outstanding", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "integer", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 10485760, "description": "The number of quota bytes that may be outstanding to the client. Must be greater than the allowed size of the largest message (1 MiB)." }, +"consumerMessagesOutstanding": { "index": 2, "kind": "property", "displayName": "Consumer Messages Outstanding", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "integer", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 1000, "description": "The number of messages that may be outstanding to the client. Must be 0." }, "lazyStartProducer": { "index": 3, "kind": "property", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail [...] "publisherCacheSize": { "index": 4, "kind": "property", "displayName": "Publisher Cache Size", "group": "producer (advanced)", "label": "producer,advanced", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 100, "description": "Maximum number of producers to cache. This could be increased if you have producers for lots of different topics." }, "publisherCacheTimeout": { "index": 5, "kind": "property", "displayName": "Publisher Cache Timeout", "group": "producer (advanced)", "label": "producer,advanced", "required":
(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 8e21ea5b609 Regen 8e21ea5b609 is described below commit 8e21ea5b60982ef8be1caea150018644f5159edd Author: Claus Ibsen AuthorDate: Fri Mar 29 13:41:53 2024 +0100 Regen --- .../component/ComponentsBuilderFactory.java| 14 ++ .../GooglePubsubLiteComponentBuilderFactory.java | 257 + .../dsl/PlatformHttpComponentBuilderFactory.java | 19 ++ .../src/generated/resources/metadata.json | 23 ++ 4 files changed, 313 insertions(+) diff --git a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java index 0e01e97b7ce..97fd433050a 100644 --- a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java +++ b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java @@ -1631,6 +1631,20 @@ public interface ComponentsBuilderFactory { static org.apache.camel.builder.component.dsl.GooglePubsubComponentBuilderFactory.GooglePubsubComponentBuilder googlePubsub() { return org.apache.camel.builder.component.dsl.GooglePubsubComponentBuilderFactory.googlePubsub(); } +/** + * Google PubSub Lite (camel-google-pubsub-lite) + * Send and receive messages to/from Google Cloud Platform PubSub Lite + * Service. + * + * Category: cloud,messaging + * Since: 4.6 + * Maven coordinates: org.apache.camel:camel-google-pubsub-lite + * + * @return the dsl builder + */ +static org.apache.camel.builder.component.dsl.GooglePubsubLiteComponentBuilderFactory.GooglePubsubLiteComponentBuilder googlePubsubLite() { +return org.apache.camel.builder.component.dsl.GooglePubsubLiteComponentBuilderFactory.googlePubsubLite(); +} /** * Google Secret Manager (camel-google-secret-manager) * Manage Google Secret Manager Secrets diff --git a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/GooglePubsubLiteComponentBuilderFactory.java b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/GooglePubsubLiteComponentBuilderFactory.java new file mode 100644 index 000..54bfdaf3957 --- /dev/null +++ b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/GooglePubsubLiteComponentBuilderFactory.java @@ -0,0 +1,257 @@ +/* + * 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.builder.component.dsl; + +import javax.annotation.processing.Generated; +import org.apache.camel.Component; +import org.apache.camel.builder.component.AbstractComponentBuilder; +import org.apache.camel.builder.component.ComponentBuilder; +import org.apache.camel.component.google.pubsublite.GooglePubsubLiteComponent; + +/** + * Send and receive messages to/from Google Cloud Platform PubSub Lite Service. + * + * Generated by camel-package-maven-plugin - do not edit this file! + */ +@Generated("org.apache.camel.maven.packaging.ComponentDslMojo") +public interface GooglePubsubLiteComponentBuilderFactory { + +/** + * Google PubSub Lite (camel-google-pubsub-lite) + * Send and receive messages to/from Google Cloud Platform PubSub Lite + * Service. + * + * Category: cloud,messaging + * Since: 4.6 + * Maven coordinates: org.apache.camel:camel-google-pubsub-lite + * + * @return the dsl builder + */ +static GooglePubsubLiteComponentBuilder googlePubsubLite() { +return new GooglePubsubLiteComponentBuilderImpl(); +} + +/** + * Builder for the Google PubSub Lite component. + */ +interface GooglePubsubLiteComponentBuilder +extends +ComponentBuilder { +/** + * Allows for bridging the consumer to the Camel routing Error Handler, + * which mean any exceptions (if
(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 0c0f3667e88 Regen 0c0f3667e88 is described below commit 0c0f3667e8869929e2bb6b0e1ce9d6308915fc1d Author: Claus Ibsen AuthorDate: Fri Mar 29 13:40:04 2024 +0100 Regen --- .../org/apache/camel/catalog/components/google-pubsub-lite.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/google-pubsub-lite.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/google-pubsub-lite.json index 7d3de375d7d..ac0990d5f57 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/google-pubsub-lite.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/google-pubsub-lite.json @@ -24,8 +24,8 @@ }, "componentProperties": { "bridgeErrorHandler": { "index": 0, "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 [...] -"consumerMessagesOutstanding": { "index": 1, "kind": "property", "displayName": "Consumer Messages Outstanding", "group": "consumer", "label": "consumer", "required": false, "type": "integer", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 1000, "description": "The number of messages that may be outstanding to the client. Must be 0." }, -"consumerBytesOutstanding": { "index": 2, "kind": "property", "displayName": "Consumer Bytes Outstanding", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "integer", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 10485760, "description": "How many milliseconds should each producer stay alive in the cache. Must be greater than the allowed size of the largest message (1 MiB)." }, +"consumerBytesOutstanding": { "index": 1, "kind": "property", "displayName": "Consumer Bytes Outstanding", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "integer", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 10485760, "description": "The number of quota bytes that may be outstanding to the client. Must be greater than the allowed size of the largest message (1 MiB)." }, +"consumerMessagesOutstanding": { "index": 2, "kind": "property", "displayName": "Consumer Messages Outstanding", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "integer", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 1000, "description": "The number of messages that may be outstanding to the client. Must be 0." }, "lazyStartProducer": { "index": 3, "kind": "property", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail [...] "publisherCacheSize": { "index": 4, "kind": "property", "displayName": "Publisher Cache Size", "group": "producer (advanced)", "label": "producer,advanced", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 100, "description": "Maximum number of producers to cache. This could be increased if you have producers for lots of different topics." }, "publisherCacheTimeout": { "index": 5, "kind": "property", "displayName": "Publisher Cache Timeout", "group": "producer (advanced)", "label": "producer,advanced", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 18, "description": "How many milliseconds should each producer stay alive in the cache." },
(camel) branch main updated: CAMEL-20625: fix description for the consumerBytesOutstanding param (#13660)
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 c96925e6710 CAMEL-20625: fix description for the consumerBytesOutstanding param (#13660) c96925e6710 is described below commit c96925e671078579de69f93421d3a01e363c360e Author: Stanislav Deviatov AuthorDate: Fri Mar 29 13:28:25 2024 +0100 CAMEL-20625: fix description for the consumerBytesOutstanding param (#13660) Also, the consumerMessagesOutstanding param is labeled as advanced --- .../apache/camel/component/google/pubsublite/google-pubsub-lite.json | 4 ++-- .../camel/component/google/pubsublite/GooglePubsubLiteComponent.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/camel-google/camel-google-pubsub-lite/src/generated/resources/META-INF/org/apache/camel/component/google/pubsublite/google-pubsub-lite.json b/components/camel-google/camel-google-pubsub-lite/src/generated/resources/META-INF/org/apache/camel/component/google/pubsublite/google-pubsub-lite.json index 7d3de375d7d..ac0990d5f57 100644 --- a/components/camel-google/camel-google-pubsub-lite/src/generated/resources/META-INF/org/apache/camel/component/google/pubsublite/google-pubsub-lite.json +++ b/components/camel-google/camel-google-pubsub-lite/src/generated/resources/META-INF/org/apache/camel/component/google/pubsublite/google-pubsub-lite.json @@ -24,8 +24,8 @@ }, "componentProperties": { "bridgeErrorHandler": { "index": 0, "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 [...] -"consumerMessagesOutstanding": { "index": 1, "kind": "property", "displayName": "Consumer Messages Outstanding", "group": "consumer", "label": "consumer", "required": false, "type": "integer", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 1000, "description": "The number of messages that may be outstanding to the client. Must be 0." }, -"consumerBytesOutstanding": { "index": 2, "kind": "property", "displayName": "Consumer Bytes Outstanding", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "integer", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 10485760, "description": "How many milliseconds should each producer stay alive in the cache. Must be greater than the allowed size of the largest message (1 MiB)." }, +"consumerBytesOutstanding": { "index": 1, "kind": "property", "displayName": "Consumer Bytes Outstanding", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "integer", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 10485760, "description": "The number of quota bytes that may be outstanding to the client. Must be greater than the allowed size of the largest message (1 MiB)." }, +"consumerMessagesOutstanding": { "index": 2, "kind": "property", "displayName": "Consumer Messages Outstanding", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "integer", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 1000, "description": "The number of messages that may be outstanding to the client. Must be 0." }, "lazyStartProducer": { "index": 3, "kind": "property", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail [...] "publisherCacheSize": { "index": 4, "kind": "property", "displayName": "Publisher Cache Size", "group": "producer (advanced)", "label": "producer,advanced", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 100, "description": "Maximum number of producers to cache. This could be increased if you have producers for lots of different topics." }, "publisherCacheTimeout": { "index": 5, "kind": "property", "displayName": "Publisher Cache Timeout", "group": "producer (advanced)", "label": "producer,advanced", "required": false,
(camel) branch hfs deleted (was c37c9363f78)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch hfs in repository https://gitbox.apache.org/repos/asf/camel.git was c37c9363f78 CAMEL-20629: camel-platform-http-vertx - Header filter strategy should be HttpHeaderFilterStrategy 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-20625: fix description for the consumerBytesOutstanding param [camel]
davsclaus merged PR #13660: URL: https://github.com/apache/camel/pull/13660 -- 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 (dcbe7d0a901 -> c2bcd0e2a74)
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 dcbe7d0a901 Bump djl-version from 0.26.0 to 0.27.0 (#13655) add c2bcd0e2a74 CAMEL-20629: camel-platform-http-vertx - Header filter strategy should be HttpHeaderFilterStrategy (#13661) No new revisions were added by this update. Summary of changes: .../org/apache/camel/catalog/components/platform-http.json | 3 ++- components/camel-platform-http-vertx/pom.xml| 4 components/camel-platform-http/pom.xml | 2 +- .../component/platform/http/PlatformHttpComponentConfigurer.java| 6 ++ .../org/apache/camel/component/platform/http/platform-http.json | 3 ++- .../apache/camel/component/platform/http/PlatformHttpComponent.java | 5 +++-- .../apache/camel/component/platform/http/PlatformHttpEndpoint.java | 3 ++- .../component/platform/http/PlatformHttpHeaderFilterStrategy.java | 3 +++ docs/components/modules/ROOT/nav.adoc | 2 +- 9 files changed, 20 insertions(+), 11 deletions(-)
Re: [PR] CAMEL-20629: camel-platform-http-vertx - Header filter strategy shoul… [camel]
davsclaus merged PR #13661: URL: https://github.com/apache/camel/pull/13661 -- 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-20629: camel-platform-http-vertx - Header filter strategy shoul… [camel]
github-actions[bot] commented on PR #13661: URL: https://github.com/apache/camel/pull/13661#issuecomment-2027063914 :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-20629: camel-platform-http-vertx - Header filter strategy shoul… [camel]
davsclaus opened a new pull request, #13661: URL: https://github.com/apache/camel/pull/13661 …d be HttpHeaderFilterStrategy # 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
(camel) branch hfs created (now c37c9363f78)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch hfs in repository https://gitbox.apache.org/repos/asf/camel.git at c37c9363f78 CAMEL-20629: camel-platform-http-vertx - Header filter strategy should be HttpHeaderFilterStrategy This branch includes the following new commits: new c37c9363f78 CAMEL-20629: camel-platform-http-vertx - Header filter strategy should be HttpHeaderFilterStrategy The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference.
(camel) 01/01: CAMEL-20629: camel-platform-http-vertx - Header filter strategy should be HttpHeaderFilterStrategy
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch hfs in repository https://gitbox.apache.org/repos/asf/camel.git commit c37c9363f784af0aab24f4505136370be6eb567a Author: Claus Ibsen AuthorDate: Fri Mar 29 11:46:20 2024 +0100 CAMEL-20629: camel-platform-http-vertx - Header filter strategy should be HttpHeaderFilterStrategy --- .../org/apache/camel/catalog/components/platform-http.json | 3 ++- components/camel-platform-http-vertx/pom.xml| 4 components/camel-platform-http/pom.xml | 2 +- .../component/platform/http/PlatformHttpComponentConfigurer.java| 6 ++ .../org/apache/camel/component/platform/http/platform-http.json | 3 ++- .../apache/camel/component/platform/http/PlatformHttpComponent.java | 5 +++-- .../apache/camel/component/platform/http/PlatformHttpEndpoint.java | 3 ++- .../component/platform/http/PlatformHttpHeaderFilterStrategy.java | 3 +++ docs/components/modules/ROOT/nav.adoc | 2 +- 9 files changed, 20 insertions(+), 11 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/platform-http.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/platform-http.json index 692a7194587..1de2c61e43f 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/platform-http.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/platform-http.json @@ -26,7 +26,8 @@ "componentProperties": { "bridgeErrorHandler": { "index": 0, "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 [...] "autowiredEnabled": { "index": 1, "kind": "property", "displayName": "Autowired Enabled", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching t [...] -"engine": { "index": 2, "kind": "property", "displayName": "Engine", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "org.apache.camel.component.platform.http.spi.PlatformHttpEngine", "deprecated": false, "autowired": false, "secret": false, "description": "An HTTP Server engine implementation to serve the requests" } +"engine": { "index": 2, "kind": "property", "displayName": "Engine", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "org.apache.camel.component.platform.http.spi.PlatformHttpEngine", "deprecated": false, "autowired": false, "secret": false, "description": "An HTTP Server engine implementation to serve the requests" }, +"headerFilterStrategy": { "index": 3, "kind": "property", "displayName": "Header Filter Strategy", "group": "filter", "label": "filter", "required": false, "type": "object", "javaType": "org.apache.camel.spi.HeaderFilterStrategy", "deprecated": false, "autowired": false, "secret": false, "description": "To use a custom org.apache.camel.spi.HeaderFilterStrategy to filter header to and from Camel message." } }, "properties": { "path": { "index": 0, "kind": "path", "displayName": "Path", "group": "consumer", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "The path under which this endpoint serves the HTTP requests, for proxy use 'proxy'" }, diff --git a/components/camel-platform-http-vertx/pom.xml b/components/camel-platform-http-vertx/pom.xml index 49856df7660..6f1672695df 100644 --- a/components/camel-platform-http-vertx/pom.xml +++ b/components/camel-platform-http-vertx/pom.xml @@ -42,10 +42,6 @@ org.apache.camel camel-platform-http - -org.apache.camel -camel-attachments - org.apache.camel camel-vertx-common diff --git a/components/camel-platform-http/pom.xml b/components/camel-platform-http/pom.xml index fc06345608f..a14c76dde15 100644 --- a/components/camel-platform-http/pom.xml +++ b/components/camel-platform-http/pom.xml @@ -35,7 +35,7 @@ org.apache.camel -
Re: [PR] CAMEL-20625: fix description for the consumerBytesOutstanding param [camel]
github-actions[bot] commented on PR #13660: URL: https://github.com/apache/camel/pull/13660#issuecomment-2027060992 :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-20625: fix description for the consumerBytesOutstanding param [camel]
stn1slv opened a new pull request, #13660: URL: https://github.com/apache/camel/pull/13660 # Description - fix description for the consumerBytesOutstanding param - consumerMessagesOutstanding param is labeled as advanced # Target - [x] 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 - [x] 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 - [x] I checked that each commit in the pull request has a meaningful subject line and body. - [x] 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: [PR] Bump djl-version from 0.26.0 to 0.27.0 [camel]
davsclaus merged PR #13655: URL: https://github.com/apache/camel/pull/13655 -- 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: Bump djl-version from 0.26.0 to 0.27.0 (#13655)
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 dcbe7d0a901 Bump djl-version from 0.26.0 to 0.27.0 (#13655) dcbe7d0a901 is described below commit dcbe7d0a901f31e07f9387432404fb46d38c95d2 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> AuthorDate: Fri Mar 29 11:10:41 2024 +0100 Bump djl-version from 0.26.0 to 0.27.0 (#13655) Bumps `djl-version` from 0.26.0 to 0.27.0. Updates `ai.djl:api` from 0.26.0 to 0.27.0 - [Release notes](https://github.com/deepjavalibrary/djl/releases) - [Commits](https://github.com/deepjavalibrary/djl/compare/v0.26.0...v0.27.0) Updates `ai.djl:model-zoo` from 0.26.0 to 0.27.0 - [Release notes](https://github.com/deepjavalibrary/djl/releases) - [Commits](https://github.com/deepjavalibrary/djl/compare/v0.26.0...v0.27.0) Updates `ai.djl.mxnet:mxnet-model-zoo` from 0.26.0 to 0.27.0 - [Release notes](https://github.com/deepjavalibrary/djl/releases) - [Commits](https://github.com/deepjavalibrary/djl/compare/v0.26.0...v0.27.0) Updates `ai.djl.mxnet:mxnet-engine` from 0.26.0 to 0.27.0 - [Release notes](https://github.com/deepjavalibrary/djl/releases) - [Commits](https://github.com/deepjavalibrary/djl/compare/v0.26.0...v0.27.0) Updates `ai.djl.pytorch:pytorch-model-zoo` from 0.26.0 to 0.27.0 - [Release notes](https://github.com/deepjavalibrary/djl/releases) - [Commits](https://github.com/deepjavalibrary/djl/compare/v0.26.0...v0.27.0) Updates `ai.djl.pytorch:pytorch-engine` from 0.26.0 to 0.27.0 - [Release notes](https://github.com/deepjavalibrary/djl/releases) - [Commits](https://github.com/deepjavalibrary/djl/compare/v0.26.0...v0.27.0) Updates `ai.djl.tensorflow:tensorflow-model-zoo` from 0.26.0 to 0.27.0 - [Release notes](https://github.com/deepjavalibrary/djl/releases) - [Commits](https://github.com/deepjavalibrary/djl/compare/v0.26.0...v0.27.0) Updates `ai.djl.tensorflow:tensorflow-engine` from 0.26.0 to 0.27.0 - [Release notes](https://github.com/deepjavalibrary/djl/releases) - [Commits](https://github.com/deepjavalibrary/djl/compare/v0.26.0...v0.27.0) Updates `ai.djl.tensorflow:tensorflow-api` from 0.26.0 to 0.27.0 - [Release notes](https://github.com/deepjavalibrary/djl/releases) - [Commits](https://github.com/deepjavalibrary/djl/compare/v0.26.0...v0.27.0) Updates `ai.djl:basicdataset` from 0.26.0 to 0.27.0 - [Release notes](https://github.com/deepjavalibrary/djl/releases) - [Commits](https://github.com/deepjavalibrary/djl/compare/v0.26.0...v0.27.0) --- updated-dependencies: - dependency-name: ai.djl:api dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: ai.djl:model-zoo dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: ai.djl.mxnet:mxnet-model-zoo dependency-type: direct:development update-type: version-update:semver-minor - dependency-name: ai.djl.mxnet:mxnet-engine dependency-type: direct:development update-type: version-update:semver-minor - dependency-name: ai.djl.pytorch:pytorch-model-zoo dependency-type: direct:development update-type: version-update:semver-minor - dependency-name: ai.djl.pytorch:pytorch-engine dependency-type: direct:development update-type: version-update:semver-minor - dependency-name: ai.djl.tensorflow:tensorflow-model-zoo dependency-type: direct:development update-type: version-update:semver-minor - dependency-name: ai.djl.tensorflow:tensorflow-engine dependency-type: direct:development update-type: version-update:semver-minor - dependency-name: ai.djl.tensorflow:tensorflow-api dependency-type: direct:development update-type: version-update:semver-minor - dependency-name: ai.djl:basicdataset dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- parent/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parent/pom.xml b/parent/pom.xml index 4e176894aa8..a53594750ba 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -129,7 +129,7 @@ 0.18.0 3.4.4 3.5.3 -0.26.0 +0.27.0 1.8.0 1.9.1 2.4.1
(camel) branch dependabot/maven/djl-version-0.27.0 deleted (was c5e2c45dcb3)
This is an automated email from the ASF dual-hosted git repository. github-bot pushed a change to branch dependabot/maven/djl-version-0.27.0 in repository https://gitbox.apache.org/repos/asf/camel.git was c5e2c45dcb3 Bump djl-version from 0.26.0 to 0.27.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.
(camel-karaf) branch camel-karaf-3.22.x updated: Upgrade Commons-compress to version 1.26.0
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-karaf-3.22.x in repository https://gitbox.apache.org/repos/asf/camel-karaf.git The following commit(s) were added to refs/heads/camel-karaf-3.22.x by this push: new f7262b03 Upgrade Commons-compress to version 1.26.0 f7262b03 is described below commit f7262b03a35b82ea17043acfcaa4b074cacf1121 Author: Claus Ibsen AuthorDate: Fri Mar 29 11:08:32 2024 +0100 Upgrade Commons-compress to version 1.26.0 --- platforms/karaf/features/src/main/resources/features.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/platforms/karaf/features/src/main/resources/features.xml b/platforms/karaf/features/src/main/resources/features.xml index 9bec2f75..c1b5a3d2 100644 --- a/platforms/karaf/features/src/main/resources/features.xml +++ b/platforms/karaf/features/src/main/resources/features.xml @@ -1600,6 +1600,7 @@ camel-core wrap:mvn:io.minio/minio/${minio-version} +mvn:commons-codec/commons-codec/${commons-codec-version} mvn:org.apache.commons/commons-compress/${minio-commons-compress-version} wrap:mvn:com.squareup.okhttp3/okhttp/${okclient-version} mvn:org.apache.camel/camel-minio/${project.version} @@ -2221,6 +,7 @@ camel-core mvn:org.apache.camel/camel-tarfile/${project.version} +mvn:commons-codec/commons-codec/${commons-codec-version} mvn:org.apache.commons/commons-compress/${commons-compress-version} @@ -2479,6 +2481,7 @@ camel-core +mvn:commons-codec/commons-codec/${commons-codec-version} mvn:org.apache.commons/commons-compress/${commons-compress-version} mvn:org.apache.camel/camel-zip-deflater/${project.version}
(camel-karaf) branch camel-karaf-3.21.x updated: Upgrade Commons-compress to version 1.26.0
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-karaf-3.21.x in repository https://gitbox.apache.org/repos/asf/camel-karaf.git The following commit(s) were added to refs/heads/camel-karaf-3.21.x by this push: new a17b6087 Upgrade Commons-compress to version 1.26.0 a17b6087 is described below commit a17b6087b7cdb14aaee7b007d2eae9387b7dd550 Author: Claus Ibsen AuthorDate: Fri Mar 29 11:08:32 2024 +0100 Upgrade Commons-compress to version 1.26.0 --- platforms/karaf/features/src/main/resources/features.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/platforms/karaf/features/src/main/resources/features.xml b/platforms/karaf/features/src/main/resources/features.xml index 9bec2f75..c1b5a3d2 100644 --- a/platforms/karaf/features/src/main/resources/features.xml +++ b/platforms/karaf/features/src/main/resources/features.xml @@ -1600,6 +1600,7 @@ camel-core wrap:mvn:io.minio/minio/${minio-version} +mvn:commons-codec/commons-codec/${commons-codec-version} mvn:org.apache.commons/commons-compress/${minio-commons-compress-version} wrap:mvn:com.squareup.okhttp3/okhttp/${okclient-version} mvn:org.apache.camel/camel-minio/${project.version} @@ -2221,6 +,7 @@ camel-core mvn:org.apache.camel/camel-tarfile/${project.version} +mvn:commons-codec/commons-codec/${commons-codec-version} mvn:org.apache.commons/commons-compress/${commons-compress-version} @@ -2479,6 +2481,7 @@ camel-core +mvn:commons-codec/commons-codec/${commons-codec-version} mvn:org.apache.commons/commons-compress/${commons-compress-version} mvn:org.apache.camel/camel-zip-deflater/${project.version}
(camel) branch camel-3.21.x updated: Upgrade Commons-compress to version 1.26.0
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-3.21.x in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/camel-3.21.x by this push: new 574e14012a6 Upgrade Commons-compress to version 1.26.0 574e14012a6 is described below commit 574e14012a6b88902dc0c82190fee1825c5b7262 Author: Claus Ibsen AuthorDate: Fri Mar 29 11:06:02 2024 +0100 Upgrade Commons-compress to version 1.26.0 --- components/camel-minio/pom.xml| 5 + components/camel-tarfile/pom.xml | 5 + components/camel-zip-deflater/pom.xml | 5 + parent/pom.xml| 2 +- 4 files changed, 16 insertions(+), 1 deletion(-) diff --git a/components/camel-minio/pom.xml b/components/camel-minio/pom.xml index 5012e0775b6..78bb7a64465 100644 --- a/components/camel-minio/pom.xml +++ b/components/camel-minio/pom.xml @@ -49,6 +49,11 @@ commons-compress ${commons-compress-version} + +commons-codec +commons-codec +${commons-codec-version} + diff --git a/components/camel-tarfile/pom.xml b/components/camel-tarfile/pom.xml index a1009a51943..db9dafb4916 100644 --- a/components/camel-tarfile/pom.xml +++ b/components/camel-tarfile/pom.xml @@ -44,6 +44,11 @@ commons-compress ${commons-compress-version} + +commons-codec +commons-codec +${commons-codec-version} + diff --git a/components/camel-zip-deflater/pom.xml b/components/camel-zip-deflater/pom.xml index 921a7898642..96c99020fc8 100644 --- a/components/camel-zip-deflater/pom.xml +++ b/components/camel-zip-deflater/pom.xml @@ -44,6 +44,11 @@ commons-compress ${commons-compress-version} + +commons-codec +commons-codec +${commons-codec-version} + diff --git a/parent/pom.xml b/parent/pom.xml index d9a586c2f1e..ad91d1ca1b8 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -111,7 +111,7 @@ 1.15 3.2.2 4.4 -1.25.0 +1.26.0 1.9 2.8.0 1.8
(camel) branch camel-3.22.x updated: Upgrade Commons-compress to version 1.26.0
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-3.22.x in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/camel-3.22.x by this push: new 20d1ec27ecd Upgrade Commons-compress to version 1.26.0 20d1ec27ecd is described below commit 20d1ec27ecd47c8cd20bb1ddf9adf64969f1b15c Author: Claus Ibsen AuthorDate: Fri Mar 29 11:06:02 2024 +0100 Upgrade Commons-compress to version 1.26.0 --- components/camel-minio/pom.xml| 5 + components/camel-tarfile/pom.xml | 5 + components/camel-zip-deflater/pom.xml | 5 + parent/pom.xml| 2 +- 4 files changed, 16 insertions(+), 1 deletion(-) diff --git a/components/camel-minio/pom.xml b/components/camel-minio/pom.xml index 852387c61bf..ad43926e231 100644 --- a/components/camel-minio/pom.xml +++ b/components/camel-minio/pom.xml @@ -49,6 +49,11 @@ commons-compress ${commons-compress-version} + +commons-codec +commons-codec +${commons-codec-version} + diff --git a/components/camel-tarfile/pom.xml b/components/camel-tarfile/pom.xml index 247aeeeb6bc..6b14d16741f 100644 --- a/components/camel-tarfile/pom.xml +++ b/components/camel-tarfile/pom.xml @@ -44,6 +44,11 @@ commons-compress ${commons-compress-version} + +commons-codec +commons-codec +${commons-codec-version} + diff --git a/components/camel-zip-deflater/pom.xml b/components/camel-zip-deflater/pom.xml index 77427f22416..b7f83decff6 100644 --- a/components/camel-zip-deflater/pom.xml +++ b/components/camel-zip-deflater/pom.xml @@ -44,6 +44,11 @@ commons-compress ${commons-compress-version} + +commons-codec +commons-codec +${commons-codec-version} + diff --git a/parent/pom.xml b/parent/pom.xml index 427a74141a7..ea99ef90ced 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -111,7 +111,7 @@ 1.15 3.2.2 4.4 -1.25.0 +1.26.0 1.9 2.8.0 1.8
(camel) 01/03: CAMEL-19229: upgrade commons-compress to 1.24.0
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-3.21.x in repository https://gitbox.apache.org/repos/asf/camel.git commit 8fa9b8465f8d31120c17e88cd3055e6f7dd245a0 Author: Otavio Rodolfo Piske AuthorDate: Wed Sep 27 09:26:28 2023 +0200 CAMEL-19229: upgrade commons-compress to 1.24.0 --- .../tarfile/SpringTarFileDataFormatTest.java | 44 +++-- .../dataformat/tarfile/TarFileDataFormatTest.java | 72 ++ .../apache/camel/dataformat/tarfile/TarUtils.java | 33 ++ parent/pom.xml | 2 +- 4 files changed, 133 insertions(+), 18 deletions(-) diff --git a/components/camel-tarfile/src/test/java/org/apache/camel/dataformat/tarfile/SpringTarFileDataFormatTest.java b/components/camel-tarfile/src/test/java/org/apache/camel/dataformat/tarfile/SpringTarFileDataFormatTest.java index 62a14569b17..b442d407962 100644 --- a/components/camel-tarfile/src/test/java/org/apache/camel/dataformat/tarfile/SpringTarFileDataFormatTest.java +++ b/components/camel-tarfile/src/test/java/org/apache/camel/dataformat/tarfile/SpringTarFileDataFormatTest.java @@ -17,6 +17,8 @@ package org.apache.camel.dataformat.tarfile; import java.io.File; +import java.nio.charset.StandardCharsets; +import java.util.Map; import java.util.concurrent.TimeUnit; import org.apache.camel.Exchange; @@ -28,11 +30,11 @@ import org.junit.jupiter.api.Test; import org.springframework.context.support.ClassPathXmlApplicationContext; import static java.nio.charset.StandardCharsets.UTF_8; -import static java.util.Collections.singletonList; import static org.apache.camel.Exchange.FILE_NAME; import static org.apache.camel.dataformat.tarfile.TarUtils.TEXT; import static org.apache.camel.dataformat.tarfile.TarUtils.getBytes; import static org.apache.camel.dataformat.tarfile.TarUtils.getTaredText; +import static org.apache.camel.dataformat.tarfile.TarUtils.toEntries; import static org.apache.camel.test.junit5.TestSupport.deleteDirectory; import static org.junit.jupiter.api.Assertions.assertArrayEquals; import static org.junit.jupiter.api.Assertions.assertEquals; @@ -53,7 +55,14 @@ public class SpringTarFileDataFormatTest extends CamelSpringTestSupport { Exchange exchange = mock.getReceivedExchanges().get(0); assertEquals(exchange.getIn().getMessageId() + ".tar", exchange.getIn().getHeader(FILE_NAME)); -assertArrayEquals(getTaredText(exchange.getIn().getMessageId()), exchange.getIn().getBody(byte[].class)); + +final byte[] resultArray = exchange.getIn().getBody(byte[].class); +Map tarData = toEntries(resultArray); +assertTrue(tarData.containsKey(exchange.getIn().getMessageId())); + +TarUtils.EntryMetadata entryMetadata = tarData.get(exchange.getIn().getMessageId()); +assertEquals(TEXT.getBytes(StandardCharsets.UTF_8).length, entryMetadata.size); +assertFalse(entryMetadata.isDirectory); } @Test @@ -67,7 +76,15 @@ public class SpringTarFileDataFormatTest extends CamelSpringTestSupport { MockEndpoint.assertIsSatisfied(context); Exchange exchange = mock.getReceivedExchanges().get(0); -assertArrayEquals(getTaredText("poem.txt"), exchange.getIn().getBody(byte[].class)); + +final byte[] convertedArray = exchange.getIn().getBody(byte[].class); + +Map tarData = toEntries(convertedArray); +assertTrue(tarData.containsKey("poem.txt")); + +TarUtils.EntryMetadata entryMetadata = tarData.get("poem.txt"); +assertEquals(TEXT.getBytes(StandardCharsets.UTF_8).length, entryMetadata.size); +assertFalse(entryMetadata.isDirectory); } @Test @@ -114,7 +131,15 @@ public class SpringTarFileDataFormatTest extends CamelSpringTestSupport { Exchange exchange = mock.getReceivedExchanges().get(0); File file = new File(TEST_DIR, exchange.getIn().getMessageId() + ".tar"); assertTrue(file.exists()); -assertArrayEquals(getTaredText(exchange.getIn().getMessageId()), getBytes(file)); + +final byte[] resultArray = getBytes(file); + +Map tarData = toEntries(resultArray); +assertTrue(tarData.containsKey(exchange.getIn().getMessageId())); + +TarUtils.EntryMetadata entryMetadata = tarData.get(exchange.getIn().getMessageId()); +assertEquals(TEXT.getBytes(StandardCharsets.UTF_8).length, entryMetadata.size); +assertFalse(entryMetadata.isDirectory); } @Test @@ -136,12 +161,19 @@ public class SpringTarFileDataFormatTest extends CamelSpringTestSupport { assertTrue(notify.matches(5, TimeUnit.SECONDS)); assertTrue(file.exists()); -assertArrayEquals(getTaredText("poem.txt"), getBytes(file)); + +final byte[] resultArray = getBytes(file); + +Map tarData = toEntries(resultArray); +assertTrue(tarData.containsKey("poem.txt")); + +
(camel) 03/03: Upgrade Commons-compress to version 1.25.0 (#12015)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-3.21.x in repository https://gitbox.apache.org/repos/asf/camel.git commit 6ff59a0f9e48b49bc5fc9a1b495ae1e73eee42ae Author: Andrea Cosentino AuthorDate: Thu Nov 16 14:01:58 2023 +0100 Upgrade Commons-compress to version 1.25.0 (#12015) Signed-off-by: Andrea Cosentino --- .../camel/processor/aggregate/tarfile/TarAggregationStrategy.java | 3 +-- parent/pom.xml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/components/camel-tarfile/src/main/java/org/apache/camel/processor/aggregate/tarfile/TarAggregationStrategy.java b/components/camel-tarfile/src/main/java/org/apache/camel/processor/aggregate/tarfile/TarAggregationStrategy.java index 76710b322dd..10f0e6b68da 100644 --- a/components/camel-tarfile/src/main/java/org/apache/camel/processor/aggregate/tarfile/TarAggregationStrategy.java +++ b/components/camel-tarfile/src/main/java/org/apache/camel/processor/aggregate/tarfile/TarAggregationStrategy.java @@ -34,7 +34,6 @@ import org.apache.camel.component.file.GenericFileMessage; import org.apache.camel.component.file.GenericFileOperationFailedException; import org.apache.camel.spi.Synchronization; import org.apache.camel.util.FileUtil; -import org.apache.commons.compress.archivers.ArchiveEntry; import org.apache.commons.compress.archivers.ArchiveException; import org.apache.commons.compress.archivers.ArchiveStreamFactory; import org.apache.commons.compress.archivers.tar.TarArchiveEntry; @@ -242,7 +241,7 @@ public class TarAggregationStrategy implements AggregationStrategy { private void copyExistingEntries(TarArchiveInputStream tin, TarArchiveOutputStream tos) throws IOException { // copy the existing entries -ArchiveEntry nextEntry; +TarArchiveEntry nextEntry; while ((nextEntry = tin.getNextEntry()) != null) { tos.putArchiveEntry(nextEntry); IOUtils.copy(tin, tos); diff --git a/parent/pom.xml b/parent/pom.xml index e56906b0229..d9a586c2f1e 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -111,7 +111,7 @@ 1.15 3.2.2 4.4 -1.24.0 +1.25.0 1.9 2.8.0 1.8
(camel) branch camel-3.21.x updated (0b3d2c99f4a -> 6ff59a0f9e4)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch camel-3.21.x in repository https://gitbox.apache.org/repos/asf/camel.git from 0b3d2c99f4a camel-cdi remove deprecated fireEvent method (#13596) new 8fa9b8465f8 CAMEL-19229: upgrade commons-compress to 1.24.0 new b3095070be3 CAMEL-19229: upgrade commons-compress to 1.24.0 new 6ff59a0f9e4 Upgrade Commons-compress to version 1.25.0 (#12015) The 3 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../aggregate/tarfile/TarAggregationStrategy.java | 3 +- .../tarfile/SpringTarFileDataFormatTest.java | 44 +++-- .../dataformat/tarfile/TarFileDataFormatTest.java | 72 ++ .../apache/camel/dataformat/tarfile/TarUtils.java | 33 ++ parent/pom.xml | 2 +- 5 files changed, 134 insertions(+), 20 deletions(-)
(camel) 02/03: CAMEL-19229: upgrade commons-compress to 1.24.0
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-3.21.x in repository https://gitbox.apache.org/repos/asf/camel.git commit b3095070be342fd7f43668475437d7ca67073386 Author: Claus Ibsen AuthorDate: Fri Mar 29 10:51:34 2024 +0100 CAMEL-19229: upgrade commons-compress to 1.24.0 --- parent/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parent/pom.xml b/parent/pom.xml index 4a7555288aa..e56906b0229 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -111,7 +111,7 @@ 1.15 3.2.2 4.4 -1.24 +1.24.0 1.9 2.8.0 1.8
(camel) 01/03: CAMEL-19229: upgrade commons-compress to 1.24.0
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-3.22.x in repository https://gitbox.apache.org/repos/asf/camel.git commit 7e116302da5ac19485e85cf1d599e433829d640d Author: Otavio Rodolfo Piske AuthorDate: Wed Sep 27 09:26:28 2023 +0200 CAMEL-19229: upgrade commons-compress to 1.24.0 --- .../tarfile/SpringTarFileDataFormatTest.java | 44 +++-- .../dataformat/tarfile/TarFileDataFormatTest.java | 72 ++ .../apache/camel/dataformat/tarfile/TarUtils.java | 33 ++ parent/pom.xml | 2 +- 4 files changed, 133 insertions(+), 18 deletions(-) diff --git a/components/camel-tarfile/src/test/java/org/apache/camel/dataformat/tarfile/SpringTarFileDataFormatTest.java b/components/camel-tarfile/src/test/java/org/apache/camel/dataformat/tarfile/SpringTarFileDataFormatTest.java index 62a14569b17..b442d407962 100644 --- a/components/camel-tarfile/src/test/java/org/apache/camel/dataformat/tarfile/SpringTarFileDataFormatTest.java +++ b/components/camel-tarfile/src/test/java/org/apache/camel/dataformat/tarfile/SpringTarFileDataFormatTest.java @@ -17,6 +17,8 @@ package org.apache.camel.dataformat.tarfile; import java.io.File; +import java.nio.charset.StandardCharsets; +import java.util.Map; import java.util.concurrent.TimeUnit; import org.apache.camel.Exchange; @@ -28,11 +30,11 @@ import org.junit.jupiter.api.Test; import org.springframework.context.support.ClassPathXmlApplicationContext; import static java.nio.charset.StandardCharsets.UTF_8; -import static java.util.Collections.singletonList; import static org.apache.camel.Exchange.FILE_NAME; import static org.apache.camel.dataformat.tarfile.TarUtils.TEXT; import static org.apache.camel.dataformat.tarfile.TarUtils.getBytes; import static org.apache.camel.dataformat.tarfile.TarUtils.getTaredText; +import static org.apache.camel.dataformat.tarfile.TarUtils.toEntries; import static org.apache.camel.test.junit5.TestSupport.deleteDirectory; import static org.junit.jupiter.api.Assertions.assertArrayEquals; import static org.junit.jupiter.api.Assertions.assertEquals; @@ -53,7 +55,14 @@ public class SpringTarFileDataFormatTest extends CamelSpringTestSupport { Exchange exchange = mock.getReceivedExchanges().get(0); assertEquals(exchange.getIn().getMessageId() + ".tar", exchange.getIn().getHeader(FILE_NAME)); -assertArrayEquals(getTaredText(exchange.getIn().getMessageId()), exchange.getIn().getBody(byte[].class)); + +final byte[] resultArray = exchange.getIn().getBody(byte[].class); +Map tarData = toEntries(resultArray); +assertTrue(tarData.containsKey(exchange.getIn().getMessageId())); + +TarUtils.EntryMetadata entryMetadata = tarData.get(exchange.getIn().getMessageId()); +assertEquals(TEXT.getBytes(StandardCharsets.UTF_8).length, entryMetadata.size); +assertFalse(entryMetadata.isDirectory); } @Test @@ -67,7 +76,15 @@ public class SpringTarFileDataFormatTest extends CamelSpringTestSupport { MockEndpoint.assertIsSatisfied(context); Exchange exchange = mock.getReceivedExchanges().get(0); -assertArrayEquals(getTaredText("poem.txt"), exchange.getIn().getBody(byte[].class)); + +final byte[] convertedArray = exchange.getIn().getBody(byte[].class); + +Map tarData = toEntries(convertedArray); +assertTrue(tarData.containsKey("poem.txt")); + +TarUtils.EntryMetadata entryMetadata = tarData.get("poem.txt"); +assertEquals(TEXT.getBytes(StandardCharsets.UTF_8).length, entryMetadata.size); +assertFalse(entryMetadata.isDirectory); } @Test @@ -114,7 +131,15 @@ public class SpringTarFileDataFormatTest extends CamelSpringTestSupport { Exchange exchange = mock.getReceivedExchanges().get(0); File file = new File(TEST_DIR, exchange.getIn().getMessageId() + ".tar"); assertTrue(file.exists()); -assertArrayEquals(getTaredText(exchange.getIn().getMessageId()), getBytes(file)); + +final byte[] resultArray = getBytes(file); + +Map tarData = toEntries(resultArray); +assertTrue(tarData.containsKey(exchange.getIn().getMessageId())); + +TarUtils.EntryMetadata entryMetadata = tarData.get(exchange.getIn().getMessageId()); +assertEquals(TEXT.getBytes(StandardCharsets.UTF_8).length, entryMetadata.size); +assertFalse(entryMetadata.isDirectory); } @Test @@ -136,12 +161,19 @@ public class SpringTarFileDataFormatTest extends CamelSpringTestSupport { assertTrue(notify.matches(5, TimeUnit.SECONDS)); assertTrue(file.exists()); -assertArrayEquals(getTaredText("poem.txt"), getBytes(file)); + +final byte[] resultArray = getBytes(file); + +Map tarData = toEntries(resultArray); +assertTrue(tarData.containsKey("poem.txt")); + +
(camel) 03/03: Upgrade Commons-compress to version 1.25.0 (#12015)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-3.22.x in repository https://gitbox.apache.org/repos/asf/camel.git commit f1a6fc04286adb40d473534fa30ba61f5a418cff Author: Andrea Cosentino AuthorDate: Thu Nov 16 14:01:58 2023 +0100 Upgrade Commons-compress to version 1.25.0 (#12015) Signed-off-by: Andrea Cosentino --- .../camel/processor/aggregate/tarfile/TarAggregationStrategy.java | 3 +-- parent/pom.xml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/components/camel-tarfile/src/main/java/org/apache/camel/processor/aggregate/tarfile/TarAggregationStrategy.java b/components/camel-tarfile/src/main/java/org/apache/camel/processor/aggregate/tarfile/TarAggregationStrategy.java index 76710b322dd..10f0e6b68da 100644 --- a/components/camel-tarfile/src/main/java/org/apache/camel/processor/aggregate/tarfile/TarAggregationStrategy.java +++ b/components/camel-tarfile/src/main/java/org/apache/camel/processor/aggregate/tarfile/TarAggregationStrategy.java @@ -34,7 +34,6 @@ import org.apache.camel.component.file.GenericFileMessage; import org.apache.camel.component.file.GenericFileOperationFailedException; import org.apache.camel.spi.Synchronization; import org.apache.camel.util.FileUtil; -import org.apache.commons.compress.archivers.ArchiveEntry; import org.apache.commons.compress.archivers.ArchiveException; import org.apache.commons.compress.archivers.ArchiveStreamFactory; import org.apache.commons.compress.archivers.tar.TarArchiveEntry; @@ -242,7 +241,7 @@ public class TarAggregationStrategy implements AggregationStrategy { private void copyExistingEntries(TarArchiveInputStream tin, TarArchiveOutputStream tos) throws IOException { // copy the existing entries -ArchiveEntry nextEntry; +TarArchiveEntry nextEntry; while ((nextEntry = tin.getNextEntry()) != null) { tos.putArchiveEntry(nextEntry); IOUtils.copy(tin, tos); diff --git a/parent/pom.xml b/parent/pom.xml index ad515a94329..427a74141a7 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -111,7 +111,7 @@ 1.15 3.2.2 4.4 -1.24.0 +1.25.0 1.9 2.8.0 1.8
(camel) 02/03: CAMEL-19229: upgrade commons-compress to 1.24.0
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch camel-3.22.x in repository https://gitbox.apache.org/repos/asf/camel.git commit 52209a37ee7a45a1484f50d3fc9925e1ded5538f Author: Claus Ibsen AuthorDate: Fri Mar 29 10:51:34 2024 +0100 CAMEL-19229: upgrade commons-compress to 1.24.0 --- parent/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parent/pom.xml b/parent/pom.xml index 89ef5f75f47..ad515a94329 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -111,7 +111,7 @@ 1.15 3.2.2 4.4 -1.24 +1.24.0 1.9 2.8.0 1.8
(camel) branch camel-3.22.x updated (4e74223762b -> f1a6fc04286)
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a change to branch camel-3.22.x in repository https://gitbox.apache.org/repos/asf/camel.git from 4e74223762b camel-cdi remove deprecated fireEvent method (#13596) new 7e116302da5 CAMEL-19229: upgrade commons-compress to 1.24.0 new 52209a37ee7 CAMEL-19229: upgrade commons-compress to 1.24.0 new f1a6fc04286 Upgrade Commons-compress to version 1.25.0 (#12015) The 3 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../aggregate/tarfile/TarAggregationStrategy.java | 3 +- .../tarfile/SpringTarFileDataFormatTest.java | 44 +++-- .../dataformat/tarfile/TarFileDataFormatTest.java | 72 ++ .../apache/camel/dataformat/tarfile/TarUtils.java | 33 ++ parent/pom.xml | 2 +- 5 files changed, 134 insertions(+), 20 deletions(-)
(camel-website) branch regen_bot updated (7c28623f -> 7204ba13)
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-website.git from 7c28623f New45 (#1163) add 7204ba13 Remove 3.9.x doc branch as its not LTS No new revisions were added by this update. Summary of changes: antora-playbook-snippets/antora-playbook.yml | 1 - 1 file changed, 1 deletion(-)
Re: [PR] Remove 3.9.x doc branch as its not LTS [camel-website]
aldettinger merged PR #1166: URL: https://github.com/apache/camel-website/pull/1166 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel-website) branch main updated: Remove 3.9.x doc branch as its not LTS
This is an automated email from the ASF dual-hosted git repository. aldettinger pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-website.git The following commit(s) were added to refs/heads/main by this push: new 7204ba13 Remove 3.9.x doc branch as its not LTS 7204ba13 is described below commit 7204ba1318ac25163442ba29c1129a5b7f97a4fc Author: aldettinger AuthorDate: Fri Mar 29 10:04:54 2024 +0100 Remove 3.9.x doc branch as its not LTS --- antora-playbook-snippets/antora-playbook.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/antora-playbook-snippets/antora-playbook.yml b/antora-playbook-snippets/antora-playbook.yml index c2725377..42783d8d 100644 --- a/antora-playbook-snippets/antora-playbook.yml +++ b/antora-playbook-snippets/antora-playbook.yml @@ -51,7 +51,6 @@ content: - url: https://github.com/apache/camel-quarkus.git branches: - main -- 3.9.x - 3.8.x - 3.2.x start_path: docs
Re: [PR] CAMEL-20625: Create a camel-google-pubsub-lite component [camel]
stn1slv commented on PR #13630: URL: https://github.com/apache/camel/pull/13630#issuecomment-2026946070 Thanks, I'll fix the doc for `consumerBytesOutstanding` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel-spring-boot) branch main updated: CAMEL-20625: Create a camel-google-pubsub-lite component
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git The following commit(s) were added to refs/heads/main by this push: new 9b6cb8dcdb8 CAMEL-20625: Create a camel-google-pubsub-lite component 9b6cb8dcdb8 is described below commit 9b6cb8dcdb8d708973753f509b48606691107562 Author: Claus Ibsen AuthorDate: Fri Mar 29 10:31:59 2024 +0100 CAMEL-20625: Create a camel-google-pubsub-lite component --- .../camel/springboot/catalog/components.properties | 1 + .../catalog/components/google-pubsub-lite.json | 60 ++ .../camel-google-pubsub-lite-starter/pom.xml | 48 + .../src/main/docs/google-pubsub-lite.json | 91 + ...GooglePubsubLiteComponentAutoConfiguration.java | 77 .../GooglePubsubLiteComponentConfiguration.java| 173 ++ .../src/main/resources/META-INF/LICENSE.txt| 203 + .../src/main/resources/META-INF/NOTICE.txt | 11 ++ ...rk.boot.autoconfigure.AutoConfiguration.imports | 18 ++ components-starter/pom.xml | 1 + tooling/camel-spring-boot-bom/pom.xml | 5 + tooling/camel-spring-boot-dependencies/pom.xml | 10 + 12 files changed, 698 insertions(+) diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components.properties b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components.properties index e545f198803..7ac50ac667a 100644 --- a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components.properties +++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components.properties @@ -120,6 +120,7 @@ google-functions google-mail google-mail-stream google-pubsub +google-pubsub-lite google-secret-manager google-sheets google-sheets-stream diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-pubsub-lite.json b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-pubsub-lite.json new file mode 100644 index 000..6968dea8ca7 --- /dev/null +++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-pubsub-lite.json @@ -0,0 +1,60 @@ +{ + "component": { +"kind": "component", +"name": "google-pubsub-lite", +"title": "Google PubSub Lite", +"description": "Send and receive messages to\/from Google Cloud Platform PubSub Lite Service.", +"deprecated": false, +"firstVersion": "4.6.0", +"label": "cloud,messaging", +"javaType": "org.apache.camel.component.google.pubsublite.GooglePubsubLiteComponent", +"supportLevel": "Preview", +"groupId": "org.apache.camel.springboot", +"artifactId": "camel-google-pubsub-lite-starter", +"version": "4.6.0-SNAPSHOT", +"scheme": "google-pubsub-lite", +"extendsScheme": "", +"syntax": "google-pubsub-lite:projectId:location:destinationName", +"async": false, +"api": false, +"consumerOnly": false, +"producerOnly": false, +"lenientProperties": false, +"remote": true + }, + "componentProperties": { +"bridgeErrorHandler": { "index": 0, "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 [...] +"consumerMessagesOutstanding": { "index": 1, "kind": "property", "displayName": "Consumer Messages Outstanding", "group": "consumer", "label": "consumer", "required": false, "type": "integer", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 1000, "description": "The number of messages that may be outstanding to the client. Must be 0." }, +"consumerBytesOutstanding": { "index": 2, "kind": "property", "displayName": "Consumer Bytes Outstanding", "group": "consumer (advanced)", "label": "consumer,advanced", "required": false, "type": "integer", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 10485760, "description": "How many milliseconds should each producer stay alive in the cache. Must be greater than the allowed size of the largest message (1 MiB)." }, +"lazyStartProducer": { "index": 3, "kind": "property", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required":
(camel) branch main updated: CAMEL-20625: Create a camel-google-pubsub-lite component
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 63b04d437cb CAMEL-20625: Create a camel-google-pubsub-lite component 63b04d437cb is described below commit 63b04d437cb408d9a201c91c14ae331cfac9d32c Author: Claus Ibsen AuthorDate: Fri Mar 29 10:27:11 2024 +0100 CAMEL-20625: Create a camel-google-pubsub-lite component --- .../pubsub/GooglePubsubEndpointUriFactory.java | 85 --- .../GooglePubsubComponentConfigurer.java | 84 --- .../pubsublite/GooglePubsubEndpointConfigurer.java | 116 - .../pubsublite/GooglePubsubEndpointUriFactory.java | 85 --- .../services/org/apache/camel/component.properties | 2 +- .../org/apache/camel/component/google-pubsub | 2 - .../camel/configurer/google-pubsub-component | 2 - .../apache/camel/configurer/google-pubsub-endpoint | 2 - .../apache/camel/urifactory/google-pubsub-endpoint | 2 - .../component/google/pubsublite/google-pubsub.json | 62 --- 10 files changed, 1 insertion(+), 441 deletions(-) diff --git a/components/camel-google/camel-google-pubsub-lite/src/generated/java/org/apache/camel/component/google/pubsub/GooglePubsubEndpointUriFactory.java b/components/camel-google/camel-google-pubsub-lite/src/generated/java/org/apache/camel/component/google/pubsub/GooglePubsubEndpointUriFactory.java deleted file mode 100644 index e3efb4ff570..000 --- a/components/camel-google/camel-google-pubsub-lite/src/generated/java/org/apache/camel/component/google/pubsub/GooglePubsubEndpointUriFactory.java +++ /dev/null @@ -1,85 +0,0 @@ -/* Generated by camel build tools - do NOT edit this file! */ -package org.apache.camel.component.google.pubsub; - -import java.net.URISyntaxException; -import java.util.Collections; -import java.util.HashMap; -import java.util.HashSet; -import java.util.Map; -import java.util.Set; - -import org.apache.camel.spi.EndpointUriFactory; - -/** - * Generated by camel build tools - do NOT edit this file! - */ -public class GooglePubsubEndpointUriFactory extends org.apache.camel.support.component.EndpointUriFactorySupport implements EndpointUriFactory { - -private static final String BASE = ":projectId:destinationName"; - -private static final Set PROPERTY_NAMES; -private static final Set SECRET_PROPERTY_NAMES; -private static final Set MULTI_VALUE_PREFIXES; -static { -Set props = new HashSet<>(17); -props.add("ackMode"); -props.add("authenticate"); -props.add("bridgeErrorHandler"); -props.add("concurrentConsumers"); -props.add("destinationName"); -props.add("exceptionHandler"); -props.add("exchangePattern"); -props.add("lazyStartProducer"); -props.add("loggerId"); -props.add("maxAckExtensionPeriod"); -props.add("maxMessagesPerPoll"); -props.add("messageOrderingEnabled"); -props.add("projectId"); -props.add("pubsubEndpoint"); -props.add("serializer"); -props.add("serviceAccountKey"); -props.add("synchronousPull"); -PROPERTY_NAMES = Collections.unmodifiableSet(props); -SECRET_PROPERTY_NAMES = Collections.emptySet(); -MULTI_VALUE_PREFIXES = Collections.emptySet(); -} - -@Override -public boolean isEnabled(String scheme) { -return "google-pubsub".equals(scheme); -} - -@Override -public String buildUri(String scheme, Map properties, boolean encode) throws URISyntaxException { -String syntax = scheme + BASE; -String uri = syntax; - -Map copy = new HashMap<>(properties); - -uri = buildPathParameter(syntax, uri, "projectId", null, true, copy); -uri = buildPathParameter(syntax, uri, "destinationName", null, true, copy); -uri = buildQueryParameters(uri, copy, encode); -return uri; -} - -@Override -public Set propertyNames() { -return PROPERTY_NAMES; -} - -@Override -public Set secretPropertyNames() { -return SECRET_PROPERTY_NAMES; -} - -@Override -public Set multiValuePrefixes() { -return MULTI_VALUE_PREFIXES; -} - -@Override -public boolean isLenientProperties() { -return false; -} -} - diff --git a/components/camel-google/camel-google-pubsub-lite/src/generated/java/org/apache/camel/component/google/pubsublite/GooglePubsubComponentConfigurer.java b/components/camel-google/camel-google-pubsub-lite/src/generated/java/org/apache/camel/component/google/pubsublite/GooglePubsubComponentConfigurer.java deleted file mode 100644 index 4c25fdde63a..000 ---
Re: [PR] CAMEL-20625: Create a camel-google-pubsub-lite component [camel]
davsclaus commented on PR #13630: URL: https://github.com/apache/camel/pull/13630#issuecomment-2026937895 okay pushed -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel) branch main updated: CAMEL-20625: Create a camel-google-pubsub-lite component
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 5d51c1e4dd7 CAMEL-20625: Create a camel-google-pubsub-lite component 5d51c1e4dd7 is described below commit 5d51c1e4dd74e4617cca7b33b7e69d6cb8bf45d3 Author: Claus Ibsen AuthorDate: Fri Mar 29 10:24:49 2024 +0100 CAMEL-20625: Create a camel-google-pubsub-lite component --- .../catalog/components/google-pubsub-lite.json | 42 +++--- .../google/pubsublite/google-pubsub-lite.json | 42 +++--- .../main/docs/google-pubsub-lite-component.adoc| 6 +- .../pubsublite/GooglePubsubLiteComponent.java | 17 ++ .../pubsublite/GooglePubsubLiteEndpoint.java | 8 +-- .../src/test/resources/log4j.properties| 4 +- .../builder/endpoint/StaticEndpointBuilders.java | 8 +-- .../GooglePubsubLiteEndpointBuilderFactory.java| 66 +++--- .../kotlin/components/GooglePubsubLiteUriDsl.kt| 18 +++--- 9 files changed, 103 insertions(+), 108 deletions(-) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/google-pubsub-lite.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/google-pubsub-lite.json index 750223182cf..7d3de375d7d 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/google-pubsub-lite.json +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/google-pubsub-lite.json @@ -2,10 +2,10 @@ "component": { "kind": "component", "name": "google-pubsub-lite", -"title": "Google Pubsub Lite", +"title": "Google PubSub Lite", "description": "Send and receive messages to\/from Google Cloud Platform PubSub Lite Service.", "deprecated": false, -"firstVersion": "4.5.0", +"firstVersion": "4.6.0", "label": "cloud,messaging", "javaType": "org.apache.camel.component.google.pubsublite.GooglePubsubLiteComponent", "supportLevel": "Preview", @@ -23,15 +23,15 @@ "remote": true }, "componentProperties": { -"serviceAccountKey": { "index": 0, "kind": "property", "displayName": "Service Account Key", "group": "common", "label": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The Service account key that can be used as credentials for the PubSub Lite publisher\/subscriber. It can be loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resourc [...] -"bridgeErrorHandler": { "index": 1, "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 [...] -"consumerBytesOutstanding": { "index": 2, "kind": "property", "displayName": "Consumer Bytes Outstanding", "group": "consumer", "label": "consumer", "required": false, "type": "integer", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "description": "How many milliseconds should each producer stay alive in the cache. Must be greater than the allowed size of the largest message (1 MiB)." }, -"consumerMessagesOutstanding": { "index": 3, "kind": "property", "displayName": "Consumer Messages Outstanding", "group": "consumer", "label": "consumer", "required": false, "type": "integer", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "description": "The number of messages that may be outstanding to the client. Must be 0." }, -"lazyStartProducer": { "index": 4, "kind": "property", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail [...] -"publisherCacheSize": { "index": 5, "kind": "property", "displayName": "Publisher Cache Size", "group": "producer", "label": "producer", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": false, "secret": false, "description": "Maximum number of producers to cache. This could be increased if you have producers for lots of different topics." }, -
Re: [PR] CAMEL-20625: Create a camel-google-pubsub-lite component [camel]
davsclaus commented on PR #13630: URL: https://github.com/apache/camel/pull/13630#issuecomment-2026936857 Okay I am soon ready and will push fixes. I noticed that the doc for `consumerBytesOutstanding` in the component is wrong. You are welcome to send a PR to fix that when I am done first. -- 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) 02/02: CAMEL-20625: Create a camel-google-pubsub-lite component
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit 439beab2d3cc7dce2414286a48979d62078ea26d Author: Claus Ibsen AuthorDate: Fri Mar 29 10:17:55 2024 +0100 CAMEL-20625: Create a camel-google-pubsub-lite component --- .../org/apache/camel/catalog/components.properties | 1 + .../catalog/components/google-pubsub-lite.json | 60 ++ .../org/apache/camel/main/components.properties| 1 + .../builder/endpoint/EndpointBuilderFactory.java | 1 + .../camel/builder/endpoint/EndpointBuilders.java | 1 + .../builder/endpoint/StaticEndpointBuilders.java | 61 ++ .../GooglePubsubLiteEndpointBuilderFactory.java| 729 + .../camel-component-known-dependencies.properties | 1 + .../kotlin/components/GooglePubsubLiteUriDsl.kt| 233 +++ 9 files changed, 1088 insertions(+) diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components.properties b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components.properties index 3fd271c713c..365101ac5d1 100644 --- a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components.properties +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components.properties @@ -118,6 +118,7 @@ google-functions google-mail google-mail-stream google-pubsub +google-pubsub-lite google-secret-manager google-sheets google-sheets-stream diff --git a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/google-pubsub-lite.json b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/google-pubsub-lite.json new file mode 100644 index 000..750223182cf --- /dev/null +++ b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/google-pubsub-lite.json @@ -0,0 +1,60 @@ +{ + "component": { +"kind": "component", +"name": "google-pubsub-lite", +"title": "Google Pubsub Lite", +"description": "Send and receive messages to\/from Google Cloud Platform PubSub Lite Service.", +"deprecated": false, +"firstVersion": "4.5.0", +"label": "cloud,messaging", +"javaType": "org.apache.camel.component.google.pubsublite.GooglePubsubLiteComponent", +"supportLevel": "Preview", +"groupId": "org.apache.camel", +"artifactId": "camel-google-pubsub-lite", +"version": "4.6.0-SNAPSHOT", +"scheme": "google-pubsub-lite", +"extendsScheme": "", +"syntax": "google-pubsub-lite:projectId:location:destinationName", +"async": false, +"api": false, +"consumerOnly": false, +"producerOnly": false, +"lenientProperties": false, +"remote": true + }, + "componentProperties": { +"serviceAccountKey": { "index": 0, "kind": "property", "displayName": "Service Account Key", "group": "common", "label": "common", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "description": "The Service account key that can be used as credentials for the PubSub Lite publisher\/subscriber. It can be loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resourc [...] +"bridgeErrorHandler": { "index": 1, "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 [...] +"consumerBytesOutstanding": { "index": 2, "kind": "property", "displayName": "Consumer Bytes Outstanding", "group": "consumer", "label": "consumer", "required": false, "type": "integer", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "description": "How many milliseconds should each producer stay alive in the cache. Must be greater than the allowed size of the largest message (1 MiB)." }, +"consumerMessagesOutstanding": { "index": 3, "kind": "property", "displayName": "Consumer Messages Outstanding", "group": "consumer", "label": "consumer", "required": false, "type": "integer", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "description": "The number of messages that may be outstanding to the client. Must be 0." }, +"lazyStartProducer": { "index": 4, "kind": "property", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether the producer
(camel) branch main updated (c235e341d9c -> 439beab2d3c)
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 c235e341d9c CAMEL-20625: Create a camel-google-pubsub-lite component new e1450ab8658 CAMEL-20625: Create a camel-google-pubsub-lite component new 439beab2d3c CAMEL-20625: Create a camel-google-pubsub-lite component The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../org/apache/camel/catalog/components.properties | 1 + .../catalog/components}/google-pubsub-lite.json| 0 .../org/apache/camel/main/components.properties| 1 + .../builder/endpoint/EndpointBuilderFactory.java | 1 + .../camel/builder/endpoint/EndpointBuilders.java | 1 + .../builder/endpoint/StaticEndpointBuilders.java | 61 ...=> GooglePubsubLiteEndpointBuilderFactory.java} | 384 ++--- .../camel-component-known-dependencies.properties | 1 + ...lePubsubUriDsl.kt => GooglePubsubLiteUriDsl.kt} | 72 ++-- .../apache/camel/maven/packaging/MojoHelper.java | 2 +- 10 files changed, 195 insertions(+), 329 deletions(-) copy {components/camel-google/camel-google-pubsub-lite/src/generated/resources/META-INF/org/apache/camel/component/google/pubsublite => catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components}/google-pubsub-lite.json (100%) copy dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/{GooglePubsubEndpointBuilderFactory.java => GooglePubsubLiteEndpointBuilderFactory.java} (64%) copy dsl/camel-kotlin-api/src/generated/kotlin/org/apache/camel/kotlin/components/{GooglePubsubUriDsl.kt => GooglePubsubLiteUriDsl.kt} (83%)
(camel) 01/02: CAMEL-20625: Create a camel-google-pubsub-lite component
This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git commit e1450ab8658395da928be3c85a8cc886223d2c6d Author: Claus Ibsen AuthorDate: Fri Mar 29 10:12:24 2024 +0100 CAMEL-20625: Create a camel-google-pubsub-lite component --- .../src/main/java/org/apache/camel/maven/packaging/MojoHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/MojoHelper.java b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/MojoHelper.java index 8aa0be80968..8057d5fefe2 100644 --- a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/MojoHelper.java +++ b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/MojoHelper.java @@ -70,7 +70,7 @@ public final class MojoHelper { case "camel-google": return Arrays.asList(dir.resolve("camel-google-bigquery"), dir.resolve("camel-google-calendar"), dir.resolve("camel-google-drive"), dir.resolve("camel-google-mail"), dir.resolve("camel-google-pubsub"), -dir.resolve("camel-google-sheets"), +dir.resolve("camel-google-pubsub-lite"), dir.resolve("camel-google-sheets"), dir.resolve("camel-google-storage"), dir.resolve("camel-google-functions"), dir.resolve("camel-google-secret-manager")); case "camel-debezium":
(camel) branch main updated: CAMEL-20625: Create a camel-google-pubsub-lite component
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 c235e341d9c CAMEL-20625: Create a camel-google-pubsub-lite component c235e341d9c is described below commit c235e341d9c3ed776e824a08deed34968872048d Author: Claus Ibsen AuthorDate: Fri Mar 29 10:11:46 2024 +0100 CAMEL-20625: Create a camel-google-pubsub-lite component --- bom/camel-bom/pom.xml | 2 +- components/camel-google/camel-google-pubsub-lite/pom.xml| 2 +- .../apache/camel/component/google/pubsublite/google-pubsub-lite.json| 2 +- .../resources/META-INF/services/org/apache/camel/component.properties | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bom/camel-bom/pom.xml b/bom/camel-bom/pom.xml index e69f820f73b..9b59508cc96 100644 --- a/bom/camel-bom/pom.xml +++ b/bom/camel-bom/pom.xml @@ -845,7 +845,7 @@ org.apache.camel camel-google-pubsub-lite -4.5.0-SNAPSHOT +4.6.0-SNAPSHOT org.apache.camel diff --git a/components/camel-google/camel-google-pubsub-lite/pom.xml b/components/camel-google/camel-google-pubsub-lite/pom.xml index 05b7d270b61..a886736668e 100644 --- a/components/camel-google/camel-google-pubsub-lite/pom.xml +++ b/components/camel-google/camel-google-pubsub-lite/pom.xml @@ -24,7 +24,7 @@ org.apache.camel camel-google-parent -4.5.0-SNAPSHOT +4.6.0-SNAPSHOT camel-google-pubsub-lite diff --git a/components/camel-google/camel-google-pubsub-lite/src/generated/resources/META-INF/org/apache/camel/component/google/pubsublite/google-pubsub-lite.json b/components/camel-google/camel-google-pubsub-lite/src/generated/resources/META-INF/org/apache/camel/component/google/pubsublite/google-pubsub-lite.json index ed46412b597..750223182cf 100644 --- a/components/camel-google/camel-google-pubsub-lite/src/generated/resources/META-INF/org/apache/camel/component/google/pubsublite/google-pubsub-lite.json +++ b/components/camel-google/camel-google-pubsub-lite/src/generated/resources/META-INF/org/apache/camel/component/google/pubsublite/google-pubsub-lite.json @@ -11,7 +11,7 @@ "supportLevel": "Preview", "groupId": "org.apache.camel", "artifactId": "camel-google-pubsub-lite", -"version": "4.5.0-SNAPSHOT", +"version": "4.6.0-SNAPSHOT", "scheme": "google-pubsub-lite", "extendsScheme": "", "syntax": "google-pubsub-lite:projectId:location:destinationName", diff --git a/components/camel-google/camel-google-pubsub-lite/src/generated/resources/META-INF/services/org/apache/camel/component.properties b/components/camel-google/camel-google-pubsub-lite/src/generated/resources/META-INF/services/org/apache/camel/component.properties index 933d88c4f26..61b5be1c75c 100644 --- a/components/camel-google/camel-google-pubsub-lite/src/generated/resources/META-INF/services/org/apache/camel/component.properties +++ b/components/camel-google/camel-google-pubsub-lite/src/generated/resources/META-INF/services/org/apache/camel/component.properties @@ -2,6 +2,6 @@ components=google-pubsub google-pubsub-lite groupId=org.apache.camel artifactId=camel-google-pubsub-lite -version=4.5.0-SNAPSHOT +version=4.6.0-SNAPSHOT projectName=Camel :: Google :: PubSub Lite projectDescription=Camel Component for Google Cloud Platform PubSub Lite
Re: [PR] CAMEL-20625: Create a camel-google-pubsub-lite component [camel]
davsclaus commented on PR #13630: URL: https://github.com/apache/camel/pull/13630#issuecomment-2026921423 its a bit of mess to get this PR clean due to the 4.5 -> 4.6 release and main changes. So lets me clean it up, and when done you can if more needed send new PRs -- 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-20625: Create a camel-google-pubsub-lite component [camel]
davsclaus merged PR #13630: URL: https://github.com/apache/camel/pull/13630 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel) branch main updated: CAMEL-20625: Create a camel-google-pubsub-lite component (#13630)
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 68661a84041 CAMEL-20625: Create a camel-google-pubsub-lite component (#13630) 68661a84041 is described below commit 68661a84041fb4b6f730c8eaafef4e7f46be496c Author: Stanislav Deviatov AuthorDate: Fri Mar 29 10:10:51 2024 +0100 CAMEL-20625: Create a camel-google-pubsub-lite component (#13630) * CAMEL-20625: Initial implementation * CAMEL-20625: Minor fixes based on review feedback * CAMEL-20625: docs updated * CAMEL-20625: docs updated (since field from 4.5 to 4.6) --- bom/camel-bom/pom.xml | 5 + catalog/camel-allcomponents/pom.xml| 5 + .../camel-google/camel-google-pubsub-lite/pom.xml | 78 +++ .../pubsub/GooglePubsubEndpointUriFactory.java | 85 +++ .../GooglePubsubComponentConfigurer.java | 84 +++ .../pubsublite/GooglePubsubEndpointConfigurer.java | 116 ++ .../pubsublite/GooglePubsubEndpointUriFactory.java | 85 +++ .../GooglePubsubLiteComponentConfigurer.java | 97 .../GooglePubsubLiteEndpointConfigurer.java| 117 ++ .../GooglePubsubLiteEndpointUriFactory.java| 84 +++ .../google/pubsublite/google-pubsub-lite.json | 60 + .../services/org/apache/camel/component.properties | 7 + .../org/apache/camel/component/google-pubsub | 2 + .../org/apache/camel/component/google-pubsub-lite | 2 + .../camel/configurer/google-pubsub-component | 2 + .../apache/camel/configurer/google-pubsub-endpoint | 2 + .../camel/configurer/google-pubsub-lite-component | 2 + .../camel/configurer/google-pubsub-lite-endpoint | 2 + .../apache/camel/urifactory/google-pubsub-endpoint | 2 + .../camel/urifactory/google-pubsub-lite-endpoint | 2 + .../component/google/pubsublite/google-pubsub.json | 62 + .../main/docs/google-pubsub-lite-component.adoc| 113 ++ .../pubsublite/GooglePubsubLiteComponent.java | 249 + .../pubsublite/GooglePubsubLiteConstants.java | 46 .../pubsublite/GooglePubsubLiteConsumer.java | 128 +++ .../pubsublite/GooglePubsubLiteEndpoint.java | 233 +++ .../pubsublite/GooglePubsubLiteProducer.java | 120 ++ .../google/pubsublite/consumer/Acknowledge.java| 40 .../pubsublite/consumer/CamelMessageReceiver.java | 75 +++ .../serializer/DefaultGooglePubsubSerializer.java | 35 +++ .../serializer/GooglePubsubSerializer.java | 34 +++ .../pubsublite/GooglePubsubLiteComponentTest.java | 66 ++ .../pubsublite/GooglePubsubLiteConsumerTest.java | 83 +++ .../pubsublite/GooglePubsubLiteProducerTest.java | 107 + .../src/test/resources/log4j.properties| 37 +++ .../src/test/resources/simple.properties | 20 ++ components/camel-google/pom.xml| 1 + .../ROOT/examples/json/google-pubsub-lite.json | 1 + docs/components/modules/ROOT/nav.adoc | 1 + .../ROOT/pages/google-pubsub-lite-component.adoc | 1 + parent/pom.xml | 5 + 41 files changed, 2296 insertions(+) diff --git a/bom/camel-bom/pom.xml b/bom/camel-bom/pom.xml index 3096006e3bb..e69f820f73b 100644 --- a/bom/camel-bom/pom.xml +++ b/bom/camel-bom/pom.xml @@ -842,6 +842,11 @@ camel-google-pubsub 4.6.0-SNAPSHOT + +org.apache.camel +camel-google-pubsub-lite +4.5.0-SNAPSHOT + org.apache.camel camel-google-secret-manager diff --git a/catalog/camel-allcomponents/pom.xml b/catalog/camel-allcomponents/pom.xml index 4c60e8db8e1..bdc0392a553 100644 --- a/catalog/camel-allcomponents/pom.xml +++ b/catalog/camel-allcomponents/pom.xml @@ -712,6 +712,11 @@ camel-google-pubsub ${project.version} + +org.apache.camel +camel-google-pubsub-lite +${project.version} + org.apache.camel camel-google-secret-manager diff --git a/components/camel-google/camel-google-pubsub-lite/pom.xml b/components/camel-google/camel-google-pubsub-lite/pom.xml new file mode 100644 index 000..05b7d270b61 --- /dev/null +++ b/components/camel-google/camel-google-pubsub-lite/pom.xml @@ -0,0 +1,78 @@ + + +http://maven.apache.org/POM/4.0.0; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd;> + +4.0.0 + + +org.apache.camel +camel-google-parent +4.5.0-SNAPSHOT + + +camel-google-pubsub-lite +jar +Camel :: Google :: PubSub Lite
(camel-quarkus) branch main updated: Explicit in release procedure that only LTS branches should have documentation
This is an automated email from the ASF dual-hosted git repository. aldettinger pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git The following commit(s) were added to refs/heads/main by this push: new 9845d7b832 Explicit in release procedure that only LTS branches should have documentation 9845d7b832 is described below commit 9845d7b8321536c755466854ced167bff7600958 Author: aldettinger AuthorDate: Fri Mar 29 10:08:32 2024 +0100 Explicit in release procedure that only LTS branches should have documentation --- docs/modules/ROOT/pages/contributor-guide/release-guide.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules/ROOT/pages/contributor-guide/release-guide.adoc b/docs/modules/ROOT/pages/contributor-guide/release-guide.adoc index dc0c65a043..0742b1e9a0 100644 --- a/docs/modules/ROOT/pages/contributor-guide/release-guide.adoc +++ b/docs/modules/ROOT/pages/contributor-guide/release-guide.adoc @@ -446,7 +446,7 @@ Please, keep in mind a few things when preparing the pull request for the camel- * A release marker file should be added in https://github.com/apache/camel-website/tree/main/content/releases/q * Marker files for LTS versions should include the end of life date, ala 'eol: date' * The end of life date is the minimum date between camel LTS eol date and quarkus LTS eol date -* Documentation branches should be updated in https://github.com/apache/camel-website/blob/main/antora-playbook-snippets/antora-playbook.yml[antora-playbook.yml] +* Documentation branches for LTS releases should be updated in https://github.com/apache/camel-website/blob/main/antora-playbook-snippets/antora-playbook.yml[antora-playbook.yml] * We maintain documentation branches only for LTS versions and main == Further steps
[PR] Remove 3.9.x doc branch as its not LTS [camel-website]
aldettinger opened a new pull request, #1166: URL: https://github.com/apache/camel-website/pull/1166 (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
Re: [PR] CAMEL-20632- Fix documentation for Camel Langchain4j chat component [camel]
zbendhiba commented on PR #13659: URL: https://github.com/apache/camel/pull/13659#issuecomment-2026909902 So it seems there's no need to follow up for 4.5 as it's a non LTS -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
(camel) branch main updated: CAMEL-20632- Fix documentation for Camel Langchain4j chat component (#13659)
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 fd50d851db5 CAMEL-20632- Fix documentation for Camel Langchain4j chat component (#13659) fd50d851db5 is described below commit fd50d851db57d7212069319a3242e223567c362e Author: Zineb BENDHIBA AuthorDate: Fri Mar 29 09:58:56 2024 +0100 CAMEL-20632- Fix documentation for Camel Langchain4j chat component (#13659) --- .../src/main/{java => }/docs/langchain-chat-component.adoc | 10 +++--- docs/components/modules/ROOT/nav.adoc | 1 + .../modules/ROOT/pages/langchain-chat-component.adoc | 1 + 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/components/camel-ai/camel-langchain-chat/src/main/java/docs/langchain-chat-component.adoc b/components/camel-ai/camel-langchain-chat/src/main/docs/langchain-chat-component.adoc similarity index 97% rename from components/camel-ai/camel-langchain-chat/src/main/java/docs/langchain-chat-component.adoc rename to components/camel-ai/camel-langchain-chat/src/main/docs/langchain-chat-component.adoc index bde72cb5087..e5830a60461 100644 --- a/components/camel-ai/camel-langchain-chat/src/main/java/docs/langchain-chat-component.adoc +++ b/components/camel-ai/camel-langchain-chat/src/main/docs/langchain-chat-component.adoc @@ -1,8 +1,8 @@ -= Langchain4j Chat Component -:doctitle: Langchain4j Chat += langChain4j Chat Component +:doctitle: langChain4j Chat :shortname: langchain-chat :artifactid: camel-langchain-chat -:description: Langchain4j Chat +:description: LangChain4j Chat component :since: 4.5 :supportlevel: Preview :tabs-sync-option: @@ -143,7 +143,3 @@ messages.add(new SystemMessage("You are asked to provide recommendations for a r String response = template.requestBody("direct:send-multiple", messages, String.class); - - - - diff --git a/docs/components/modules/ROOT/nav.adoc b/docs/components/modules/ROOT/nav.adoc index 31c660117e2..c95a158301c 100644 --- a/docs/components/modules/ROOT/nav.adoc +++ b/docs/components/modules/ROOT/nav.adoc @@ -211,6 +211,7 @@ *** xref:openshift-builds-component.adoc[Openshift Builds] *** xref:openshift-deploymentconfigs-component.adoc[Openshift Deployment Configs] ** xref:kudu-component.adoc[Kudu] +** xref:langchain-chat-component.adoc[langChain4j Chat] ** xref:langchain-embeddings-component.adoc[LangChain4j Embeddings] ** xref:language-component.adoc[Language] ** xref:ldap-component.adoc[LDAP] diff --git a/docs/components/modules/ROOT/pages/langchain-chat-component.adoc b/docs/components/modules/ROOT/pages/langchain-chat-component.adoc new file mode 12 index 000..e6e58711b24 --- /dev/null +++ b/docs/components/modules/ROOT/pages/langchain-chat-component.adoc @@ -0,0 +1 @@ +../../../../../components/camel-ai/camel-langchain-chat/src/main/docs/langchain-chat-component.adoc \ No newline at end of file
Re: [PR] CAMEL-20632- Fix documentation for Camel Langchain4j chat component [camel]
davsclaus merged PR #13659: URL: https://github.com/apache/camel/pull/13659 -- 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-20632- Fix documentation for Camel Langchain4j chat component [camel]
zbendhiba commented on PR #13659: URL: https://github.com/apache/camel/pull/13659#issuecomment-2026889433 I'll open a follow for the 4.5 branch, hopefully this will automatically fix the documentation -- 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-20632- Fix documentation for Camel Langchain4j chat component [camel]
github-actions[bot] commented on PR #13659: URL: https://github.com/apache/camel/pull/13659#issuecomment-2026888346 :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-spring-boot) 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-spring-boot.git The following commit(s) were added to refs/heads/main by this push: new 13ccf182efe Regen 13ccf182efe is described below commit 13ccf182efee09aba1f6b72645111c830170eb21 Author: Claus Ibsen AuthorDate: Fri Mar 29 09:44:06 2024 +0100 Regen --- .../org/apache/camel/springboot/catalog/components/as2.json | 8 .../org/apache/camel/springboot/catalog/components/aws2-ec2.json | 2 +- components-starter/camel-as2-starter/pom.xml | 8 3 files changed, 5 insertions(+), 13 deletions(-) diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/as2.json b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/as2.json index e98905b9d9e..d40c1c53482 100644 --- a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/as2.json +++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/as2.json @@ -41,7 +41,7 @@ "compressionAlgorithm": { "index": 8, "kind": "parameter", "displayName": "Compression Algorithm", "group": "common", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.as2.api.AS2CompressionAlgorithm", "enum": [ "ZLIB" ], "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.as2.AS2Configuration", "configurationField": "configuration", "description": "The algorithm used to compress EDI message." }, "dispositionNotificationTo": { "index": 9, "kind": "parameter", "displayName": "Disposition Notification To", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.as2.AS2Configuration", "configurationField": "configuration", "description": "The value of the Disposition-Notification-To header. Assigning a value to this parameter re [...] "ediMessageTransferEncoding": { "index": 10, "kind": "parameter", "displayName": "Edi Message Transfer Encoding", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.as2.AS2Configuration", "configurationField": "configuration", "description": "The transfer encoding of EDI message." }, -"ediMessageType": { "index": 11, "kind": "parameter", "displayName": "Edi Message Type", "group": "common", "label": "", "required": false, "type": "object", "javaType": "org.apache.http.entity.ContentType", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.as2.AS2Configuration", "configurationField": "configuration", "description": "The content type of EDI message. One of application\/edifact, application\/edi-x12, applicatio [...] +"ediMessageType": { "index": 11, "kind": "parameter", "displayName": "Edi Message Type", "group": "common", "label": "", "required": false, "type": "object", "javaType": "org.apache.hc.core5.http.ContentType", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.as2.AS2Configuration", "configurationField": "configuration", "description": "The content type of EDI message. One of application\/edifact, application\/edi-x12, applicat [...] "from": { "index": 12, "kind": "parameter", "displayName": "From", "group": "common", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.as2.AS2Configuration", "configurationField": "configuration", "description": "The value of the From header of AS2 message." }, "hostnameVerifier": { "index": 13, "kind": "parameter", "displayName": "Hostname Verifier", "group": "common", "label": "", "required": false, "type": "object", "javaType": "javax.net.ssl.HostnameVerifier", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.as2.AS2Configuration", "configurationField": "configuration", "description": "Set hostname verifier for SSL session." }, "httpConnectionPoolSize": { "index": 14, "kind": "parameter", "displayName": "Http Connection Pool Size", "group": "common", "label": "", "required": false, "type": "integer", "javaType": "java.lang.Integer", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "5", "configurationClass": "org.apache.camel.component.as2.AS2Configuration",