mao-service-discovery-windows 1.6.8 → 1.6.9-windows-rc1-master-3ca42df7fdf9018e002c26eeba5406afced8b280.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.exe +0 -0
- package/package.json +34 -34
- package/resource/html/index-email.html +67 -0
- package/resource/html/index-icmp.html +41 -0
- package/resource/html/index-mysql.html +36 -0
- package/resource/html/index-onos.html +38 -0
- package/resource/html/index-server.html +57 -0
- package/resource/html/index-wechat.html +64 -0
- package/resource/html/index.html +1 -0
- package/resource/static/css/app.d2361b4b.css +1 -0
- package/resource/static/css/chunk-vendors.1020ffab.css +1 -0
- package/resource/static/favicon.ico +0 -0
- package/resource/static/jquery-3.6.0.min.js +2 -0
- package/resource/static/js/app.8e522025.js +1 -0
- package/resource/static/js/chunk-vendors.f3fb1091.js +29 -0
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "mao-service-discovery-windows",
|
|
3
|
-
"version": "1.6.
|
|
4
|
-
"description": "Discover your services by using gRPC stream, ICMP or etcd. Come with WebGUI, Restful API and Config Persistence ability.",
|
|
5
|
-
"main": "MaoServiceDiscovery",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"test": "go test -v"
|
|
8
|
-
},
|
|
9
|
-
"repository": {
|
|
10
|
-
"type": "git",
|
|
11
|
-
"url": "
|
|
12
|
-
},
|
|
13
|
-
"keywords": [
|
|
14
|
-
"utils",
|
|
15
|
-
"microservices",
|
|
16
|
-
"service-discovery",
|
|
17
|
-
"monitor",
|
|
18
|
-
"system-monitor",
|
|
19
|
-
"icmp",
|
|
20
|
-
"grpc",
|
|
21
|
-
"etcd",
|
|
22
|
-
"grpc-go",
|
|
23
|
-
"etcdv3",
|
|
24
|
-
"icmpv6",
|
|
25
|
-
"icmp-ping",
|
|
26
|
-
"grpc-ping"
|
|
27
|
-
],
|
|
28
|
-
"author": "Jianwei Mao",
|
|
29
|
-
"license": "Apache-2.0",
|
|
30
|
-
"bugs": {
|
|
31
|
-
"url": "https://github.com/MaoJianwei/
|
|
32
|
-
},
|
|
33
|
-
"homepage": "https://github.com/MaoJianwei/
|
|
34
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "mao-service-discovery-windows",
|
|
3
|
+
"version": "1.6.9-windows-rc1-master-3ca42df7fdf9018e002c26eeba5406afced8b280.0",
|
|
4
|
+
"description": "Discover your services by using gRPC stream, ICMP or etcd. Come with WebGUI, Restful API and Config Persistence ability.",
|
|
5
|
+
"main": "MaoServiceDiscovery",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"test": "go test -v"
|
|
8
|
+
},
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "https://github.com/MaoJianwei/Mao-Service-Discovery"
|
|
12
|
+
},
|
|
13
|
+
"keywords": [
|
|
14
|
+
"utils",
|
|
15
|
+
"microservices",
|
|
16
|
+
"service-discovery",
|
|
17
|
+
"monitor",
|
|
18
|
+
"system-monitor",
|
|
19
|
+
"icmp",
|
|
20
|
+
"grpc",
|
|
21
|
+
"etcd",
|
|
22
|
+
"grpc-go",
|
|
23
|
+
"etcdv3",
|
|
24
|
+
"icmpv6",
|
|
25
|
+
"icmp-ping",
|
|
26
|
+
"grpc-ping"
|
|
27
|
+
],
|
|
28
|
+
"author": "Jianwei Mao",
|
|
29
|
+
"license": "Apache-2.0",
|
|
30
|
+
"bugs": {
|
|
31
|
+
"url": "https://github.com/MaoJianwei/Mao-Service-Discovery/issues"
|
|
32
|
+
},
|
|
33
|
+
"homepage": "https://github.com/MaoJianwei/Mao-Service-Discovery"
|
|
34
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
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/addEmailInfo" 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
|
+
SMTP Server address and port (e.g. smtp.mao.com:25) :<br/>
|
|
15
|
+
<textarea rows="1" cols="50" name="smtpServerAddrPort" id="smtpServerAddrPort"></textarea><br/>
|
|
16
|
+
Sender Email :<br/>
|
|
17
|
+
<textarea rows="1" cols="50" name="sender" id="sender"></textarea><br/>
|
|
18
|
+
Receiver Emails (one line, one receiver) :<br/>
|
|
19
|
+
<textarea rows="10" cols="50" name="receiver" id="receiver"></textarea><br/>
|
|
20
|
+
<input type="submit" value="Add" />
|
|
21
|
+
</form>
|
|
22
|
+
<br/>
|
|
23
|
+
<br/>
|
|
24
|
+
<!--Current email info:-->
|
|
25
|
+
<!--<div id="EmailInfoDiv"></div>-->
|
|
26
|
+
<script src="/static/jquery-3.6.0.min.js" type="text/javascript"></script>
|
|
27
|
+
<script>
|
|
28
|
+
$.get("/api/getEmailInfo",function (response, status, xhr) {
|
|
29
|
+
|
|
30
|
+
// emailInfo = "<table border=\"1\">"
|
|
31
|
+
// emailInfo += "<tr><td>" + "Username" + "</td>"
|
|
32
|
+
// emailInfo += "<td>" + "<input type='text' name='usernameShow' style='width:280px' readonly value='" + (response['username']!=null?response['username']:"N/A") + "'/>" + "</td></tr>"
|
|
33
|
+
// emailInfo += "<tr><td>" + "Password" + "</td>"
|
|
34
|
+
// emailInfo += "<td>" + "<input type='text' name='passwordShow' style='width:280px' readonly value='" + " --- --- " + "'/>" + "</td></tr>"
|
|
35
|
+
// emailInfo += "<tr><td>" + "SMTP Server" + "</td>"
|
|
36
|
+
// emailInfo += "<td>" + "<input type='text' name='smtpServerAddrPortShow' style='width:280px' readonly value='" + (response['smtpServerAddrPort']!=null?response['smtpServerAddrPort']:"N/A") + "'/>" + "</td></tr>"
|
|
37
|
+
// emailInfo += "<tr><td>" + "Sender Email" + "</td>"
|
|
38
|
+
// emailInfo += "<td>" + "<input type='text' name='senderShow' style='width:280px' readonly value='" + (response['sender']!=null?response['sender']:"N/A") + "'/>" + "</td></tr>"
|
|
39
|
+
// emailInfo += "<tr><td>" + "Receiver Emails" + "</td>"
|
|
40
|
+
//
|
|
41
|
+
// receivers = ""
|
|
42
|
+
// if (response['receiver'] != null) {
|
|
43
|
+
// response['receiver'].forEach( r => {
|
|
44
|
+
// receivers += r + "\r\n"
|
|
45
|
+
// })
|
|
46
|
+
// }
|
|
47
|
+
// emailInfo += "<td>" + "<textarea rows='10' cols='38' name='receiverShow'>" + receivers + "</textarea>" + "</td></tr>"
|
|
48
|
+
// emailInfo += "</table>"
|
|
49
|
+
// $("#EmailInfoDiv").html(emailInfo)
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
receivers = ""
|
|
53
|
+
if (response['receiver'] != null) {
|
|
54
|
+
response['receiver'].forEach( r => {
|
|
55
|
+
receivers += r + "\r\n"
|
|
56
|
+
})
|
|
57
|
+
}
|
|
58
|
+
$("#username").text(response['username']!=null?response['username']:"N/A")
|
|
59
|
+
$("#password").text(" --- --- ")
|
|
60
|
+
$("#smtpServerAddrPort").text(response['smtpServerAddrPort']!=null?response['smtpServerAddrPort']:"N/A")
|
|
61
|
+
$("#sender").text(response['sender']!=null?response['sender']:"N/A")
|
|
62
|
+
$("#receiver").text(receivers)
|
|
63
|
+
})
|
|
64
|
+
</script>
|
|
65
|
+
|
|
66
|
+
</body>
|
|
67
|
+
</html>
|
|
@@ -0,0 +1,41 @@
|
|
|
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/addServiceIp" method="post">
|
|
10
|
+
New Services<br/>
|
|
11
|
+
<textarea rows="6" cols="50" name="ipv4v6"></textarea><br/>
|
|
12
|
+
<input type="submit" value="Add" />
|
|
13
|
+
</form>
|
|
14
|
+
<br/>
|
|
15
|
+
|
|
16
|
+
<div id="services"></div>
|
|
17
|
+
<script src="/static/jquery-3.6.0.min.js" type="text/javascript"></script>
|
|
18
|
+
<script>
|
|
19
|
+
$.get("/api/showServiceIP",function (response, status, xhr) {
|
|
20
|
+
services = "Services " + response.length + "<br/>"
|
|
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
|
+
|
|
23
|
+
$.each(response, function(index, item) {
|
|
24
|
+
services += "<tr><td><form action=\"/api/delServiceIp\" method=\"post\">"
|
|
25
|
+
services += "<input type=\"submit\" value=\"Delete\" />"
|
|
26
|
+
services += "<input type=\"text\" name='ipv4v6' style='width:280px' readonly value='" + item["Address"] + "'/></form></td>"
|
|
27
|
+
services += "<td>" + item["Alive"] + "</td>"
|
|
28
|
+
services += "<td>" + item["DetectCount"] + "</td>"
|
|
29
|
+
services += "<td>" + item["ReportCount"] + "</td>"
|
|
30
|
+
services += "<td>" + item["LastSeen"] + "</td>"
|
|
31
|
+
services += "<td>" + item["RttDuration"] + "</td>"
|
|
32
|
+
services += "<td>" + item["RttOutboundTimestamp"] + "</td>"
|
|
33
|
+
services += "</tr>"
|
|
34
|
+
})
|
|
35
|
+
services += "</table>"
|
|
36
|
+
$("#services").html(services)
|
|
37
|
+
})
|
|
38
|
+
</script>
|
|
39
|
+
|
|
40
|
+
</body>
|
|
41
|
+
</html>
|
|
@@ -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>
|
|
@@ -0,0 +1,38 @@
|
|
|
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/addOnosInfo" method="post">
|
|
10
|
+
ONOS Endpoint address and port (e.g. 127.0.0.1:8181) :<br/>
|
|
11
|
+
<textarea rows="1" cols="50" name="addrPort" id="addrPort"></textarea><br/>
|
|
12
|
+
<input type="submit" value="Add"/>
|
|
13
|
+
</form>
|
|
14
|
+
<br/>
|
|
15
|
+
<br/>
|
|
16
|
+
<!--Current email info:-->
|
|
17
|
+
<div id="OnosInfoDiv"></div>
|
|
18
|
+
<script src="/static/jquery-3.6.0.min.js" type="text/javascript"></script>
|
|
19
|
+
<script>
|
|
20
|
+
$.get("/api/getOnosInfo", function (response, status, xhr) {
|
|
21
|
+
onosInfo = "<table border=\"1\">"
|
|
22
|
+
onosInfo += "<tr><td>" + "ADD_DEVICE_API" + "</td>"
|
|
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>"
|
|
24
|
+
onosInfo += "<tr><td>" + "REMOVE_DEVICE_API" + "</td>"
|
|
25
|
+
onosInfo += "<td>" + "<input type='text' name='REMOVE_DEVICE_API_Show' style='width:600px' readonly value='" + (response['REMOVE_DEVICE_API'] != null ? response['REMOVE_DEVICE_API'] : "N/A") + "'/>" + "</td></tr>"
|
|
26
|
+
onosInfo += "<tr><td>" + "DELETE_DEVICE_API" + "</td>"
|
|
27
|
+
onosInfo += "<td>" + "<input type='text' name='DELETE_DEVICE_API_Show' style='width:600px' readonly value='" + (response['DELETE_DEVICE_API'] != null ? response['DELETE_DEVICE_API'] : "N/A") + "'/>" + "</td></tr>"
|
|
28
|
+
onosInfo += "<tr><td>" + "ADD_LINK_API" + "</td>"
|
|
29
|
+
onosInfo += "<td>" + "<input type='text' name='ADD_LINK_API_Show' style='width:600px' readonly value='" + (response['ADD_LINK_API'] != null ? response['ADD_LINK_API'] : "N/A") + "'/>" + "</td></tr>"
|
|
30
|
+
onosInfo += "<tr><td>" + "REMOVE_LINK_API" + "</td>"
|
|
31
|
+
onosInfo += "<td>" + "<input type='text' name='REMOVE_LINK_API_Show' style='width:600px' readonly value='" + (response['REMOVE_LINK_API'] != null ? response['REMOVE_LINK_API'] : "N/A") + "'/>" + "</td></tr>"
|
|
32
|
+
onosInfo += "</table>"
|
|
33
|
+
$("#OnosInfoDiv").html(onosInfo)
|
|
34
|
+
})
|
|
35
|
+
</script>
|
|
36
|
+
|
|
37
|
+
</body>
|
|
38
|
+
</html>
|
|
@@ -0,0 +1,57 @@
|
|
|
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/addServiceIp" method="post">
|
|
10
|
+
New ICMP Services<br/>
|
|
11
|
+
<textarea rows="6" cols="50" name="ipv4v6"></textarea><br/>
|
|
12
|
+
<input type="submit" value="Add" />
|
|
13
|
+
</form>
|
|
14
|
+
<br/>
|
|
15
|
+
|
|
16
|
+
<div id="services"></div>
|
|
17
|
+
<script src="/static/jquery-3.6.0.min.js" type="text/javascript"></script>
|
|
18
|
+
<script>
|
|
19
|
+
$.get("/api/showMergeServiceIP",function (response, status, xhr) {
|
|
20
|
+
services = "Services " + response.length + "<br/>"
|
|
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
|
+
|
|
23
|
+
$.each(response, function(index, item) {
|
|
24
|
+
services += "<tr><td><form action=\"/api/delServiceIp\" method=\"post\">"
|
|
25
|
+
if (item['Address'] == null) {
|
|
26
|
+
services += "<input type=\"submit\" value=\"Delete\" disabled/>"
|
|
27
|
+
} else {
|
|
28
|
+
services += "<input type=\"submit\" value=\"Delete\" />"
|
|
29
|
+
}
|
|
30
|
+
services += "<input type=\"text\" name='ipv4v6' style='width:280px' readonly value='" + (item['Hostname']!=null?(item['Hostname']+" - "+item['RealClientAddr']):item['Address']) + "'/></form></td>"
|
|
31
|
+
|
|
32
|
+
services += "<td>"
|
|
33
|
+
if (item["Ips"] != null) {
|
|
34
|
+
item["Ips"].forEach( ip => {
|
|
35
|
+
services += ip + "<br/>"
|
|
36
|
+
})
|
|
37
|
+
} else {
|
|
38
|
+
services += "/"
|
|
39
|
+
}
|
|
40
|
+
services += "</td>"
|
|
41
|
+
|
|
42
|
+
services += "<td>" + (item["Alive"]!=null?item["Alive"]:true) + "</td>"
|
|
43
|
+
services += "<td>" + (item["DetectCount"]!=null?item["DetectCount"]:"/") + "</td>"
|
|
44
|
+
services += "<td>" + (item["ReportCount"]!=null?item["ReportCount"]:item["ReportTimes"]) + "</td>"
|
|
45
|
+
services += "<td>" + (item["LastSeen"]!=null?item["LastSeen"]:item['LocalLastSeen']) + "</td>"
|
|
46
|
+
services += "<td>" + (item["RttDuration"]!=null?(item["RttDuration"] / 1000 / 1000).toFixed(3)+"ms":"/") + "</td>"
|
|
47
|
+
services += "<td>" + (item["RttOutboundTimestamp"]!=null?item["RttOutboundTimestamp"]:item["ServerDateTime"]) + "</td>"
|
|
48
|
+
services += "<td>" + (item["OtherData"]!=null?item["OtherData"]:"/") + "</td>"
|
|
49
|
+
services += "</tr>"
|
|
50
|
+
})
|
|
51
|
+
services += "</table>"
|
|
52
|
+
$("#services").html(services)
|
|
53
|
+
})
|
|
54
|
+
</script>
|
|
55
|
+
|
|
56
|
+
</body>
|
|
57
|
+
</html>
|
|
@@ -0,0 +1,64 @@
|
|
|
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/addWechatInfo" method="post">
|
|
10
|
+
CorpId :<br/>
|
|
11
|
+
<textarea rows="1" cols="50" name="corpId" id="corpId"></textarea><br/>
|
|
12
|
+
AgentId :<br/>
|
|
13
|
+
<textarea rows="1" cols="50" name="agentId" id="agentId"></textarea><br/>
|
|
14
|
+
AgentSecret :<br/>
|
|
15
|
+
<textarea rows="1" cols="50" name="agentSecret" id="agentSecret"></textarea><br/>
|
|
16
|
+
Global Receivers (one line, one receiver) :<br/>
|
|
17
|
+
<textarea rows="10" cols="50" name="globalReceivers" id="globalReceivers"></textarea><br/>
|
|
18
|
+
<input type="submit" value="Add" />
|
|
19
|
+
</form>
|
|
20
|
+
<br/>
|
|
21
|
+
<br/>
|
|
22
|
+
<!--Current email info:-->
|
|
23
|
+
<!--<div id="EmailInfoDiv"></div>-->
|
|
24
|
+
<script src="/static/jquery-3.6.0.min.js" type="text/javascript"></script>
|
|
25
|
+
<script>
|
|
26
|
+
$.get("/api/getWechatInfo",function (response, status, xhr) {
|
|
27
|
+
|
|
28
|
+
// emailInfo = "<table border=\"1\">"
|
|
29
|
+
// emailInfo += "<tr><td>" + "Username" + "</td>"
|
|
30
|
+
// emailInfo += "<td>" + "<input type='text' name='usernameShow' style='width:280px' readonly value='" + (response['username']!=null?response['username']:"N/A") + "'/>" + "</td></tr>"
|
|
31
|
+
// emailInfo += "<tr><td>" + "Password" + "</td>"
|
|
32
|
+
// emailInfo += "<td>" + "<input type='text' name='passwordShow' style='width:280px' readonly value='" + " --- --- " + "'/>" + "</td></tr>"
|
|
33
|
+
// emailInfo += "<tr><td>" + "SMTP Server" + "</td>"
|
|
34
|
+
// emailInfo += "<td>" + "<input type='text' name='smtpServerAddrPortShow' style='width:280px' readonly value='" + (response['smtpServerAddrPort']!=null?response['smtpServerAddrPort']:"N/A") + "'/>" + "</td></tr>"
|
|
35
|
+
// emailInfo += "<tr><td>" + "Sender Email" + "</td>"
|
|
36
|
+
// emailInfo += "<td>" + "<input type='text' name='senderShow' style='width:280px' readonly value='" + (response['sender']!=null?response['sender']:"N/A") + "'/>" + "</td></tr>"
|
|
37
|
+
// emailInfo += "<tr><td>" + "Receiver Emails" + "</td>"
|
|
38
|
+
//
|
|
39
|
+
// receivers = ""
|
|
40
|
+
// if (response['receiver'] != null) {
|
|
41
|
+
// response['receiver'].forEach( r => {
|
|
42
|
+
// receivers += r + "\r\n"
|
|
43
|
+
// })
|
|
44
|
+
// }
|
|
45
|
+
// emailInfo += "<td>" + "<textarea rows='10' cols='38' name='receiverShow'>" + receivers + "</textarea>" + "</td></tr>"
|
|
46
|
+
// emailInfo += "</table>"
|
|
47
|
+
// $("#EmailInfoDiv").html(emailInfo)
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
globalReceivers = ""
|
|
51
|
+
if (response['globalReceivers'] != null) {
|
|
52
|
+
response['globalReceivers'].forEach( r => {
|
|
53
|
+
globalReceivers += r + "\r\n"
|
|
54
|
+
})
|
|
55
|
+
}
|
|
56
|
+
$("#corpId").text(response['corpId']!=null?response['corpId']:"N/A")
|
|
57
|
+
$("#agentId").text(response['agentId']!=null?response['agentId']:"N/A")
|
|
58
|
+
$("#agentSecret").text(" --- --- ")
|
|
59
|
+
$("#globalReceivers").text(globalReceivers)
|
|
60
|
+
})
|
|
61
|
+
</script>
|
|
62
|
+
|
|
63
|
+
</body>
|
|
64
|
+
</html>
|
|
@@ -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-Service-Discovery</title><script defer="defer" src="/js/chunk-vendors.f3fb1091.js"></script><script defer="defer" src="/js/app.8e522025.js"></script><link href="/css/chunk-vendors.1020ffab.css" rel="stylesheet"><link href="/css/app.d2361b4b.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but Mao-Service-Discovery 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}.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%}.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}
|