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 6aebb8f58ac CAMEL-19616: camel-restdsl-openapi-plugin - Use
platform-http as default. Remove special spring boot code that is no longer
needed that was using the old way with Servlet.
6aebb8f58ac is described below
commit 6aebb8f58acae5fbf0695d7a7cc3fe89301b073d
Author: Claus Ibsen <[email protected]>
AuthorDate: Thu Jul 20 07:17:22 2023 +0200
CAMEL-19616: camel-restdsl-openapi-plugin - Use platform-http as default.
Remove special spring boot code that is no longer needed that was using the old
way with Servlet.
---
.../camel-restdsl-openapi-plugin/src/it/customized-v3/verify.groovy | 2 +-
.../maven/camel-restdsl-openapi-plugin/src/it/customized/verify.groovy | 2 +-
tooling/maven/camel-restdsl-openapi-plugin/src/it/simple-dto-v3/pom.xml | 2 +-
.../camel-restdsl-openapi-plugin/src/it/simple-dto-v3/verify.groovy | 2 +-
tooling/maven/camel-restdsl-openapi-plugin/src/it/simple-dto/pom.xml | 2 +-
.../maven/camel-restdsl-openapi-plugin/src/it/simple-dto/verify.groovy | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)
diff --git
a/tooling/maven/camel-restdsl-openapi-plugin/src/it/customized-v3/verify.groovy
b/tooling/maven/camel-restdsl-openapi-plugin/src/it/customized-v3/verify.groovy
index 5743f7ff7b2..5cbf9f47f00 100644
---
a/tooling/maven/camel-restdsl-openapi-plugin/src/it/customized-v3/verify.groovy
+++
b/tooling/maven/camel-restdsl-openapi-plugin/src/it/customized-v3/verify.groovy
@@ -21,4 +21,4 @@ assert restdsl.exists()
def String data = restdsl.text
-assert
data.contains('restConfiguration().component("servlet").apiContextPath("/api-docs");')
+assert
data.contains('restConfiguration().component("platform-http").apiContextPath("/api-docs");')
diff --git
a/tooling/maven/camel-restdsl-openapi-plugin/src/it/customized/verify.groovy
b/tooling/maven/camel-restdsl-openapi-plugin/src/it/customized/verify.groovy
index 5743f7ff7b2..5cbf9f47f00 100644
--- a/tooling/maven/camel-restdsl-openapi-plugin/src/it/customized/verify.groovy
+++ b/tooling/maven/camel-restdsl-openapi-plugin/src/it/customized/verify.groovy
@@ -21,4 +21,4 @@ assert restdsl.exists()
def String data = restdsl.text
-assert
data.contains('restConfiguration().component("servlet").apiContextPath("/api-docs");')
+assert
data.contains('restConfiguration().component("platform-http").apiContextPath("/api-docs");')
diff --git
a/tooling/maven/camel-restdsl-openapi-plugin/src/it/simple-dto-v3/pom.xml
b/tooling/maven/camel-restdsl-openapi-plugin/src/it/simple-dto-v3/pom.xml
index e3552827cbf..8c4cab9496e 100644
--- a/tooling/maven/camel-restdsl-openapi-plugin/src/it/simple-dto-v3/pom.xml
+++ b/tooling/maven/camel-restdsl-openapi-plugin/src/it/simple-dto-v3/pom.xml
@@ -45,7 +45,7 @@
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
- <artifactId>camel-servlet</artifactId>
+ <artifactId>camel-platform-http</artifactId>
<version>@project.version@</version>
</dependency>
<dependency>
diff --git
a/tooling/maven/camel-restdsl-openapi-plugin/src/it/simple-dto-v3/verify.groovy
b/tooling/maven/camel-restdsl-openapi-plugin/src/it/simple-dto-v3/verify.groovy
index c6627fc5a23..a276a940f3e 100644
---
a/tooling/maven/camel-restdsl-openapi-plugin/src/it/simple-dto-v3/verify.groovy
+++
b/tooling/maven/camel-restdsl-openapi-plugin/src/it/simple-dto-v3/verify.groovy
@@ -21,7 +21,7 @@ assert restdsl.exists()
def String data = restdsl.text
-assert data.contains('restConfiguration().component("servlet");')
+assert data.contains('restConfiguration().component("platform-http");')
def File restdto = new File(basedir,
"target/generated-sources/openapi/src/main/java/com/foo/Order.java")
diff --git
a/tooling/maven/camel-restdsl-openapi-plugin/src/it/simple-dto/pom.xml
b/tooling/maven/camel-restdsl-openapi-plugin/src/it/simple-dto/pom.xml
index 93e82bade26..ae77a3dfff6 100644
--- a/tooling/maven/camel-restdsl-openapi-plugin/src/it/simple-dto/pom.xml
+++ b/tooling/maven/camel-restdsl-openapi-plugin/src/it/simple-dto/pom.xml
@@ -45,7 +45,7 @@
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
- <artifactId>camel-servlet</artifactId>
+ <artifactId>camel-platform-http</artifactId>
<version>@project.version@</version>
</dependency>
<dependency>
diff --git
a/tooling/maven/camel-restdsl-openapi-plugin/src/it/simple-dto/verify.groovy
b/tooling/maven/camel-restdsl-openapi-plugin/src/it/simple-dto/verify.groovy
index c6627fc5a23..a276a940f3e 100644
--- a/tooling/maven/camel-restdsl-openapi-plugin/src/it/simple-dto/verify.groovy
+++ b/tooling/maven/camel-restdsl-openapi-plugin/src/it/simple-dto/verify.groovy
@@ -21,7 +21,7 @@ assert restdsl.exists()
def String data = restdsl.text
-assert data.contains('restConfiguration().component("servlet");')
+assert data.contains('restConfiguration().component("platform-http");')
def File restdto = new File(basedir,
"target/generated-sources/openapi/src/main/java/com/foo/Order.java")