From a1e3c91213e39e4431351d764a6640ff42580aee Mon Sep 17 00:00:00 2001 From: Eeshan Garg Date: Fri, 16 Mar 2018 18:46:10 -0230 Subject: [PATCH] webhooks: Delete duplicate statuspage.io fixtures from GCI. These fixtures were submitted by a GCI student but then another student wrote the webhook from scratch anyway. --- .../fixtures/changing_component_status.json | 32 ------ .../fixtures/incident_creation_payload.json | 93 --------------- .../fixtures/incident_payload.json | 107 ------------------ 3 files changed, 232 deletions(-) delete mode 100644 zerver/webhooks/statuspage.io/fixtures/changing_component_status.json delete mode 100644 zerver/webhooks/statuspage.io/fixtures/incident_creation_payload.json delete mode 100644 zerver/webhooks/statuspage.io/fixtures/incident_payload.json diff --git a/zerver/webhooks/statuspage.io/fixtures/changing_component_status.json b/zerver/webhooks/statuspage.io/fixtures/changing_component_status.json deleted file mode 100644 index e028b3e85f..0000000000 --- a/zerver/webhooks/statuspage.io/fixtures/changing_component_status.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "meta":{ - "unsubscribe":"http://zulip.statuspage.io/?unsubscribe=vg38vmgl07y3", - "documentation":"http://doers.statuspage.io/customer-notifications/webhooks/", - "generated_at":"2017-12-28T10:45:26.829Z" - }, - "page":{ - "id":"s1t817q23lxb", - "status_indicator":"maintenance", - "status_description":"Service Under Maintenance" - }, - "component":{ - "status":"under_maintenance", - "name":"API (example)", - "created_at":"2017-12-28T10:18:12.283Z", - "updated_at":"2017-12-28T10:45:26.696Z", - "position":1, - "description":null, - "showcase":true, - "id":"h5h281dpzr56", - "page_id":"s1t817q23lxb", - "group_id":null - }, - "component_update":{ - "old_status":"operational", - "new_status":"under_maintenance", - "created_at":"2017-12-28T10:45:26.701Z", - "component_type":"Component", - "id":"yx0bx3m81vd6", - "component_id":"h5h281dpzr56" - } -} diff --git a/zerver/webhooks/statuspage.io/fixtures/incident_creation_payload.json b/zerver/webhooks/statuspage.io/fixtures/incident_creation_payload.json deleted file mode 100644 index 2e9c6999ac..0000000000 --- a/zerver/webhooks/statuspage.io/fixtures/incident_creation_payload.json +++ /dev/null @@ -1,93 +0,0 @@ -{ - "meta":{ - "unsubscribe":"http://zulip.statuspage.io/?unsubscribe=vg38vmgl07y3", - "documentation":"http://doers.statuspage.io/customer-notifications/webhooks/", - "generated_at":"2017-12-28T10:44:05.707Z" - }, - "page":{ - "id":"s1t817q23lxb", - "status_indicator":"none", - "status_description":"All Systems Operational" - }, - "incident":{ - "name":"Zulip Statuspage Integration", - "status":"investigating", - "created_at":"2017-12-28T10:44:05.415Z", - "updated_at":"2017-12-28T10:44:05.519Z", - "monitoring_at":null, - "resolved_at":null, - "impact":"none", - "shortlink":"http://stspg.io/0ff07c441", - "postmortem_ignored":false, - "postmortem_body":null, - "postmortem_body_last_updated_at":null, - "postmortem_published_at":null, - "postmortem_notified_subscribers":false, - "postmortem_notified_twitter":false, - "backfilled":false, - "scheduled_for":null, - "scheduled_until":null, - "scheduled_remind_prior":false, - "scheduled_reminded_at":null, - "impact_override":null, - "scheduled_auto_in_progress":false, - "scheduled_auto_completed":false, - "id":"kmclpydzyv8q", - "page_id":"s1t817q23lxb", - "incident_updates":[ - { - "status":"investigating", - "body":"Investigation of Integration of StatusPage.io into Zulip", - "created_at":"2017-12-28T10:44:05.455Z", - "wants_twitter_update":false, - "twitter_updated_at":null, - "updated_at":"2017-12-28T10:44:05.455Z", - "display_at":"2017-12-28T10:44:05.455Z", - "affected_components":[ - { - "code":"h5h281dpzr56", - "name":"API (example)", - "old_status":"operational", - "new_status":"operational" - }, - { - "code":"cc6ctlm4ll06", - "name":"Management Portal (example)", - "old_status":"operational", - "new_status":"operational" - } - ], - "custom_tweet":null, - "deliver_notifications":true, - "id":"hfpqnxmxm5kl", - "incident_id":"kmclpydzyv8q" - } - ], - "components":[ - { - "status":"operational", - "name":"API (example)", - "created_at":"2017-12-28T10:18:12.283Z", - "updated_at":"2017-12-28T10:18:12.283Z", - "position":1, - "description":null, - "showcase":true, - "id":"h5h281dpzr56", - "page_id":"s1t817q23lxb", - "group_id":null - }, - { - "status":"operational", - "name":"Management Portal (example)", - "created_at":"2017-12-28T10:18:12.309Z", - "updated_at":"2017-12-28T10:18:12.309Z", - "position":2, - "description":null, - "showcase":true, - "id":"cc6ctlm4ll06", - "page_id":"s1t817q23lxb", - "group_id":null - } - ] - } -} diff --git a/zerver/webhooks/statuspage.io/fixtures/incident_payload.json b/zerver/webhooks/statuspage.io/fixtures/incident_payload.json deleted file mode 100644 index b0e3927af7..0000000000 --- a/zerver/webhooks/statuspage.io/fixtures/incident_payload.json +++ /dev/null @@ -1,107 +0,0 @@ -{ - "meta":{ - "unsubscribe":"http://zulip.statuspage.io/?unsubscribe=vg38vmgl07y3", - "documentation":"http://doers.statuspage.io/customer-notifications/webhooks/", - "generated_at":"2017-12-28T10:37:57.071Z" - }, - "page":{ - "id":"s1t817q23lxb", - "status_indicator":"none", - "status_description":"All Systems Operational" - }, - "incident":{ - "name":"Zulip Integration", - "status":"investigating", - "created_at":"2017-12-28T10:29:13.805Z", - "updated_at":"2017-12-28T10:37:56.888Z", - "monitoring_at":null, - "resolved_at":null, - "impact":"none", - "shortlink":"http://stspg.io/17ab5e668", - "postmortem_ignored":false, - "postmortem_body":null, - "postmortem_body_last_updated_at":null, - "postmortem_published_at":null, - "postmortem_notified_subscribers":false, - "postmortem_notified_twitter":false, - "backfilled":false, - "scheduled_for":null, - "scheduled_until":null, - "scheduled_remind_prior":false, - "scheduled_reminded_at":null, - "impact_override":null, - "scheduled_auto_in_progress":false, - "scheduled_auto_completed":false, - "id":"fhgyhmw8hp25", - "page_id":"s1t817q23lxb", - "incident_updates":[ - { - "status":"investigating", - "body":"Added Webhook URL of Requestbin", - "created_at":"2017-12-28T10:37:56.815Z", - "wants_twitter_update":false, - "twitter_updated_at":null, - "updated_at":"2017-12-28T10:37:56.815Z", - "display_at":"2017-12-28T10:37:56.815Z", - "affected_components":[ - { - "code":"h5h281dpzr56", - "name":"API (example)", - "old_status":"operational", - "new_status":"operational" - }, - { - "code":"cc6ctlm4ll06", - "name":"Management Portal (example)", - "old_status":"operational", - "new_status":"operational" - } - ], - "custom_tweet":null, - "deliver_notifications":true, - "id":"zszlyz01yfd3", - "incident_id":"fhgyhmw8hp25" - }, - { - "status":"investigating", - "body":"Investigation of Integration of StatusPage.io into Zulip", - "created_at":"2017-12-28T10:29:13.846Z", - "wants_twitter_update":false, - "twitter_updated_at":null, - "updated_at":"2017-12-28T10:29:13.846Z", - "display_at":"2017-12-28T10:29:13.846Z", - "affected_components":null, - "custom_tweet":null, - "deliver_notifications":true, - "id":"t5y34rch2pw6", - "incident_id":"fhgyhmw8hp25" - } - ], - "components":[ - { - "status":"operational", - "name":"API (example)", - "created_at":"2017-12-28T10:18:12.283Z", - "updated_at":"2017-12-28T10:18:12.283Z", - "position":1, - "description":null, - "showcase":true, - "id":"h5h281dpzr56", - "page_id":"s1t817q23lxb", - "group_id":null - }, - { - "status":"operational", - "name":"Management Portal (example)", - "created_at":"2017-12-28T10:18:12.309Z", - "updated_at":"2017-12-28T10:18:12.309Z", - "position":2, - "description":null, - "showcase":true, - "id":"cc6ctlm4ll06", - "page_id":"s1t817q23lxb", - "group_id":null - } - ] - } -}