sensu-plugins / sensu-plugins-pagerduty

This plugin provides a Sensu handler for PagerDuty.
http://sensu-plugins.io
MIT License
20 stars 32 forks source link

Pagerduty API v1 is being deprecated #50

Open kaivanov opened 5 years ago

kaivanov commented 5 years ago

Does this support the Pagerduty v2 API ?

majormoses commented 5 years ago

We are pinned on https://github.com/sensu-plugins/sensu-plugins-pagerduty/blob/4.0.0/sensu-plugins-pagerduty.gemspec#L32 but inspecting the upstream code I don't think it does. I then saw this: https://github.com/envato/pagerduty/pull/52 which I will try to find some to review this weekend and try to get in touch with the upstream maintainer. /cc @jspaleta to see if maybe you can be some extra :eyes: and reach out that would be good.

majormoses commented 5 years ago

Will need to take note of the breaking changes that we will need to account for once its been accepted upstream.

majormoses commented 5 years ago

So it turns out that the upstream gem is using the events v1 api not the REST v1 api so it will be supported post Oct 19th

This change only affects the v1 REST API. You can continue to use the v1 Events API as you do today.Learn more about our the differences between our APIs here.

https://v2.developer.pagerduty.com/docs/v1-rest-api-decommissioning-faq#section-will-the-v1-events-api-still-be-supported-