Dmitry Vasilenko created AMBARI-11974:
-----------------------------------------
Summary: 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.2.0
Reporter: Dmitry Vasilenko
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)