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 F208C177F6 for ; Tue, 3 Mar 2015 14:23:13 +0000 (UTC) Received: (qmail 16741 invoked by uid 500); 3 Mar 2015 14:23:04 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 16706 invoked by uid 500); 3 Mar 2015 14:23: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 16693 invoked by uid 99); 3 Mar 2015 14:23:04 -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 14:23:04 +0000 Date: Tue, 3 Mar 2015 14:23:04 +0000 (UTC) From: "Hudson (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=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)