[
https://issues.apache.org/jira/browse/AMBARI-18949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15708997#comment-15708997
]
Hudson commented on AMBARI-18949:
---------------------------------
FAILURE: Integrated in Jenkins build Ambari-branch-2.5 #416 (See
[https://builds.apache.org/job/Ambari-branch-2.5/416/])
AMBARI-18949 Extend current quick link JSON with properties (mgergely:
[http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=eec985b1675d35f407913c66b405bfee95527931])
* (add) ambari-server/src/test/resources/child_quicklinks_with_properties.json
* (edit)
ambari-server/src/test/java/org/apache/ambari/server/stack/QuickLinksConfigurationModuleTest.java
* (add) ambari-server/src/test/resources/parent_quicklinks_with_properties.json
* (edit)
ambari-server/src/main/java/org/apache/ambari/server/state/quicklinks/Link.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)