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

Variable overrides in the notification profile and profile selection based on regular expressions #164

Merged
merged 16 commits into from
Feb 6, 2017

Conversation

Gerrrr
Copy link
Collaborator

@Gerrrr Gerrrr commented Dec 27, 2016

Implementation of what we discussed in #145

@fusiondog fusiondog merged commit f254eb1 into AcalephStorage:master Feb 6, 2017
fusiondog pushed a commit that referenced this pull request Mar 2, 2017
* Initial implementation of the mattermost notifier

* Remove unused code

* Define host

* sprintf(), not printf()

* Forgot to add the MatterMostUserInfo struct

* userID, not userId

* Define initialized property

* Remove unusded variables

* Specify variable type

* Fill in the unfilled

* Fat fingered struct

* Rename TeamName to Taam - Makes more sense

* Update version string

* Only parse for port if specified

* Fix URL parsing

* Remove some debugging statements

* log.Fatal -> log.Error

* Update the README file

* Dramatically reduce unnecessary writes (PUT requests) to KV when no change in health check status. (#166)

* Improve checking against blacklist by reducing the number of calls to KV. (#167)

* Variable overrides in the notification profile and profile selection based on regular expressions (#164)

* #145 notif-selection based on regular expressions is implemented

* #145 use consul from vagrant for tests

* #145 blacklisting services, nodes and checks by regexps implemented

* #145 test for getProfileForEntity is simplified

* #145 better explanation of regexps for profile activation, disabling health checks

* #145 get rid of separate structs for keeping notifier configuration

* #145 notifier names are constant per notifier type

* #145 variable overrides in the notification profiles are implemented

* #145 add go get command for imdario/mergo to travis

* #145 re-add imdario/mergo to Godeps

* #145 check that notifier exists before returning

* #145 copy the notifier before overriding parameters

* #145 use hashes of notifiers as keys in send-builtin

* #145 remove debug print

* Fix ID discrepency

* do not trigger a notification if the new check is passing (#169)

* Fixes return string for NotifierName() method on AwsSnsNotifier struct (#171)

NotifName returns 'awsns' string and should return 'awssns'

* Document Slack detailed config (#172)

Added documentation for enabling Slack "detailed" notification mode.

* Initial implementation of the mattermost notifier

* Fix client to be a notifier property

* s/MatterMost/Mattermost/g

* ioutil is not needed

* More of s/MatterMost/Mattermost/g

* Add mattermost to notifiers struct

* Implement Copy() method

* Hardcode value for notifier name

* Add enabled property to mattermost notifier struct

* Remove fat fingered extra 't'
@Gerrrr Gerrrr mentioned this pull request May 26, 2017
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.

2 participants