ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-15666) Add visibility attribute into SCRIPT params
Date Tue, 05 Apr 2016 16:07:25 GMT

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

Hudson commented on AMBARI-15666:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #4597 (See [https://builds.apache.org/job/Ambari-trunk-Commit/4597/])
AMBARI-15666. Add visibility attribute into SCRIPT params (aonishuk) (aonishuk: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=7debaaee71cc1a76ecfd453eb8e2088d695c29ef])
* ambari-server/src/main/java/org/apache/ambari/server/upgrade/SchemaUpgradeHelper.java
* ambari-server/src/main/java/org/apache/ambari/server/state/alert/ScriptSource.java
* ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/alerts.json
* ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog240.java
* ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/alerts.json


> 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, 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)

Mime
View raw message