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-examples.git
The following commit(s) were added to refs/heads/main by this push:
new acd03f5 dynamic-router-eip: fixes compilation issues and updates
buildpack command (#148)
acd03f5 is described below
commit acd03f5ff73a3535a8668768f46ed9019f022a03
Author: Marco Carletti <[email protected]>
AuthorDate: Thu Nov 28 15:32:57 2024 +0100
dynamic-router-eip: fixes compilation issues and updates buildpack command
(#148)
---
dynamic-router-eip/README.adoc | 6 +++---
dynamic-router-eip/dynamic-router-eip-stack/main-router/pom.xml | 4 ++++
.../project-resources/docker/compose.yaml | 8 ++++----
dynamic-router-eip/pom.xml | 4 ----
4 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/dynamic-router-eip/README.adoc b/dynamic-router-eip/README.adoc
index 55e2cd1..8b14715 100644
--- a/dynamic-router-eip/README.adoc
+++ b/dynamic-router-eip/README.adoc
@@ -31,11 +31,11 @@ This example shows how you can route messages between
separate modules, where ea
==== For systems with Docker
- mvn clean package -f dynamic-router-eip/dynamic-router-eip-stack -Pdocker
+ mvn clean package -f dynamic-router-eip-stack/pom.xml -Pdocker
==== For systems with Podman
- mvn clean package -f dynamic-router-eip/dynamic-router-eip-stack -Ppodman
+ mvn clean package -f dynamic-router-eip-stack/pom.xml -Ppodman
On a system with Podman, your output might resemble the following:
@@ -59,7 +59,7 @@ When running the application stack for the Multimodule
example, it should be the
Docker or Podman installed. For Podman, please confirm that you have `podman
compose` installed to ensure
that you can emulate the Docker CLI when using Podman.
- docker compose -f
dynamic-router-eip/dynamic-router-eip-stack/project-resources/docker/compose.yaml
up -d
+ docker compose -f
dynamic-router-eip-stack/project-resources/docker/compose.yaml up -d
==== Access the Swagger UI
diff --git a/dynamic-router-eip/dynamic-router-eip-stack/main-router/pom.xml
b/dynamic-router-eip/dynamic-router-eip-stack/main-router/pom.xml
index a24ba01..0540b76 100644
--- a/dynamic-router-eip/dynamic-router-eip-stack/main-router/pom.xml
+++ b/dynamic-router-eip/dynamic-router-eip-stack/main-router/pom.xml
@@ -41,6 +41,10 @@
<artifactId>springdoc-openapi-starter-webflux-ui</artifactId>
<version>${springdoc-version}</version>
</dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-validation</artifactId>
+ </dependency>
</dependencies>
diff --git
a/dynamic-router-eip/dynamic-router-eip-stack/project-resources/docker/compose.yaml
b/dynamic-router-eip/dynamic-router-eip-stack/project-resources/docker/compose.yaml
index 801cde7..854eaf6 100644
---
a/dynamic-router-eip/dynamic-router-eip-stack/project-resources/docker/compose.yaml
+++
b/dynamic-router-eip/dynamic-router-eip-stack/project-resources/docker/compose.yaml
@@ -60,7 +60,7 @@ services:
- THC_PATH=/main-router/actuator/health
- THC_PORT=8082
healthcheck:
- test: [ "CMD", "/cnb/process/health-check" ]
+ test: [ "CMD", "/workspace/health-check" ]
interval: 30s
timeout: 10s
retries: 5
@@ -80,7 +80,7 @@ services:
- THC_PATH=/all-numbers/actuator/health
- THC_PORT=8911
healthcheck:
- test: [ "CMD", "/cnb/process/health-check" ]
+ test: [ "CMD", "/workspace/health-check" ]
interval: 30s
timeout: 10s
retries: 5
@@ -100,7 +100,7 @@ services:
- THC_PATH=/even-numbers/actuator/health
- THC_PORT=8902
healthcheck:
- test: [ "CMD", "/cnb/process/health-check" ]
+ test: [ "CMD", "/workspace/health-check" ]
interval: 30s
timeout: 10s
retries: 5
@@ -120,7 +120,7 @@ services:
- THC_PATH=/odd-numbers/actuator/health
- THC_PORT=8901
healthcheck:
- test: [ "CMD", "/cnb/process/health-check" ]
+ test: [ "CMD", "/workspace/health-check" ]
interval: 30s
timeout: 10s
retries: 5
diff --git a/dynamic-router-eip/pom.xml b/dynamic-router-eip/pom.xml
index 4e3e73d..49e4a6f 100644
--- a/dynamic-router-eip/pom.xml
+++ b/dynamic-router-eip/pom.xml
@@ -73,10 +73,6 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-webflux</artifactId>
</dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-validation</artifactId>
- </dependency>
<dependency>
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-spring-boot-starter</artifactId>