[ 
https://issues.apache.org/jira/browse/AMBARI-15138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15227361#comment-15227361
 ] 

Hudson commented on AMBARI-15138:
---------------------------------

ABORTED: Integrated in Ambari-trunk-Commit #4600 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/4600/])
AMBARI-15138 SCRIPT params should support visibility attribute (zhewang) 
(zhewang: 
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=32da806c990b6f399beaa44bcd6ed67ce13d8b0e])
* ambari-web/app/models/alerts/alert_definition.js
* ambari-web/app/mappers/alert_definitions_mapper.js
* ambari-web/app/controllers/main/alerts/definition_configs_controller.js
* ambari-web/app/templates/main/alerts/configs.hbs


> SCRIPT params should support visibility attribute
> -------------------------------------------------
>
>                 Key: AMBARI-15138
>                 URL: https://issues.apache.org/jira/browse/AMBARI-15138
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-web
>    Affects Versions: 2.4.0
>            Reporter: Zhe (Joe) Wang
>            Assignee: Zhe (Joe) Wang
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-15138.v0.patch
>
>
> 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)

Reply via email to