[ 
https://issues.apache.org/jira/browse/AMBARI-6959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14107361#comment-14107361
 ] 

Tom Beerbower commented on AMBARI-6959:
---------------------------------------

[~aonishuk], reverted because of failing unit tests ...

{code}
Results :

Failed tests:   
testPopulateConfigTypes(org.apache.ambari.server.api.util.StackExtensionHelperTest):
 expected:<{[global={supports={final=true}}, 
hdfs-site={supports={final=fals]e}}, hadoop-policy={...> but 
was:<{[hdfs-site={supports={final=false}}, global={supports={final=tru]e}}, 
hadoop-policy={...>
  
testPopulateServiceProperties_supportsFinalTrue(org.apache.ambari.server.api.util.StackExtensionHelperTest):
 expected:<{[global={supports={final=true}}, 
hdfs-site={supports={final=fals]e}}, hadoop-policy={...> but 
was:<{[hdfs-site={supports={final=false}}, global={supports={final=tru]e}}, 
hadoop-policy={...>
  
testPopulateServiceProperties_supportsFinalFalse(org.apache.ambari.server.api.util.StackExtensionHelperTest):
 expected:<{[global={supports={final=true}}, 
hdfs-site={supports={final=fals]e}}, yarn-site={supp...> but 
was:<{[hdfs-site={supports={final=false}}, global={supports={final=tru]e}}, 
yarn-site={supp...>

Tests run: 17, Failures: 3, Errors: 0, Skipped: 0{code}

> Stacks service API: configTypes filed should return contained configuration 
> files for the service
> -------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-6959
>                 URL: https://issues.apache.org/jira/browse/AMBARI-6959
>             Project: Ambari
>          Issue Type: Task
>          Components: site
>    Affects Versions: 1.7.0
>            Reporter: Jaimin D Jetly
>            Assignee: Andrew Onischuk
>            Priority: Critical
>             Fix For: 1.7.0
>
>
> Right now service metainfo definition provides 
> configuration-dependencies tag that is exposed in the API as configTypes 
> field.
> *configTypes:*
> Name of all the configuration types that the service carries in it's 
> configuration folder. UI will use this to *display configType section and 
> configurations on the service config page*.
> As of now UI Uses the configTypes files that actually gives 
> configDependencies values by hard-coding the references to the services in 
> the web-code which can lead to potential bugs when service metainfo.xml is 
> changed with to address just one functionality



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to