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 CAEF3174EA for ; Tue, 3 Mar 2015 12:47:06 +0000 (UTC) Received: (qmail 92575 invoked by uid 500); 3 Mar 2015 12:47:05 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 92546 invoked by uid 500); 3 Mar 2015 12:47:05 -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 92534 invoked by uid 99); 3 Mar 2015 12:47:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Mar 2015 12:47:05 +0000 Date: Tue, 3 Mar 2015 12:47:05 +0000 (UTC) From: "Hadoop QA (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (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:comment-tabpanel&focusedCommentId=14345023#comment-14345023 ] Hadoop QA commented on AMBARI-9890: ----------------------------------- {color:green}+1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12702166/AMBARI-9890.patch against trunk revision . {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:green}+1 tests included{color}. The patch appears to include 2 new or modified test files. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:green}+1 core tests{color}. The patch passed unit tests in . Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/1890//testReport/ Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/1890//console This message is automatically generated. > 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)