This is an automated email from the ASF dual-hosted git repository.

acosentino 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 bd7d4b6  Fix #789: add correct example for operator hub
     new b137ddb  Merge pull request #868 from nicolaferraro/fix-example
bd7d4b6 is described below

commit bd7d4b6a47bad4da1a6990f467d963e9388e5371
Author: nferraro <ni.ferr...@gmail.com>
AuthorDate: Wed Jul 24 16:14:15 2019 +0200

    Fix #789: add correct example for operator hub
---
 .../camel-k.v1.0.0-M1-SNAPSHOT.clusterserviceversion.yaml      | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git 
a/deploy/olm-catalog/camel-k/1.0.0-M1-SNAPSHOT/camel-k.v1.0.0-M1-SNAPSHOT.clusterserviceversion.yaml
 
b/deploy/olm-catalog/camel-k/1.0.0-M1-SNAPSHOT/camel-k.v1.0.0-M1-SNAPSHOT.clusterserviceversion.yaml
index d07fef5..62ef228 100644
--- 
a/deploy/olm-catalog/camel-k/1.0.0-M1-SNAPSHOT/camel-k.v1.0.0-M1-SNAPSHOT.clusterserviceversion.yaml
+++ 
b/deploy/olm-catalog/camel-k/1.0.0-M1-SNAPSHOT/camel-k.v1.0.0-M1-SNAPSHOT.clusterserviceversion.yaml
@@ -17,10 +17,12 @@ metadata:
           "name": "example"
         },
         "spec": {
-          "source": {
-            "content": "// Add example Java code to create Integration",
-            "name": "Example.java"
-          }
+          "sources": [
+            {
+              "content": "from('timer:groovy?period=1s')\n  
.setBody().simple('Hello world from Camel K!')\n  
.to('log:info?showAll=false')",
+              "name": "example.groovy"
+            }
+          ]
         }
       },
       {

Reply via email to