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 2019/08/20 14:32:05 UTC

[camel-k] branch master updated: Include modeline in examples #895

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


The following commit(s) were added to refs/heads/master by this push:
     new 1e39a2e  Include modeline in examples #895
1e39a2e is described below

commit 1e39a2ecf285c4a50169b51a7091e5fa10db8962
Author: Aurélien Pupier <ap...@redhat.com>
AuthorDate: Thu Aug 1 11:36:26 2019 +0200

    Include modeline in examples #895
    
    it allows to benefit from tooling based on Camel Language Server
    
    Signed-off-by: Aurélien Pupier <ap...@redhat.com>
---
 examples/camel-caffeine.groovy   | 1 +
 examples/dns.js                  | 1 +
 examples/greetings.groovy        | 1 +
 examples/knative/feed.groovy     | 1 +
 examples/knative/printer.groovy  | 1 +
 examples/knative/reader.groovy   | 1 +
 examples/knative/splitter.groovy | 1 +
 examples/knative/writer.groovy   | 1 +
 examples/kotlin-routes.kts       | 1 +
 examples/props.js                | 1 +
 examples/resources-route.groovy  | 1 +
 examples/routes-rest.js          | 1 +
 examples/routes.groovy           | 1 +
 examples/routes.js               | 1 +
 examples/simple.groovy           | 1 +
 examples/simple.js               | 1 +
 16 files changed, 16 insertions(+)

diff --git a/examples/camel-caffeine.groovy b/examples/camel-caffeine.groovy
index 9b20708..8422a5d 100644
--- a/examples/camel-caffeine.groovy
+++ b/examples/camel-caffeine.groovy
@@ -1,3 +1,4 @@
+// camel-k: language=groovy
 /*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/examples/dns.js b/examples/dns.js
index 262b0c2..65645da 100644
--- a/examples/dns.js
+++ b/examples/dns.js
@@ -1,3 +1,4 @@
+// camel-k: language=js
 // Licensed to the Apache Software Foundation (ASF) under one or more
 // contributor license agreements.  See the NOTICE file distributed with
 // this work for additional information regarding copyright ownership.
diff --git a/examples/greetings.groovy b/examples/greetings.groovy
index 68bde87..0a96f50 100644
--- a/examples/greetings.groovy
+++ b/examples/greetings.groovy
@@ -1,3 +1,4 @@
+// camel-k: language=groovy
 /*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/examples/knative/feed.groovy b/examples/knative/feed.groovy
index 1cff861..b6cd03c 100644
--- a/examples/knative/feed.groovy
+++ b/examples/knative/feed.groovy
@@ -1,3 +1,4 @@
+// camel-k: language=groovy
 /*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/examples/knative/printer.groovy b/examples/knative/printer.groovy
index be6f908..fa3aa8f 100644
--- a/examples/knative/printer.groovy
+++ b/examples/knative/printer.groovy
@@ -1,3 +1,4 @@
+// camel-k: language=groovy
 /*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/examples/knative/reader.groovy b/examples/knative/reader.groovy
index a5c928d..4712edb 100644
--- a/examples/knative/reader.groovy
+++ b/examples/knative/reader.groovy
@@ -1,3 +1,4 @@
+// camel-k: language=groovy
 /*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/examples/knative/splitter.groovy b/examples/knative/splitter.groovy
index 8a647a3..4bde12c 100644
--- a/examples/knative/splitter.groovy
+++ b/examples/knative/splitter.groovy
@@ -1,3 +1,4 @@
+// camel-k: language=groovy
 /*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/examples/knative/writer.groovy b/examples/knative/writer.groovy
index 3e75817..befa1b1 100644
--- a/examples/knative/writer.groovy
+++ b/examples/knative/writer.groovy
@@ -1,3 +1,4 @@
+// camel-k: language=groovy
 /*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/examples/kotlin-routes.kts b/examples/kotlin-routes.kts
index 4f16ae3..46dbeb5 100644
--- a/examples/kotlin-routes.kts
+++ b/examples/kotlin-routes.kts
@@ -1,3 +1,4 @@
+// camel-k: language=kotlin
 /*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/examples/props.js b/examples/props.js
index 3f57da3..9855435 100644
--- a/examples/props.js
+++ b/examples/props.js
@@ -1,3 +1,4 @@
+// camel-k: language=js
 // Licensed to the Apache Software Foundation (ASF) under one or more
 // contributor license agreements.  See the NOTICE file distributed with
 // this work for additional information regarding copyright ownership.
diff --git a/examples/resources-route.groovy b/examples/resources-route.groovy
index 091ad62..6f8be44 100644
--- a/examples/resources-route.groovy
+++ b/examples/resources-route.groovy
@@ -1,3 +1,4 @@
+// camel-k: language=groovy
 /*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/examples/routes-rest.js b/examples/routes-rest.js
index 0cd6595..bf35d94 100644
--- a/examples/routes-rest.js
+++ b/examples/routes-rest.js
@@ -1,3 +1,4 @@
+// camel-k: language=js
 // Licensed to the Apache Software Foundation (ASF) under one or more
 // contributor license agreements.  See the NOTICE file distributed with
 // this work for additional information regarding copyright ownership.
diff --git a/examples/routes.groovy b/examples/routes.groovy
index f387cef..62e61e7 100644
--- a/examples/routes.groovy
+++ b/examples/routes.groovy
@@ -1,3 +1,4 @@
+// camel-k: language=groovy
 /*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/examples/routes.js b/examples/routes.js
index 2484434..9339257 100644
--- a/examples/routes.js
+++ b/examples/routes.js
@@ -1,3 +1,4 @@
+// camel-k: language=js
 // Licensed to the Apache Software Foundation (ASF) under one or more
 // contributor license agreements.  See the NOTICE file distributed with
 // this work for additional information regarding copyright ownership.
diff --git a/examples/simple.groovy b/examples/simple.groovy
index fe53b72..7f8d99a 100644
--- a/examples/simple.groovy
+++ b/examples/simple.groovy
@@ -1,3 +1,4 @@
+// camel-k: language=groovy
 /*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
diff --git a/examples/simple.js b/examples/simple.js
index 9eb4b88..e8d655d 100644
--- a/examples/simple.js
+++ b/examples/simple.js
@@ -1,3 +1,4 @@
+// camel-k: language=js
 // Licensed to the Apache Software Foundation (ASF) under one or more
 // contributor license agreements.  See the NOTICE file distributed with
 // this work for additional information regarding copyright ownership.