Dmitry Lysnichenko created AMBARI-15666:
-------------------------------------------
Summary: Add visibility attribute into SCRIPT params
Key: AMBARI-15666
URL: https://issues.apache.org/jira/browse/AMBARI-15666
Project: Ambari
Issue Type: Bug
Reporter: Dmitry Lysnichenko
Assignee: Dmitry Lysnichenko
Attachments: AMBARI-15666.patch
As discussed...Need an attribute "visibility" that can optionally be included
in SCRIPT params.
1) If omitted, the param is shown in the UI
2) If set "visibility":"hidden", the param is hidden in the UI
3) If set "visibility":"readonly", the param is shown in the UI but not edtiable
{code}
"parameters": [
{
"name": "connection.timeout",
"display_name": "Connection Timeout",
"value": 5.0,
"type": "NUMERIC",
"description": "The maximum time before this alert is considered to be
CRITICAL",
"units": "seconds",
"threshold": "CRITICAL"
},
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)