This is an automated email from the ASF dual-hosted git repository. marat pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-karavan.git
commit 316863e55829cb3e6adea128ce1a7ae2195b66f3 Author: Marat Gubaidullin <marat.gubaidul...@gmail.com> AuthorDate: Wed May 3 11:11:19 2023 -0400 Temporary prototype for #757 --- karavan-runner/Dockerfile | 3 +++ karavan-runner/demo.camel.yaml | 12 ++++++++++++ 2 files changed, 15 insertions(+) diff --git a/karavan-runner/Dockerfile b/karavan-runner/Dockerfile index 33d4a823..6ec1cd29 100644 --- a/karavan-runner/Dockerfile +++ b/karavan-runner/Dockerfile @@ -11,5 +11,8 @@ RUN jbang alias add --name camel https://github.com/apache/camel/blob/camel-$CAM COPY docker-entrypoint.sh /scripts/docker-entrypoint.sh RUN chmod +x /scripts/docker-entrypoint.sh +# Add demo routes +COPY demo.camel.yaml /scripts/code/demo1/demo.camel.yaml + WORKDIR /scripts ENTRYPOINT ["bash", "/scripts/docker-entrypoint.sh"] diff --git a/karavan-runner/demo.camel.yaml b/karavan-runner/demo.camel.yaml new file mode 100644 index 00000000..ed295e64 --- /dev/null +++ b/karavan-runner/demo.camel.yaml @@ -0,0 +1,12 @@ +- route: + id: route-86aa + from: + uri: kamelet:timer-source + id: from-a117 + parameters: + period: 2000 + message: Hello World + steps: + - log: + message: ${body} + id: log-a0c9 \ No newline at end of file