You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Jayush Luniya (JIRA)" <ji...@apache.org> on 2016/04/02 00:15:25 UTC

[jira] [Reopened] (AMBARI-15666) Add visibility attribute into SCRIPT params

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

Jayush Luniya reopened AMBARI-15666:
------------------------------------

Reverted patch due to UT failures. Please fix and recommit.

commit d312e310db3ec41044c3157b8c1a29e605fe3244
Author: Jayush Luniya <jl...@hortonworks.com>
Date:   Fri Apr 1 15:12:00 2016 -0700

    Revert "AMBARI-15666. Add visibility attribute into SCRIPT params (dlysnichenko)"

    This reverts commit df665c529d97a240557849e21c16c1796397f643.

    Conflicts:
        ambari-server/src/main/java/org/apache/ambari/server/upgrade/SchemaUpgradeHelper.java

> Add visibility attribute into SCRIPT params
> -------------------------------------------
>
>                 Key: AMBARI-15666
>                 URL: https://issues.apache.org/jira/browse/AMBARI-15666
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.4.0
>            Reporter: Dmitry Lysnichenko
>            Assignee: Dmitry Lysnichenko
>             Fix For: 2.4.0
>
>         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)