Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Direct paging integrations table #3290

Merged
merged 18 commits into from
Nov 10, 2023

Conversation

joeyorlando
Copy link
Contributor

@joeyorlando joeyorlando commented Nov 7, 2023

What this PR does

Closes #3119
Closes https://github.com/grafana/oncall-private/issues/2061

Which issue(s) this PR fixes

Checklist

  • Unit, integration, and e2e (if applicable) tests updated
  • Documentation added (or pr:no public docs PR label added if not required)
  • CHANGELOG.md updated (or pr:no changelog PR label added if not required)

@brojd brojd marked this pull request as ready for review November 9, 2023 11:21
@brojd brojd requested review from a team November 9, 2023 11:21
// // Create 1 direct paging integration and 2 other connections
const WEBHOOK_INTEGRATION_NAME = 'Webhook-1';
const ALERTMANAGER_INTEGRATION_NAME = 'Alertmanager-1';
const DIRECT_PAGING_INTEGRATION_NAME = 'Direct paging-1';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Won't this fail if run multiple times? Shouldn't this use a randomizer?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, good idea, that will make development of e2e easier, let me do that :) Good catch

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@teodosii it's done now. For Direct Paging item I did that a bit differently because there must be no duplicates of Direct Paging integration assigned to a single team. So I'm checking in test if one has already been created and I'm making sure that we don't try to create a duplicate. At this point its name doesn't matter

@brojd brojd added the pr:no public docs Added to a PR that does not require public documentation updates label Nov 9, 2023
Copy link
Member

@vadimkerr vadimkerr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Backend changes LGTM

@joeyorlando joeyorlando added this pull request to the merge queue Nov 10, 2023
Merged via the queue into dev with commit 3716080 Nov 10, 2023
17 of 18 checks passed
@joeyorlando joeyorlando deleted the brojd/direct-paging-integrations-table branch November 10, 2023 16:58
brojd added a commit that referenced this pull request Sep 18, 2024
# What this PR does

Closes #3119
Closes grafana/oncall-private#2061

## Which issue(s) this PR fixes

## Checklist

- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required)

---------

Co-authored-by: Dominik <dominik.broj@grafana.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr:no public docs Added to a PR that does not require public documentation updates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Modify integrations table to have a "Direct paging" tab
4 participants