You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by am...@apache.org on 2018/08/28 11:16:06 UTC

[ambari] branch trunk updated: AMBARI-24538: OneFS mpack quicklinks require port, https (#2169)

This is an automated email from the ASF dual-hosted git repository.

amagyar pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 251aec0  AMBARI-24538: OneFS mpack quicklinks require port, https (#2169)
251aec0 is described below

commit 251aec097c805f672ca1d411ff58bb37a2cb060e
Author: ro-ket <ro...@gmail.com>
AuthorDate: Tue Aug 28 04:16:03 2018 -0700

    AMBARI-24538: OneFS mpack quicklinks require port, https (#2169)
    
    Add port to url, define port, and switch protocol to https
---
 .../ONEFS/1.0.0/quicklinks/quicklinks.json              | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)

diff --git a/contrib/management-packs/isilon-onefs-mpack/src/main/resources/addon-services/ONEFS/1.0.0/quicklinks/quicklinks.json b/contrib/management-packs/isilon-onefs-mpack/src/main/resources/addon-services/ONEFS/1.0.0/quicklinks/quicklinks.json
index 0b9656f..8e8dcae 100644
--- a/contrib/management-packs/isilon-onefs-mpack/src/main/resources/addon-services/ONEFS/1.0.0/quicklinks/quicklinks.json
+++ b/contrib/management-packs/isilon-onefs-mpack/src/main/resources/addon-services/ONEFS/1.0.0/quicklinks/quicklinks.json
@@ -3,16 +3,22 @@
   "description": "default quick links configuration",
   "configuration": {
     "protocol": {
-      "type": "HTTP_ONLY"
+      "type": "HTTPS_ONLY"
     },
     "links": [
       {
         "component_name" : "ONEFS_CLIENT",
         "name": "onefs_web_ui",
         "label": "OneFS Web UI",
-        "url": "%@://%@",
+        "url": "%@://%@:%@",
+        "port": {
+          "http_default_port": "8080",
+          "https_default_port": "8080"
+        },
+
         "host": {
           "http_property": "fs.defaultFS",
+          "https_property": "fs.defaultFS",
           "site": "core-site"
         }
       },
@@ -20,9 +26,14 @@
         "component_name" : "ONEFS_CLIENT",
         "name": "onefs_hdfs_web_ui",
         "label": "OneFS HDFS Settings",
-        "url": "%@://%@/OneFS#HDFS/Settings",
+        "url": "%@://%@:%@/OneFS#HDFS/Settings",
+        "port": {
+          "http_default_port": "8080",
+          "https_default_port": "8080"
+        },
         "host": {
           "http_property": "fs.defaultFS",
+          "https_property": "fs.defaultFS",
           "site": "core-site"
         }
       }