ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Srimanth Gunturi (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-3699) App.ServiceConfig needs 'configsValidator' validating across service values
Date Wed, 06 Nov 2013 02:26:17 GMT
Srimanth Gunturi created AMBARI-3699:
----------------------------------------

             Summary: 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.2


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)

Mime
View raw message