ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Miklos Gergely (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-18949) Extend current quick link JSON with properties
Date Wed, 30 Nov 2016 15:31:58 GMT

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

Miklos Gergely commented on AMBARI-18949:
-----------------------------------------

committed to trunk:
{code:java}
commit 9559a1626ac5e6dd3f6ddf65b1fd450171bc4f26
Author: Balazs Bence Sari <bsari@hortonworks.com>
Date:   Wed Nov 30 16:24:04 2016 +0100

    AMBARI-18949 Extend current quick link JSON with properties
    
    Change-Id: I209e594e74964b2bab71a454c2b77f785bb02a82
{code}

committed to branch-2.5:
{code:java}
commit eec985b1675d35f407913c66b405bfee95527931
Author: Balazs Bence Sari <bsari@hortonworks.com>
Date:   Wed Nov 30 16:23:40 2016 +0100

    AMBARI-18949 Extend current quick link JSON with properties
    
    Change-Id: Ie994b82cea7abddcb6d4c32afc6b8597b608f025
{code}

> Extend current quick link JSON with properties
> ----------------------------------------------
>
>                 Key: AMBARI-18949
>                 URL: https://issues.apache.org/jira/browse/AMBARI-18949
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-server
>    Affects Versions: 2.5.0
>            Reporter: Balázs Bence Sári
>            Assignee: Balázs Bence Sári
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-18949-Quicklinks-properties-trunk-v2.patch
>
>
> Quick link data json should have an optional _properties_ field for each link. This field
is a list of Strings and can contain informative tags about the quicklink such a _sso_ or
_authenticated_.
> New json parser should be compatible with legacy quick links not having this field.
> *Example (change highlighted)*
> {code:javascript}
> ...
> "links": [
>   {
>     "name": "ranger_admin_ui",
>     "label": "Ranger Admin UI",
>     "requires_user_name": "false",
>     "url": "%@://%@:%@",
> --> "properties": ["sso", "authenticated"], <--
>     "port":{
>       "http_property": "ranger.service.http.port",
>       "http_default_port": "6080",
>       "https_property": "ranger.service.https.port",
>       "https_default_port": "6182",
>       "regex": "(\\d*)+",
>       "site": "ranger-admin-site"
>     }
>   }
> ]
> ...
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message