Skip to content

Commit 75c145b

Browse files
authored
Merge pull request #39 from fcastill/refs-ui-samples
Added ref info to activities and triggers in web UI samples
2 parents 4542f31 + 17c9c5e commit 75c145b

File tree

3 files changed

+48
-25
lines changed

3 files changed

+48
-25
lines changed

samples/aws_iot/web/aws_iot.json

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"$table": "flows",
32
"description": "A sample flow to update AWS IOT Shadow",
43
"items": {
54
"Mg": {
65
"__schema": {
76
"description": "Simple Log Activity",
7+
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/log",
88
"homepage": "https://github.com/TIBCOSoftware/flogo-contrib/tree/master/activity/log",
99
"inputs": [
1010
{
@@ -68,7 +68,7 @@
6868
"title": "Log Activity",
6969
"type": 1,
7070
"version": "0.0.1",
71-
"where": "file:///Users/xli/git/flogo-cicd/dev/flogo-web/submodules/flogo-contrib/activity/log"
71+
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/log"
7272
},
7373
"Mw": {
7474
"__schema": {
@@ -95,7 +95,8 @@
9595
],
9696
"name": "tibco-awsiot",
9797
"title": "AWS IoT Activity",
98-
"version": "0.0.1"
98+
"version": "0.0.1",
99+
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/awsiot"
99100
},
100101
"activityType": "tibco-awsiot",
101102
"attributes": {
@@ -169,7 +170,8 @@
169170
}
170171
],
171172
"title": "Log Activity",
172-
"version": "0.0.1"
173+
"version": "0.0.1",
174+
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/log"
173175
},
174176
"activityType": "tibco-log",
175177
"attributes": {
@@ -206,7 +208,7 @@
206208
"title": "Log Activity",
207209
"type": 1,
208210
"version": "0.0.1",
209-
"where": "file:///Users/xli/git/flogo-cicd/dev/flogo-web/submodules/flogo-contrib/activity/log"
211+
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/log"
210212
},
211213
"NQ": {
212214
"__schema": {
@@ -226,7 +228,8 @@
226228
"name": "tibco-reply",
227229
"outputs": [],
228230
"title": "Reply Activity",
229-
"version": "0.0.1"
231+
"version": "0.0.1",
232+
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/reply"
230233
},
231234
"activityType": "tibco-reply",
232235
"attributes": {
@@ -254,7 +257,7 @@
254257
"title": "Reply Activity",
255258
"type": 1,
256259
"version": "0.0.1",
257-
"where": "file:///Users/xli/git/flogo/flogo-web/submodules/flogo-contrib/activity/reply"
260+
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/reply"
258261
},
259262
"RmxvZ286OlRyaWdnZXI6OjE0NzM4NjY0ODA0NDA": {
260263
"__props": {
@@ -334,7 +337,8 @@
334337
}
335338
],
336339
"title": "REST Trigger",
337-
"version": "0.0.1"
340+
"version": "0.0.1",
341+
"where": "github.com/TIBCOSoftware/flogo-contrib/trigger/rest"
338342
},
339343
"__status": {
340344
"hasRun": false,

samples/helloworld/web/helloWorld.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@
9494
]
9595
},
9696
"__schema":{
97+
"where":"github.com/TIBCOSoftware/flogo-contrib/trigger/timer",
9798
"name":"tibco-timer",
9899
"version":"0.0.1",
99100
"title":"Timer Trigger",
@@ -203,6 +204,7 @@
203204
"title":"Counter Activity",
204205
"description":"Simple Global Counter Activity",
205206
"homepage":"https://github.com/TIBCOSoftware/flogo-contrib/tree/master/activity/counter",
207+
"where":"github.com/TIBCOSoftware/flogo-contrib/activity/counter",
206208
"inputs":[
207209
{
208210
"name":"counterName",
@@ -226,7 +228,7 @@
226228
]
227229
},
228230
"author":"Anonymous",
229-
"where":"file:///Users/wenchun/dev/coderepos/github/flogo-web/submodules/flogo-contrib/activity/counter",
231+
"where":"github.com/TIBCOSoftware/flogo-contrib/activity/counter",
230232
"installed":true,
231233
"id":"Mg"
232234
},
@@ -268,6 +270,7 @@
268270
"version":"0.0.1",
269271
"title":"Log Activity",
270272
"description":"Simple Log Activity",
273+
"where":"github.com/TIBCOSoftware/flogo-contrib/activity/log",
271274
"homepage":"https://github.com/TIBCOSoftware/flogo-contrib/tree/master/activity/log",
272275
"inputs":[
273276
{
@@ -294,10 +297,9 @@
294297
]
295298
},
296299
"author":"Anonymous",
297-
"where":"file:///Users/wenchun/dev/coderepos/github/flogo-web/submodules/flogo-contrib/activity/log",
300+
"where":"github.com/TIBCOSoftware/flogo-contrib/activity/log",
298301
"installed":true,
299302
"id":"Mw"
300303
}
301-
},
302-
"$table":"flows"
304+
}
303305
}

samples/raspberry_iot/web/raspberry_iot.json

