mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-09-29 22:34:33 +00:00
34 lines
1023 B
TypeScript
34 lines
1023 B
TypeScript
import {IntegrationProvider} from 'sentry/types';
|
|
|
|
export function OpsgenieIntegrationProviderFixture(
|
|
params: Partial<IntegrationProvider> = {}
|
|
): IntegrationProvider {
|
|
return {
|
|
key: 'opsgenie',
|
|
slug: 'opsgenie',
|
|
name: 'Opsgenie (Integration)',
|
|
metadata: {
|
|
description: 'hi',
|
|
features: [
|
|
{description: '*markdown* feature description', featureGate: '', featureId: 3},
|
|
],
|
|
author: 'The Sentry Team',
|
|
noun: 'Installation',
|
|
issue_url:
|
|
'https://github.com/getsentry/sentry/issues/new?assignees=&labels=Component:%20Integrations&template=bug.yml&title=Integration%20Problem',
|
|
source_url:
|
|
'https://github.com/getsentry/sentry/tree/master/src/sentry/integrations/opsgenie',
|
|
aspects: {},
|
|
},
|
|
canAdd: true,
|
|
canDisable: false,
|
|
features: ['alert-rule', 'incident-management'],
|
|
setupDialog: {
|
|
url: '/organizations/sentry/integrations/opsgenie/setup/',
|
|
width: 600,
|
|
height: 600,
|
|
},
|
|
...params,
|
|
};
|
|
}
|