[
https://issues.apache.org/jira/browse/AMBARI-11974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Di Li updated AMBARI-11974:
---------------------------
Attachment: AMBARI-11974.patch
> Display label for the custom action
> -----------------------------------
>
> Key: AMBARI-11974
> URL: https://issues.apache.org/jira/browse/AMBARI-11974
> Project: Ambari
> Issue Type: Improvement
> Components: ambari-server
> Affects Versions: 2.1.0
> Reporter: Dmitry Vasilenko
> Assignee: Di Li
> Labels: feature_custom_service
> Fix For: trunk
>
> Attachments: AMBARI-11974.patch
>
>
> As currently implemented, the name of the function in the Python script is
> shown as it is in the Ambari web UI for the custom command:
> {noformat}
> <customCommand>
> <name>Remove_Sample_Data</name>
> <commandScript>
> <script>scripts/server.py</script>
> <scriptType>PYTHON</scriptType>
> <timeout>600</timeout>
> </commandScript>
> </customCommand>
> {noformat}
> It would be more convenient to have a display label in addition to the
> function name so that the menu item would look like "Remove Sample Data"
> instead of "Remove_Sample_Data".
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)