sonatype-nexus-community / sonatype-webhook-handler

Get Sonatype Lifecycle notifications in Microsoft Teams, Slack and more!
https://sonatype-nexus-community.github.io/sonatype-webhook-handler/
Apache License 2.0
1 stars 1 forks source link

Create config.json file to map IQ message to appropriate channel #5

Closed acpcreation closed 1 year ago

acpcreation commented 1 year ago

When a webhook notification is received by IQ we need to route it to the correct channel. The config.json will look something like this:

[
   {
      applications:["IQ-App-ID", "..."]
      channelURL:"https://hooks.slack.com/services/..."
   },{
      applications:"DEFAULT"
      channelURL:"https://sonatype.webhook.office.com/webhookb2/..."
   }
]