[jira] [Commented] (AMBARI-8595) AlertTargets Should Allow AlertGroup Associations To Be Modified From POST

2014-12-09 Thread Hudson (JIRA)

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

Hudson commented on AMBARI-8595:


SUCCESS: Integrated in Ambari-trunk-Commit-docker #426 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit-docker/426/])
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/test/java/org/apache/ambari/server/controller/internal/AlertTargetResourceProviderTest.java
* 
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertTargetEntity.java
* 
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AlertTargetResourceProvider.java
* 
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/AlertDispatchDAO.java
* 
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertGroupEntity.java
* 
ambari-server/src/test/java/org/apache/ambari/server/orm/dao/AlertDispatchDAOTest.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)


[jira] [Commented] (AMBARI-8595) AlertTargets Should Allow AlertGroup Associations To Be Modified From POST

2014-12-09 Thread Hudson (JIRA)

[ 
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)


[jira] [Commented] (AMBARI-8595) AlertTargets Should Allow AlertGroup Associations To Be Modified From POST

2014-12-08 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on AMBARI-8595:
---

{color:green}+1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12685863/AMBARI-8595.patch
  against trunk revision .

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+1 tests included{color}.  The patch appears to include 2 new 
or modified test files.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 core tests{color}.  The patch passed unit tests in 
ambari-server.

Test results: 
https://builds.apache.org/job/Ambari-trunk-test-patch/846//testReport/
Console output: 
https://builds.apache.org/job/Ambari-trunk-test-patch/846//console

This message is automatically generated.

> 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)