You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@edgent.apache.org by dl...@apache.org on 2016/12/23 18:33:24 UTC

incubator-edgent-website git commit: [Edgent-328] Add connector recipe

Repository: incubator-edgent-website
Updated Branches:
  refs/heads/master 898caa466 -> 6d60cc9e1


[Edgent-328] Add connector recipe


Project: http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/commit/6d60cc9e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/tree/6d60cc9e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/diff/6d60cc9e

Branch: refs/heads/master
Commit: 6d60cc9e15485f292aad97c4b208e5bcd50b598e
Parents: 898caa4
Author: Dale LaBossiere <dl...@us.ibm.com>
Authored: Fri Dec 23 13:29:06 2016 -0500
Committer: Dale LaBossiere <dl...@us.ibm.com>
Committed: Fri Dec 23 13:29:06 2016 -0500

----------------------------------------------------------------------
 site/_data/mydoc/mydoc_sidebar.yml         | 8 ++++++++
 site/recipes/recipe_writing_a_connector.md | 9 +++++++++
 2 files changed, 17 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/blob/6d60cc9e/site/_data/mydoc/mydoc_sidebar.yml
----------------------------------------------------------------------
diff --git a/site/_data/mydoc/mydoc_sidebar.yml b/site/_data/mydoc/mydoc_sidebar.yml
index d2e4b64..3772d02 100644
--- a/site/_data/mydoc/mydoc_sidebar.yml
+++ b/site/_data/mydoc/mydoc_sidebar.yml
@@ -209,6 +209,14 @@ entries:
       version: all
       output: web, pdf
 
+    - title: How do I write a connector?
+      url: /recipes/recipe_writing_a_connector.html
+      audience: writers, designers
+      platform: all
+      product: all
+      version: all
+      output: web, pdf
+
   - title: Sample Programs
     audience: writers, designers
     platform: all

http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/blob/6d60cc9e/site/recipes/recipe_writing_a_connector.md
----------------------------------------------------------------------
diff --git a/site/recipes/recipe_writing_a_connector.md b/site/recipes/recipe_writing_a_connector.md
new file mode 100644
index 0000000..16315f8
--- /dev/null
+++ b/site/recipes/recipe_writing_a_connector.md
@@ -0,0 +1,9 @@
+---
+title: Writing a Connector
+---
+
+Edgent applications interface with other entities by way of a connector.  The other entity may be an IO device, an IoT messaging hub, a file, process, database, another Edgent application/topology, etc.  
+
+Edgent includes several connectors -- see the "Edgent Connectors" package group in the [javadoc](https://edgent.incubator.apache.org/javadoc/latest). The [CommandStreams](https://edgent.incubator.apache.org/javadoc/latest/org/apache/edgent/connectors/command/CommandStreams) connector can be particularly useful if commands already exist for getting data to or from an entity.  
+
+When your application needs something new or special [Writing Connectors for Edgent Applications](https://cwiki.apache.org/confluence/display/EDGENT/Writing+Connectors+For+Edgent+Applications) tells you what you need to know!