[ 
https://issues.apache.org/jira/browse/AMBARI-8595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14239595#comment-14239595
 ] 

Hudson commented on AMBARI-8595:
--------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #1147 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/1147/])
AMBARI-8595 - AlertTargets Should Allow AlertGroup Associations To Be Modified 
From POST (jonathanhurley) (jhurley: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=3022e2749460089896f681bd64ed549237fd1f9d)
* 
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertTargetEntity.java
* 
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/AlertTargetResourceProviderTest.java
* 
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/AlertDispatchDAO.java
* 
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AlertTargetResourceProvider.java
* 
ambari-server/src/test/java/org/apache/ambari/server/orm/dao/AlertDispatchDAOTest.java
* 
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertGroupEntity.java


> 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