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 1250b9c master: Adds separate starters (#143)
1250b9c is described below
commit 1250b9c8f96ebd87eaf9c69ab4617666580e9b40
Author: Marco Carletti <[email protected]>
AuthorDate: Tue Oct 15 12:49:13 2024 +0200
master: Adds separate starters (#143)
due to
https://camel.apache.org/manual/camel-4x-upgrade-guide-4_6.html#_camel_spring_boot
---
master/pom.xml | 10 ++++++++++
master/src/main/resources/application-file.properties | 1 -
master/src/main/resources/application-openshift.properties | 3 ---
3 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/master/pom.xml b/master/pom.xml
index 50c70d1..bc5d920 100644
--- a/master/pom.xml
+++ b/master/pom.xml
@@ -106,6 +106,12 @@
<activation>
<activeByDefault>true</activeByDefault>
</activation>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.camel.springboot</groupId>
+ <artifactId>camel-file-cluster-service-starter</artifactId>
+ </dependency>
+ </dependencies>
</profile>
<profile>
<id>openshift</id>
@@ -131,6 +137,10 @@
<groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-kubernetes-starter</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.apache.camel.springboot</groupId>
+
<artifactId>camel-kubernetes-cluster-service-starter</artifactId>
+ </dependency>
</dependencies>
<build>
<plugins>
diff --git a/master/src/main/resources/application-file.properties
b/master/src/main/resources/application-file.properties
index 04df99c..ffa36d0 100644
--- a/master/src/main/resources/application-file.properties
+++ b/master/src/main/resources/application-file.properties
@@ -15,7 +15,6 @@
## limitations under the License.
## ---------------------------------------------------------------------------
-camel.cluster.file.enabled = true
camel.cluster.file.id = ${node.id}
camel.cluster.file.root = ${java.io.tmpdir}
diff --git a/master/src/main/resources/application-openshift.properties
b/master/src/main/resources/application-openshift.properties
index f6870ad..249345a 100644
--- a/master/src/main/resources/application-openshift.properties
+++ b/master/src/main/resources/application-openshift.properties
@@ -15,8 +15,5 @@
## limitations under the License.
## ---------------------------------------------------------------------------
-
-camel.cluster.kubernetes.enabled = true
-
node.id = ${HOSTNAME}
node.namespace = ${KUBERNETES_NAMESPACE}