-
Notifications
You must be signed in to change notification settings - Fork 291
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
Conversation
internal API endpoint
// // 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'; |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Backend changes LGTM
# 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>
What this PR does
Closes #3119
Closes https://github.com/grafana/oncall-private/issues/2061
Which issue(s) this PR fixes
Checklist
pr:no public docs
PR label added if not required)CHANGELOG.md
updated (orpr:no changelog
PR label added if not required)