You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ji...@apache.org on 2024/03/22 09:14:06 UTC
(camel-quarkus) 16/36: Fixed main-yaml - inlining requires unique routes, partialy fixed openapi-java
This is an automated email from the ASF dual-hosted git repository.
jiriondrusek pushed a commit to branch camel-main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
commit 019a93bb5857c27119f014297abbb6b4f03faa01
Author: JiriOndrusek <on...@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 f613955d02..f30d23e630 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}"