diff options
| author | Xe Iaso <me@xeiaso.net> | 2024-05-09 13:21:57 -0400 |
|---|---|---|
| committer | Xe Iaso <me@xeiaso.net> | 2024-05-10 10:17:04 -0400 |
| commit | a5e69149a9762d873d4e214f124d81be856164ef (patch) | |
| tree | 7c227c449cc0b94ef05bd6ca8bea3e9858b1c65b /cmd | |
| parent | 80cae31548245237044a82fd32731b679321eaf5 (diff) | |
| download | x-a5e69149a9762d873d4e214f124d81be856164ef.tar.xz x-a5e69149a9762d873d4e214f124d81be856164ef.zip | |
cmd/mimi: add fly.io statuspage testdata
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/mimi/modules/discord/flyio/testdata/component_update.json | 24 | ||||
| -rw-r--r-- | cmd/mimi/modules/discord/flyio/testdata/incident_update.json | 71 |
2 files changed, 95 insertions, 0 deletions
diff --git a/cmd/mimi/modules/discord/flyio/testdata/component_update.json b/cmd/mimi/modules/discord/flyio/testdata/component_update.json new file mode 100644 index 0000000..7300822 --- /dev/null +++ b/cmd/mimi/modules/discord/flyio/testdata/component_update.json @@ -0,0 +1,24 @@ +{ + "meta":{ + "unsubscribe":"http://statustest.flyingkleinbrothers.com:5000/?unsubscribe=j0vqr9kl3513", + "documentation":"http://doers.statuspage.io/customer-notifications/webhooks/" + }, + "page":{ + "id": "j2mfxwj97wnj", + "status_indicator": "major", + "status_description": "Partial System Outage" + }, + "component_update":{ + "created_at":"2013-05-29T21:32:28Z", + "new_status":"operational", + "old_status":"major_outage", + "id":"k7730b5v92bv", + "component_id":"rb5wq1dczvbm" + }, + "component":{ + "created_at":"2013-05-29T21:32:28Z", + "id":"rb5wq1dczvbm", + "name":"Some Component", + "status":"operational" + } +} diff --git a/cmd/mimi/modules/discord/flyio/testdata/incident_update.json b/cmd/mimi/modules/discord/flyio/testdata/incident_update.json new file mode 100644 index 0000000..428476f --- /dev/null +++ b/cmd/mimi/modules/discord/flyio/testdata/incident_update.json @@ -0,0 +1,71 @@ +{ + "meta":{ + "unsubscribe":"http://statustest.flyingkleinbrothers.com:5000/?unsubscribe=j0vqr9kl3513", + "documentation":"http://doers.statuspage.io/customer-notifications/webhooks/" + }, + "page":{ + "id": "j2mfxwj97wnj", + "status_indicator": "critical", + "status_description": "Major System Outage" + }, + "incident":{ + "backfilled":false, + "created_at":"2013-05-29T15:08:51-06:00", + "impact":"critical", + "impact_override":null, + "monitoring_at":"2013-05-29T16:07:53-06:00", + "postmortem_body":null, + "postmortem_body_last_updated_at":null, + "postmortem_ignored":false, + "postmortem_notified_subscribers":false, + "postmortem_notified_twitter":false, + "postmortem_published_at":null, + "resolved_at":null, + "scheduled_auto_transition":false, + "scheduled_for":null, + "scheduled_remind_prior":false, + "scheduled_reminded_at":null, + "scheduled_until":null, + "shortlink":"http://j.mp/18zyDQx", + "status":"monitoring", + "updated_at":"2013-05-29T16:30:35-06:00", + "id":"lbkhbwn21v5q", + "organization_id":"j2mfxwj97wnj", + "incident_updates":[ + { + "body":"A fix has been implemented and we are monitoring the results.", + "created_at":"2013-05-29T16:07:53-06:00", + "display_at":"2013-05-29T16:07:53-06:00", + "status":"monitoring", + "twitter_updated_at":null, + "updated_at":"2013-05-29T16:09:09-06:00", + "wants_twitter_update":false, + "id":"drfcwbnpxnr6", + "incident_id":"lbkhbwn21v5q" + }, + { + "body":"We are waiting for the cloud to come back online and will update when we have further information", + "created_at":"2013-05-29T15:18:51-06:00", + "display_at":"2013-05-29T15:18:51-06:00", + "status":"identified", + "twitter_updated_at":null, + "updated_at":"2013-05-29T15:28:51-06:00", + "wants_twitter_update":false, + "id":"2rryghr4qgrh", + "incident_id":"lbkhbwn21v5q" + }, + { + "body":"The cloud, located in Norther Virginia, has once again gone the way of the dodo.", + "created_at":"2013-05-29T15:08:51-06:00", + "display_at":"2013-05-29T15:08:51-06:00", + "status":"investigating", + "twitter_updated_at":null, + "updated_at":"2013-05-29T15:28:51-06:00", + "wants_twitter_update":false, + "id":"qbbsfhy5s9kk", + "incident_id":"lbkhbwn21v5q" + } + ], + "name":"Virginia Is Down" + } +} |