Lines changed: 30 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
{
2-
"$table": "flows",
3-
"_id": "flows:flogoweb-admin:2016-11-15T21:12:26.666Z",
4-
"_rev": "47-8635b0c40a9d93dd22e6628e933df75a",
52
"description": "A simple flow using Raspberry PI GPIO to control home light",
63
"errorHandler": {
74
"items": {},
@@ -29,7 +26,8 @@
2926
"name": "tibco-reply",
3027
"outputs": [],
3128
"title": "Reply To Trigger",
32-
"version": "0.0.1"
29+
"version": "0.0.1",
30+
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/reply"
3331
},
3432
"activityType": "tibco-reply",
3533
"attributes": {
@@ -55,12 +53,14 @@
5553
"name": "Reply To Trigger (2)",
5654
"title": "Reply To Trigger",
5755
"type": 1,
58-
"version": "0.0.1"
56+
"version": "0.0.1",
57+
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/reply"
5958
},
6059
"Mg": {
6160
"__schema": {
6261
"description": "Simple Log Activity",
6362
"homepage": "https://github.com/TIBCOSoftware/flogo-contrib/tree/master/activity/log",
63+
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/log",
6464
"inputs": [
6565
{
6666
"name": "message",
@@ -121,12 +121,14 @@
121121
"name": "Received",
122122
"title": "Log Message",
123123
"type": 1,
124-
"version": "0.0.1"
124+
"version": "0.0.1",
125+
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/log"
125126
},
126127
"Mw": {
127128
"__schema": {
128129
"description": "Control raspberry gpio",
129130
"homepage": "https://github.com/TIBCOSoftware/flogo-contrib/tree/master/activity/gpio",
131+
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/gpio",
130132
"inputs": [
131133
{
132134
"allowed": [
@@ -244,12 +246,14 @@
244246
"name": "SetToOutput",
245247
"title": "Control GPIO",
246248
"type": 1,
247-
"version": "0.0.1"
249+
"version": "0.0.1",
250+
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/gpio"
248251
},
249252
"NA": {
250253
"__schema": {
251254
"description": "Control raspberry gpio",
252255
"homepage": "https://github.com/TIBCOSoftware/flogo-contrib/tree/master/activity/gpio",
256+
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/gpio",
253257
"inputs": [
254258
{
255259
"allowed": [
@@ -367,12 +371,14 @@
367371
"name": "GetStatus",
368372
"title": "Control GPIO",
369373
"type": 1,
370-
"version": "0.0.1"
374+
"version": "0.0.1",
375+
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/gpio"
371376
},
372377
"NQ": {
373378
"__schema": {
374379
"description": "Simple Log Activity",
375380
"homepage": "https://github.com/TIBCOSoftware/flogo-contrib/tree/master/activity/log",
381+
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/log",
376382
"inputs": [
377383
{
378384
"name": "message",
@@ -440,12 +446,14 @@
440446
"name": "SetToOnLog",
441447
"title": "Log Message",
442448
"type": 1,
443-
"version": "0.0.1"
449+
"version": "0.0.1",
450+
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/log"
444451
},
445452
"Ng": {
446453
"__schema": {
447454
"description": "Control raspberry gpio",
448455
"homepage": "https://github.com/TIBCOSoftware/flogo-contrib/tree/master/activity/gpio",
456+
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/gpio",
449457
"inputs": [
450458
{
451459
"allowed": [
@@ -563,12 +571,14 @@
563571
"name": "SetToOn",
564572
"title": "Control GPIO",
565573
"type": 1,
566-
"version": "0.0.1"
574+
"version": "0.0.1",
575+
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/gpio"
567576
},
568577
"Nw": {
569578
"__schema": {
570579
"description": "Simple Reply Activity",
571580
"homepage": "https://github.com/TIBCOSoftware/flogo-contrib/tree/master/activity/reply",
581+
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/reply",
572582
"inputs": [
573583
{
574584
"name": "code",
@@ -604,6 +614,7 @@
604614
},
605615
"description": "Simple Reply Activity",
606616
"homepage": "https://github.com/TIBCOSoftware/flogo-contrib/tree/master/activity/reply",
617+
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/reply",
607618
"id": "Nw",
608619
"installed": true,
609620
"name": "Reply To Trigger",
@@ -615,6 +626,7 @@
615626
"__schema": {
616627
"description": "Simple Log Activity",
617628
"homepage": "https://github.com/TIBCOSoftware/flogo-contrib/tree/master/activity/log",
629+
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/log",
618630
"inputs": [
619631
{
620632
"name": "message",
@@ -682,12 +694,14 @@
682694
"name": "SetToOffLog",
683695
"title": "Log Message",
684696
"type": 1,
685-
"version": "0.0.1"
697+
"version": "0.0.1",
698+
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/log"
686699
},
687700
"OQ": {
688701
"__schema": {
689702
"description": "Control raspberry gpio",
690703
"homepage": "https://github.com/TIBCOSoftware/flogo-contrib/tree/master/activity/gpio",
704+
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/gpio",
691705
"inputs": [
692706
{
693707
"allowed": [
@@ -805,7 +819,8 @@
805819
"name": "SetToOff",
806820
"title": "Control GPIO",
807821
"type": 1,
808-
"version": "0.0.1"
822+
"version": "0.0.1",
823+
"where": "github.com/TIBCOSoftware/flogo-contrib/activity/gpio"
809824
},
810825
"RmxvZ286OkJyYW5jaDo6MTQ3OTI0NDQyNjYzNA": {
811826
"condition": "${A4.result}==0",
@@ -869,6 +884,7 @@
869884
]
870885
},
871886
"homepage": "https://github.com/TIBCOSoftware/flogo-contrib/tree/master/trigger/rest",
887+
"where": "github.com/TIBCOSoftware/flogo-contrib/trigger/rest",
872888
"name": "tibco-rest",
873889
"outputs": [
874890
{
@@ -960,7 +976,8 @@
960976
"title": "Receive HTTP Message",
961977
"triggerType": "tibco-rest",
962978
"type": 0,
963-
"version": "0.0.1"
979+
"version": "0.0.1",
980+
"where": "github.com/TIBCOSoftware/flogo-contrib/trigger/rest"
964981
}
965982
},
966983
"name": "Control home light",

0 commit comments

Comments
 (0)