iota-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tonyfaust...@apache.org
Subject incubator-iota git commit: Additional README.md files added
Date Wed, 13 Jul 2016 06:14:58 GMT
Repository: incubator-iota
Updated Branches:
  refs/heads/master c22715c6b -> 03e21594a


Additional README.md files added


Project: http://git-wip-us.apache.org/repos/asf/incubator-iota/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-iota/commit/03e21594
Tree: http://git-wip-us.apache.org/repos/asf/incubator-iota/tree/03e21594
Diff: http://git-wip-us.apache.org/repos/asf/incubator-iota/diff/03e21594

Branch: refs/heads/master
Commit: 03e21594a44f9c4050860ab5b9c92f96255620de
Parents: c22715c
Author: tonyfaustini <tonyfaustini@yahoo.com>
Authored: Tue Jul 12 23:14:37 2016 -0700
Committer: tonyfaustini <tonyfaustini@yahoo.com>
Committed: Tue Jul 12 23:14:37 2016 -0700

----------------------------------------------------------------------
 fey-examples/active-jar-repo/README.md  |   4 +
 fey-examples/active-json-repo/README.md | 377 +++++++++++++++++++++++++++
 fey-examples/fey-json-samples/README.md |   7 +
 3 files changed, 388 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-iota/blob/03e21594/fey-examples/active-jar-repo/README.md
