-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/27433/
-----------------------------------------------------------
Review request for Ambari, Aleksandr Kovalenko and Srimanth Gunturi.
Bugs: AMBARI-8055
https://issues.apache.org/jira/browse/AMBARI-8055
Repository: ambari
Description
-------
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
-----
ambari-web/app/assets/data/alerts/alertTargets.json PRE-CREATION
ambari-web/app/mappers/alert_target_mapper.js PRE-CREATION
ambari-web/app/models.js b01fbc2
ambari-web/app/models/alert_target.js PRE-CREATION
ambari-web/app/utils/ajax/ajax.js 8bfb193
Diff: https://reviews.apache.org/r/27433/diff/
Testing
-------
Thanks,
Xi Wang