mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-10-30 14:49:14 +00:00
31 lines
763 B
TypeScript
31 lines
763 B
TypeScript
import {OrganizationIntegration} from 'sentry/types';
|
|
|
|
export function OpsgenieIntegrationFixture(
|
|
params: Partial<OrganizationIntegration> = {}
|
|
): OrganizationIntegration {
|
|
return {
|
|
id: '1',
|
|
name: 'hello-world',
|
|
icon: null,
|
|
domainName: 'hello-world.app.opsgenie.com',
|
|
accountType: null,
|
|
status: 'active',
|
|
provider: {
|
|
key: 'opsgenie',
|
|
slug: 'opsgenie',
|
|
name: 'Opsgenie',
|
|
canAdd: true,
|
|
canDisable: false,
|
|
features: ['enterprise-alert-rule', 'enterprise-incident-management'],
|
|
aspects: {},
|
|
},
|
|
configOrganization: [],
|
|
configData: {},
|
|
externalId: 'hello-world',
|
|
organizationId: '',
|
|
organizationIntegrationStatus: 'active',
|
|
gracePeriodEnd: '',
|
|
...params,
|
|
};
|
|
}
|