----------------------------------------------------------------------
diff --git a/fey-examples/active-jar-repo/README.md b/fey-examples/active-jar-repo/README.md
new file mode 100644
index 0000000..674afaa
--- /dev/null
+++ b/fey-examples/active-jar-repo/README.md
@@ -0,0 +1,4 @@
+#Active Performers Repo 
+
+This directory contains a any of the performers (jar files) needed to execute an
+orchestration. The names of the needed 
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-iota/blob/03e21594/fey-examples/active-json-repo/README.md
----------------------------------------------------------------------
diff --git a/fey-examples/active-json-repo/README.md b/fey-examples/active-json-repo/README.md
new file mode 100644
index 0000000..c78188c
--- /dev/null
+++ b/fey-examples/active-json-repo/README.md
@@ -0,0 +1,377 @@
+#Active JSON Repo
+Any Orchesrations (which are JSON files) that are placed in this directory will be loaded
and run by the
+Fey core engine. Usually you point to this directory in the fey-configuration.conf file that
is 
+supplied to the fey-engine as a commandline argument when the fey engines starts up.
+
+##An example of a more complex orchestration
+
+```json
+{
+  "guid": "RaspberryPi",
+  "command": "CREATE",
+  "timestamp": "1467731017",
+  "name": "RaspberryPi",
+  "ensembles": [
+    {
+      "guid": "TEMPERATURE",
+      "command": "NONE",
+      "performers": [
+        {
+          "guid": "Heartbeat",
+          "schedule": 30000,
+          "backoff": 0,
+          "source": {
+            "name": "fey-stream.jar",
+            "classPath": "org.apache.iota.fey.performer.Heartbeat",
+            "parameters": {
+            }
+          }
+        },
+        {
+          "guid": "Cherry",
+          "schedule": 1000,
+          "backoff": 0,
+          "source": {
+            "name": "fey-cherry-rp.jar",
+            "classPath": "org.apache.iota.fey.performer.CherryRP",
+            "parameters": {
+              "cherry": "{\"op\":\"cov\", \"args\":[{\"string\":\"1ed6aed2b028486fa478b3d3f6e7ee61\"},
{\"float\":0.5} ]}",
+              "lrns": "[\"1ed6aed2b028486fa478b3d3f6e7ee61\"]",
+              "host": "192.168.0.17"
+            }
+          }
+        },
+        {
+          "guid": "ZMQPublisher",
+          "schedule": 0,
+          "backoff": 0,
+          "source": {
+            "name": "fey-zmq.jar",
+            "classPath": "org.apache.iota.fey.performer.ZMQPublisher",
+            "parameters": {
+              "zmq_port": "5559",
+              "zmq_target": "192.168.0.139"
+            }
+          }
+        }
+      ],
+      "connections": [
+        {
+          "Heartbeat": [
+            "Cherry"
+          ]
+        },
+        {
+          "Cherry": [
+            "ZMQPublisher"
+          ]
+        }
+      ]
+    },
+    {
+      "guid": "PRESSURE",
+      "command": "NONE",
+      "performers": [
+        {
+          "guid": "Heartbeat",
+          "schedule": 10000,
+          "backoff": 0,
+          "source": {
+            "name": "fey-stream.jar",
+            "classPath": "org.apache.iota.fey.performer.Heartbeat",
+            "parameters": {
+            }
+          }
+        },
+        {
+          "guid": "Cherry",
+          "schedule": 1000,
+          "backoff": 0,
+          "source": {
+            "name": "fey-cherry-rp.jar",
+            "classPath": "org.apache.iota.fey.performer.CherryRP",
+            "parameters": {
+              "cherry": "{\"op\":\"cov\", \"args\":[{\"string\":\"3fd7aed2b028486fa478b3d3f6e7ee61\"},
{\"float\":0.1} ]}",
+              "lrns": "[\"3fd7aed2b028486fa478b3d3f6e7ee61\"]",
+              "host": "192.168.0.17"
+            }
+          }
+        },
+        {
+          "guid": "ZMQPublisher",
+          "schedule": 0,
+          "backoff": 0,
+          "source": {
+            "name": "fey-zmq.jar",
+            "classPath": "org.apache.iota.fey.performer.ZMQPublisher",
+            "parameters": {
+              "zmq_port": "5559",
+              "zmq_target": "192.168.0.139"
+            }
+          }
+        }
+      ],
+      "connections": [
+        {
+          "Heartbeat": [
+            "Cherry"
+          ]
+        },
+        {
+          "Cherry": [
+            "ZMQPublisher"
+          ]
+        }
+      ]
+    },
+    {
+      "guid": "HUMIDITY",
+      "command": "NONE",
+      "performers": [
+        {
+          "guid": "Heartbeat",
+          "schedule": 30000,
+          "backoff": 0,
+          "source": {
+            "name": "fey-stream.jar",
+            "classPath": "org.apache.iota.fey.performer.Heartbeat",
+            "parameters": {
+            }
+          }
+        },
+        {
+          "guid": "Cherry",
+          "schedule": 1000,
+          "backoff": 0,
+          "source": {
+            "name": "fey-cherry-rp.jar",
+            "classPath": "org.apache.iota.fey.performer.CherryRP",
+            "parameters": {
+              "cherry": "{\"op\":\"cov\", \"args\":[{\"string\":\"2fd6aed2b028486fa478b3d3f6e7ee61\"},
{\"float\":5.0} ]}",
+              "lrns": "[\"2fd6aed2b028486fa478b3d3f6e7ee61\"]",
+              "host": "192.168.0.17"
+            }
+          }
+        },
+        {
+          "guid": "ZMQPublisher",
+          "schedule": 0,
+          "backoff": 0,
+          "source": {
+            "name": "fey-zmq.jar",
+            "classPath": "org.apache.iota.fey.performer.ZMQPublisher",
+            "parameters": {
+              "zmq_port": "5559",
+              "zmq_target": "192.168.0.139"
+            }
+          }
+        }
+      ],
+      "connections": [
+        {
+          "Heartbeat": [
+            "Cherry"
+          ]
+        },
+        {
+          "Cherry": [
+            "ZMQPublisher"
+          ]
+        }
+      ]
+    },
+    {
+      "guid": "SOUNDDB",
+      "command": "NONE",
+      "performers": [
+        {
+          "guid": "Heartbeat",
+          "schedule": 10000,
+          "backoff": 0,
+          "source": {
+            "name": "fey-stream.jar",
+            "classPath": "org.apache.iota.fey.performer.Heartbeat",
+            "parameters": {
+            }
+          }
+        },
+        {
+          "guid": "Cherry",
+          "schedule": 1000,
+          "backoff": 0,
+          "source": {
+            "name": "fey-cherry-rp.jar",
+            "classPath": "org.apache.iota.fey.performer.CherryRP",
+            "parameters": {
+              "cherry": "{\"op\":\"cov\", \"args\":[{\"string\":\"7fd6aed2b028486fa478b3d3f6e7ee61\"},
{\"float\":3.0} ]}",
+              "lrns": "[\"7fd6aed2b028486fa478b3d3f6e7ee61\"]",
+              "host": "192.168.0.17"
+            }
+          }
+        },
+        {
+          "guid": "ZMQPublisher",
+          "schedule": 0,
+          "backoff": 0,
+          "source": {
+            "name": "fey-zmq.jar",
+            "classPath": "org.apache.iota.fey.performer.ZMQPublisher",
+            "parameters": {
+              "zmq_port": "5559",
+              "zmq_target": "192.168.0.139"
+            }
+          }
+        }
+      ],
+      "connections": [
+        {
+          "Heartbeat": [
+            "Cherry"
+          ]
+        },
+        {
+          "Cherry": [
+            "ZMQPublisher"
+          ]
+        }
+      ]
+    },
+    {
+      "guid": "VIBRATION_AGGREGATE",
+      "command": "NONE",
+      "performers": [
+        {
+          "guid": "Heartbeat",
+          "schedule": 10000,
+          "backoff": 0,
+          "source": {
+            "name": "fey-stream.jar",
+            "classPath": "org.apache.iota.fey.performer.Heartbeat",
+            "parameters": {
+            }
+          }
+        },
+        {
+          "guid": "Cherry",
+          "schedule": 1000,
+          "backoff": 0,
+          "source": {
+            "name": "fey-cherry-rp.jar",
+            "classPath": "org.apache.iota.fey.performer.CherryRP",
+            "parameters": {
+              "cherry": "{\"op\":\"cov\", \"args\":[{\"string\":\"5fd6aed2b028486fa478b3d3f6e7ee61\"},
{\"float\":0.02} ]}",
+              "lrns": "[\"5fd6aed2b028486fa478b3d3f6e7ee61\"]",
+              "host": "192.168.0.17"
+            }
+          }
+        },
+        {
+          "guid": "ZMQPublisher",
+          "schedule": 0,
+          "backoff": 0,
+          "source": {
+            "name": "fey-zmq.jar",
+            "classPath": "org.apache.iota.fey.performer.ZMQPublisher",
+            "parameters": {
+              "zmq_port": "5559",
+              "zmq_target": "192.168.0.139"
+            }
+          }
+        }
+      ],
+      "connections": [
+        {
+          "Heartbeat": [
+            "Cherry"
+          ]
+        },
+        {
+          "Cherry": [
+            "ZMQPublisher"
+          ]
+        }
+      ]
+    },
+    {
+      "guid": "VIBRATION",
+      "command": "NONE",
+      "performers": [
+        {
+          "guid": "VibrationStream",
+          "schedule": 1000,
+          "backoff": 0,
+          "source": {
+            "name": "fey-cherry-rp.jar",
+            "classPath": "org.apache.iota.fey.performer.CherryRP",
+            "parameters": {
+              "cherry": "{\"didVibrationChange\":\"6fd6aed2b028486fa478b3d3f6e7ee61\"}",
+              "lrns": "[\"6fd6aed2b028486fa478b3d3f6e7ee61\"]",
+              "host": "192.168.0.17"
+            }
+          }
+        },
+        {
+          "guid": "ZMQPublisher",
+          "schedule": 0,
+          "backoff": 0,
+          "source": {
+            "name": "fey-zmq.jar",
+            "classPath": "org.apache.iota.fey.performer.ZMQPublisher",
+            "parameters": {
+              "zmq_port": "5559",
+              "zmq_target": "192.168.0.139"
+            }
+          }
+        }
+      ],
+      "connections": [
+        {
+          "VibrationStream": [
+            "ZMQPublisher"
+          ]
+        }
+      ]
+    },
+    {
+      "guid": "SOUND_WAV",
+      "command": "NONE",
+      "performers": [
+        {
+          "guid": "Cherry",
+          "schedule": 3000,
+          "backoff": 0,
+          "source": {
+            "name": "fey-cherry-rp.jar",
+            "classPath": "org.apache.iota.fey.performer.CherryRP",
+            "parameters": {
+              "cherry": "{\"didSoundChange\":\"9fd6aed2b028486fa478b3d3f6e7ee61\"}",
+              "lrns": "[\"9fd6aed2b028486fa478b3d3f6e7ee61\"]",
+              "host": "192.168.0.17"
+            }
+          }
+        },
+        {
+          "guid": "ZMQPublisher",
+          "schedule": 0,
+          "backoff": 0,
+          "source": {
+            "name": "fey-zmq.jar",
+            "classPath": "org.apache.iota.fey.performer.ZMQPublisher",
+            "parameters": {
+              "zmq_port": "5559",
+              "zmq_target": "192.168.0.139"
+            }
+          }
+        }
+      ],
+      "connections": [
+        {
+          "Cherry": [
+            "ZMQPublisher"
+          ]
+        }
+      ]
+    }
+  ]
+}
+```

http://git-wip-us.apache.org/repos/asf/incubator-iota/blob/03e21594/fey-examples/fey-json-samples/README.md
----------------------------------------------------------------------
diff --git a/fey-examples/fey-json-samples/README.md b/fey-examples/fey-json-samples/README.md
new file mode 100644
index 0000000..204895d
--- /dev/null
+++ b/fey-examples/fey-json-samples/README.md
@@ -0,0 +1,7 @@
+#Sample Orchestrations
+
+This directory contains a number of samples of Fey orchechestrations. Note
+if you move one or more of these to the active-json-repo the Fey engine will
+start to run the execution. You need to make sure that all the necessary jar files
+used by the orchestrations are available in the active-jar-repo. If the needed
+jar file is not available the orchesration will fail to execute.
\ No newline at end of file


Mime
View raw message