Skip to content

Commit

Permalink
Update save_flow_result event to use result_name
Browse files Browse the repository at this point in the history
  • Loading branch information
nicpottier committed Jun 6, 2017
1 parent cbe396c commit 756026e
Show file tree
Hide file tree
Showing 6 changed files with 55 additions and 55 deletions.
10 changes: 5 additions & 5 deletions cmd/flowrunner/testdata/flows/all_actions_test.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@
{
"category": "Male",
"created_on": "2000-01-01T00:00:00.000000000-00:00",
"name": "gender",
"node_uuid": "a58be63b-907d-4a1a-856b-0bb5579d7507",
"result_name": "gender",
"step_uuid": "",
"type": "save_flow_result",
"value": "m"
Expand Down Expand Up @@ -206,8 +206,8 @@
{
"category": "Male",
"created_on": "2000-01-01T00:00:00.000000000-00:00",
"name": "gender",
"node_uuid": "a58be63b-907d-4a1a-856b-0bb5579d7507",
"result_name": "gender",
"step_uuid": "",
"type": "save_flow_result",
"value": "m"
Expand Down Expand Up @@ -240,7 +240,7 @@
],
"left_on": "2000-01-01T00:00:00.000000000-00:00",
"node_uuid": "a58be63b-907d-4a1a-856b-0bb5579d7507",
"uuid": "2159853a-e5bd-4498-a030-0e8e35499c07"
"uuid": "23d1ba5c-8f08-4ef4-9232-3aae926d0fe8"
}
],
"results": {
Expand All @@ -254,7 +254,7 @@
},
"status": "C",
"timesout_on": "2000-01-01T00:00:00.000000000-00:00",
"uuid": "4d757be9-7d6d-4a17-9165-fb89bc2223fa"
"uuid": "f4d83199-1ee3-40cb-9f16-bbbdc13c1492"
},
{
"channel_uuid": "",
Expand All @@ -269,7 +269,7 @@
"results": {},
"status": "C",
"timesout_on": "2000-01-01T00:00:00.000000000-00:00",
"uuid": "7f93bebb-3448-41a4-aad6-e7b76e370298"
"uuid": "9a73f537-4142-4768-9424-1b87537700a8"
}
]
}
Expand Down
18 changes: 9 additions & 9 deletions cmd/flowrunner/testdata/flows/brochure_test.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"exit_uuid": "2d481ce6-efcf-4898-a825-f76208e32f2a",
"left_on": "2000-01-01T00:00:00.000000000-00:00",
"node_uuid": "32bc60ad-5c86-465e-a6b8-049c44ecce49",
"uuid": "57a6ad4c-5be8-43af-8109-6f9874370623"
"uuid": "2441ddbd-129d-48d7-9390-d2a99a017aba"
},
{
"arrived_on": "2000-01-01T00:00:00.000000000-00:00",
Expand All @@ -53,13 +53,13 @@
}
],
"node_uuid": "3dcccbb4-d29c-41dd-a01f-16d814c9ab82",
"uuid": "eb3fc259-d250-44cb-9876-2a3870087422"
"uuid": "9a19c005-2b03-4ce0-ab67-a4c427bbe7a2"
}
],
"results": {},
"status": "A",
"timesout_on": "2000-01-01T00:00:00.000000000-00:00",
"uuid": "4d744147-38a4-46a1-95af-3b5de831e8c5",
"uuid": "e5cba80e-c6b2-40db-9558-b55bda4f236b",
"wait": {
"timeout": 600,
"type": "msg"
Expand All @@ -82,8 +82,8 @@
{
"category": "",
"created_on": "2000-01-01T00:00:00.000000000-00:00",
"name": "name",
"node_uuid": "3dcccbb4-d29c-41dd-a01f-16d814c9ab82",
"result_name": "name",
"step_uuid": "",
"type": "save_flow_result",
"value": "Ryan Lewis"
Expand Down Expand Up @@ -148,7 +148,7 @@
"exit_uuid": "2d481ce6-efcf-4898-a825-f76208e32f2a",
"left_on": "2000-01-01T00:00:00.000000000-00:00",
"node_uuid": "32bc60ad-5c86-465e-a6b8-049c44ecce49",
"uuid": "57a6ad4c-5be8-43af-8109-6f9874370623"
"uuid": "2441ddbd-129d-48d7-9390-d2a99a017aba"
},
{
"arrived_on": "2000-01-01T00:00:00.000000000-00:00",
Expand All @@ -172,8 +172,8 @@
{
"category": "",
"created_on": "2000-01-01T00:00:00.000000000-00:00",
"name": "name",
"node_uuid": "3dcccbb4-d29c-41dd-a01f-16d814c9ab82",
"result_name": "name",
"step_uuid": "",
"type": "save_flow_result",
"value": "Ryan Lewis"
Expand All @@ -182,7 +182,7 @@
"exit_uuid": "37d8813f-1402-4ad2-9cc2-e9054a96525b",
"left_on": "2000-01-01T00:00:00.000000000-00:00",
"node_uuid": "3dcccbb4-d29c-41dd-a01f-16d814c9ab82",
"uuid": "eb3fc259-d250-44cb-9876-2a3870087422"
"uuid": "9a19c005-2b03-4ce0-ab67-a4c427bbe7a2"
},
{
"arrived_on": "2000-01-01T00:00:00.000000000-00:00",
Expand Down Expand Up @@ -216,7 +216,7 @@
"exit_uuid": "388bbce3-8079-4573-922f-8dea469d93f3",
"left_on": "2000-01-01T00:00:00.000000000-00:00",
"node_uuid": "7acb54fd-0db0-40b9-970b-93f7bfb4277b",
"uuid": "e45184d1-32a7-493a-ac3e-fabc8b7792ca"
"uuid": "27c7d876-ba59-49ae-9763-bb29e0f4588d"
}
],
"results": {
Expand All @@ -229,7 +229,7 @@
},
"status": "C",
"timesout_on": "2000-01-01T00:00:00.000000000-00:00",
"uuid": "4d744147-38a4-46a1-95af-3b5de831e8c5"
"uuid": "e5cba80e-c6b2-40db-9558-b55bda4f236b"
}
]
}
Expand Down
18 changes: 9 additions & 9 deletions cmd/flowrunner/testdata/flows/default_result_test.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"exit_uuid": "19f677bf-2b34-48bd-8a05-3839191b51b2",
"left_on": "2000-01-01T00:00:00.000000000-00:00",
"node_uuid": "4fd923cc-b39f-4722-b1ea-22ce1ef388de",
"uuid": "0b243740-70fa-4b3e-b640-5734b9ee096a"
"uuid": "6f89658c-06cd-49e4-9c99-219880f7e007"
},
{
"arrived_on": "2000-01-01T00:00:00.000000000-00:00",
Expand All @@ -53,13 +53,13 @@
}
],
"node_uuid": "3a430844-e259-4dcd-9a1d-7bef3168d43f",
"uuid": "a739117e-12c0-4433-a490-5582fe88aa0c"
"uuid": "021070c1-c286-4629-944f-aea232e137f5"
}
],
"results": {},
"status": "A",
"timesout_on": "2000-01-01T00:00:00.000000000-00:00",
"uuid": "907dd178-19a5-429d-a61e-7791e1db9e06",
"uuid": "5911c7a0-7cc8-48d1-93b8-e4827fc452d5",
"wait": {
"type": "msg"
}
Expand All @@ -81,8 +81,8 @@
{
"category": "All Responses",
"created_on": "2000-01-01T00:00:00.000000000-00:00",
"name": "Contact Name",
"node_uuid": "3a430844-e259-4dcd-9a1d-7bef3168d43f",
"result_name": "Contact Name",
"step_uuid": "",
"type": "save_flow_result",
"value": "Ryan Lewis"
Expand Down Expand Up @@ -144,7 +144,7 @@
"exit_uuid": "19f677bf-2b34-48bd-8a05-3839191b51b2",
"left_on": "2000-01-01T00:00:00.000000000-00:00",
"node_uuid": "4fd923cc-b39f-4722-b1ea-22ce1ef388de",
"uuid": "0b243740-70fa-4b3e-b640-5734b9ee096a"
"uuid": "6f89658c-06cd-49e4-9c99-219880f7e007"
},
{
"arrived_on": "2000-01-01T00:00:00.000000000-00:00",
Expand All @@ -168,8 +168,8 @@
{
"category": "All Responses",
"created_on": "2000-01-01T00:00:00.000000000-00:00",
"name": "Contact Name",
"node_uuid": "3a430844-e259-4dcd-9a1d-7bef3168d43f",
"result_name": "Contact Name",
"step_uuid": "",
"type": "save_flow_result",
"value": "Ryan Lewis"
Expand All @@ -178,7 +178,7 @@
"exit_uuid": "cf9a2465-049a-4ba1-95ed-eb60fb45fd63",
"left_on": "2000-01-01T00:00:00.000000000-00:00",
"node_uuid": "3a430844-e259-4dcd-9a1d-7bef3168d43f",
"uuid": "a739117e-12c0-4433-a490-5582fe88aa0c"
"uuid": "021070c1-c286-4629-944f-aea232e137f5"
},
{
"arrived_on": "2000-01-01T00:00:00.000000000-00:00",
Expand Down Expand Up @@ -208,7 +208,7 @@
],
"left_on": "2000-01-01T00:00:00.000000000-00:00",
"node_uuid": "2929d2fc-2778-4d98-a4bc-73a7345710b0",
"uuid": "a51bb7cd-afae-4e1f-9836-f163715fedc6"
"uuid": "554cb0da-1245-4bc9-9668-bb130ef8e146"
}
],
"results": {
Expand All @@ -222,7 +222,7 @@
},
"status": "C",
"timesout_on": "2000-01-01T00:00:00.000000000-00:00",
"uuid": "907dd178-19a5-429d-a61e-7791e1db9e06"
"uuid": "5911c7a0-7cc8-48d1-93b8-e4827fc452d5"
}
]
}
Expand Down
24 changes: 12 additions & 12 deletions cmd/flowrunner/testdata/flows/subflow_test.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@
}
],
"node_uuid": "e97a43c1-a15b-4566-bb6d-dfd2b18408e1",
"uuid": "427ccdf7-8050-4e46-bbf3-76b881939b21"
"uuid": "b74c8f5c-2727-4141-baf9-03414d863e25"
}
],
"results": {},
"status": "A",
"timesout_on": "2000-01-01T00:00:00.000000000-00:00",
"uuid": "46ebe353-73dc-4dd5-99d8-7f6d0b9d4bb4",
"uuid": "43f4b7f6-80a2-40d9-b121-279fe1661064",
"wait": {
"flow_uuid": "a8d27b94-d3d0-4a96-8074-0f162f342195",
"type": "flow"
Expand Down Expand Up @@ -112,13 +112,13 @@
}
],
"node_uuid": "9f7632ee-6e35-4247-9235-c4c7663fd601",
"uuid": "27c4ace6-2eba-4a93-9122-d2fd9ae75a1e"
"uuid": "abf8f877-3353-4a5f-8bbd-97b452b797da"
}
],
"results": {},
"status": "A",
"timesout_on": "2000-01-01T00:00:00.000000000-00:00",
"uuid": "11b55c51-ff9e-4d37-829f-98ba977ce3c4",
"uuid": "6875466d-f522-4902-af3c-bc63e97b275a",
"wait": {
"type": "msg"
}
Expand All @@ -140,8 +140,8 @@
{
"category": "Name",
"created_on": "2000-01-01T00:00:00.000000000-00:00",
"name": "name",
"node_uuid": "9f7632ee-6e35-4247-9235-c4c7663fd601",
"result_name": "name",
"step_uuid": "",
"type": "save_flow_result",
"value": "Ryan Lewis"
Expand Down Expand Up @@ -220,8 +220,8 @@
{
"category": "Name",
"created_on": "2000-01-01T00:00:00.000000000-00:00",
"name": "name",
"node_uuid": "9f7632ee-6e35-4247-9235-c4c7663fd601",
"result_name": "name",
"step_uuid": "",
"type": "save_flow_result",
"value": "Ryan Lewis"
Expand All @@ -230,7 +230,7 @@
"exit_uuid": "58743fc9-6b4c-41dd-a844-8568f093e65b",
"left_on": "2000-01-01T00:00:00.000000000-00:00",
"node_uuid": "9f7632ee-6e35-4247-9235-c4c7663fd601",
"uuid": "27c4ace6-2eba-4a93-9122-d2fd9ae75a1e"
"uuid": "abf8f877-3353-4a5f-8bbd-97b452b797da"
},
{
"arrived_on": "2000-01-01T00:00:00.000000000-00:00",
Expand All @@ -245,7 +245,7 @@
],
"left_on": "2000-01-01T00:00:00.000000000-00:00",
"node_uuid": "3689e39d-608e-4e85-8a18-c9aa6375bb43",
"uuid": "85fb2a76-8346-4101-bb81-b5ff1cd564a1"
"uuid": "cd5626d1-a05d-4546-a819-118ecdbe87da"
}
],
"results": {
Expand All @@ -259,7 +259,7 @@
},
"status": "C",
"timesout_on": "2000-01-01T00:00:00.000000000-00:00",
"uuid": "11b55c51-ff9e-4d37-829f-98ba977ce3c4"
"uuid": "6875466d-f522-4902-af3c-bc63e97b275a"
},
{
"channel_uuid": "",
Expand Down Expand Up @@ -307,7 +307,7 @@
"exit_uuid": "2ce7eeea-ee70-4e1a-b8f4-84d8102a8aef",
"left_on": "2000-01-01T00:00:00.000000000-00:00",
"node_uuid": "e97a43c1-a15b-4566-bb6d-dfd2b18408e1",
"uuid": "427ccdf7-8050-4e46-bbf3-76b881939b21"
"uuid": "b74c8f5c-2727-4141-baf9-03414d863e25"
},
{
"arrived_on": "2000-01-01T00:00:00.000000000-00:00",
Expand All @@ -322,13 +322,13 @@
],
"left_on": "2000-01-01T00:00:00.000000000-00:00",
"node_uuid": "c8380f24-7524-4340-9d38-db8a131d2b70",
"uuid": "f87a02fd-b32c-47e2-a980-0557a1667b81"
"uuid": "117a83be-5fee-402e-bef1-1a0f2e193f70"
}
],
"results": {},
"status": "C",
"timesout_on": "2000-01-01T00:00:00.000000000-00:00",
"uuid": "46ebe353-73dc-4dd5-99d8-7f6d0b9d4bb4"
"uuid": "43f4b7f6-80a2-40d9-b121-279fe1661064"
}
]
}
Expand Down
Loading

0 comments on commit 756026e

Please sign in to comment.