ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yao Lei (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-19618) Make cohost components configurable in metainfo.xml instead of hardcoding in UI
Date Thu, 19 Jan 2017 02:12:26 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-19618?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Yao Lei updated AMBARI-19618:
-----------------------------
    Description: 
Cohost components information now is hardcoded in stack_service_component.js  as following:

App.StackServiceComponent.coHost = {
  'WEBHCAT_SERVER': 'HIVE_SERVER'
};

It's better to move them from javascript to metainfom.xml in stack like following:

<component>
          <name>WEBHCAT_SERVER</name>
          <displayName>WebHCat Server</displayName>
          <category>MASTER</category>
          <cardinality>1</cardinality>
          <versionAdvertised>true</versionAdvertised>
          <reassignAllowed>true</reassignAllowed>
          <coHost>HIVE_SERVER</coHost>
</component>


  was:
Cohost components information now is hardcoded in stack_service_component.js  as following:

App.StackServiceComponent.coHost = {
  'WEBHCAT_SERVER': 'HIVE_SERVER'
};

It's better to move them from javascript to metainfom.xml in stack



> Make cohost components configurable in metainfo.xml instead of hardcoding in UI
> -------------------------------------------------------------------------------
>
>                 Key: AMBARI-19618
>                 URL: https://issues.apache.org/jira/browse/AMBARI-19618
>             Project: Ambari
>          Issue Type: Improvement
>            Reporter: Yao Lei
>             Fix For: trunk, 2.5.0
>
>
> Cohost components information now is hardcoded in stack_service_component.js  as following:
> App.StackServiceComponent.coHost = {
>   'WEBHCAT_SERVER': 'HIVE_SERVER'
> };
> It's better to move them from javascript to metainfom.xml in stack like following:
> <component>
>           <name>WEBHCAT_SERVER</name>
>           <displayName>WebHCat Server</displayName>
>           <category>MASTER</category>
>           <cardinality>1</cardinality>
>           <versionAdvertised>true</versionAdvertised>
>           <reassignAllowed>true</reassignAllowed>
>           <coHost>HIVE_SERVER</coHost>
> </component>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message