ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jai...@apache.org
Subject ambari git commit: AMBARI-17565. With wire-encryption enabled, quick links in ambari UI points to incorrect atlas web url. (jaimin)
Date Tue, 05 Jul 2016 18:55:09 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk ffc3c7111 -> 859a3758b


AMBARI-17565. With wire-encryption enabled, quick links in ambari UI points to incorrect atlas
web url. (jaimin)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/859a3758
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/859a3758
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/859a3758

Branch: refs/heads/trunk
Commit: 859a3758bd48015b031f4eb7ca083a3f8706c10e
Parents: ffc3c71
Author: Jaimin Jetly <jaimin@hortonworks.com>
Authored: Tue Jul 5 11:56:58 2016 -0700
Committer: Jaimin Jetly <jaimin@hortonworks.com>
Committed: Tue Jul 5 11:58:05 2016 -0700

----------------------------------------------------------------------
 .../stacks/HDP/2.5/services/ATLAS/metainfo.xml  |  7 ++++
 .../services/ATLAS/quicklinks/quicklinks.json   | 35 ++++++++++++++++++++
 2 files changed, 42 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/859a3758/ambari-server/src/main/resources/stacks/HDP/2.5/services/ATLAS/metainfo.xml
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.5/services/ATLAS/metainfo.xml b/ambari-server/src/main/resources/stacks/HDP/2.5/services/ATLAS/metainfo.xml
index 88c1915..020e339 100644
--- a/ambari-server/src/main/resources/stacks/HDP/2.5/services/ATLAS/metainfo.xml
+++ b/ambari-server/src/main/resources/stacks/HDP/2.5/services/ATLAS/metainfo.xml
@@ -28,6 +28,13 @@
         </component>
       </components>
 
+      <quickLinksConfigurations>
+        <quickLinksConfiguration>
+          <fileName>quicklinks.json</fileName>
+          <default>true</default>
+        </quickLinksConfiguration>
+      </quickLinksConfigurations>
+
       <osSpecifics>
         <osSpecific>
           <osFamily>redhat7,amazon2015,redhat6,suse11,suse12</osFamily>

http://git-wip-us.apache.org/repos/asf/ambari/blob/859a3758/ambari-server/src/main/resources/stacks/HDP/2.5/services/ATLAS/quicklinks/quicklinks.json
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/resources/stacks/HDP/2.5/services/ATLAS/quicklinks/quicklinks.json
b/ambari-server/src/main/resources/stacks/HDP/2.5/services/ATLAS/quicklinks/quicklinks.json
new file mode 100644
index 0000000..ce266c4
--- /dev/null
+++ b/ambari-server/src/main/resources/stacks/HDP/2.5/services/ATLAS/quicklinks/quicklinks.json
@@ -0,0 +1,35 @@
+{
+  "name": "default",
+  "description": "default quick links configuration",
+  "configuration": {
+    "protocol":
+    {
+      "type":"https",
+      "checks":[
+        {
+          "property":"atlas.enableTLS",
+          "desired":"true",
+          "site":"application-properties"
+        }
+      ]
+    },
+
+    "links": [
+      {
+        "name": "atlas_dashboard",
+        "label": "Atlas Dashboard",
+        "requires_user_name": "true",
+        "component_name": "ATLAS_SERVER",
+        "url": "%@://%@:%@/#!/search?user.name=%@",
+        "port":{
+          "http_property": "atlas.server.http.port",
+          "http_default_port": "21000",
+          "https_property": "atlas.server.https.port",
+          "https_default_port": "21443",
+          "regex": "^(\\d+)$",
+          "site": "application-properties"
+        }
+      }
+    ]
+  }
+}
\ No newline at end of file


Mime
View raw message