aodh alarm action url with header

Bug #1808483 reported by Chiawei Xie
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Aodh
New
Undecided
Unassigned

Bug Description

How to add headers to alarm_actions send to url?

For example:

Senlin project had webhook to scale out and in for cluster.

But POST senlin webhook with body can't work.

If want to POST senlin webhook with body, must add headers:
openstack-api-version : clustering 1.10

But aodh alarm_actions can't specify headers.
https://github.com/openstack/aodh/blob/master/aodh/notifier/rest.py#L79

Chiawei Xie (dommgifer)
description: updated
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.