From 96b2cdb25c96d0bc7dde44bcda8e6e6a4d493afa Mon Sep 17 00:00:00 2001 From: qxz15oi Date: Wed, 31 Mar 2021 14:02:52 +0200 Subject: [PATCH] guidelines / templates redefined --- .../CD_managementZone/notification/README.md | 62 +++++++++---------- 1 file changed, 29 insertions(+), 33 deletions(-) diff --git a/onboarding/CD_managementZone/notification/README.md b/onboarding/CD_managementZone/notification/README.md index adee3d75..d8564507 100644 --- a/onboarding/CD_managementZone/notification/README.md +++ b/onboarding/CD_managementZone/notification/README.md @@ -8,23 +8,21 @@ https://empty webhook (not configured). Follow [this](https://www.dynatrace.com/support/help/shortlink/set-up-msteams-integration#configuration-in-microsoft-teams) link 3. Add the incoming webhook to this line: - `-PROD.EMEA-Prod:` - - `- name: CD_ PROD` - - `- alertingProfile: CD_/alerting-profile/CD-PROD.id` - - `- webhook: ` - - `- skipDeployment: "false"` + ``` + -PROD.EMEA-Prod: + - name: CD_ PROD + - alertingProfile: CD_/alerting-profile/CD-PROD.id + - webhook: + - skipDeployment: "false" + ``` 4. Save and commit changes: - `git add ` - - `git commit -m " configuration changes"` - - `git push -u origin ` + ``` + git add + git commit -m " configuration changes" + git push -u origin + ``` Note: If you want to enable MS Teams for any other hub/stage, follow the same steps but make sure you're under the right configuration: `-.-:` @@ -33,31 +31,29 @@ Note: If you want to enable MS Teams for any other hub/stage, follow the same st In the following example, the team intends to use email instead of the default one (MS Teams) for the EMEA PROD notification system. For that, the following changes have to be done: 1. Keep the MS Teams integration disabled, with the https://empty webhook - `-PROD.EMEA-Prod:` - - `- name: CD_ PROD` - - `- alertingProfile: CD_/alerting-profile/CD-PROD.id` - - `- webhook: https://empty` - - `- skipDeployment: "false"` + ``` + -PROD.EMEA-Prod: + - name: CD_ PROD + - alertingProfile: CD_/alerting-profile/CD-PROD.id + - webhook: https://empty + - skipDeployment: "false" + ``` 2. Create a new configuration template under config, using the email template: - `config:` - - `- CDemail: email.json` + ``` + config: + - CDemail: email.json + ``` 3. Describe the configuration below, using the following template: - `CDemail.EMEA-Prod:` - - `- name: CD_ PROD` - - `- alertingProfile: CD_/alerting-profile/CD-PROD.id` - - `- receivers: distributionEmailexample@bmw.de` + ``` + CDemail.EMEA-Prod: + - name: CD_ PROD + - alertingProfile: CD_/alerting-profile/CD-PROD.id + - receivers: distributionEmailexample@bmw.de` + ``` ### ITSM Coming soon! \ No newline at end of file