-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Output is now session, more tests, fix index offsets for jsonparser
- Loading branch information
1 parent
98f4c72
commit 6dce6be
Showing
17 changed files
with
529 additions
and
172 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
# Compiled Object files, Static and Dynamic libs (Shared Objects) | ||
.vscode | ||
*~ | ||
*.o | ||
*.a | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,238 @@ | ||
{ | ||
"resume_events": [], | ||
"outputs": [ | ||
{ | ||
"runs": [ | ||
{ | ||
"uuid": "", | ||
"flow": "flow1", | ||
"channel": "", | ||
"contact": "contact1-test-4b7f-a34b-e37e31e86451", | ||
"path": [ | ||
{ | ||
"uuid": "", | ||
"node": "node1", | ||
"arrived_on": "2000-01-01T00:00:00.000000000-00:00", | ||
"left_on": "2000-01-01T00:00:00.000000000-00:00", | ||
"events": [ | ||
{ | ||
"type": "add_to_group", | ||
"created_on": "2000-01-01T00:00:00.000000000-00:00", | ||
"step": "", | ||
"groups": [ | ||
{ | ||
"uuid": "", | ||
"name": "Survey Audience" | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "save_to_contact", | ||
"created_on": "2000-01-01T00:00:00.000000000-00:00", | ||
"step": "", | ||
"field": "f06c5b73-eb0d-4417-b7e0-4f650ed30dc8", | ||
"name": "activation_token", | ||
"value": "XXX-YYY-ZZZ" | ||
}, | ||
{ | ||
"type": "email", | ||
"created_on": "2000-01-01T00:00:00.000000000-00:00", | ||
"step": "", | ||
"email": "", | ||
"subject": "Here is your activation token", | ||
"body": "Your activation token is XXX-YYY-ZZZ" | ||
}, | ||
{ | ||
"type": "flow_enter", | ||
"created_on": "2000-01-01T00:00:00.000000000-00:00", | ||
"step": "", | ||
"flow": "b7cf0d83-f1c9-411c-96fd-c511a4cfa86d", | ||
"contact": "contact1-test-4b7f-a34b-e37e31e86451" | ||
}, | ||
{ | ||
"type": "flow_exit", | ||
"created_on": "2000-01-01T00:00:00.000000000-00:00", | ||
"step": "", | ||
"flow": "b7cf0d83-f1c9-411c-96fd-c511a4cfa86d", | ||
"contact": "contact1-test-4b7f-a34b-e37e31e86451", | ||
"status": "C", | ||
"exited_on": "2000-01-01T00:00:00.000000000-00:00" | ||
}, | ||
{ | ||
"type": "msg_out", | ||
"created_on": "2000-01-01T00:00:00.000000000-00:00", | ||
"step": "", | ||
"urn": "tel:+12065551212", | ||
"text": "Hi Ben Haggerty, are you ready?" | ||
}, | ||
{ | ||
"type": "msg_out", | ||
"created_on": "2000-01-01T00:00:00.000000000-00:00", | ||
"step": "", | ||
"contact": "contact1-test-4b7f-a34b-e37e31e86451", | ||
"text": "Hi Ben Haggerty, are you ready to complete today's survey?" | ||
}, | ||
{ | ||
"type": "save_result", | ||
"created_on": "2000-01-01T00:00:00.000000000-00:00", | ||
"step": "", | ||
"node": "node1", | ||
"name": "gender", | ||
"value": "m", | ||
"category": "Male" | ||
}, | ||
{ | ||
"type": "save_to_contact", | ||
"created_on": "2000-01-01T00:00:00.000000000-00:00", | ||
"step": "", | ||
"field": "0cb17b2a-3bfe-4a19-8c99-98ab9561045d", | ||
"name": "Gender", | ||
"value": "Male" | ||
}, | ||
{ | ||
"type": "error", | ||
"created_on": "2000-01-01T00:00:00.000000000-00:00", | ||
"step": "", | ||
"text": "Get http://127.0.0.1:49999/?cmd=success: dial tcp 127.0.0.1:49999: getsockopt: connection refused" | ||
}, | ||
{ | ||
"type": "webhook", | ||
"created_on": "2000-01-01T00:00:00.000000000-00:00", | ||
"step": "", | ||
"url": "http://127.0.0.1:49999/?cmd=success", | ||
"status": "F", | ||
"status_code": 0, | ||
"request": "GET /?cmd=success HTTP/1.1\r\nHost: 127.0.0.1:49999\r\nUser-Agent: Go-http-client/1.1\r\nAccept-Encoding: gzip\r\n\r\n", | ||
"response": "" | ||
} | ||
] | ||
} | ||
], | ||
"status": "C", | ||
"child": "c458a838-efa8-42d7-a655-3e4784bcbf5b", | ||
"results": { | ||
"gender": { | ||
"node": "node1", | ||
"name": "gender", | ||
"value": "m", | ||
"category": "Male", | ||
"created_on": "2000-01-01T00:00:00.000000000-00:00" | ||
} | ||
}, | ||
"created_on": "2000-01-01T00:00:00.000000000-00:00", | ||
"modified_on": "2000-01-01T00:00:00.000000000-00:00", | ||
"expires_on": "2000-01-01T00:00:00.000000000-00:00", | ||
"timesout_on": "2000-01-01T00:00:00.000000000-00:00", | ||
"exited_on": "2000-01-01T00:00:00.000000000-00:00" | ||
}, | ||
{ | ||
"uuid": "", | ||
"flow": "b7cf0d83-f1c9-411c-96fd-c511a4cfa86d", | ||
"channel": "", | ||
"contact": "contact1-test-4b7f-a34b-e37e31e86451", | ||
"path": [], | ||
"status": "C", | ||
"parent": "2d17c317-93c1-497d-879d-3ed56cf1b0d4", | ||
"results": {}, | ||
"created_on": "2000-01-01T00:00:00.000000000-00:00", | ||
"modified_on": "2000-01-01T00:00:00.000000000-00:00", | ||
"expires_on": "2000-01-01T00:00:00.000000000-00:00", | ||
"timesout_on": "2000-01-01T00:00:00.000000000-00:00", | ||
"exited_on": "2000-01-01T00:00:00.000000000-00:00" | ||
} | ||
], | ||
"events": [ | ||
{ | ||
"type": "add_to_group", | ||
"created_on": "2000-01-01T00:00:00.000000000-00:00", | ||
"step": "", | ||
"groups": [ | ||
{ | ||
"uuid": "", | ||
"name": "Survey Audience" | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "save_to_contact", | ||
"created_on": "2000-01-01T00:00:00.000000000-00:00", | ||
"step": "", | ||
"field": "f06c5b73-eb0d-4417-b7e0-4f650ed30dc8", | ||
"name": "activation_token", | ||
"value": "XXX-YYY-ZZZ" | ||
}, | ||
{ | ||
"type": "email", | ||
"created_on": "2000-01-01T00:00:00.000000000-00:00", | ||
"step": "", | ||
"email": "", | ||
"subject": "Here is your activation token", | ||
"body": "Your activation token is XXX-YYY-ZZZ" | ||
}, | ||
{ | ||
"type": "flow_enter", | ||
"created_on": "2000-01-01T00:00:00.000000000-00:00", | ||
"step": "", | ||
"flow": "b7cf0d83-f1c9-411c-96fd-c511a4cfa86d", | ||
"contact": "contact1-test-4b7f-a34b-e37e31e86451" | ||
}, | ||
{ | ||
"type": "flow_exit", | ||
"created_on": "2000-01-01T00:00:00.000000000-00:00", | ||
"step": "", | ||
"flow": "b7cf0d83-f1c9-411c-96fd-c511a4cfa86d", | ||
"contact": "contact1-test-4b7f-a34b-e37e31e86451", | ||
"status": "C", | ||
"exited_on": "2000-01-01T00:00:00.000000000-00:00" | ||
}, | ||
{ | ||
"type": "msg_out", | ||
"created_on": "2000-01-01T00:00:00.000000000-00:00", | ||
"step": "", | ||
"urn": "tel:+12065551212", | ||
"text": "Hi Ben Haggerty, are you ready?" | ||
}, | ||
{ | ||
"type": "msg_out", | ||
"created_on": "2000-01-01T00:00:00.000000000-00:00", | ||
"step": "", | ||
"contact": "contact1-test-4b7f-a34b-e37e31e86451", | ||
"text": "Hi Ben Haggerty, are you ready to complete today's survey?" | ||
}, | ||
{ | ||
"type": "save_result", | ||
"created_on": "2000-01-01T00:00:00.000000000-00:00", | ||
"step": "", | ||
"node": "node1", | ||
"name": "gender", | ||
"value": "m", | ||
"category": "Male" | ||
}, | ||
{ | ||
"type": "save_to_contact", | ||
"created_on": "2000-01-01T00:00:00.000000000-00:00", | ||
"step": "", | ||
"field": "0cb17b2a-3bfe-4a19-8c99-98ab9561045d", | ||
"name": "Gender", | ||
"value": "Male" | ||
}, | ||
{ | ||
"type": "error", | ||
"created_on": "2000-01-01T00:00:00.000000000-00:00", | ||
"step": "", | ||
"text": "Get http://127.0.0.1:49999/?cmd=success: dial tcp 127.0.0.1:49999: getsockopt: connection refused" | ||
}, | ||
{ | ||
"type": "webhook", | ||
"created_on": "2000-01-01T00:00:00.000000000-00:00", | ||
"step": "", | ||
"url": "http://127.0.0.1:49999/?cmd=success", | ||
"status": "F", | ||
"status_code": 0, | ||
"request": "GET /?cmd=success HTTP/1.1\r\nHost: 127.0.0.1:49999\r\nUser-Agent: Go-http-client/1.1\r\nAccept-Encoding: gzip\r\n\r\n", | ||
"response": "" | ||
} | ||
] | ||
} | ||
] | ||
} |
Oops, something went wrong.