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 215bacef1 migrate and improve basic example
215bacef1 is described below
commit 215bacef11aec4c4b16479c328b3267772f626f6
Author: Kuthumi Pepple <[email protected]>
AuthorDate: Sat Jun 25 01:22:50 2022 +0100
migrate and improve basic example
---
examples/basic/Env.java | 31 -------------------------------
examples/basic/README.md | 3 ---
2 files changed, 34 deletions(-)
diff --git a/examples/basic/Env.java b/examples/basic/Env.java
deleted file mode 100644
index 988da150d..000000000
--- a/examples/basic/Env.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * 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.
- */
-
-// To run this integrations use:
-//
-// kamel run --env MY_ENV_VAR="hello world" Env.java --dev
-//
-
-import org.apache.camel.builder.RouteBuilder;
-
-public class Env extends RouteBuilder {
- @Override
- public void configure() throws Exception {
- from("timer:tick")
- .log("${env:MY_ENV_VAR}");
- }
-}
\ No newline at end of file
diff --git a/examples/basic/README.md b/examples/basic/README.md
deleted file mode 100644
index 9bdef5cd6..000000000
--- a/examples/basic/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# Camel K basic examples
-
-Find useful examples about how to run an integration in Camel K.
\ No newline at end of file