Oleg Nechiporenko created AMBARI-9890:
-----------------------------------------
Summary: 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
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)