ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xi Wang" <>
Subject Re: Review Request 27433: Alerts UI: Create model and mapper for Alert-Notifications
Date Tue, 04 Nov 2014 21:46:02 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated Nov. 4, 2014, 1:46 p.m.)

Review request for Ambari, Aleksandr Kovalenko and Srimanth Gunturi.

Bugs: AMBARI-8055

Repository: ambari


Alert notifications will be used by Alert definition and host level alert pages. For them
we need to know more details about the notifications that were used. 

We need a model and mapper created for Alert Notifications. We need to refer to the API to
see what exact fields have to mapped.

{{Alert-Target}} class is:
* id (number),
* name: (string),
* type: (string),  // notification type 'EMAIL' ...
* description: (string),
* properties: (string)

Diffs (updated)

  ambari-web/app/assets/data/alerts/alertNotifications.json PRE-CREATION 
  ambari-web/app/mappers/alert_notification_mapper.js PRE-CREATION 
  ambari-web/app/models.js b01fbc2 
  ambari-web/app/models/alert_instance.js b13b952 
  ambari-web/app/models/alert_notification.js PRE-CREATION 
  ambari-web/app/utils/ajax/ajax.js cb3bc28 




Xi Wang

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message