You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Andrii Babiichuk (JIRA)" <ji...@apache.org> on 2015/09/22 13:49:04 UTC

[jira] [Updated] (AMBARI-13182) Show hostname for a component as the first element of a category on service config page

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

Andrii Babiichuk updated AMBARI-13182:
--------------------------------------
    Attachment: AMBARI-13182.patch

> Show hostname for a component as the first element of a category on service config page
> ---------------------------------------------------------------------------------------
>
>                 Key: AMBARI-13182
>                 URL: https://issues.apache.org/jira/browse/AMBARI-13182
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-web
>    Affects Versions: 2.1.3
>            Reporter: Andrii Babiichuk
>            Assignee: Andrii Babiichuk
>             Fix For: 2.1.3
>
>         Attachments: AMBARI-13182.patch
>
>
> This task will result in following benefits:
> user/dev trying to add new service to ambari will need to change less UI code
> It will further reduce site_properties.js file managed on ambari-web ui. It will result in removal of _host and _hosts suffixed properties definition in site_propeties.js
> Following needs to be achieved as part of this ticket:
> While defining category for a service. Lets add an attribute to App.ServiceConfigCategory that indicates if the hostname needs to be shown or not. If that new property is marked as true and 'name' attribute of App.ServiceConfigCategory is a valid component name then we need to create and place a property under that category at the first index with name as ${componentname_in_lowercase}_host or ${componentname_in_lowercase}_hosts. DisplayType of that property should be masterHost or masterHosts depending upon the cardinality of the serviceComponent. 'isRequiredByAgent' attribute should be false.



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