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

jialiang 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 62818c7d92 AMBARI-26201: Add server link for ZK Admin server #3856
62818c7d92 is described below

commit 62818c7d92c480fb21f1a488ce671f67e16ecef0
Author: zhenye zhang <[email protected]>
AuthorDate: Fri Oct 25 17:49:18 2024 +0800

    AMBARI-26201: Add server link for ZK Admin server #3856
    
    AMBARI-26201: Add server link for ZK Admin server #3856
---
 .../BIGTOP/3.2.0/services/ZOOKEEPER/metainfo.xml   |  7 ++++++
 .../services/ZOOKEEPER/quicklinks/quicklinks.json  | 28 ++++++++++++++++++++++
 2 files changed, 35 insertions(+)

diff --git 
a/ambari-server/src/main/resources/stacks/BIGTOP/3.2.0/services/ZOOKEEPER/metainfo.xml
 
b/ambari-server/src/main/resources/stacks/BIGTOP/3.2.0/services/ZOOKEEPER/metainfo.xml
index 7e88dc8725..7b69929e38 100644
--- 
a/ambari-server/src/main/resources/stacks/BIGTOP/3.2.0/services/ZOOKEEPER/metainfo.xml
+++ 
b/ambari-server/src/main/resources/stacks/BIGTOP/3.2.0/services/ZOOKEEPER/metainfo.xml
@@ -70,6 +70,13 @@
         </component>
       </components>
 
+      <quickLinksConfigurations>
+        <quickLinksConfiguration>
+          <fileName>quicklinks.json</fileName>
+          <default>true</default>
+        </quickLinksConfiguration>
+      </quickLinksConfigurations>
+
       <osSpecifics>
         <osSpecific>
           <osFamily>redhat7,redhat8,redhat9,openeuler22</osFamily>
diff --git 
a/ambari-server/src/main/resources/stacks/BIGTOP/3.2.0/services/ZOOKEEPER/quicklinks/quicklinks.json
 
b/ambari-server/src/main/resources/stacks/BIGTOP/3.2.0/services/ZOOKEEPER/quicklinks/quicklinks.json
new file mode 100755
index 0000000000..5c875beb8c
--- /dev/null
+++ 
b/ambari-server/src/main/resources/stacks/BIGTOP/3.2.0/services/ZOOKEEPER/quicklinks/quicklinks.json
@@ -0,0 +1,28 @@
+{
+  "name": "default",
+  "description": "default quick links configuration",
+  "configuration": {
+    "protocol":
+    {
+      "type":"http"
+    },
+
+    "links": [
+      {
+        "name": "admin_server",
+        "label": "Admin Server",
+        "component_name": "ZOOKEEPER_SERVER",
+        "url":"%@://%@:%@/commands",
+        "requires_user_name": "false",
+        "port":{
+          "http_property": "admin.serverPort",
+          "http_default_port": "8080",
+          "https_property": "admin.serverPort",
+          "https_default_port": "8443",
+          "regex": "^(\\d+)$",
+          "site": "zoo.cfg"
+        }
+      }
+    ]
+  }
+}


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to