You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2014/10/06 23:59:40 UTC

[jira] [Commented] (AMBARI-7051) Alerts: Expose Creation and Updating of Group Targets & Definitions

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

Hudson commented on AMBARI-7051:
--------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #492 (See [https://builds.apache.org/job/Ambari-trunk-Commit/492/])
AMBARI-7051 - Alerts: Expose Creation and Updating of Group Targets & Definitions (jonathanhurley) (jhurley: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=76fc94ec1ab6ee904e0efa254c19521a201c06d4)
* ambari-server/src/test/java/org/apache/ambari/server/orm/dao/AlertDispatchDAOTest.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/AlertDefinitionResponse.java
* ambari-server/src/main/java/org/apache/ambari/server/state/alert/AlertTarget.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AlertGroupResourceProvider.java
* ambari-server/src/main/java/org/apache/ambari/server/orm/dao/AlertDefinitionDAO.java
* ambari-server/src/test/java/org/apache/ambari/server/controller/internal/AlertGroupResourceProviderTest.java
* ambari-server/src/test/java/org/apache/ambari/server/controller/internal/AlertTargetResourceProviderTest.java
* ambari-server/src/test/java/org/apache/ambari/server/orm/dao/AlertDefinitionDAOTest.java
* ambari-agent/src/main/python/ambari_agent/alerts/base_alert.py
* ambari-agent/src/main/python/ambari_agent/alerts/port_alert.py
* ambari-server/src/main/java/org/apache/ambari/server/orm/dao/AlertDispatchDAO.java
* ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertDefinitionEntity.java
* ambari-server/src/main/java/org/apache/ambari/server/api/services/AlertGroupService.java
* ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertTargetEntity.java
* ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertGroupEntity.java


> 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: 2.0.0
>            Reporter: Jonathan Hurley
>            Assignee: Jonathan Hurley
>             Fix For: 2.0.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}
> PUT api/v1/clusters/c1/alert_groups/10
> {
>   "AlertGroup": {
>     "name": "Test",
>     "targets": [4,5],
>     "definitions": [2]
>   }
> }
> {code}



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