-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/31630/#review74779
-----------------------------------------------------------

Ship it!


Ship It!

- Tom Beerbower


On March 2, 2015, 6:22 p.m., Jonathan Hurley wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/31630/
> -----------------------------------------------------------
> 
> (Updated March 2, 2015, 6:22 p.m.)
> 
> 
> Review request for Ambari, Nate Cole and Tom Beerbower.
> 
> 
> Bugs: AMBARI-9874
>     https://issues.apache.org/jira/browse/AMBARI-9874
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Alert targets should include a directive to allow overwriting an existing 
> target with brand new data.
> 
> POST http://localhost:8080/api/v1/alert_targets?overwriteExisting=true
> {
>   "AlertTarget": {
>     "name": "Simple",
>     "description": "This target does not work",
>     "notification_type": "FOO",
>     "groups": [1,2,3]
>   }
> }
> 
> 
> Diffs
> -----
> 
>   
> ambari-server/src/main/java/org/apache/ambari/server/api/resources/AlertDefResourceDefinition.java
>  66e5a83 
>   
> ambari-server/src/main/java/org/apache/ambari/server/api/resources/AlertTargetResourceDefinition.java
>  5e5079e 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AlertDefinitionResourceProvider.java
>  886348b 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AlertTargetResourceProvider.java
>  19beb01 
>   
> ambari-server/src/test/java/org/apache/ambari/server/controller/internal/AlertTargetResourceProviderTest.java
>  2d08a7a 
> 
> Diff: https://reviews.apache.org/r/31630/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Jonathan Hurley
> 
>

Reply via email to