Skip to content

Commit

Permalink
Merge pull request #39 from fcastill/refs-ui-samples
Browse files Browse the repository at this point in the history
Added ref info to activities and triggers in web UI samples
  • Loading branch information
fcastill authored Mar 14, 2017
2 parents 4542f31 + 17c9c5e commit 75c145b
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 25 deletions.
20 changes: 12 additions & 8 deletions samples/aws_iot/web/aws_iot.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"$table": "flows",
"description": "A sample flow to update AWS IOT Shadow",
"items": {
"Mg": {
"__schema": {
"description": "Simple Log Activity",
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/log",
"homepage": "https://github.com/TIBCOSoftware/flogo-contrib/tree/master/activity/log",
"inputs": [
{
Expand Down Expand Up @@ -68,7 +68,7 @@
"title": "Log Activity",
"type": 1,
"version": "0.0.1",
"where": "file:///Users/xli/git/flogo-cicd/dev/flogo-web/submodules/flogo-contrib/activity/log"
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/log"
},
"Mw": {
"__schema": {
Expand All @@ -95,7 +95,8 @@
],
"name": "tibco-awsiot",
"title": "AWS IoT Activity",
"version": "0.0.1"
"version": "0.0.1",
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/awsiot"
},
"activityType": "tibco-awsiot",
"attributes": {
Expand Down Expand Up @@ -169,7 +170,8 @@
}
],
"title": "Log Activity",
"version": "0.0.1"
"version": "0.0.1",
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/log"
},
"activityType": "tibco-log",
"attributes": {
Expand Down Expand Up @@ -206,7 +208,7 @@
"title": "Log Activity",
"type": 1,
"version": "0.0.1",
"where": "file:///Users/xli/git/flogo-cicd/dev/flogo-web/submodules/flogo-contrib/activity/log"
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/log"
},
"NQ": {
"__schema": {
Expand All @@ -226,7 +228,8 @@
"name": "tibco-reply",
"outputs": [],
"title": "Reply Activity",
"version": "0.0.1"
"version": "0.0.1",
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/reply"
},
"activityType": "tibco-reply",
"attributes": {
Expand Down Expand Up @@ -254,7 +257,7 @@
"title": "Reply Activity",
"type": 1,
"version": "0.0.1",
"where": "file:///Users/xli/git/flogo/flogo-web/submodules/flogo-contrib/activity/reply"
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/reply"
},
"RmxvZ286OlRyaWdnZXI6OjE0NzM4NjY0ODA0NDA": {
"__props": {
Expand Down Expand Up @@ -334,7 +337,8 @@
}
],
"title": "REST Trigger",
"version": "0.0.1"
"version": "0.0.1",
"where": "github.com/TIBCOSoftware/flogo-contrib/trigger/rest"
},
"__status": {
"hasRun": false,
Expand Down
10 changes: 6 additions & 4 deletions samples/helloworld/web/helloWorld.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
]
},
"__schema":{
"where":"github.com/TIBCOSoftware/flogo-contrib/trigger/timer",
"name":"tibco-timer",
"version":"0.0.1",
"title":"Timer Trigger",
Expand Down Expand Up @@ -203,6 +204,7 @@
"title":"Counter Activity",
"description":"Simple Global Counter Activity",
"homepage":"https://github.com/TIBCOSoftware/flogo-contrib/tree/master/activity/counter",
"where":"github.com/TIBCOSoftware/flogo-contrib/activity/counter",
"inputs":[
{
"name":"counterName",
Expand All @@ -226,7 +228,7 @@
]
},
"author":"Anonymous",
"where":"file:///Users/wenchun/dev/coderepos/github/flogo-web/submodules/flogo-contrib/activity/counter",
"where":"github.com/TIBCOSoftware/flogo-contrib/activity/counter",
"installed":true,
"id":"Mg"
},
Expand Down Expand Up @@ -268,6 +270,7 @@
"version":"0.0.1",
"title":"Log Activity",
"description":"Simple Log Activity",
"where":"github.com/TIBCOSoftware/flogo-contrib/activity/log",
"homepage":"https://github.com/TIBCOSoftware/flogo-contrib/tree/master/activity/log",
"inputs":[
{
Expand All @@ -294,10 +297,9 @@
]
},
"author":"Anonymous",
"where":"file:///Users/wenchun/dev/coderepos/github/flogo-web/submodules/flogo-contrib/activity/log",
"where":"github.com/TIBCOSoftware/flogo-contrib/activity/log",
"installed":true,
"id":"Mw"
}
},
"$table":"flows"
}
}
43 changes: 30 additions & 13 deletions samples/raspberry_iot/web/raspberry_iot.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
"$table": "flows",
"_id": "flows:flogoweb-admin:2016-11-15T21:12:26.666Z",
"_rev": "47-8635b0c40a9d93dd22e6628e933df75a",
"description": "A simple flow using Raspberry PI GPIO to control home light",
"errorHandler": {
"items": {},
Expand Down Expand Up @@ -29,7 +26,8 @@
"name": "tibco-reply",
"outputs": [],
"title": "Reply To Trigger",
"version": "0.0.1"
"version": "0.0.1",
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/reply"
},
"activityType": "tibco-reply",
"attributes": {
Expand All @@ -55,12 +53,14 @@
"name": "Reply To Trigger (2)",
"title": "Reply To Trigger",
"type": 1,
"version": "0.0.1"
"version": "0.0.1",
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/reply"
},
"Mg": {
"__schema": {
"description": "Simple Log Activity",
"homepage": "https://github.com/TIBCOSoftware/flogo-contrib/tree/master/activity/log",
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/log",
"inputs": [
{
"name": "message",
Expand Down Expand Up @@ -121,12 +121,14 @@
"name": "Received",
"title": "Log Message",
"type": 1,
"version": "0.0.1"
"version": "0.0.1",
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/log"
},
"Mw": {
"__schema": {
"description": "Control raspberry gpio",
"homepage": "https://github.com/TIBCOSoftware/flogo-contrib/tree/master/activity/gpio",
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/gpio",
"inputs": [
{
"allowed": [
Expand Down Expand Up @@ -244,12 +246,14 @@
"name": "SetToOutput",
"title": "Control GPIO",
"type": 1,
"version": "0.0.1"
"version": "0.0.1",
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/gpio"
},
"NA": {
"__schema": {
"description": "Control raspberry gpio",
"homepage": "https://github.com/TIBCOSoftware/flogo-contrib/tree/master/activity/gpio",
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/gpio",
"inputs": [
{
"allowed": [
Expand Down Expand Up @@ -367,12 +371,14 @@
"name": "GetStatus",
"title": "Control GPIO",
"type": 1,
"version": "0.0.1"
"version": "0.0.1",
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/gpio"
},
"NQ": {
"__schema": {
"description": "Simple Log Activity",
"homepage": "https://github.com/TIBCOSoftware/flogo-contrib/tree/master/activity/log",
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/log",
"inputs": [
{
"name": "message",
Expand Down Expand Up @@ -440,12 +446,14 @@
"name": "SetToOnLog",
"title": "Log Message",
"type": 1,
"version": "0.0.1"
"version": "0.0.1",
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/log"
},
"Ng": {
"__schema": {
"description": "Control raspberry gpio",
"homepage": "https://github.com/TIBCOSoftware/flogo-contrib/tree/master/activity/gpio",
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/gpio",
"inputs": [
{
"allowed": [
Expand Down Expand Up @@ -563,12 +571,14 @@
"name": "SetToOn",
"title": "Control GPIO",
"type": 1,
"version": "0.0.1"
"version": "0.0.1",
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/gpio"
},
"Nw": {
"__schema": {
"description": "Simple Reply Activity",
"homepage": "https://github.com/TIBCOSoftware/flogo-contrib/tree/master/activity/reply",
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/reply",
"inputs": [
{
"name": "code",
Expand Down Expand Up @@ -604,6 +614,7 @@
},
"description": "Simple Reply Activity",
"homepage": "https://github.com/TIBCOSoftware/flogo-contrib/tree/master/activity/reply",
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/reply",
"id": "Nw",
"installed": true,
"name": "Reply To Trigger",
Expand All @@ -615,6 +626,7 @@
"__schema": {
"description": "Simple Log Activity",
"homepage": "https://github.com/TIBCOSoftware/flogo-contrib/tree/master/activity/log",
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/log",
"inputs": [
{
"name": "message",
Expand Down Expand Up @@ -682,12 +694,14 @@
"name": "SetToOffLog",
"title": "Log Message",
"type": 1,
"version": "0.0.1"
"version": "0.0.1",
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/log"
},
"OQ": {
"__schema": {
"description": "Control raspberry gpio",
"homepage": "https://github.com/TIBCOSoftware/flogo-contrib/tree/master/activity/gpio",
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/gpio",
"inputs": [
{
"allowed": [
Expand Down Expand Up @@ -805,7 +819,8 @@
"name": "SetToOff",
"title": "Control GPIO",
"type": 1,
"version": "0.0.1"
"version": "0.0.1",
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/gpio"
},
"RmxvZ286OkJyYW5jaDo6MTQ3OTI0NDQyNjYzNA": {
"condition": "${A4.result}==0",
Expand Down Expand Up @@ -869,6 +884,7 @@
]
},
"homepage": "https://github.com/TIBCOSoftware/flogo-contrib/tree/master/trigger/rest",
"where": "github.com/TIBCOSoftware/flogo-contrib/trigger/rest",
"name": "tibco-rest",
"outputs": [
{
Expand Down Expand Up @@ -960,7 +976,8 @@
"title": "Receive HTTP Message",
"triggerType": "tibco-rest",
"type": 0,
"version": "0.0.1"
"version": "0.0.1",
"where": "github.com/TIBCOSoftware/flogo-contrib/trigger/rest"
}
},
"name": "Control home light",
Expand Down

0 comments on commit 75c145b

Please sign in to comment.