Return-Path: X-Original-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E673E10E4D for ; Wed, 6 Nov 2013 23:29:18 +0000 (UTC) Received: (qmail 39014 invoked by uid 500); 6 Nov 2013 23:29:18 -0000 Delivered-To: apmail-incubator-ambari-dev-archive@incubator.apache.org Received: (qmail 38981 invoked by uid 500); 6 Nov 2013 23:29:18 -0000 Mailing-List: contact ambari-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@incubator.apache.org Delivered-To: mailing list ambari-dev@incubator.apache.org Received: (qmail 38937 invoked by uid 99); 6 Nov 2013 23:29:18 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Nov 2013 23:29:18 +0000 Date: Wed, 6 Nov 2013 23:29:18 +0000 (UTC) From: "Srimanth Gunturi (JIRA)" To: ambari-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-3699) App.ServiceConfig needs 'configsValidator' validating across service values 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-3699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Srimanth Gunturi updated AMBARI-3699: ------------------------------------- Attachment: AMBARI-3699_branch-1.4.patch > App.ServiceConfig needs 'configsValidator' validating across service values > --------------------------------------------------------------------------- > > Key: AMBARI-3699 > URL: https://issues.apache.org/jira/browse/AMBARI-3699 > Project: Ambari > Issue Type: Bug > Components: client > Affects Versions: 1.4.2 > Reporter: Srimanth Gunturi > Assignee: Srimanth Gunturi > Fix For: 1.4.0, 1.4.2 > > Attachments: AMBARI-3699.patch, AMBARI-3699_branch-1.4.patch > > > We have many properties whose values are interdependent. We have no mechanism to validate multiple properties in a service. We need to have a 'configsValidator' filed set in {{App.ServiceConfig}} class via {{data/service_configs.js}}. This field will have an object extending {{App.ServiceConfigsValidator}} class. This class will have one method - {{validateConfigs(App.ServiceConfigProperty[])}} which will validate the interdependencies between properties and mark them invalid if necessary with appropriate message. > For now only {{App.YARNServiceConfigsValidator}} will be implemented. -- This message was sent by Atlassian JIRA (v6.1#6144)