[ 
https://issues.apache.org/jira/browse/AMBARI-8595?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan Hurley updated AMBARI-8595:
------------------------------------
    Attachment: AMBARI-8595.patch

> AlertTargets Should Allow AlertGroup Associations To Be Modified From POST
> --------------------------------------------------------------------------
>
>                 Key: AMBARI-8595
>                 URL: https://issues.apache.org/jira/browse/AMBARI-8595
>             Project: Ambari
>          Issue Type: Task
>          Components: alerts, ambari-server
>    Affects Versions: 2.0.0
>            Reporter: Jonathan Hurley
>            Assignee: Jonathan Hurley
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-8595.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> When updating or creating an AlertTarget, the AlertGroup associations for 
> that AlertTarget should be able to modified. 
> {code}
> PUT http://localhost:8080/api/v1/alert_targets/1
> {
>   "AlertTarget": {
>     "groups": [1,2]
>   }
> }
> {code}
> {code}
> POST http://localhost:8080/api/v1/alert_targets/1
> {
>   "AlertTarget": {
>     "name": "Simple",
>     "description": "This target does not work",
>     "notification_type": "FOO",
>     "groups": [1,2,3]
>   }
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to