Skip to content

Add MS Teams Notifier To Notification Hook#513

Merged
nigthknight merged 12 commits intomainfrom
hook/teams-notifier
Jul 9, 2021
Merged

Add MS Teams Notifier To Notification Hook#513
nigthknight merged 12 commits intomainfrom
hook/teams-notifier

Conversation

@nigthknight
Copy link
Member

@nigthknight nigthknight commented Jun 21, 2021

  • [Refactor] Create New AbstractWebHookNotifier
  • Add MSTeamsNotifier
  • Add Option To Render Nunjucks Templates
  • Add Documentation For MSTeamsNotifier

closes #318

@nigthknight nigthknight added the hook Implement or update a hook label Jun 21, 2021
@nigthknight nigthknight self-assigned this Jun 21, 2021
@nigthknight nigthknight marked this pull request as draft June 21, 2021 10:39
@nigthknight nigthknight force-pushed the hook/teams-notifier branch from 1bdee92 to a868cad Compare June 21, 2021 10:46
@nigthknight nigthknight marked this pull request as ready for review June 21, 2021 10:48
@rfelber rfelber added this to the v3.0.0 milestone Jun 22, 2021
@nigthknight nigthknight requested a review from rfelber June 28, 2021 06:54
@nigthknight nigthknight force-pushed the hook/teams-notifier branch from 34db5a7 to 164c3e9 Compare June 29, 2021 06:20
@nigthknight nigthknight requested a review from rfelber July 6, 2021 07:27
@nigthknight nigthknight force-pushed the hook/teams-notifier branch from fb48a8f to b66b540 Compare July 6, 2021 07:33
The implementation for a ms-teams notifier is nearly identical to the
implementation of the slack notifier so I decided to create a new base
class to handle Webhook Notifiers

Signed-off-by: Yannik Fuhrmeister <yannik.fuhrmeister@iteratec.com>
I had to update a test for NotifierFactory because it expected the
creation of a Notifier type of MS_TEAMS to fail.

Signed-off-by: Yannik Fuhrmeister <yannik.fuhrmeister@iteratec.com>
I wanted to render a nested template for a url containing a placeholder
for an id
Unfortunately I was not able to render this with the default setup so I
decided to pass another object to the render function containing the
Nunjucks function to render Strings

Signed-off-by: Yannik Fuhrmeister <yannik.fuhrmeister@iteratec.com>
Signed-off-by: Yannik Fuhrmeister <yannik.fuhrmeister@iteratec.com>
Signed-off-by: Yannik Fuhrmeister <yannik.fuhrmeister@iteratec.com>
Signed-off-by: Yannik Fuhrmeister <yannik.fuhrmeister@iteratec.com>
Signed-off-by: Yannik Fuhrmeister <yannik.fuhrmeister@iteratec.com>
Signed-off-by: Yannik Fuhrmeister <yannik.fuhrmeister@iteratec.com>
Signed-off-by: Yannik Fuhrmeister <yannik.fuhrmeister@iteratec.com>
Signed-off-by: Yannik Fuhrmeister <yannik.fuhrmeister@iteratec.com>
@nigthknight nigthknight force-pushed the hook/teams-notifier branch from b66b540 to cca9d0b Compare July 6, 2021 07:52
Signed-off-by: GitHub Actions <securecodebox@iteratec.com>
@nigthknight nigthknight enabled auto-merge July 6, 2021 07:54
@nigthknight nigthknight merged commit 0caa40c into main Jul 9, 2021
@nigthknight nigthknight deleted the hook/teams-notifier branch July 9, 2021 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hook Implement or update a hook

Projects

None yet

Development

Successfully merging this pull request may close these issues.

⚓️ Add a generic notification Hook with message templates

3 participants