ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-8375) AlertGroup REST Endpoint Should Return Alert Definition Source Type
Date Tue, 18 Nov 2014 22:05:38 GMT

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

Hudson commented on AMBARI-8375:
--------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit-docker #264 (See [https://builds.apache.org/job/Ambari-trunk-Commit-docker/264/])
AMBARI-8375 - AlertGroup REST Endpoint Should Return Alert Definition Source Type (jonathanhurley)
(jhurley: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=8b6e7e9e2144aad895b37f8fb99edfbbf4657334)
* ambari-server/src/main/java/org/apache/ambari/server/controller/AlertDefinitionResponse.java
* ambari-server/src/test/java/org/apache/ambari/server/controller/internal/AlertGroupResourceProviderTest.java


> AlertGroup REST Endpoint Should Return Alert Definition Source Type
> -------------------------------------------------------------------
>
>                 Key: AMBARI-8375
>                 URL: https://issues.apache.org/jira/browse/AMBARI-8375
>             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-8375.patch
>
>
> Information about alert definitions should contain it's {{type}}.
> {code:title="source_type" : "PORT" or "WEB" or "SCRIPT" or "METRIC"|borderStyle=solid}
> http://localhost:8080/api/v1/clusters/c1/alert_groups?fields=*
>      "AlertGroup" : {
>         "cluster_name" : "c1",
>         "default" : true,
>         "definitions" : [
>           {
>             "name" : "ganglia_monitor_mapreduce_history_server",
>             "label" : "Ganglia History Server Process Monitor",
>             "enabled" : true,
>             "service_name" : "GANGLIA",
>             "component_name" : "GANGLIA_SERVER",
>             "id" : 1,
>             "source_type" : "PORT"
>           },
> ...
> {code}



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

Mime
View raw message