[
https://issues.apache.org/jira/browse/AMBARI-7984?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14185198#comment-14185198
]
Hadoop QA commented on AMBARI-7984:
-----------------------------------
{color:red}-1 overall{color}. Here are the results of testing the latest
attachment
http://issues.apache.org/jira/secure/attachment/12677299/AMBARI-7984.patch
against trunk revision .
{color:green}+1 @author{color}. The patch does not contain any @author
tags.
{color:red}-1 tests included{color}. The patch doesn't appear to include
any new or modified tests.
Please justify why no new tests are needed for this
patch.
Also please list what manual steps were performed to
verify this patch.
{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 .
Test results:
https://builds.apache.org/job/Ambari-trunk-test-patch/370//testReport/
Console output:
https://builds.apache.org/job/Ambari-trunk-test-patch/370//console
This message is automatically generated.
> Alerts UI: Create models for alert-definitions
> ----------------------------------------------
>
> Key: AMBARI-7984
> URL: https://issues.apache.org/jira/browse/AMBARI-7984
> Project: Ambari
> Issue Type: Task
> Components: ambari-web
> Affects Versions: 2.0.0
> Reporter: Aleksandr Kovalenko
> Assignee: Aleksandr Kovalenko
> Fix For: 2.0.0
>
> Attachments: AMBARI-7984.patch
>
>
> Alerts UI needs to model Alert-Definitions and Alert-Instances as classes.
> {{Alert-Definition}} class is:
> * id (number)
> * name (string)
> * label (string)
> * serviceName (string)
> * componentName (string)
> * enabled (boolean)
> * scope (string)
> * interval (number)
> * type (string) // "SCRIPT" | "METRIC" | "AGGREGATE" | "PERCENT" | "PORT"
> {{Alert-Report-Definition}} class:
> * type (string) - OK, Warning, Critical
> * text (string)
> * value (number) - may not exist
> {{Alert-Metrics-Source-Definition}} class:
> * propertyList (string[])
> * value (string)
> {{Port-Alert-Definition}} class extends {{Alert-Definition}} class:
> * defaultPort (number)
> * uri (string)
> * reporting (Alert-Report-Definition[])
> {{Metrics-Alert-Definition}} class extends {{Alert-Definition}} class:
> // either jmx or ganglia will exist
> * jmx (Alert-Metrics-source-Definition)
> * ganglia (Alert-Metrics-source-Definition)
> * uri (string)
> * reporting (Alert-Report-Definition[])
> {{Aggregate-Alert-Definition}} class extends {{Alert-Definition}} class:
> * alertName (string)
> * reporting (Alert-Report-Definition[])
> {{Script-Alert-Definition}} class extends {{Alert-Definition}} class:
> * location (string) //a path
> * reporting ({{Alert-Report-Definition}}[])
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)