[
https://issues.apache.org/jira/browse/AMBARI-7051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Hurley updated AMBARI-7051:
------------------------------------
Description:
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}
POST api/v1/clusters/c1/alert_groups/10
{
"AlertGroup": {
"name": "Test",
"targets": ["4","5"],
"definitions": ["2", "3"]
}
}
{code}
was:
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}
{
"AlertGroup": {
"name": "Test",
"targets": ["4","5"],
"definitions": ["2"]
}
}
{code}
> 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: 1.8.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}
> POST api/v1/clusters/c1/alert_groups/10
> {
> "AlertGroup": {
> "name": "Test",
> "targets": ["4","5"],
> "definitions": ["2", "3"]
> }
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)