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 6511518234 for ; Fri, 6 Nov 2015 18:51:11 +0000 (UTC) Received: (qmail 71746 invoked by uid 500); 6 Nov 2015 18:51:11 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 71713 invoked by uid 500); 6 Nov 2015 18:51:11 -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 71659 invoked by uid 99); 6 Nov 2015 18:51:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Nov 2015 18:51:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 1CA372C1F5F for ; Fri, 6 Nov 2015 18:51:11 +0000 (UTC) Date: Fri, 6 Nov 2015 18:51:11 +0000 (UTC) From: "Hudson (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-13776) Remove hardcoded logic for handling db properties 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-13776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14994201#comment-14994201 ] Hudson commented on AMBARI-13776: --------------------------------- ABORTED: Integrated in Ambari-branch-2.1 #813 (See [https://builds.apache.org/job/Ambari-branch-2.1/813/]) AMBARI-13776. Remove hardcoded logic for handling db properties (akovalenko: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=4f542b50dbf462fe508749bc2e79defc476f6fb8]) * ambari-web/app/views/common/controls_view.js * ambari-web/test/views/common/controls_view_test.js > Remove hardcoded logic for handling db properties > ------------------------------------------------- > > Key: AMBARI-13776 > URL: https://issues.apache.org/jira/browse/AMBARI-13776 > Project: Ambari > Issue Type: Bug > Components: ambari-web > Affects Versions: 2.1.3 > Reporter: Aleksandr Kovalenko > Assignee: Aleksandr Kovalenko > Priority: Critical > Fix For: 2.1.3 > > Attachments: AMBARI-13776.patch > > > This might already be handled based on stack extensibility effort, but we need to make sure that we remove the hardcoded logic in ambari-web/app/views/common/controls_view.js::dontUseHandleDbConnection. > This is fragile, because the logic was checking for HDP 2.3 only. What about HDP 2.4 in the future, PHD 3.0/3.3, SAPHD 1.0, etc. We need be resilient and not hardcode versions. -- This message was sent by Atlassian JIRA (v6.3.4#6332)