mao-service-discovery 1.6.9-rc1-master-fd05bc36c3fa2cf30166682e7412cf7904d67475.0 → 1.6.9-rc1-master-1ae6843bd7b8d1c73a40889743e5774c70683443.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/MaoServerDiscovery +0 -0
- package/package.json +1 -1
- package/resource/{index-email.html → html/index-email.html} +2 -2
- package/resource/{index-icmp.html → html/index-icmp.html} +2 -2
- package/resource/html/index-mysql.html +36 -0
- package/resource/{index-onos.html → html/index-onos.html} +2 -2
- package/resource/{index-server.html → html/index-server.html} +2 -2
- package/resource/{index-wechat.html → html/index-wechat.html} +2 -2
- package/resource/html/index.html +1 -0
- package/resource/static/css/app.e8630c75.css +1 -0
- package/resource/static/css/chunk-vendors.1020ffab.css +1 -0
- package/resource/static/favicon.ico +0 -0
- package/resource/static/js/app.1de08b76.js +1 -0
- package/resource/static/js/chunk-vendors.dfb4a7b2.js +29 -0
- /package/resource/{jquery-3.6.0.min.js → static/jquery-3.6.0.min.js} +0 -0
package/MaoServerDiscovery
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mao-service-discovery",
|
|
3
|
-
"version": "1.6.9-rc1-master-
|
|
3
|
+
"version": "1.6.9-rc1-master-1ae6843bd7b8d1c73a40889743e5774c70683443.0",
|
|
4
4
|
"description": "Discover your services by using gRPC stream, ICMP or etcd. Come with WebGUI, Restful API and Config Persistence ability.",
|
|
5
5
|
"main": "MaoServiceDiscovery",
|
|
6
6
|
"scripts": {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
</head>
|
|
7
7
|
<body>
|
|
8
8
|
<!--enctype="application/json"-->
|
|
9
|
-
<form action="/addEmailInfo" method="post">
|
|
9
|
+
<form action="/api/addEmailInfo" method="post">
|
|
10
10
|
Username :<br/>
|
|
11
11
|
<textarea rows="1" cols="50" name="username" id="username"></textarea><br/>
|
|
12
12
|
Password :<br/>
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
<!--<div id="EmailInfoDiv"></div>-->
|
|
26
26
|
<script src="/static/jquery-3.6.0.min.js" type="text/javascript"></script>
|
|
27
27
|
<script>
|
|
28
|
-
$.get("/getEmailInfo",function (response, status, xhr) {
|
|
28
|
+
$.get("/api/getEmailInfo",function (response, status, xhr) {
|
|
29
29
|
|
|
30
30
|
// emailInfo = "<table border=\"1\">"
|
|
31
31
|
// emailInfo += "<tr><td>" + "Username" + "</td>"
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
</head>
|
|
7
7
|
<body>
|
|
8
8
|
<!--enctype="application/json"-->
|
|
9
|
-
<form action="/addServiceIp" method="post">
|
|
9
|
+
<form action="/api/addServiceIp" method="post">
|
|
10
10
|
New Services<br/>
|
|
11
11
|
<textarea rows="6" cols="50" name="ipv4v6"></textarea><br/>
|
|
12
12
|
<input type="submit" value="Add" />
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
<div id="services"></div>
|
|
17
17
|
<script src="/static/jquery-3.6.0.min.js" type="text/javascript"></script>
|
|
18
18
|
<script>
|
|
19
|
-
$.get("/showServiceIP",function (response, status, xhr) {
|
|
19
|
+
$.get("/api/showServiceIP",function (response, status, xhr) {
|
|
20
20
|
services = "Services " + response.length + "<br/>"
|
|
21
21
|
services += "<table border=\"1\"><tr><th>Service IP</th><th>Alive</th><th>DetectCount</th><th>ReportCount</th><th>LastSeen</th><th>RttDuration</th><th>RttOutboundTimestamp</th></tr>"
|
|
22
22
|
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<title>Title</title>
|
|
6
|
+
</head>
|
|
7
|
+
<body>
|
|
8
|
+
<!--enctype="application/json"-->
|
|
9
|
+
<form action="/api/addMysqlInfo" method="post">
|
|
10
|
+
Username :<br/>
|
|
11
|
+
<textarea rows="1" cols="50" name="username" id="username"></textarea><br/>
|
|
12
|
+
Password :<br/>
|
|
13
|
+
<textarea rows="1" cols="50" name="password" id="password"></textarea><br/>
|
|
14
|
+
MYSQL Server address (e.g. mysql.mao.com) :<br/>
|
|
15
|
+
<textarea rows="1" cols="50" name="mysqlServerAddr" id="mysqlServerAddr"></textarea><br/>
|
|
16
|
+
MYSQL Server port (e.g. 3306) :<br/>
|
|
17
|
+
<textarea rows="1" cols="50" name="mysqlServerPort" id="mysqlServerPort"></textarea><br/>
|
|
18
|
+
Database Name :<br/>
|
|
19
|
+
<textarea rows="1" cols="50" name="databaseName" id="databaseName"></textarea><br/>
|
|
20
|
+
<input type="submit" value="Add" />
|
|
21
|
+
</form>
|
|
22
|
+
<br/>
|
|
23
|
+
<br/>
|
|
24
|
+
<script src="/static/jquery-3.6.0.min.js" type="text/javascript"></script>
|
|
25
|
+
<script>
|
|
26
|
+
$.get("/api/getMysqlInfo",function (response, status, xhr) {
|
|
27
|
+
$("#username").text(response['username']!=null?response['username']:"N/A")
|
|
28
|
+
$("#password").text(" --- --- ")
|
|
29
|
+
$("#mysqlServerAddr").text(response['mysqlServerAddr']!=null?response['mysqlServerAddr']:"N/A")
|
|
30
|
+
$("#mysqlServerPort").text(response['mysqlServerPort']!=null?response['mysqlServerPort']:"N/A")
|
|
31
|
+
$("#databaseName").text(response['databaseName']!=null?response['databaseName']:"N/A")
|
|
32
|
+
})
|
|
33
|
+
</script>
|
|
34
|
+
|
|
35
|
+
</body>
|
|
36
|
+
</html>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
</head>
|
|
7
7
|
<body>
|
|
8
8
|
<!--enctype="application/json"-->
|
|
9
|
-
<form action="/addOnosInfo" method="post">
|
|
9
|
+
<form action="/api/addOnosInfo" method="post">
|
|
10
10
|
ONOS Endpoint address and port (e.g. 127.0.0.1:8181) :<br/>
|
|
11
11
|
<textarea rows="1" cols="50" name="addrPort" id="addrPort"></textarea><br/>
|
|
12
12
|
<input type="submit" value="Add"/>
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
<div id="OnosInfoDiv"></div>
|
|
18
18
|
<script src="/static/jquery-3.6.0.min.js" type="text/javascript"></script>
|
|
19
19
|
<script>
|
|
20
|
-
$.get("/getOnosInfo", function (response, status, xhr) {
|
|
20
|
+
$.get("/api/getOnosInfo", function (response, status, xhr) {
|
|
21
21
|
onosInfo = "<table border=\"1\">"
|
|
22
22
|
onosInfo += "<tr><td>" + "ADD_DEVICE_API" + "</td>"
|
|
23
23
|
onosInfo += "<td>" + "<input type='text' name='ADD_DEVICE_API_Show' style='width:600px' readonly value='" + (response['ADD_DEVICE_API'] != null ? response['ADD_DEVICE_API'] : "N/A") + "'/>" + "</td></tr>"
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
</head>
|
|
7
7
|
<body>
|
|
8
8
|
<!--enctype="application/json"-->
|
|
9
|
-
<form action="/addServiceIp" method="post">
|
|
9
|
+
<form action="/api/addServiceIp" method="post">
|
|
10
10
|
New ICMP Services<br/>
|
|
11
11
|
<textarea rows="6" cols="50" name="ipv4v6"></textarea><br/>
|
|
12
12
|
<input type="submit" value="Add" />
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
<div id="services"></div>
|
|
17
17
|
<script src="/static/jquery-3.6.0.min.js" type="text/javascript"></script>
|
|
18
18
|
<script>
|
|
19
|
-
$.get("/showMergeServiceIP",function (response, status, xhr) {
|
|
19
|
+
$.get("/api/showMergeServiceIP",function (response, status, xhr) {
|
|
20
20
|
services = "Services " + response.length + "<br/>"
|
|
21
21
|
services += "<table border=\"1\"><tr><th>Service IP</th><th>Report IP</th><th>Alive</th><th>DetectCount</th><th>ReportCount</th><th>LastSeen</th><th>RttDuration</th><th>RttOutboundTimestamp/RemoteTimestamp</th><th>OtherData</th></tr>"
|
|
22
22
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
</head>
|
|
7
7
|
<body>
|
|
8
8
|
<!--enctype="application/json"-->
|
|
9
|
-
<form action="/addWechatInfo" method="post">
|
|
9
|
+
<form action="/api/addWechatInfo" method="post">
|
|
10
10
|
CorpId :<br/>
|
|
11
11
|
<textarea rows="1" cols="50" name="corpId" id="corpId"></textarea><br/>
|
|
12
12
|
AgentId :<br/>
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
<!--<div id="EmailInfoDiv"></div>-->
|
|
24
24
|
<script src="/static/jquery-3.6.0.min.js" type="text/javascript"></script>
|
|
25
25
|
<script>
|
|
26
|
-
$.get("/getWechatInfo",function (response, status, xhr) {
|
|
26
|
+
$.get("/api/getWechatInfo",function (response, status, xhr) {
|
|
27
27
|
|
|
28
28
|
// emailInfo = "<table border=\"1\">"
|
|
29
29
|
// emailInfo += "<tr><td>" + "Username" + "</td>"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>mao-vue-example</title><script defer="defer" src="/js/chunk-vendors.dfb4a7b2.js"></script><script defer="defer" src="/js/app.1de08b76.js"></script><link href="/css/chunk-vendors.1020ffab.css" rel="stylesheet"><link href="/css/app.e8630c75.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but mao-vue-example doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
#app{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center;color:#2c3e50}.class-container{height:100%;width:100%;position:fixed}.el-table .warning-row{--el-table-tr-bg-color:var(--el-color-error-light-8)}.el-table .success-row{--el-table-tr-bg-color:var(--el-color-success-light-9)}.el-table .cell{white-space:pre-line!important}.mao-table-expand{font-size:0}.mao-table-expand label{width:90px;color:#99a9bf}.mao-table-expand .el-form-item{margin-right:0;margin-bottom:0;width:100%}
|