You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2024/02/07 10:05:29 UTC
(camel) 01/01: camel-jbang - Upgrade to camel-k 2.2.0 apis
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch ck220
in repository https://gitbox.apache.org/repos/asf/camel.git
commit dffa4f0b1fa59c565ac12cf310586bb3bcb356ae
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Wed Feb 7 11:05:12 2024 +0100
camel-jbang - Upgrade to camel-k 2.2.0 apis
---
.../jbang/core/commands/k/IntegrationRunTest.java | 22 +++++++++++++++++++---
parent/pom.xml | 2 +-
2 files changed, 20 insertions(+), 4 deletions(-)
diff --git a/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/IntegrationRunTest.java b/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/IntegrationRunTest.java
index eee78037342..aaf3e182098 100644
--- a/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/IntegrationRunTest.java
+++ b/dsl/camel-jbang/camel-jbang-plugin-k/src/test/java/org/apache/camel/dsl/jbang/core/commands/k/IntegrationRunTest.java
@@ -88,6 +88,10 @@ class IntegrationRunTest extends KubeBaseTest {
traits:
container:
imagePullPolicy: ALWAYS
+ name: integration
+ port: 8080
+ servicePort: 80
+ servicePortName: http
logging:
level: DEBUG""", printer.getOutput());
}
@@ -158,6 +162,7 @@ class IntegrationRunTest extends KubeBaseTest {
- to: log:info
traits:
mount:
+ hotReload: false
volumes:
- /foo
- /bar""", printer.getOutput());
@@ -220,6 +225,8 @@ class IntegrationRunTest extends KubeBaseTest {
- to: log:info
traits:
environment:
+ containerMeta: true
+ httpProxy: true
vars:
- CAMEL_FOO=bar""", printer.getOutput());
}
@@ -280,8 +287,11 @@ class IntegrationRunTest extends KubeBaseTest {
- to: log:info
traits:
builder:
+ incrementalImageBuild: true
+ orderStrategy: SEQUENTIAL
properties:
- - camel.foo=bar""", printer.getOutput());
+ - camel.foo=bar
+ strategy: ROUTINE""", printer.getOutput());
}
@Test
@@ -437,7 +447,8 @@ class IntegrationRunTest extends KubeBaseTest {
mount:
configs:
- secret:foo
- - configmap:bar""", printer.getOutput());
+ - configmap:bar
+ hotReload: false""", printer.getOutput());
}
@Test
@@ -466,6 +477,7 @@ class IntegrationRunTest extends KubeBaseTest {
- to: log:info
traits:
mount:
+ hotReload: false
resources:
- configmap:foo/file.txt""", printer.getOutput());
}
@@ -518,7 +530,11 @@ class IntegrationRunTest extends KubeBaseTest {
spec:
traits:
container:
- image: quay.io/camel/demo-app:1.0""", printer.getOutput());
+ image: quay.io/camel/demo-app:1.0
+ name: integration
+ port: 8080
+ servicePort: 80
+ servicePortName: http""", printer.getOutput());
}
@Test
diff --git a/parent/pom.xml b/parent/pom.xml
index e879319c9e3..587cb484126 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -83,7 +83,7 @@
<californium-version>2.8.0</californium-version>
<californium-scandium-version>2.8.0</californium-scandium-version>
<camunda-version>7.20.0</camunda-version>
- <camel-k-version>2.1.0</camel-k-version>
+ <camel-k-version>2.2.0</camel-k-version>
<cassandra-driver-version>4.17.0</cassandra-driver-version>
<jta-api-1.2-version>1.2</jta-api-1.2-version>
<cglib-version>3.3.0</cglib-version>