[
https://issues.apache.org/jira/browse/AMBARI-9890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14345105#comment-14345105
]
Hudson commented on AMBARI-9890:
--------------------------------
FAILURE: Integrated in Ambari-trunk-Commit #1931 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/1931/])
AMBARI-9890. Web Client Should Create Alert Target With 'overwriteExisting'
Directive (onechiporenko) (onechiporenko:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=6f5d57e0cfbfcc23ee5c1bedb3fbca6b069e7604)
* ambari-web/test/controllers/wizard/step8_test.js
*
ambari-web/test/controllers/main/alerts/manage_alert_notifications_controller_test.js
* ambari-web/app/controllers/wizard/step8_controller.js
* ambari-web/app/utils/ajax/ajax.js
> Web Client Should Create Alert Target With 'overwriteExisting' Directive
> ------------------------------------------------------------------------
>
> Key: AMBARI-9890
> URL: https://issues.apache.org/jira/browse/AMBARI-9890
> Project: Ambari
> Issue Type: Bug
> Components: ambari-web
> Affects Versions: 2.0.0
> Reporter: Oleg Nechiporenko
> Assignee: Oleg Nechiporenko
> Priority: Critical
> Fix For: 2.0.0
>
> Attachments: AMBARI-9890.patch, AMBARI-9890_branch-2.0.0.patch
>
>
> When creating an alert target during cluster creation, the web client should
> use a creation directive to ensure that an existing alert target from a
> failed installation is overwritten.
> {code}
> POST http://localhost:8080/api/v1/alert_targets?overwriteExisting=true
> {
> "AlertTarget": {
> "name": "Simple",
> "description": "This target does not work",
> "notification_type": "FOO",
> "groups": [1,2,3]
> }
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)