Aleksandr Kovalenko created AMBARI-8520:
-------------------------------------------

             Summary: Alerts UI: In create alert wizard, need per alert-type 
configurations on Page-2
                 Key: AMBARI-8520
                 URL: https://issues.apache.org/jira/browse/AMBARI-8520
             Project: Ambari
          Issue Type: Task
          Components: ambari-web
    Affects Versions: 2.0.0
            Reporter: Aleksandr Kovalenko
            Assignee: Aleksandr Kovalenko
            Priority: Critical
             Fix For: 2.0.0


On the create alert wizard we have 3 pages. The first page selects an 
alert-type. The second page configures that alert-type. The third page reviews 
and makes the POST call.

In this JIRA we need to provide the configuration content per alert-type. This 
should include configuring the 5 different alert-types.

We need to keep in mind that alert-definitions can be created for services, and 
for hosts. So the UI should look like this
{noformat}
 o[radio button] Service Alert Definition
        Service: [combo for picking service]
        Component: [combo for picking component]
        Scope: [combo for Any|Service|Host]
 o[radio button] Host Alert Definition
{noformat}
{{Service Alert Definition}} is selected by default. 
Selecting {{Host Alert Definition}} disables the above 3 combos. However, in 
the API, it fills following values
{code}
     "AlertDefinition" : {
        ...
        "cluster_name" : "c1",
        "component_name" : "AMBARI_AGENT",
        "scope" : "HOST",
        "service_name" : "AMBARI",
        ...
      }
{code}



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

Reply via email to