[ https://issues.apache.org/jira/browse/AMBARI-15604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15227584#comment-15227584 ]
Hudson commented on AMBARI-15604: --------------------------------- SUCCESS: Integrated in Ambari-trunk-Commit #4601 (See [https://builds.apache.org/job/Ambari-trunk-Commit/4601/]) AMBARI-15604 Alert Definitions Repeat Tolerance Values Exposed In Web (zhewang: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=2486b8cbb7643089692e3bf0bea87da9f617bad1]) * ambari-web/app/views/main/alerts/definition_details_view.js * ambari-web/app/models/alerts/alert_definition.js * ambari-web/app/views/main/alerts/definition_configs_view.js * ambari-web/app/mappers/alert_definitions_mapper.js * ambari-web/app/messages.js * ambari-web/app/controllers/main/alerts/definition_details_controller.js * ambari-web/test/views/main/alerts/definition_details_view_test.js * ambari-web/app/templates/main/alerts/definition_details.hbs * ambari-web/app/styles/alerts.less * ambari-web/app/controllers/global/update_controller.js > Alert Definitions Repeat Tolerance Values Exposed In Web Client > --------------------------------------------------------------- > > Key: AMBARI-15604 > URL: https://issues.apache.org/jira/browse/AMBARI-15604 > Project: Ambari > Issue Type: Task > Components: ambari-web > Affects Versions: 2.4.0 > Reporter: Zhe (Joe) Wang > Assignee: Zhe (Joe) Wang > Fix For: 2.4.0 > > Attachments: AMBARI-15604.v0.patch, AMBARI-15604.v1.patch, > AMBARI-15604.v2.patch, AMBARI-15604.v3.patch > > > Alert definitions will now expose two properties to control repeat tolerance > values on an individual based (overriding those from > {{cluster-env/alerts_repeat_tolerance}} > {code} > GET api/v1/clusters/<cluster>/alert_definition/<id> > "AlertDefinition" : { > "cluster_name" : "c1", > "component_name" : "RESOURCEMANAGER", > "enabled" : true, > "interval" : 1, > "label" : "Demo YARN RM Address", > "name" : "demo_yarn_rm_address", > "scope" : "ANY", > "service_name" : "YARN", > "repeat_tolerance" : 1, > "repeat_tolerance_enabled" : false > ... > } > {code} > {code} > PUT api/v1/clusters/<cluster>/alert_definition/<id> > "AlertDefinition" : { > ... > "repeat_tolerance" : 5, > "repeat_tolerance_enabled" : true > ... > } > If the overridden global repeat tolerance value is to be removed, then the > alert should be updated to indicate that the customized value is ignored: > "AlertDefinition" : { > ... > "repeat_tolerance_enabled" : false > ... > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)