You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by lb...@apache.org on 2019/07/24 12:22:07 UTC
[camel-k] branch master updated: fix(examples): add
--dependency=camel-rest to usage comments in rest examples
This is an automated email from the ASF dual-hosted git repository.
lburgazzoli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git
The following commit(s) were added to refs/heads/master by this push:
new d441034 fix(examples): add --dependency=camel-rest to usage comments in rest examples
d441034 is described below
commit d44103482a9faf27dce09992f3d6ae4a741adeb1
Author: Tadayoshi Sato <sa...@gmail.com>
AuthorDate: Wed Jul 24 19:08:29 2019 +0900
fix(examples): add --dependency=camel-rest to usage comments in rest examples
---
examples/RestWithRestlet.java | 4 ++--
examples/greetings.groovy | 2 +-
examples/routes-rest.js | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/examples/RestWithRestlet.java b/examples/RestWithRestlet.java
index df9100b..188d8ad 100644
--- a/examples/RestWithRestlet.java
+++ b/examples/RestWithRestlet.java
@@ -18,7 +18,7 @@
//
// To run this integrations use:
//
-// kamel run --name=rest-with-restlet --dependency=camel-restlet examples/RestWithRestlet.java
+// kamel run --name=rest-with-restlet --dependency=camel-rest --dependency=camel-restlet examples/RestWithRestlet.java
//
import org.apache.camel.Exchange;
@@ -38,4 +38,4 @@ public class RestWithRestlet extends org.apache.camel.builder.RouteBuilder {
.setHeader(Exchange.CONTENT_TYPE, constant("text/plain"))
.transform().simple("Hello World");
}
-}
\ No newline at end of file
+}
diff --git a/examples/greetings.groovy b/examples/greetings.groovy
index 9e55ed5..68bde87 100644
--- a/examples/greetings.groovy
+++ b/examples/greetings.groovy
@@ -16,7 +16,7 @@
*/
//
-// kamel run --dev --name greetings --dependency camel-undertow --property camel.rest.port=8080 --open-api examples/greetings-api.json --logging-level org.apache.camel.k=DEBUG examples/greetings.groovy
+// kamel run --dev --name greetings --dependency=camel-rest --dependency camel-undertow --property camel.rest.port=8080 --open-api examples/greetings-api.json --logging-level org.apache.camel.k=DEBUG examples/greetings.groovy
//
from('direct:greeting-api')
diff --git a/examples/routes-rest.js b/examples/routes-rest.js
index a678d75..71c6c91 100644
--- a/examples/routes-rest.js
+++ b/examples/routes-rest.js
@@ -16,7 +16,7 @@
//
// To run this integrations use:
//
-// kamel run --name=withrest --dependency=camel-undertow examples/routes-rest.js
+// kamel run --name=withrest --dependency=camel-rest --dependency=camel-undertow examples/routes-rest.js
//
// ****************
@@ -61,4 +61,4 @@ from('timer:js?period=1s')
.setBody()
.constant('Hello Camel K')
.process(proc)
- .to('log:info')
\ No newline at end of file
+ .to('log:info')