relax api payload and accept custom input

Bug #1840747 reported by norman shen
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

After this commit, masakari api will reject payload which does not confirm to pre-defined schema.

I think it is better to relax this constraint and allow additional parameters. For example, we are analysing uing prometheus-alertmanager to deliver alerts to masakari-api and create custom task flow to handle them. But I am worried that since payload format is pretty strict, I am not able to pass useful information to task flows.

So I am suggesting relax constraints and allow additional parameters.

Revision history for this message
Tushar Patil (tpatil) wrote :

Against which notification type you want to pass the alert information?

You can also resolve this issue by adding a new notification type where you can relax payload. You will need to propose a new blueprint in order to add a new notification type.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.