-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflow.json
More file actions
129 lines (129 loc) · 2.96 KB
/
flow.json
File metadata and controls
129 lines (129 loc) · 2.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
[
{
"id": "main.flow",
"type": "tab",
"label": "main",
"disabled": false,
"info": ""
},
{
"id": "test.flow",
"type": "tab",
"label": "test",
"disabled": false,
"info": ""
},
{
"id": "eacbb9ef.69d5c8",
"type": "EventListener",
"z": "main.flow",
"name": "GET /test",
"provider": "aws",
"eventSource": "api",
"dynamodbOperation": "",
"apiMethod": "get",
"apiUrl": "/test",
"albMethod": "any",
"albUrl": "",
"bucketName": "",
"event": "",
"reference": "",
"queueName": "",
"topicName": "",
"partnerDetailType": "",
"websocketCustom": "",
"s3BucketName": "",
"s3Prefix": "",
"s3Suffix": "",
"kapiUrl": "",
"kcronexpression": "",
"kreference": "",
"kObjectStoreName": "",
"zapiUrl": "",
"napiUrl": "",
"x": 120,
"y": 160,
"wires": [
[
"b5fc6ccd.17dd7"
]
],
"caname": "event-handler",
"category": "general"
},
{
"id": "b5fc6ccd.17dd7",
"type": "EventListener-End",
"z": "main.flow",
"name": "Success",
"statusCode": "200",
"responseType": "http",
"headers": {
"Content-Type": "application/json"
},
"payload": "{\"output\": \"test\"}",
"eventPayload": "",
"eventType": "success",
"x": 242.5,
"y": 160,
"wires": [],
"caname": "eventlistenerend",
"category": "general"
},
{
"id": "e0721cc7.653eb",
"type": "TestCaseEnd",
"z": "test.flow",
"name": "TestCase End",
"x": 357.5,
"y": 72.5,
"wires": [],
"caname": "test-case-end",
"category": "testing"
},
{
"id": "e8fb91dc.46c24",
"type": "HTTPTestCase",
"z": "test.flow",
"name": "TestCase HelloWorld",
"method": "GET",
"path": "/test",
"headers": {
"Accept": "application/json"
},
"authtype": "none",
"secUser": "",
"secPassword": "",
"secToken": "",
"payload": "",
"mocks": [],
"x": 72.5,
"y": 72.5,
"wires": [
[
"9b5bda2f.a1afa8"
]
],
"caname": "http-test-case",
"category": "testing"
},
{
"id": "9b5bda2f.a1afa8",
"type": "Assertion",
"z": "test.flow",
"name": "Check Status",
"selector": "statusCode",
"property": "",
"comparison": "equals",
"value": "200",
"x": 167.5,
"y": 72.5,
"wires": [
[
"e0721cc7.653eb"
]
],
"caname": "test-assertion",
"category": "testing"
}
]