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-18949) Extend current quick link JSON with properties
Date Wed, 30 Nov 2016 19:48:59 GMT

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

Hudson commented on AMBARI-18949:
---------------------------------

ABORTED: Integrated in Jenkins build Ambari-trunk-Commit #6117 (See [https://builds.apache.org/job/Ambari-trunk-Commit/6117/])
AMBARI-18949 Extend current quick link JSON with properties (mgergely: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=9559a1626ac5e6dd3f6ddf65b1fd450171bc4f26])
* (add) ambari-server/src/test/resources/child_quicklinks_with_properties.json
* (edit) ambari-server/src/main/java/org/apache/ambari/server/state/quicklinks/Link.java
* (add) ambari-server/src/test/resources/parent_quicklinks_with_properties.json
* (edit) ambari-server/src/test/java/org/apache/ambari/server/stack/QuickLinksConfigurationModuleTest.java


> 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