Fedora Account System
Red Hat Associate
Red Hat Customer
We need an API to assign alert profiles to the Enterprise to automate deployments of CFME. This functionality exists in the UI under "Control->Explorer->Alert Profiles -> select an alert profile -> configuration -> edit assignments for this alert profile", but there's no API for it yet.
https://github.com/ManageIQ/manageiq-api/pull/348
New commit detected on ManageIQ/manageiq-api/master: https://github.com/ManageIQ/manageiq-api/commit/09a440a7ccb516510716baee68d9ee3250f554b0 commit 09a440a7ccb516510716baee68d9ee3250f554b0 Author: Jillian Tullo <jtullo> AuthorDate: Thu Mar 15 15:55:33 2018 -0400 Commit: Jillian Tullo <jtullo> CommitDate: Thu Mar 15 15:55:33 2018 -0400 Unassign alert definition profiles Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1539379 app/controllers/api/alert_definition_profiles_controller.rb | 18 + config/api.yml | 4 + spec/requests/alert_definition_profiles_spec.rb | 52 + 3 files changed, 74 insertions(+)
FIXED. Verified on 5.10.0.23.20181106165157_92dd189. Turns out you were right Gregg. I collected all tags via API and selected one at random("roles/change_managers") from the list. I'm still not sure why "roles/change_managers" did not work. I then selected one tag from the list on UI and it worked. Tested the tag "department/accounting" with both name and href, and it worked fine.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2019:0212