[
https://issues.apache.org/jira/browse/AMBARI-13182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14902441#comment-14902441
]
Oleg Nechiporenko commented on AMBARI-13182:
--------------------------------------------
+1 for 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)