You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Oleg Nechiporenko (JIRA)" <ji...@apache.org> on 2015/03/03 13:27:04 UTC

[jira] [Created] (AMBARI-9890) Web Client Should Create Alert Target With 'overwriteExisting' Directive

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)