Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B5C5A10BB0 for ; Wed, 4 Mar 2015 11:43:09 +0000 (UTC) Received: (qmail 84051 invoked by uid 500); 4 Mar 2015 11:43:04 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 84012 invoked by uid 500); 4 Mar 2015 11:43:04 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 84000 invoked by uid 99); 4 Mar 2015 11:43:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Mar 2015 11:43:04 +0000 Date: Wed, 4 Mar 2015 11:43:04 +0000 (UTC) From: "Oleg Nechiporenko (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-9890) Web Client Should Create Alert Target With 'overwriteExisting' Directive MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-9890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleg Nechiporenko updated AMBARI-9890: -------------------------------------- Attachment: AMBARI-9890_branch-2.0.0.patch AMBARI-9890.patch > 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.patch, AMBARI-9890_branch-2.0.0.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)