You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Alejandro Fernandez (JIRA)" <ji...@apache.org> on 2015/08/17 18:47:47 UTC

[jira] [Updated] (AMBARI-11974) Display label for the custom action

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

Alejandro Fernandez updated AMBARI-11974:
-----------------------------------------
    Labels: feature_custom_service  (was: )

> 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
>              Labels: feature_custom_service
>             Fix For: 2.2.0
>
>
> 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)