accelo config actions notifications

The accelo config actions notifications command creates or updates the actions in the notifications.yml file at $AcceloHome/work/<cluster_name>/director/notifications.yml and pushes the data to Mongo DB.

This command is used to update the file and collection in DB if any field is to be updated from the following structure.

Note

Before executing, verify if this command is compatible to the targeted Pulse version.

clustername: ad_hdp_dev notifications: jira: enable: true projectkey: "" username: "" token: "" url: "" issuetype: Bug priority: "10" labels: - "" slack: enable: false defaultincomingwebhookurls: "" email: enable: false defaulttoemailids: "" timezone: clienttimezone: Asia/Kolkata clientdatetimeformat: dd-M-yyyy hh:mm:ss a

The following code snippet shows an example of how this command can be used.

accelo config actions notifications ? Select the notifications you would like to enable: [Use arrows to move, enter to select, type to filter] > [ ] slack [x] email [x] jira Enter the JODA Timezone value (Example: Asia/Jakarta): : Asia/Kolkata ✔ Enter the JODA Timezone value (Example: Asia/Jakarta): : Asia/Kolkata█ ✔ Enter Jira URL: : █ Enter Jira Project Key: : ✔ Enter Jira Username: : █ ✔ Enter Jira Token:: █ Enter Jira Priority: 10 Enter Jira Label (comma separated list):: INFO: Configuring Slack Notifications: Enter Slack DefaultIncomingWebhookUrls: : Enter Email DefaultToEmailIds (comma separated list): : ✓ Done, Actions Notifications Configuration file generated█ ✓ Done, Actions Notifications pushed to Pulse DB