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

Feat/alerting #4

Merged
merged 7 commits into from
Mar 22, 2021
Merged

Feat/alerting #4

merged 7 commits into from
Mar 22, 2021

Conversation

kevinbheda
Copy link
Contributor

No description provided.

working yaml file

add route to update alerting credentials

call alertmanager to sync config

end to end alertmanager sync

add request validations for alert credentials
@@ -130,7 +131,7 @@ func TestService_Upsert(t *testing.T) {
result, err := dummyService.Upsert(dummyTemplate)
assert.EqualError(t, err, "name cannot be empty")
assert.Nil(t, result)
repositoryMock.AssertNotCalled(t, "Upsert")
repositoryMock.AssertNotCalled(t, "UpsertSlack")
Copy link
Member

Choose a reason for hiding this comment

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

Looks like this change was not required inside the templates package.

@ravisuhag
Copy link
Member

@kevinbheda @rohilsurana Please squash the fix ci commits when merging.

configure postgres connection string based on password
alertCredentials/alertmanager/vars.go Outdated Show resolved Hide resolved
alertCredentials/repository.go Outdated Show resolved Hide resolved
api/handlers/alertmanager.go Outdated Show resolved Hide resolved
@rohilsurana rohilsurana merged commit 636e9e0 into main Mar 22, 2021
@whoAbhishekSah whoAbhishekSah deleted the feat/alerting branch March 31, 2021 13:36
ravisuhag pushed a commit that referenced this pull request Aug 21, 2022
feat: alert credentials api to sync configs to alertmanager
ravisuhag pushed a commit that referenced this pull request Aug 21, 2022
feat: alert credentials api to sync configs to alertmanager
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants