This is an automated email from the ASF dual-hosted git repository. jiriondrusek pushed a commit to branch camel-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
commit a062e3a02b81c69a5e8f4bcaf2127091818b94b2 Author: JiriOndrusek <ondrusek.j...@gmail.com> AuthorDate: Tue Mar 12 11:13:43 2024 +0100 Fixed main-yaml - inlining requires unique routes, partialy fixed openapi-java --- integration-tests/main-yaml/pom.xml | 4 ++++ .../main-yaml/src/main/resources/routes/my-rests.yaml | 14 +++++++------- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/integration-tests/main-yaml/pom.xml b/integration-tests/main-yaml/pom.xml index 642ce85ef2..eafe3ab998 100644 --- a/integration-tests/main-yaml/pom.xml +++ b/integration-tests/main-yaml/pom.xml @@ -43,6 +43,10 @@ <groupId>org.apache.camel.quarkus</groupId> <artifactId>camel-quarkus-direct</artifactId> </dependency> + <dependency> + <groupId>org.apache.camel.quarkus</groupId> + <artifactId>camel-quarkus-seda</artifactId> + </dependency> <dependency> <groupId>org.apache.camel.quarkus</groupId> <artifactId>camel-quarkus-log</artifactId> diff --git a/integration-tests/main-yaml/src/main/resources/routes/my-rests.yaml b/integration-tests/main-yaml/src/main/resources/routes/my-rests.yaml index 4a0b109589..ea9d766033 100644 --- a/integration-tests/main-yaml/src/main/resources/routes/my-rests.yaml +++ b/integration-tests/main-yaml/src/main/resources/routes/my-rests.yaml @@ -18,27 +18,27 @@ - rest: get: - path: "/rest" - to: "direct:echoMethodPath" + to: "seda:choMethodPath" post: - path: "/rest" - to: "direct:echoMethodPath" + to: "seda:choMethodPath" patch: - path: "/rest" - to: "direct:echoMethodPath" + to: "seda:choMethodPath" put: - path: "/rest" - to: "direct:echoMethodPath" + to: "seda:choMethodPath" delete: - path: "/rest" - to: "direct:echoMethodPath" + to: "seda:choMethodPath" head: - path: "/rest" - to: "direct:echoMethodPath" + to: "seda:choMethodPath" - route: id: "rest-route" from: - uri: "direct:echoMethodPath" + uri: "seda:choMethodPath" steps: - setBody: simple: "${header.CamelHttpMethod}: ${header.CamelHttpPath}"