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/15 14:30:22 UTC
(camel-quarkus) 16/27: 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 8858bae3e6175db1c63d9e5dec8f1c58a8954ad2
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 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}"