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/31 10:23:53 UTC

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

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

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


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

commit 445157a3b77887fa5eaae2038cdffd4ac5b60f47
Author: Attila Magyar <m....@gmail.com>
AuthorDate: Fri Aug 31 12:23:51 2018 +0200

    AMBARI-24538: OneFS mpack quicklinks require port, https (#2169) (#2221)
    
    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"
         }
       }