Skip to content

Commit 55f2cca

Browse files
authored
Feat(opsgenie): deprecate Opsgenie plugin (#54190)
Hide the Opsgenie plugin if it's not installed. If it is, mark it as legacy. Fixes ER-1790
1 parent 060e849 commit 55f2cca

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Diff for: src/sentry/integrations/opsgenie/integration.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def schedule_migrate_opsgenie_plugin(self):
159159

160160
class OpsgenieIntegrationProvider(IntegrationProvider):
161161
key = "opsgenie"
162-
name = "Opsgenie (Integration)"
162+
name = "Opsgenie"
163163
metadata = metadata
164164
integration_cls = OpsgenieIntegration
165165
features = frozenset([IntegrationFeatures.INCIDENT_MANAGEMENT, IntegrationFeatures.ALERT_RULE])

Diff for: src/sentry/plugins/__init__.py

+1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@
55
"slack",
66
"jira",
77
"pagerduty",
8+
"opsgenie",
89
)

Diff for: src/sentry/rules/actions/notify_event_service.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
from sentry.utils.safe import safe_execute
2626

2727
logger = logging.getLogger("sentry.integrations.sentry_app")
28-
PLUGINS_WITH_FIRST_PARTY_EQUIVALENTS = ["PagerDuty", "Slack"]
28+
PLUGINS_WITH_FIRST_PARTY_EQUIVALENTS = ["PagerDuty", "Slack", "Opsgenie"]
2929

3030

3131
def build_incident_attachment(

0 commit comments

Comments
 (0)