From 23af01ce81eaef162bc4efc8c70136773e8e9fb3 Mon Sep 17 00:00:00 2001 From: Rowan Seymour Date: Mon, 2 Dec 2024 22:13:02 +0000 Subject: [PATCH] Remove unused fields from run result events --- flows/actions/testdata/call_classifier.json | 10 ++---- flows/actions/testdata/call_resthook.json | 5 +-- flows/actions/testdata/call_webhook.json | 14 +++----- flows/actions/testdata/send_broadcast.json | 6 ++-- flows/actions/testdata/set_run_result.json | 3 +- flows/actions/testdata/start_session.json | 6 ++-- flows/events/run_result_changed.go | 35 +++++++------------ flows/resumes/testdata/dial.json | 3 +- flows/resumes/testdata/msg.json | 3 +- flows/routers/testdata/random.json | 3 +- flows/routers/testdata/switch.json | 12 +++---- test/testdata/runner/brochure.test.json | 2 -- test/testdata/runner/date_parse.test.json | 2 -- test/testdata/runner/default_result.test.json | 2 -- .../testdata/runner/enter_flow_loop.test.json | 9 ----- .../expirations.test_input_for_all.json | 9 ----- test/testdata/runner/extra.test.json | 8 ----- test/testdata/runner/initial_wait.test.json | 2 -- test/testdata/runner/ivr_dial.busy.json | 2 -- .../runner/legacy_favorites.test.json | 5 --- .../runner/legacy_registration.test.json | 11 ------ test/testdata/runner/legacy_subflow.test.json | 5 --- test/testdata/runner/legacy_timeout.test.json | 2 -- test/testdata/runner/legacy_webhook.test.json | 2 -- test/testdata/runner/nlu_booking.flight.json | 6 ---- .../runner/number_quiz.exceed_limit.json | 9 ----- test/testdata/runner/phone_number.test.json | 5 --- test/testdata/runner/resthook.test.json | 2 -- test/testdata/runner/router_tests.test.json | 4 --- test/testdata/runner/subflow.test.json | 2 -- test/testdata/runner/subflow_other.test.json | 14 -------- test/testdata/runner/ticketing.test.json | 2 -- test/testdata/runner/two_questions.test.json | 7 ---- .../runner/two_questions_offline.test.json | 7 ---- .../runner/webhook_migrated.test.json | 6 ---- .../testdata/runner/webhook_results.test.json | 12 ------- 36 files changed, 35 insertions(+), 202 deletions(-) diff --git a/flows/actions/testdata/call_classifier.json b/flows/actions/testdata/call_classifier.json index be288d8f7..4e216afc4 100644 --- a/flows/actions/testdata/call_classifier.json +++ b/flows/actions/testdata/call_classifier.json @@ -24,8 +24,7 @@ "step_uuid": "59d74b86-3e2f-4a93-aece-b05d2fdcde0c", "name": "Intent", "value": "0", - "category": "Failure", - "input": "Hi everybody" + "category": "Failure" } ], "templates": [ @@ -179,7 +178,6 @@ "name": "Intent", "value": "book_flight", "category": "Success", - "input": "Hi everybody", "extra": { "intents": [ { @@ -283,8 +281,7 @@ "step_uuid": "59d74b86-3e2f-4a93-aece-b05d2fdcde0c", "name": "Intent", "value": "0", - "category": "Failure", - "input": "Hi everybody" + "category": "Failure" } ], "templates": [ @@ -370,8 +367,7 @@ "step_uuid": "59d74b86-3e2f-4a93-aece-b05d2fdcde0c", "name": "Intent", "value": "0", - "category": "Failure", - "input": "Hi everybody" + "category": "Failure" } ], "templates": [ diff --git a/flows/actions/testdata/call_resthook.json b/flows/actions/testdata/call_resthook.json index 34624223e..0f6ebc653 100644 --- a/flows/actions/testdata/call_resthook.json +++ b/flows/actions/testdata/call_resthook.json @@ -263,8 +263,7 @@ "step_uuid": "59d74b86-3e2f-4a93-aece-b05d2fdcde0c", "name": "My Result", "value": "503", - "category": "Failure", - "input": "POST http://unavailable.com/" + "category": "Failure" } ], "webhook": { @@ -411,7 +410,6 @@ "name": "My Result", "value": "200", "category": "Success", - "input": "POST http://temba.io/", "extra": { "ok": "true" } @@ -643,7 +641,6 @@ "name": "My Result", "value": "503", "category": "Failure", - "input": "POST http://unavailable.com/", "extra": { "errors": [ "service unavailable" diff --git a/flows/actions/testdata/call_webhook.json b/flows/actions/testdata/call_webhook.json index 78d9910e5..e494397d7 100644 --- a/flows/actions/testdata/call_webhook.json +++ b/flows/actions/testdata/call_webhook.json @@ -252,7 +252,6 @@ "name": "My Webhook", "value": "200", "category": "Success", - "input": "POST http://temba.io/", "extra": { "ok": true } @@ -391,8 +390,7 @@ "step_uuid": "59d74b86-3e2f-4a93-aece-b05d2fdcde0c", "name": "My Webhook", "value": "200", - "category": "Success", - "input": "GET http://temba.io/" + "category": "Success" } ], "webhook": { @@ -463,8 +461,7 @@ "step_uuid": "59d74b86-3e2f-4a93-aece-b05d2fdcde0c", "name": "My Webhook", "value": "200", - "category": "Success", - "input": "GET http://temba.io/" + "category": "Success" } ], "webhook": { @@ -537,7 +534,6 @@ "name": "My Webhook", "value": "400", "category": "Failure", - "input": "POST http://temba.io/", "extra": { "errors": [ "bad_request" @@ -615,8 +611,7 @@ "step_uuid": "59d74b86-3e2f-4a93-aece-b05d2fdcde0c", "name": "My Webhook", "value": "0", - "category": "Failure", - "input": "POST http://temba.io/" + "category": "Failure" } ], "webhook": { @@ -693,8 +688,7 @@ "step_uuid": "59d74b86-3e2f-4a93-aece-b05d2fdcde0c", "name": "My Webhook", "value": "200", - "category": "Failure", - "input": "GET http://temba.io/" + "category": "Failure" } ], "webhook": { diff --git a/flows/actions/testdata/send_broadcast.json b/flows/actions/testdata/send_broadcast.json index 68e4e3fdf..2ba171516 100644 --- a/flows/actions/testdata/send_broadcast.json +++ b/flows/actions/testdata/send_broadcast.json @@ -128,9 +128,6 @@ "action": { "type": "send_broadcast", "uuid": "ad154980-7bf7-4ab8-8728-545fd6378912", - "urns": [ - "tel:+1234567890" - ], "groups": [ { "uuid": "b7cf0d83-f1c9-411c-96fd-c511a4cfa86d", @@ -144,6 +141,9 @@ } ], "contact_query": "name = \"Bob\"", + "urns": [ + "tel:+1234567890" + ], "legacy_vars": [ "@(\"\")", "@contact.fields.gender", diff --git a/flows/actions/testdata/set_run_result.json b/flows/actions/testdata/set_run_result.json index 1d2e311a0..61004a76b 100644 --- a/flows/actions/testdata/set_run_result.json +++ b/flows/actions/testdata/set_run_result.json @@ -208,8 +208,7 @@ "step_uuid": "59d74b86-3e2f-4a93-aece-b05d2fdcde0c", "name": "Preference", "value": "yeah", - "category": "Yes", - "category_localized": "Si" + "category": "Yes" } ], "templates": [ diff --git a/flows/actions/testdata/start_session.json b/flows/actions/testdata/start_session.json index 202483b27..5579b875c 100644 --- a/flows/actions/testdata/start_session.json +++ b/flows/actions/testdata/start_session.json @@ -275,9 +275,6 @@ "action": { "type": "start_session", "uuid": "ad154980-7bf7-4ab8-8728-545fd6378912", - "urns": [ - "tel:+1234567890" - ], "groups": [ { "uuid": "b7cf0d83-f1c9-411c-96fd-c511a4cfa86d", @@ -291,6 +288,9 @@ } ], "contact_query": "age > 20 OR gender = @fields.gender", + "urns": [ + "tel:+1234567890" + ], "legacy_vars": [ "@(\"5129165834\")" ], diff --git a/flows/events/run_result_changed.go b/flows/events/run_result_changed.go index ce53b172c..d4aa585a3 100644 --- a/flows/events/run_result_changed.go +++ b/flows/events/run_result_changed.go @@ -18,32 +18,25 @@ type PreviousResult struct { Category string `json:"category"` } -// RunResultChangedEvent events are created when a run result is saved. They contain not only -// the name, value and category of the result, but also the UUID of the node where -// the result was generated. +// RunResultChangedEvent events are created when a run result is changed. // // { // "type": "run_result_changed", // "created_on": "2006-01-02T15:04:05Z", // "name": "Gender", // "value": "m", -// "category": "Male", -// "category_localized": "Homme", -// "node_uuid": "b7cf0d83-f1c9-411c-96fd-c511a4cfa86d", -// "input": "M" +// "category": "Male" // } // // @event run_result_changed type RunResultChangedEvent struct { BaseEvent - Name string `json:"name" validate:"required"` - Value string `json:"value"` - Category string `json:"category"` - CategoryLocalized string `json:"category_localized,omitempty"` - Input string `json:"input,omitempty"` - Extra json.RawMessage `json:"extra,omitempty"` - Previous *PreviousResult `json:"previous,omitempty"` + Name string `json:"name" validate:"required"` + Value string `json:"value"` + Category string `json:"category"` + Extra json.RawMessage `json:"extra,omitempty"` + Previous *PreviousResult `json:"previous,omitempty"` } // NewRunResultChanged returns a new save result event for the passed in values @@ -57,13 +50,11 @@ func NewRunResultChanged(result, prev *flows.Result) *RunResultChangedEvent { } return &RunResultChangedEvent{ - BaseEvent: NewBaseEvent(TypeRunResultChanged), - Name: result.Name, - Value: result.Value, - Category: result.Category, - CategoryLocalized: result.CategoryLocalized, - Input: result.Input, - Extra: result.Extra, - Previous: p, + BaseEvent: NewBaseEvent(TypeRunResultChanged), + Name: result.Name, + Value: result.Value, + Category: result.Category, + Extra: result.Extra, + Previous: p, } } diff --git a/flows/resumes/testdata/dial.json b/flows/resumes/testdata/dial.json index 4ea928d6e..45bfbde0d 100644 --- a/flows/resumes/testdata/dial.json +++ b/flows/resumes/testdata/dial.json @@ -39,8 +39,7 @@ "step_uuid": "9688d21d-95aa-4bed-afc7-f31b35731a3d", "name": "Redirect", "value": "answered", - "category": "Success", - "input": "answered" + "category": "Success" } ], "run_status": "completed", diff --git a/flows/resumes/testdata/msg.json b/flows/resumes/testdata/msg.json index add875b29..53a4a533d 100644 --- a/flows/resumes/testdata/msg.json +++ b/flows/resumes/testdata/msg.json @@ -52,8 +52,7 @@ "step_uuid": "9688d21d-95aa-4bed-afc7-f31b35731a3d", "name": "Favorite Color", "value": "red", - "category": "Red", - "input": "red" + "category": "Red" } ], "run_status": "completed", diff --git a/flows/routers/testdata/random.json b/flows/routers/testdata/random.json index 37002472d..b2d51acc1 100644 --- a/flows/routers/testdata/random.json +++ b/flows/routers/testdata/random.json @@ -39,8 +39,7 @@ "step_uuid": "59d74b86-3e2f-4a93-aece-b05d2fdcde0c", "name": "Random Result", "value": "1", - "category": "No", - "input": "0.3849275689214193" + "category": "No" } ], "localizables": [ diff --git a/flows/routers/testdata/switch.json b/flows/routers/testdata/switch.json index 7ad583a00..353e2d82a 100644 --- a/flows/routers/testdata/switch.json +++ b/flows/routers/testdata/switch.json @@ -194,8 +194,7 @@ "step_uuid": "59d74b86-3e2f-4a93-aece-b05d2fdcde0c", "name": "Favorite Color", "value": "YES", - "category": "Yes", - "input": "YES!!" + "category": "Yes" } ], "templates": [ @@ -284,8 +283,7 @@ "step_uuid": "59d74b86-3e2f-4a93-aece-b05d2fdcde0c", "name": "Is Member", "value": "[]", - "category": "Other", - "input": "[]" + "category": "Other" } ], "templates": [ @@ -374,8 +372,7 @@ "step_uuid": "59d74b86-3e2f-4a93-aece-b05d2fdcde0c", "name": "In Group", "value": "[]", - "category": "Other", - "input": "[]" + "category": "Other" } ], "templates": [ @@ -483,8 +480,7 @@ "step_uuid": "59d74b86-3e2f-4a93-aece-b05d2fdcde0c", "name": "Favorite Color", "value": "YES", - "category": "Yes", - "input": "YES!!" + "category": "Yes" } ], "templates": [ diff --git a/test/testdata/runner/brochure.test.json b/test/testdata/runner/brochure.test.json index 8305f61a2..0233c2808 100644 --- a/test/testdata/runner/brochure.test.json +++ b/test/testdata/runner/brochure.test.json @@ -187,7 +187,6 @@ { "category": "Not Empty", "created_on": "2018-07-06T12:30:14.123456789Z", - "input": "Ryan Lewis", "name": "Name", "step_uuid": "5802813d-6c58-4292-8228-9728778b6c98", "type": "run_result_changed", @@ -333,7 +332,6 @@ { "category": "Not Empty", "created_on": "2018-07-06T12:30:14.123456789Z", - "input": "Ryan Lewis", "name": "Name", "step_uuid": "5802813d-6c58-4292-8228-9728778b6c98", "type": "run_result_changed", diff --git a/test/testdata/runner/date_parse.test.json b/test/testdata/runner/date_parse.test.json index a2fe2fe57..bc0aeda54 100644 --- a/test/testdata/runner/date_parse.test.json +++ b/test/testdata/runner/date_parse.test.json @@ -173,7 +173,6 @@ { "category": "Valid", "created_on": "2018-07-06T12:30:13.123456789Z", - "input": "I was born on 1977.06.23 at 3:34 pm", "name": "Birth Date", "step_uuid": "8720f157-ca1c-432f-9c0b-2014ddc77094", "type": "run_result_changed", @@ -313,7 +312,6 @@ { "category": "Valid", "created_on": "2018-07-06T12:30:13.123456789Z", - "input": "I was born on 1977.06.23 at 3:34 pm", "name": "Birth Date", "step_uuid": "8720f157-ca1c-432f-9c0b-2014ddc77094", "type": "run_result_changed", diff --git a/test/testdata/runner/default_result.test.json b/test/testdata/runner/default_result.test.json index 53e795d67..bc6f304f2 100644 --- a/test/testdata/runner/default_result.test.json +++ b/test/testdata/runner/default_result.test.json @@ -170,7 +170,6 @@ { "category": "All Responses", "created_on": "2018-07-06T12:30:14.123456789Z", - "input": "Ryan Lewis", "name": "Contact Name", "step_uuid": "5802813d-6c58-4292-8228-9728778b6c98", "type": "run_result_changed", @@ -308,7 +307,6 @@ { "category": "All Responses", "created_on": "2018-07-06T12:30:14.123456789Z", - "input": "Ryan Lewis", "name": "Contact Name", "step_uuid": "5802813d-6c58-4292-8228-9728778b6c98", "type": "run_result_changed", diff --git a/test/testdata/runner/enter_flow_loop.test.json b/test/testdata/runner/enter_flow_loop.test.json index 805a6c6ea..1f9ee3c35 100644 --- a/test/testdata/runner/enter_flow_loop.test.json +++ b/test/testdata/runner/enter_flow_loop.test.json @@ -160,7 +160,6 @@ { "category": "Name", "created_on": "2018-07-06T12:30:15.123456789Z", - "input": "name", "name": "Command", "step_uuid": "5802813d-6c58-4292-8228-9728778b6c98", "type": "run_result_changed", @@ -324,7 +323,6 @@ { "category": "Name", "created_on": "2018-07-06T12:30:15.123456789Z", - "input": "name", "name": "Command", "step_uuid": "5802813d-6c58-4292-8228-9728778b6c98", "type": "run_result_changed", @@ -545,7 +543,6 @@ { "category": "Name", "created_on": "2018-07-06T12:30:51.123456789Z", - "input": "name", "name": "Command", "step_uuid": "b52a7f80-f820-4163-9654-8a7258fbaae4", "type": "run_result_changed", @@ -703,7 +700,6 @@ { "category": "Name", "created_on": "2018-07-06T12:30:15.123456789Z", - "input": "name", "name": "Command", "step_uuid": "5802813d-6c58-4292-8228-9728778b6c98", "type": "run_result_changed", @@ -855,7 +851,6 @@ { "category": "Name", "created_on": "2018-07-06T12:30:51.123456789Z", - "input": "name", "name": "Command", "step_uuid": "b52a7f80-f820-4163-9654-8a7258fbaae4", "type": "run_result_changed", @@ -1071,7 +1066,6 @@ { "category": "Exit", "created_on": "2018-07-06T12:31:29.123456789Z", - "input": "exit", "name": "Command", "step_uuid": "4c9abf31-d821-4e97-ba7e-53c2263e32f8", "type": "run_result_changed", @@ -1149,7 +1143,6 @@ { "category": "Name", "created_on": "2018-07-06T12:30:15.123456789Z", - "input": "name", "name": "Command", "step_uuid": "5802813d-6c58-4292-8228-9728778b6c98", "type": "run_result_changed", @@ -1301,7 +1294,6 @@ { "category": "Name", "created_on": "2018-07-06T12:30:51.123456789Z", - "input": "name", "name": "Command", "step_uuid": "b52a7f80-f820-4163-9654-8a7258fbaae4", "type": "run_result_changed", @@ -1448,7 +1440,6 @@ { "category": "Exit", "created_on": "2018-07-06T12:31:29.123456789Z", - "input": "exit", "name": "Command", "step_uuid": "4c9abf31-d821-4e97-ba7e-53c2263e32f8", "type": "run_result_changed", diff --git a/test/testdata/runner/expirations.test_input_for_all.json b/test/testdata/runner/expirations.test_input_for_all.json index 4f1f1a1a7..b241e6694 100644 --- a/test/testdata/runner/expirations.test_input_for_all.json +++ b/test/testdata/runner/expirations.test_input_for_all.json @@ -250,7 +250,6 @@ { "category": "All Responses", "created_on": "2018-07-06T12:30:23.123456789Z", - "input": "Dwayne", "name": "First Name", "step_uuid": "a4d15ed4-5b24-407f-b86e-4b881f09a186", "type": "run_result_changed", @@ -469,7 +468,6 @@ { "category": "All Responses", "created_on": "2018-07-06T12:30:23.123456789Z", - "input": "Dwayne", "name": "First Name", "step_uuid": "a4d15ed4-5b24-407f-b86e-4b881f09a186", "type": "run_result_changed", @@ -569,7 +567,6 @@ { "category": "All Responses", "created_on": "2018-07-06T12:30:43.123456789Z", - "input": "Douglas", "name": "Middle Name", "step_uuid": "4f15f627-b1e2-4851-8dbf-00ecf5d03034", "type": "run_result_changed", @@ -772,7 +769,6 @@ { "category": "All Responses", "created_on": "2018-07-06T12:30:43.123456789Z", - "input": "Douglas", "name": "Middle Name", "step_uuid": "4f15f627-b1e2-4851-8dbf-00ecf5d03034", "type": "run_result_changed", @@ -853,7 +849,6 @@ { "category": "All Responses", "created_on": "2018-07-06T12:30:23.123456789Z", - "input": "Dwayne", "name": "First Name", "step_uuid": "a4d15ed4-5b24-407f-b86e-4b881f09a186", "type": "run_result_changed", @@ -953,7 +948,6 @@ { "category": "All Responses", "created_on": "2018-07-06T12:31:03.123456789Z", - "input": "Johnson", "name": "Last Name", "step_uuid": "b52a7f80-f820-4163-9654-8a7258fbaae4", "type": "run_result_changed", @@ -1050,7 +1044,6 @@ { "category": "All Responses", "created_on": "2018-07-06T12:31:03.123456789Z", - "input": "Johnson", "name": "Last Name", "step_uuid": "b52a7f80-f820-4163-9654-8a7258fbaae4", "type": "run_result_changed", @@ -1147,7 +1140,6 @@ { "category": "All Responses", "created_on": "2018-07-06T12:30:43.123456789Z", - "input": "Douglas", "name": "Middle Name", "step_uuid": "4f15f627-b1e2-4851-8dbf-00ecf5d03034", "type": "run_result_changed", @@ -1228,7 +1220,6 @@ { "category": "All Responses", "created_on": "2018-07-06T12:30:23.123456789Z", - "input": "Dwayne", "name": "First Name", "step_uuid": "a4d15ed4-5b24-407f-b86e-4b881f09a186", "type": "run_result_changed", diff --git a/test/testdata/runner/extra.test.json b/test/testdata/runner/extra.test.json index e5d41c6b8..ee751a4c7 100644 --- a/test/testdata/runner/extra.test.json +++ b/test/testdata/runner/extra.test.json @@ -39,7 +39,6 @@ "1": "Ben", "2": "Haggerty" }, - "input": "Ben Haggerty", "name": "Name Check", "step_uuid": "5802813d-6c58-4292-8228-9728778b6c98", "type": "run_result_changed", @@ -85,7 +84,6 @@ "extra": { "ok": "true" }, - "input": "GET http://localhost/?cmd=extra", "name": "webhook", "step_uuid": "970b8069-50f5-4f6f-8f41-6b2d9f33d623", "type": "run_result_changed", @@ -192,7 +190,6 @@ "1": "Ben", "2": "Haggerty" }, - "input": "Ben Haggerty", "name": "Name Check", "step_uuid": "5802813d-6c58-4292-8228-9728778b6c98", "type": "run_result_changed", @@ -238,7 +235,6 @@ "extra": { "ok": "true" }, - "input": "GET http://localhost/?cmd=extra", "name": "webhook", "step_uuid": "970b8069-50f5-4f6f-8f41-6b2d9f33d623", "type": "run_result_changed", @@ -376,7 +372,6 @@ { "category": "", "created_on": "2018-07-06T12:30:38.123456789Z", - "input": "Ryan Lewis", "name": "Continue", "step_uuid": "970b8069-50f5-4f6f-8f41-6b2d9f33d623", "type": "run_result_changed", @@ -483,7 +478,6 @@ "1": "Ben", "2": "Haggerty" }, - "input": "Ben Haggerty", "name": "Name Check", "step_uuid": "5802813d-6c58-4292-8228-9728778b6c98", "type": "run_result_changed", @@ -529,7 +523,6 @@ "extra": { "ok": "true" }, - "input": "GET http://localhost/?cmd=extra", "name": "webhook", "step_uuid": "970b8069-50f5-4f6f-8f41-6b2d9f33d623", "type": "run_result_changed", @@ -578,7 +571,6 @@ { "category": "", "created_on": "2018-07-06T12:30:38.123456789Z", - "input": "Ryan Lewis", "name": "Continue", "step_uuid": "970b8069-50f5-4f6f-8f41-6b2d9f33d623", "type": "run_result_changed", diff --git a/test/testdata/runner/initial_wait.test.json b/test/testdata/runner/initial_wait.test.json index fbf3f754f..8d928585f 100644 --- a/test/testdata/runner/initial_wait.test.json +++ b/test/testdata/runner/initial_wait.test.json @@ -15,7 +15,6 @@ { "category": "Ping", "created_on": "2018-07-06T12:30:06.123456789Z", - "input": "PING", "name": "Command", "step_uuid": "8720f157-ca1c-432f-9c0b-2014ddc77094", "type": "run_result_changed", @@ -103,7 +102,6 @@ { "category": "Ping", "created_on": "2018-07-06T12:30:06.123456789Z", - "input": "PING", "name": "Command", "step_uuid": "8720f157-ca1c-432f-9c0b-2014ddc77094", "type": "run_result_changed", diff --git a/test/testdata/runner/ivr_dial.busy.json b/test/testdata/runner/ivr_dial.busy.json index fba76f5c6..676d86e9d 100644 --- a/test/testdata/runner/ivr_dial.busy.json +++ b/test/testdata/runner/ivr_dial.busy.json @@ -147,7 +147,6 @@ { "category": "Busy", "created_on": "2018-07-06T12:30:11.123456789Z", - "input": "busy", "name": "Redirect", "step_uuid": "8720f157-ca1c-432f-9c0b-2014ddc77094", "type": "run_result_changed", @@ -215,7 +214,6 @@ { "category": "Busy", "created_on": "2018-07-06T12:30:11.123456789Z", - "input": "busy", "name": "Redirect", "step_uuid": "8720f157-ca1c-432f-9c0b-2014ddc77094", "type": "run_result_changed", diff --git a/test/testdata/runner/legacy_favorites.test.json b/test/testdata/runner/legacy_favorites.test.json index 9b104bcf1..31b05b037 100644 --- a/test/testdata/runner/legacy_favorites.test.json +++ b/test/testdata/runner/legacy_favorites.test.json @@ -162,7 +162,6 @@ { "category": "Blue", "created_on": "2018-07-06T12:30:15.123456789Z", - "input": "I like blue!", "name": "Color", "step_uuid": "b52a7f80-f820-4163-9654-8a7258fbaae4", "type": "run_result_changed", @@ -277,7 +276,6 @@ { "category": "Blue", "created_on": "2018-07-06T12:30:15.123456789Z", - "input": "I like blue!", "name": "Color", "step_uuid": "b52a7f80-f820-4163-9654-8a7258fbaae4", "type": "run_result_changed", @@ -406,7 +404,6 @@ { "category": "Pilsner", "created_on": "2018-07-06T12:30:32.123456789Z", - "input": "Pilsner", "name": "Beer", "step_uuid": "b504fe9e-d8a8-47fd-af9c-ff2f1faac4db", "type": "run_result_changed", @@ -508,7 +505,6 @@ { "category": "Blue", "created_on": "2018-07-06T12:30:15.123456789Z", - "input": "I like blue!", "name": "Color", "step_uuid": "b52a7f80-f820-4163-9654-8a7258fbaae4", "type": "run_result_changed", @@ -548,7 +544,6 @@ { "category": "Pilsner", "created_on": "2018-07-06T12:30:32.123456789Z", - "input": "Pilsner", "name": "Beer", "step_uuid": "b504fe9e-d8a8-47fd-af9c-ff2f1faac4db", "type": "run_result_changed", diff --git a/test/testdata/runner/legacy_registration.test.json b/test/testdata/runner/legacy_registration.test.json index da2f0692d..ba0edf689 100644 --- a/test/testdata/runner/legacy_registration.test.json +++ b/test/testdata/runner/legacy_registration.test.json @@ -162,7 +162,6 @@ { "category": "All Responses", "created_on": "2018-07-06T12:30:15.123456789Z", - "input": "Bobby", "name": "Name", "step_uuid": "4f15f627-b1e2-4851-8dbf-00ecf5d03034", "type": "run_result_changed", @@ -281,7 +280,6 @@ { "category": "All Responses", "created_on": "2018-07-06T12:30:15.123456789Z", - "input": "Bobby", "name": "Name", "step_uuid": "4f15f627-b1e2-4851-8dbf-00ecf5d03034", "type": "run_result_changed", @@ -414,7 +412,6 @@ { "category": "Other", "created_on": "2018-07-06T12:30:34.123456789Z", - "input": "123", "name": "Age", "step_uuid": "b52a7f80-f820-4163-9654-8a7258fbaae4", "type": "run_result_changed", @@ -527,7 +524,6 @@ { "category": "All Responses", "created_on": "2018-07-06T12:30:15.123456789Z", - "input": "Bobby", "name": "Name", "step_uuid": "4f15f627-b1e2-4851-8dbf-00ecf5d03034", "type": "run_result_changed", @@ -569,7 +565,6 @@ { "category": "Other", "created_on": "2018-07-06T12:30:34.123456789Z", - "input": "123", "name": "Age", "step_uuid": "b52a7f80-f820-4163-9654-8a7258fbaae4", "type": "run_result_changed", @@ -716,7 +711,6 @@ { "category": "10 - 100", "created_on": "2018-07-06T12:30:51.123456789Z", - "input": "18", "name": "Age", "previous": { "category": "Other", @@ -740,7 +734,6 @@ { "category": "Youth", "created_on": "2018-07-06T12:31:01.123456789Z", - "input": "18", "name": "Response 3", "step_uuid": "b6c40a98-ecfa-4266-9853-0310d032b497", "type": "run_result_changed", @@ -861,7 +854,6 @@ { "category": "All Responses", "created_on": "2018-07-06T12:30:15.123456789Z", - "input": "Bobby", "name": "Name", "step_uuid": "4f15f627-b1e2-4851-8dbf-00ecf5d03034", "type": "run_result_changed", @@ -903,7 +895,6 @@ { "category": "Other", "created_on": "2018-07-06T12:30:34.123456789Z", - "input": "123", "name": "Age", "step_uuid": "b52a7f80-f820-4163-9654-8a7258fbaae4", "type": "run_result_changed", @@ -939,7 +930,6 @@ { "category": "10 - 100", "created_on": "2018-07-06T12:30:51.123456789Z", - "input": "18", "name": "Age", "previous": { "category": "Other", @@ -963,7 +953,6 @@ { "category": "Youth", "created_on": "2018-07-06T12:31:01.123456789Z", - "input": "18", "name": "Response 3", "step_uuid": "b6c40a98-ecfa-4266-9853-0310d032b497", "type": "run_result_changed", diff --git a/test/testdata/runner/legacy_subflow.test.json b/test/testdata/runner/legacy_subflow.test.json index 165d71696..8f843dbe5 100644 --- a/test/testdata/runner/legacy_subflow.test.json +++ b/test/testdata/runner/legacy_subflow.test.json @@ -162,7 +162,6 @@ { "category": "Other", "created_on": "2018-07-06T12:30:15.123456789Z", - "input": "xx", "name": "Number", "step_uuid": "312d3af0-a565-4c96-ba00-bd7f0d08e671", "type": "run_result_changed", @@ -275,7 +274,6 @@ { "category": "Other", "created_on": "2018-07-06T12:30:15.123456789Z", - "input": "xx", "name": "Number", "step_uuid": "312d3af0-a565-4c96-ba00-bd7f0d08e671", "type": "run_result_changed", @@ -402,7 +400,6 @@ { "category": "Numeric", "created_on": "2018-07-06T12:30:32.123456789Z", - "input": "13", "name": "Number", "previous": { "category": "Other", @@ -486,7 +483,6 @@ { "category": "Other", "created_on": "2018-07-06T12:30:15.123456789Z", - "input": "xx", "name": "Number", "step_uuid": "312d3af0-a565-4c96-ba00-bd7f0d08e671", "type": "run_result_changed", @@ -522,7 +518,6 @@ { "category": "Numeric", "created_on": "2018-07-06T12:30:32.123456789Z", - "input": "13", "name": "Number", "previous": { "category": "Other", diff --git a/test/testdata/runner/legacy_timeout.test.json b/test/testdata/runner/legacy_timeout.test.json index dce1680c7..8aa7918eb 100644 --- a/test/testdata/runner/legacy_timeout.test.json +++ b/test/testdata/runner/legacy_timeout.test.json @@ -175,7 +175,6 @@ { "category": "Other", "created_on": "2018-07-06T12:30:21.123456789Z", - "input": "30", "name": "Older", "step_uuid": "b52a7f80-f820-4163-9654-8a7258fbaae4", "type": "run_result_changed", @@ -263,7 +262,6 @@ { "category": "Other", "created_on": "2018-07-06T12:30:21.123456789Z", - "input": "30", "name": "Older", "step_uuid": "b52a7f80-f820-4163-9654-8a7258fbaae4", "type": "run_result_changed", diff --git a/test/testdata/runner/legacy_webhook.test.json b/test/testdata/runner/legacy_webhook.test.json index 83b866751..e7293a401 100644 --- a/test/testdata/runner/legacy_webhook.test.json +++ b/test/testdata/runner/legacy_webhook.test.json @@ -29,7 +29,6 @@ "extra": { "foo": "bar" }, - "input": "POST http://localhost/?cmd=foo", "name": "Webhook Result", "step_uuid": "312d3af0-a565-4c96-ba00-bd7f0d08e671", "type": "run_result_changed", @@ -114,7 +113,6 @@ "extra": { "foo": "bar" }, - "input": "POST http://localhost/?cmd=foo", "name": "Webhook Result", "step_uuid": "312d3af0-a565-4c96-ba00-bd7f0d08e671", "type": "run_result_changed", diff --git a/test/testdata/runner/nlu_booking.flight.json b/test/testdata/runner/nlu_booking.flight.json index f2a49bc13..9f7000821 100644 --- a/test/testdata/runner/nlu_booking.flight.json +++ b/test/testdata/runner/nlu_booking.flight.json @@ -160,7 +160,6 @@ { "category": "All Responses", "created_on": "2018-07-06T12:30:14.123456789Z", - "input": "I'd like to book a flight to Quito", "name": "Response 1", "step_uuid": "5802813d-6c58-4292-8228-9728778b6c98", "type": "run_result_changed", @@ -211,7 +210,6 @@ } ] }, - "input": "I'd like to book a flight to Quito", "name": "_Intent Classification", "step_uuid": "970b8069-50f5-4f6f-8f41-6b2d9f33d623", "type": "run_result_changed", @@ -223,7 +221,6 @@ "extra": { "location": "Quito" }, - "input": "book_flight", "name": "Intent", "step_uuid": "970b8069-50f5-4f6f-8f41-6b2d9f33d623", "type": "run_result_changed", @@ -330,7 +327,6 @@ { "category": "All Responses", "created_on": "2018-07-06T12:30:14.123456789Z", - "input": "I'd like to book a flight to Quito", "name": "Response 1", "step_uuid": "5802813d-6c58-4292-8228-9728778b6c98", "type": "run_result_changed", @@ -381,7 +377,6 @@ } ] }, - "input": "I'd like to book a flight to Quito", "name": "_Intent Classification", "step_uuid": "970b8069-50f5-4f6f-8f41-6b2d9f33d623", "type": "run_result_changed", @@ -393,7 +388,6 @@ "extra": { "location": "Quito" }, - "input": "book_flight", "name": "Intent", "step_uuid": "970b8069-50f5-4f6f-8f41-6b2d9f33d623", "type": "run_result_changed", diff --git a/test/testdata/runner/number_quiz.exceed_limit.json b/test/testdata/runner/number_quiz.exceed_limit.json index f013d6e0f..6cb9c0d80 100644 --- a/test/testdata/runner/number_quiz.exceed_limit.json +++ b/test/testdata/runner/number_quiz.exceed_limit.json @@ -170,7 +170,6 @@ { "category": "Other", "created_on": "2018-07-06T12:30:15.123456789Z", - "input": "3", "name": "Result 1", "step_uuid": "5802813d-6c58-4292-8228-9728778b6c98", "type": "run_result_changed", @@ -299,7 +298,6 @@ { "category": "Other", "created_on": "2018-07-06T12:30:15.123456789Z", - "input": "3", "name": "Result 1", "step_uuid": "5802813d-6c58-4292-8228-9728778b6c98", "type": "run_result_changed", @@ -436,7 +434,6 @@ { "category": "Other", "created_on": "2018-07-06T12:30:34.123456789Z", - "input": "5", "name": "Result 1", "previous": { "category": "Other", @@ -569,7 +566,6 @@ { "category": "Other", "created_on": "2018-07-06T12:30:15.123456789Z", - "input": "3", "name": "Result 1", "step_uuid": "5802813d-6c58-4292-8228-9728778b6c98", "type": "run_result_changed", @@ -609,7 +605,6 @@ { "category": "Other", "created_on": "2018-07-06T12:30:34.123456789Z", - "input": "5", "name": "Result 1", "previous": { "category": "Other", @@ -768,7 +763,6 @@ { "category": "Other", "created_on": "2018-07-06T12:30:53.123456789Z", - "input": "22", "name": "Result 1", "previous": { "category": "Other", @@ -888,7 +882,6 @@ { "category": "Other", "created_on": "2018-07-06T12:30:15.123456789Z", - "input": "3", "name": "Result 1", "step_uuid": "5802813d-6c58-4292-8228-9728778b6c98", "type": "run_result_changed", @@ -928,7 +921,6 @@ { "category": "Other", "created_on": "2018-07-06T12:30:34.123456789Z", - "input": "5", "name": "Result 1", "previous": { "category": "Other", @@ -972,7 +964,6 @@ { "category": "Other", "created_on": "2018-07-06T12:30:53.123456789Z", - "input": "22", "name": "Result 1", "previous": { "category": "Other", diff --git a/test/testdata/runner/phone_number.test.json b/test/testdata/runner/phone_number.test.json index cddf0a4be..044c80a98 100644 --- a/test/testdata/runner/phone_number.test.json +++ b/test/testdata/runner/phone_number.test.json @@ -170,7 +170,6 @@ { "category": "Other", "created_on": "2018-07-06T12:30:15.123456789Z", - "input": "135532", "name": "Backup Phone", "step_uuid": "5802813d-6c58-4292-8228-9728778b6c98", "type": "run_result_changed", @@ -291,7 +290,6 @@ { "category": "Other", "created_on": "2018-07-06T12:30:15.123456789Z", - "input": "135532", "name": "Backup Phone", "step_uuid": "5802813d-6c58-4292-8228-9728778b6c98", "type": "run_result_changed", @@ -422,7 +420,6 @@ { "category": "Has Phone", "created_on": "2018-07-06T12:30:32.123456789Z", - "input": "718-456-7890", "name": "Backup Phone", "previous": { "category": "Other", @@ -563,7 +560,6 @@ { "category": "Other", "created_on": "2018-07-06T12:30:15.123456789Z", - "input": "135532", "name": "Backup Phone", "step_uuid": "5802813d-6c58-4292-8228-9728778b6c98", "type": "run_result_changed", @@ -603,7 +599,6 @@ { "category": "Has Phone", "created_on": "2018-07-06T12:30:32.123456789Z", - "input": "718-456-7890", "name": "Backup Phone", "previous": { "category": "Other", diff --git a/test/testdata/runner/resthook.test.json b/test/testdata/runner/resthook.test.json index 25eedb575..83883f342 100644 --- a/test/testdata/runner/resthook.test.json +++ b/test/testdata/runner/resthook.test.json @@ -86,7 +86,6 @@ "bad_request" ] }, - "input": "POST http://localhost/?cmd=badrequest", "name": "Response 1", "step_uuid": "8720f157-ca1c-432f-9c0b-2014ddc77094", "type": "run_result_changed", @@ -216,7 +215,6 @@ "bad_request" ] }, - "input": "POST http://localhost/?cmd=badrequest", "name": "Response 1", "step_uuid": "8720f157-ca1c-432f-9c0b-2014ddc77094", "type": "run_result_changed", diff --git a/test/testdata/runner/router_tests.test.json b/test/testdata/runner/router_tests.test.json index a290ddc16..51db3c8a1 100644 --- a/test/testdata/runner/router_tests.test.json +++ b/test/testdata/runner/router_tests.test.json @@ -13,7 +13,6 @@ { "category": "Other", "created_on": "2018-07-06T12:30:10.123456789Z", - "input": "[]", "name": "Group Check", "step_uuid": "c34b6c7d-fa06-4563-92a3-d648ab64bccb", "type": "run_result_changed", @@ -22,7 +21,6 @@ { "category": "Valid", "created_on": "2018-07-06T12:30:16.123456789Z", - "input": "I live in gasabo", "name": "District Check", "step_uuid": "5802813d-6c58-4292-8228-9728778b6c98", "type": "run_result_changed", @@ -144,7 +142,6 @@ { "category": "Other", "created_on": "2018-07-06T12:30:10.123456789Z", - "input": "[]", "name": "Group Check", "step_uuid": "c34b6c7d-fa06-4563-92a3-d648ab64bccb", "type": "run_result_changed", @@ -153,7 +150,6 @@ { "category": "Valid", "created_on": "2018-07-06T12:30:16.123456789Z", - "input": "I live in gasabo", "name": "District Check", "step_uuid": "5802813d-6c58-4292-8228-9728778b6c98", "type": "run_result_changed", diff --git a/test/testdata/runner/subflow.test.json b/test/testdata/runner/subflow.test.json index bd5b9688c..2091ef6bd 100644 --- a/test/testdata/runner/subflow.test.json +++ b/test/testdata/runner/subflow.test.json @@ -246,7 +246,6 @@ { "category": "Name", "created_on": "2018-07-06T12:30:18.123456789Z", - "input": "Ryan Lewis", "name": "Name", "step_uuid": "970b8069-50f5-4f6f-8f41-6b2d9f33d623", "type": "run_result_changed", @@ -460,7 +459,6 @@ { "category": "Name", "created_on": "2018-07-06T12:30:18.123456789Z", - "input": "Ryan Lewis", "name": "Name", "step_uuid": "970b8069-50f5-4f6f-8f41-6b2d9f33d623", "type": "run_result_changed", diff --git a/test/testdata/runner/subflow_other.test.json b/test/testdata/runner/subflow_other.test.json index 18a51cbdc..7c2c557ab 100644 --- a/test/testdata/runner/subflow_other.test.json +++ b/test/testdata/runner/subflow_other.test.json @@ -273,7 +273,6 @@ { "category": "Other", "created_on": "2018-07-06T12:30:22.123456789Z", - "input": "neither", "name": "Answer", "step_uuid": "a4d15ed4-5b24-407f-b86e-4b881f09a186", "type": "run_result_changed", @@ -460,7 +459,6 @@ { "category": "Other", "created_on": "2018-07-06T12:30:22.123456789Z", - "input": "neither", "name": "Answer", "step_uuid": "a4d15ed4-5b24-407f-b86e-4b881f09a186", "type": "run_result_changed", @@ -602,7 +600,6 @@ { "category": "Yes", "created_on": "2018-07-06T12:30:38.123456789Z", - "input": "yes", "name": "Answer", "previous": { "category": "Other", @@ -848,7 +845,6 @@ { "category": "Other", "created_on": "2018-07-06T12:30:22.123456789Z", - "input": "neither", "name": "Answer", "step_uuid": "a4d15ed4-5b24-407f-b86e-4b881f09a186", "type": "run_result_changed", @@ -891,7 +887,6 @@ { "category": "Yes", "created_on": "2018-07-06T12:30:38.123456789Z", - "input": "yes", "name": "Answer", "previous": { "category": "Other", @@ -1039,7 +1034,6 @@ { "category": "Other", "created_on": "2018-07-06T12:30:59.123456789Z", - "input": "never", "name": "Answer", "step_uuid": "27b67219-e599-4697-b62c-3c781ca3b5da", "type": "run_result_changed", @@ -1200,7 +1194,6 @@ { "category": "Other", "created_on": "2018-07-06T12:30:59.123456789Z", - "input": "never", "name": "Answer", "step_uuid": "27b67219-e599-4697-b62c-3c781ca3b5da", "type": "run_result_changed", @@ -1323,7 +1316,6 @@ { "category": "Other", "created_on": "2018-07-06T12:30:22.123456789Z", - "input": "neither", "name": "Answer", "step_uuid": "a4d15ed4-5b24-407f-b86e-4b881f09a186", "type": "run_result_changed", @@ -1366,7 +1358,6 @@ { "category": "Yes", "created_on": "2018-07-06T12:30:38.123456789Z", - "input": "yes", "name": "Answer", "previous": { "category": "Other", @@ -1514,7 +1505,6 @@ { "category": "No", "created_on": "2018-07-06T12:31:15.123456789Z", - "input": "no", "name": "Answer", "previous": { "category": "Other", @@ -1667,7 +1657,6 @@ { "category": "Other", "created_on": "2018-07-06T12:30:59.123456789Z", - "input": "never", "name": "Answer", "step_uuid": "27b67219-e599-4697-b62c-3c781ca3b5da", "type": "run_result_changed", @@ -1710,7 +1699,6 @@ { "category": "No", "created_on": "2018-07-06T12:31:15.123456789Z", - "input": "no", "name": "Answer", "previous": { "category": "Other", @@ -1839,7 +1827,6 @@ { "category": "Other", "created_on": "2018-07-06T12:30:22.123456789Z", - "input": "neither", "name": "Answer", "step_uuid": "a4d15ed4-5b24-407f-b86e-4b881f09a186", "type": "run_result_changed", @@ -1882,7 +1869,6 @@ { "category": "Yes", "created_on": "2018-07-06T12:30:38.123456789Z", - "input": "yes", "name": "Answer", "previous": { "category": "Other", diff --git a/test/testdata/runner/ticketing.test.json b/test/testdata/runner/ticketing.test.json index d28ba9008..40c319bec 100644 --- a/test/testdata/runner/ticketing.test.json +++ b/test/testdata/runner/ticketing.test.json @@ -153,7 +153,6 @@ { "category": "All Responses", "created_on": "2018-07-06T12:30:14.123456789Z", - "input": "Rats", "name": "Response 1", "step_uuid": "5802813d-6c58-4292-8228-9728778b6c98", "type": "run_result_changed", @@ -284,7 +283,6 @@ { "category": "All Responses", "created_on": "2018-07-06T12:30:14.123456789Z", - "input": "Rats", "name": "Response 1", "step_uuid": "5802813d-6c58-4292-8228-9728778b6c98", "type": "run_result_changed", diff --git a/test/testdata/runner/two_questions.test.json b/test/testdata/runner/two_questions.test.json index 60ee13630..9a7d605a1 100644 --- a/test/testdata/runner/two_questions.test.json +++ b/test/testdata/runner/two_questions.test.json @@ -233,7 +233,6 @@ { "category": "Blue", "created_on": "2018-07-06T12:30:16.123456789Z", - "input": "I like blue!", "name": "Favorite Color", "step_uuid": "8720f157-ca1c-432f-9c0b-2014ddc77094", "type": "run_result_changed", @@ -421,7 +420,6 @@ { "category": "Blue", "created_on": "2018-07-06T12:30:16.123456789Z", - "input": "I like blue!", "name": "Favorite Color", "step_uuid": "8720f157-ca1c-432f-9c0b-2014ddc77094", "type": "run_result_changed", @@ -552,9 +550,7 @@ }, { "category": "Coke", - "category_localized": "Coke", "created_on": "2018-07-06T12:30:32.123456789Z", - "input": "Coke", "name": "Soda", "step_uuid": "5802813d-6c58-4292-8228-9728778b6c98", "type": "run_result_changed", @@ -744,7 +740,6 @@ { "category": "Blue", "created_on": "2018-07-06T12:30:16.123456789Z", - "input": "I like blue!", "name": "Favorite Color", "step_uuid": "8720f157-ca1c-432f-9c0b-2014ddc77094", "type": "run_result_changed", @@ -792,9 +787,7 @@ }, { "category": "Coke", - "category_localized": "Coke", "created_on": "2018-07-06T12:30:32.123456789Z", - "input": "Coke", "name": "Soda", "step_uuid": "5802813d-6c58-4292-8228-9728778b6c98", "type": "run_result_changed", diff --git a/test/testdata/runner/two_questions_offline.test.json b/test/testdata/runner/two_questions_offline.test.json index 13f7872ac..41ae48440 100644 --- a/test/testdata/runner/two_questions_offline.test.json +++ b/test/testdata/runner/two_questions_offline.test.json @@ -155,7 +155,6 @@ { "category": "Red", "created_on": "2018-07-06T12:30:12.123456789Z", - "input": "red", "name": "Favorite Color", "step_uuid": "8720f157-ca1c-432f-9c0b-2014ddc77094", "type": "run_result_changed", @@ -264,7 +263,6 @@ { "category": "Red", "created_on": "2018-07-06T12:30:12.123456789Z", - "input": "red", "name": "Favorite Color", "step_uuid": "8720f157-ca1c-432f-9c0b-2014ddc77094", "type": "run_result_changed", @@ -382,7 +380,6 @@ { "category": "Pepsi", "created_on": "2018-07-06T12:30:26.123456789Z", - "input": "pepsi", "name": "Soda", "step_uuid": "5802813d-6c58-4292-8228-9728778b6c98", "type": "run_result_changed", @@ -494,7 +491,6 @@ { "category": "Red", "created_on": "2018-07-06T12:30:12.123456789Z", - "input": "red", "name": "Favorite Color", "step_uuid": "8720f157-ca1c-432f-9c0b-2014ddc77094", "type": "run_result_changed", @@ -529,7 +525,6 @@ { "category": "Pepsi", "created_on": "2018-07-06T12:30:26.123456789Z", - "input": "pepsi", "name": "Soda", "step_uuid": "5802813d-6c58-4292-8228-9728778b6c98", "type": "run_result_changed", @@ -745,7 +740,6 @@ { "category": "Red", "created_on": "2018-07-06T12:30:12.123456789Z", - "input": "red", "name": "Favorite Color", "step_uuid": "8720f157-ca1c-432f-9c0b-2014ddc77094", "type": "run_result_changed", @@ -780,7 +774,6 @@ { "category": "Pepsi", "created_on": "2018-07-06T12:30:26.123456789Z", - "input": "pepsi", "name": "Soda", "step_uuid": "5802813d-6c58-4292-8228-9728778b6c98", "type": "run_result_changed", diff --git a/test/testdata/runner/webhook_migrated.test.json b/test/testdata/runner/webhook_migrated.test.json index 7f323b8a6..72604141d 100644 --- a/test/testdata/runner/webhook_migrated.test.json +++ b/test/testdata/runner/webhook_migrated.test.json @@ -108,7 +108,6 @@ { "category": "Other", "created_on": "2018-07-06T12:30:10.123456789Z", - "input": "Ryan Lewis", "name": "Country Response", "step_uuid": "8720f157-ca1c-432f-9c0b-2014ddc77094", "type": "run_result_changed", @@ -133,7 +132,6 @@ "extra": { "exists": "valid" }, - "input": "GET http://localhost/?cmd=country", "name": "Country Webhook", "step_uuid": "c34b6c7d-fa06-4563-92a3-d648ab64bccb", "type": "run_result_changed", @@ -148,7 +146,6 @@ { "category": "Valid", "created_on": "2018-07-06T12:30:28.123456789Z", - "input": "valid", "name": "Country", "step_uuid": "5802813d-6c58-4292-8228-9728778b6c98", "type": "run_result_changed", @@ -227,7 +224,6 @@ { "category": "Other", "created_on": "2018-07-06T12:30:10.123456789Z", - "input": "Ryan Lewis", "name": "Country Response", "step_uuid": "8720f157-ca1c-432f-9c0b-2014ddc77094", "type": "run_result_changed", @@ -252,7 +248,6 @@ "extra": { "exists": "valid" }, - "input": "GET http://localhost/?cmd=country", "name": "Country Webhook", "step_uuid": "c34b6c7d-fa06-4563-92a3-d648ab64bccb", "type": "run_result_changed", @@ -267,7 +262,6 @@ { "category": "Valid", "created_on": "2018-07-06T12:30:28.123456789Z", - "input": "valid", "name": "Country", "step_uuid": "5802813d-6c58-4292-8228-9728778b6c98", "type": "run_result_changed", diff --git a/test/testdata/runner/webhook_results.test.json b/test/testdata/runner/webhook_results.test.json index cc3ac30ab..43cda57d4 100644 --- a/test/testdata/runner/webhook_results.test.json +++ b/test/testdata/runner/webhook_results.test.json @@ -32,7 +32,6 @@ { "category": "Success", "created_on": "2018-07-06T12:30:08.123456789Z", - "input": "GET http://temba.io/1", "name": "Call 1", "step_uuid": "8720f157-ca1c-432f-9c0b-2014ddc77094", "type": "run_result_changed", @@ -117,7 +116,6 @@ { "category": "Success", "created_on": "2018-07-06T12:30:08.123456789Z", - "input": "GET http://temba.io/1", "name": "Call 1", "step_uuid": "8720f157-ca1c-432f-9c0b-2014ddc77094", "type": "run_result_changed", @@ -221,7 +219,6 @@ { "category": "All Responses", "created_on": "2018-07-06T12:30:25.123456789Z", - "input": "Ok", "name": "Response", "step_uuid": "970b8069-50f5-4f6f-8f41-6b2d9f33d623", "type": "run_result_changed", @@ -263,7 +260,6 @@ "extra": { "greeting": "hello" }, - "input": "GET http://temba.io/2", "name": "Call 2", "step_uuid": "a4d15ed4-5b24-407f-b86e-4b881f09a186", "type": "run_result_changed", @@ -371,7 +367,6 @@ { "category": "Success", "created_on": "2018-07-06T12:30:08.123456789Z", - "input": "GET http://temba.io/1", "name": "Call 1", "step_uuid": "8720f157-ca1c-432f-9c0b-2014ddc77094", "type": "run_result_changed", @@ -407,7 +402,6 @@ { "category": "All Responses", "created_on": "2018-07-06T12:30:25.123456789Z", - "input": "Ok", "name": "Response", "step_uuid": "970b8069-50f5-4f6f-8f41-6b2d9f33d623", "type": "run_result_changed", @@ -449,7 +443,6 @@ "extra": { "greeting": "hello" }, - "input": "GET http://temba.io/2", "name": "Call 2", "step_uuid": "a4d15ed4-5b24-407f-b86e-4b881f09a186", "type": "run_result_changed", @@ -596,7 +589,6 @@ { "category": "All Responses", "created_on": "2018-07-06T12:30:58.123456789Z", - "input": "Sure", "name": "Response 2", "step_uuid": "4f15f627-b1e2-4851-8dbf-00ecf5d03034", "type": "run_result_changed", @@ -682,7 +674,6 @@ { "category": "Success", "created_on": "2018-07-06T12:30:08.123456789Z", - "input": "GET http://temba.io/1", "name": "Call 1", "step_uuid": "8720f157-ca1c-432f-9c0b-2014ddc77094", "type": "run_result_changed", @@ -718,7 +709,6 @@ { "category": "All Responses", "created_on": "2018-07-06T12:30:25.123456789Z", - "input": "Ok", "name": "Response", "step_uuid": "970b8069-50f5-4f6f-8f41-6b2d9f33d623", "type": "run_result_changed", @@ -760,7 +750,6 @@ "extra": { "greeting": "hello" }, - "input": "GET http://temba.io/2", "name": "Call 2", "step_uuid": "a4d15ed4-5b24-407f-b86e-4b881f09a186", "type": "run_result_changed", @@ -796,7 +785,6 @@ { "category": "All Responses", "created_on": "2018-07-06T12:30:58.123456789Z", - "input": "Sure", "name": "Response 2", "step_uuid": "4f15f627-b1e2-4851-8dbf-00ecf5d03034", "type": "run_result_changed",