You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by nf...@apache.org on 2020/10/06 08:03:13 UTC
[camel-k] 02/08: chore(e2e): fix
This is an automated email from the ASF dual-hosted git repository.
nferraro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit 39318e839d4189290ce121c4f8f9d57466eafaee
Author: nicolaferraro <ni...@gmail.com>
AuthorDate: Fri Oct 2 16:00:26 2020 +0200
chore(e2e): fix
---
.../camel-k.v1.2.0-snapshot.clusterserviceversion.yaml | 2 +-
docs/modules/ROOT/pages/kamelets/kamelets.adoc | 6 +++---
e2e/yaks/kamelet-binding/logger-sink.kamelet.yaml | 2 +-
e2e/yaks/kamelet-binding/timer-source.kamelet.yaml | 2 +-
e2e/yaks/kamelet/echo-sink.kamelet.yaml | 2 +-
e2e/yaks/kamelet/timer-source.kamelet.yaml | 2 +-
examples/kamelets/timer-source.kamelet.yaml | 2 +-
7 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/deploy/olm-catalog/camel-k-dev/1.2.0-snapshot/camel-k.v1.2.0-snapshot.clusterserviceversion.yaml b/deploy/olm-catalog/camel-k-dev/1.2.0-snapshot/camel-k.v1.2.0-snapshot.clusterserviceversion.yaml
index 274dc97..77cbde0 100644
--- a/deploy/olm-catalog/camel-k-dev/1.2.0-snapshot/camel-k.v1.2.0-snapshot.clusterserviceversion.yaml
+++ b/deploy/olm-catalog/camel-k-dev/1.2.0-snapshot/camel-k.v1.2.0-snapshot.clusterserviceversion.yaml
@@ -120,7 +120,7 @@ metadata:
}
},
{
- "to": "direct:{{routeId}}"
+ "to": "kamelet:sink"
}
],
"uri": "timer:tick"
diff --git a/docs/modules/ROOT/pages/kamelets/kamelets.adoc b/docs/modules/ROOT/pages/kamelets/kamelets.adoc
index f98756d..6a0beea 100644
--- a/docs/modules/ROOT/pages/kamelets/kamelets.adoc
+++ b/docs/modules/ROOT/pages/kamelets/kamelets.adoc
@@ -88,7 +88,7 @@ spec:
- filter:
simple: "${body} != null"
- log: "${body}"
- - to: "direct:{{routeId}}"
+ - to: "kamelet:sink"
----
<1> The Kamelet ID, to be used in integrations that want to leverage the Kamelet
<2> Annotations such as icon provide additional display features to the Kamelet
@@ -493,10 +493,10 @@ spec:
- filter:
simple: "${body} != null"
- log: "${body}"
- - to: "direct:{{routeId}}"
+ - to: "kamelet:sink"
----
-Source and sink flows will connect to the outside route via the `direct:{{routeId}}` endpoint:
+Source and sink flows will connect to the outside route via the `kamelet:source` or `kamelet:sink` special endpoints:
- A source Kamelet must start **from** `direct:{{routeId}}`
- A sink Kamelet must contain a call **to** `direct:{{routeId}}`
diff --git a/e2e/yaks/kamelet-binding/logger-sink.kamelet.yaml b/e2e/yaks/kamelet-binding/logger-sink.kamelet.yaml
index a28fc94..d401a7a 100644
--- a/e2e/yaks/kamelet-binding/logger-sink.kamelet.yaml
+++ b/e2e/yaks/kamelet-binding/logger-sink.kamelet.yaml
@@ -21,6 +21,6 @@ spec:
mediaType: text/plain
flow:
from:
- uri: "direct:{{routeId}}"
+ uri: "kamelet:source"
steps:
- log: "{{prefix}}${body}"
diff --git a/e2e/yaks/kamelet-binding/timer-source.kamelet.yaml b/e2e/yaks/kamelet-binding/timer-source.kamelet.yaml
index a521e07..48df261 100644
--- a/e2e/yaks/kamelet-binding/timer-source.kamelet.yaml
+++ b/e2e/yaks/kamelet-binding/timer-source.kamelet.yaml
@@ -34,4 +34,4 @@ spec:
steps:
- set-body:
constant: "{{message}}"
- - to: "direct:{{routeId}}"
+ - to: "kamelet:sink"
diff --git a/e2e/yaks/kamelet/echo-sink.kamelet.yaml b/e2e/yaks/kamelet/echo-sink.kamelet.yaml
index c21ea6b..08a3a0e 100644
--- a/e2e/yaks/kamelet/echo-sink.kamelet.yaml
+++ b/e2e/yaks/kamelet/echo-sink.kamelet.yaml
@@ -21,7 +21,7 @@ spec:
mediaType: text/plain
flow:
from:
- uri: "direct:{{routeId}}"
+ uri: "kamelet:source"
steps:
- set-body:
simple: "{{prefix}}${body}"
diff --git a/e2e/yaks/kamelet/timer-source.kamelet.yaml b/e2e/yaks/kamelet/timer-source.kamelet.yaml
index a521e07..48df261 100644
--- a/e2e/yaks/kamelet/timer-source.kamelet.yaml
+++ b/e2e/yaks/kamelet/timer-source.kamelet.yaml
@@ -34,4 +34,4 @@ spec:
steps:
- set-body:
constant: "{{message}}"
- - to: "direct:{{routeId}}"
+ - to: "kamelet:sink"
diff --git a/examples/kamelets/timer-source.kamelet.yaml b/examples/kamelets/timer-source.kamelet.yaml
index 17e4826..74f5824 100644
--- a/examples/kamelets/timer-source.kamelet.yaml
+++ b/examples/kamelets/timer-source.kamelet.yaml
@@ -34,4 +34,4 @@ spec:
steps:
- set-body:
constant: "#property:message"
- - to: "direct:{{routeId}}"
+ - to: "kamelet:sink"