You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ts...@apache.org on 2022/06/23 09:25:57 UTC

[camel-k] branch main updated: move cron example to camel-k-examples repo

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

tsato pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git


The following commit(s) were added to refs/heads/main by this push:
     new 24b805d13 move cron example to camel-k-examples repo
24b805d13 is described below

commit 24b805d1308a16be0d8ce17e18d23c879deed132
Author: Kuthumi Pepple <ku...@gmail.com>
AuthorDate: Mon Jun 13 12:09:23 2022 +0100

    move cron example to camel-k-examples repo
---
 examples/cron/README.md   |  3 ---
 examples/cron/cron.groovy | 22 ----------------------
 2 files changed, 25 deletions(-)

diff --git a/examples/cron/README.md b/examples/cron/README.md
deleted file mode 100644
index ff4620112..000000000
--- a/examples/cron/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# Camel K cron examples
-
-Find useful examples about how to create a cron route in Camel K.
\ No newline at end of file
diff --git a/examples/cron/cron.groovy b/examples/cron/cron.groovy
deleted file mode 100644
index 717683fa2..000000000
--- a/examples/cron/cron.groovy
+++ /dev/null
@@ -1,22 +0,0 @@
-// camel-k: language=groovy
-/*
- * 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.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-from('cron:tab?schedule=*+*+*+*+?') // once every minute
-    .setBody()
-        .simple('Hello Camel K using CronJob')
-    .to('log:info?showAll=false')