From bd7d4b6a47bad4da1a6990f467d963e9388e5371 Mon Sep 17 00:00:00 2001 From: nferraro Date: Wed, 24 Jul 2019 16:14:15 +0200 Subject: [PATCH] Fix #789: add correct example for operator hub --- ...mel-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 d07fef5401..62ef22854a 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" + } + ] } }, {