[ https://issues.apache.org/jira/browse/AMBARI-18949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Balázs Bence Sári updated AMBARI-18949: --------------------------------------- Attachment: AMBARI-18949-Quicklinks-properties-trunk-v2.patch New patch to consider inheritance. > 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)