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/07/07 05:35:29 UTC
[camel-k] branch main updated (222ecf338 -> df24555e9)
This is an automated email from the ASF dual-hosted git repository.
tsato pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git
from 222ecf338 Updated CHANGELOG.md
new 931a010c6 migrate and improve dns example
new df24555e9 fix broken links in examples/README.md
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
examples/README.md | 6 ------
examples/dns/README.md | 3 ---
examples/dns/dns.js | 32 --------------------------------
3 files changed, 41 deletions(-)
delete mode 100644 examples/dns/README.md
delete mode 100644 examples/dns/dns.js
[camel-k] 02/02: fix broken links in examples/README.md
Posted by ts...@apache.org.
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
commit df24555e9d90eab61f1660fb55e526e7c32993a9
Author: Kuthumi Pepple <ku...@gmail.com>
AuthorDate: Wed Jul 6 10:31:28 2022 +0100
fix broken links in examples/README.md
---
examples/README.md | 6 ------
1 file changed, 6 deletions(-)
diff --git a/examples/README.md b/examples/README.md
index 91c677bd0..4d82c3a52 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -9,8 +9,6 @@ In this section you will find the most basic examples. Useful to start learning
| Type | Description | Link |
|---|---|---|
| Languages | Simple integrations developed in various supported languages | [see examples](./languages/)|
-| Basic | Simple integrations with basic configuration | [see examples](./basic/)|
-| Cron | How to create a `cront` integration | [see examples](./cron/)|
| User Config | Explore how to include a `property`, `secret`, `configmap` or file `resource` in your integration | [see examples](./user-config/)|
| User Dependencies | Explore how to include a local dependency in your integration with Jitpack | [see examples](./jitpack/)|
| Processor | Show how to include `Processor`s logic | [see examples](./processor/)|
@@ -25,10 +23,6 @@ In this section you can find a few examples of certain [`Camel` components](http
| Type | Description | Link |
|---|---|---|
-| AMQP | Component usage | [see examples](./amqp/)|
-| Caffeine | Component usage | [see examples](./caffeine/)|
-| Databases | Component usage | [see examples](./databases/)|
-| DNS | Component usage | [see examples](./dns/)|
| HTTP/HTTPS | Component usage | [see examples](./http/)|
| Kafka | Component usage | [see examples](./kafka/)|
| Knative | Component usage | [see examples](./knative/)|
[camel-k] 01/02: migrate and improve dns example
Posted by ts...@apache.org.
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
commit 931a010c6103dcf677e990acfef164592def11a8
Author: Kuthumi Pepple <ku...@gmail.com>
AuthorDate: Tue Jul 5 10:57:18 2022 +0100
migrate and improve dns example
---
examples/dns/README.md | 3 ---
examples/dns/dns.js | 32 --------------------------------
2 files changed, 35 deletions(-)
diff --git a/examples/dns/README.md b/examples/dns/README.md
deleted file mode 100644
index 301ee949f..000000000
--- a/examples/dns/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# DNS Camel K examples
-
-Find useful examples about how to use DNS in a Camel K integration.
\ No newline at end of file
diff --git a/examples/dns/dns.js b/examples/dns/dns.js
deleted file mode 100644
index 0cb622eae..000000000
--- a/examples/dns/dns.js
+++ /dev/null
@@ -1,32 +0,0 @@
-// 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.
-// 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 -d camel-dns examples/dns.js
-//
-// Or simply (since dependency auto-detection is enabled by default):
-//
-// kamel run examples/dns.js
-//
-
-from('timer:dns?period=1000')
- .routeId('dns')
- .setHeader('dns.domain')
- .constant('www.google.com')
- .to('dns:ip')
- .to('log:dns');