[
https://issues.apache.org/jira/browse/AMBARI-7051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alejandro Fernandez updated AMBARI-7051:
----------------------------------------
Fix Version/s: (was: 1.8.0)
2.0.0
> Alerts: Expose Creation and Updating of Group Targets & Definitions
> -------------------------------------------------------------------
>
> Key: AMBARI-7051
> URL: https://issues.apache.org/jira/browse/AMBARI-7051
> Project: Ambari
> Issue Type: Task
> Affects Versions: 1.8.0
> Reporter: Jonathan Hurley
> Assignee: Jonathan Hurley
> Fix For: 2.0.0
>
>
> The alert group endpoint {{api/v1/clusters/c1/alert_groups}} must provide
> structured responses for both the definitions and targets associated with
> that group.
> The endpoint must also allow updating of the group name, target associations,
> and definition associations.
> Creation or update of a group with associated targets and definitions.
> {code}
> POST api/v1/clusters/c1/alert_groups
> {
> "AlertGroup": {
> "name": "Test",
> "targets": [4,5],
> "definitions": [2]
> }
> }
> {code}
> {code}
> PUT api/v1/clusters/c1/alert_groups/10
> {
> "AlertGroup": {
> "name": "Test",
> "targets": [4,5],
> "definitions": [2]
> }
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)