Commit eb320259 authored by gaozhentao's avatar gaozhentao

修改拓扑图参数

parent 3c5fed04
...@@ -75,7 +75,9 @@ public class FlowLine { ...@@ -75,7 +75,9 @@ public class FlowLine {
public FlowLine(){ public FlowLine(){
} }
public FlowLine(String cluster_name_left, String clusterNameRight, String coordinateLeft, String coordinateRight, String points, String color) {
// (cluster_name_left, cluster_name_right, color, coordinate_left, coordinate_right, points)
public FlowLine(String cluster_name_left, String clusterNameRight, String color, String coordinateLeft, String coordinateRight, String points) {
this.cluster_name_left = cluster_name_left; this.cluster_name_left = cluster_name_left;
this.clusterNameRight = clusterNameRight; this.clusterNameRight = clusterNameRight;
this.coordinateLeft = coordinateLeft; this.coordinateLeft = coordinateLeft;
......
...@@ -9,19 +9,86 @@ import java.util.List; ...@@ -9,19 +9,86 @@ import java.util.List;
public class FlowUtil { public class FlowUtil {
/**
*
("签名验签接入服务", "日志采集服务", "#008000", "left", "right", "[-1988.6202,266.5525,-2022.0657,449.8225,-1794.487,288.14856,-1762.861,297.17053]")
("签名验签接入服务", "核心调度服务", "#008000", "left", "right", "[-1964.861,229.94646,-1933.7352,204.92271,-1796.23,115.4561,-1760.861,97.209785]")
("签名验签接入服务", "签名服务器", "#008000", "left", "right", "[-1964.861,243.53741,-1944.9225,240.35168,-1863.2925,243.69856,-1843.861,248.18912]")
("核心调度服务", "核心业务区", "#008000", "left", "right", "[-1720.861,93.24354,-1676.9752,106.87885,-1476.7921,149.71143,-1446.861,152.81744]")
("VPN方式接入服务", "日志采集服务", "#008000", "left", "right", "[-1994.861,132.76611,-2211.0015,262.66766,-1963.918,422.6233,-1762.861,313.93607]")
("VPN方式接入服务", "核心调度服务", "#008000", "left", "right", "[-1954.861,120.67064,-1922.6149,120.05435,-1791.8525,101.16636,-1760.861,92.64748]")
("消息队列", "1比1比对(图片+图片)", "#008000", "left", "right", "[-972.861,-76.04991,-913.40625,-48.87354,-817.1479,-10.0684185,-749.861,12.711163]")
("消息队列", "1比1比对(图片+特征)", "#008000", "left", "right", "[-972.861,-82.37162,-936.0725,-77.389496,-783.75916,-73.32923,-746.861,-76.62708]")
("消息队列", "1比1比对(特征+特征)", "#008000", "left", "right", "[-972.861,-68.28507,-920.72565,-23.433945,-804.2567,162.40149,-747.861,202.27739]")
("消息队列", "1比N比对(特征)", "#008000", "left", "right", "[-972.861,-97.351654,-933.2842,-122.879166,-801.9038,-251.62244,-746.861,-279.29202]")
("消息队列", "1比N比对(图片)", "#008000", "left", "right", "[-972.861,-90.23217,-935.4879,-100.53688,-787.20306,-158.46152,-752.861,-176.04482]")
("消息队列", "图片生成特征值", "#008000", "left", "right", "[-972.861,-78.67839,-927.24005,-63.797237,-815.77136,49.50919,-748.861,99.458916]")
("token方式接入服务", "日志采集服务", "#008000", "left", "right", "[-2015.8566,25.55249,-2080,186,-2328.2073,511.10168,-1762.861,310.177]")
("token方式接入服务", "核心调度服务", "#008000", "left", "right", "[-1987.861,9.66219,-1949.6262,17.205427,-1796.6204,64.13459,-1760.861,79.28495]")
("mysql", "平台业务实时统计服务", "#008000", "left", "right", "[-1893.6027,-281.97375,-1875.7247,-243.55672,-1816.9607,-86.06449,-1769.861,-54.536568]")
("mysql", "平台业务权限配置管理服务", "#008000", "left", "right", "[-1882.861,-302.91263,-1881,-303,-1833,-303,-1746.861,-308.2326]")
("mysql", "账户应用管理服务", "#008000", "left", "right", "[-1891.1866,-281.97375,-1877.1635,-258.14816,-1794.4148,-179.03645,-1759.861,-159.38657]")
("日志采集服务", "核心业务区", "#008000", "left", "right", "[-1722.861,292.94598,-1677.112,270.0103,-1492.8998,197.82257,-1446.861,167.81776]")
("日志采集服务", "核心调度服务", "#008000", "left", "right", "[-1722.861,296.44104,-1597,255,-1734.2744,135.69104,-1738.06,107.026245]")
("日志采集服务", "算法区", "#008000", "left", "right", "[-1722.861,321.44266,-1466.662,556.73987,-1208.5806,423.98892,-929.861,230.89278]")
("身份核查(身份证号+人脸)", "消息队列", "#008000", "left", "right", "[-1230.861,-90.98283,-1195.4076,-85.72165,-1048.4579,-80.50515,-1012.861,-83.3084]")
("以图查人(基础库)", "消息队列", "#008000", "left", "right", "[-1231.861,16.59297,-1197.6333,-2.439472,-1049.7965,-65.84627,-1012.861,-78.03936]")
("权限核验服务facl", "mysql", "#008000", "left", "right", "[-1997.0742,-240.44751,-1987.2921,-252.4009,-1937.2723,-288.3381,-1922.861,-293.7]")
("权限核验服务facl", "redis", "#008000", "left", "right", "[-1993.861,-215.24066,-1979.2147,-211.82664,-1926.6404,-183.22614,-1915.861,-172]")
("权限核验服务facl", "token核验服务", "#008000", "left", "right", "[-2033.861,-201.26375,-2037.8538,-196.52557,-2151,-163,-2063.861,-111.311066]")
("平台业务权限配置管理服务", "平台运营管理", "#008000", "left", "right", "[-1714.1669,-289.4475,-1703.1125,-272.2315,-1645.6,-212.63127,-1628.861,-200.7721]")
("身份核查(两张图片)", "消息队列", "#008000", "left", "right", "[-1232.861,-244.30008,-1199.1881,-216.73868,-1050.9448,-116.64869,-1012.861,-96.20558]")
("以图查人(特殊人员库)", "消息队列", "#008000", "left", "right", "[-1221.1442,132.55249,-1189.9077,96.91462,-1049.4948,-38.318893,-1012.861,-68.1203]")
("账户应用管理服务", "平台运营管理", "#008000", "left", "right", "[-1719.861,-148.28041,-1703.8799,-148.79378,-1642.5448,-166.76108,-1628.861,-174.79921]")
("平台业务实时统计服务", "平台运营管理", "#008000", "left", "right", "[-1729.861,-48.331146,-1702.1239,-58.613853,-1649.2678,-156.35315,-1628.861,-171.69096]")
("redis", "token核验平台业务权限配置管理服务服务", "#008000", "left", "right", "[-1887.861,-141.77596,-1713.3333,-27.068892,-982.337,433.14886,-8]")
("redis", "平台业务实时统计服务", "#008000", "left", "right", "[-1877.9443,-133.97375,-1862.6288,-117.15975,-1789.3378,-60.838806,-1769.861,-50.900867]")
("redis", "平台业务权限配置管理服务", "#008000", "left", "right", "[-1883.0585,-173.97375,-1876.6512,-184.47054,-1833.7184,-225.99564,-1746.861,-293.6905]")
("redis", "账户应用管理服务", "#008000", "left", "right", "[-1875.861,-157.28763,-1856.6885,-160.69527,-1778.0352,-158.25717,-1759.861,-153.25723]")
("token核验服务", "token方式接入服务", "#008000", "left", "right", "[-2058.9424,-79.44751,-2100,-25,-2032.746,-24.08831,-2025.2815,-14.44751]")
* */
// public static List<FlowLine> getLines(){ // public static List<FlowLine> getLines(){
// List<FlowLine> list = new ArrayList<>(); // List<FlowLine> list = new ArrayList<>();
// list.add(new FlowLine( cluster_name_left, clusterNameRight, coordinateLeft, coordinateRight, points, color)); // list.add(new FlowLine ("签名验签接入服务", "日志采集服务", "#008000", "left", "right", "[-1988.6202,266.5525,-2022.0657,449.8225,-1794.487,288.14856,-1762.861,297.17053]"));
//
//
// //
// return list; // return list;
// } // }
// /*
("签名验签接入服务", "-1984.861003107122 225", "clusterFault", "http://192.168.65.4:8889/swtz/api/v1/sign/viid");
("核心调度服务", "-1740.861003107122 75", "clusterFault", "http://192.168.65.5:8900/api/v1/ytcr-basic");
("1比1比对(图片+特征)", "-726.8610031071221 -100", "clusterFault", "http://192.168.56.17:10006/algorithm/compareImageAndFeature");
("1比1比对(特征+特征)", "-727.8610031071221 195", "clusterFault", "http://192.168.56.17:10006/algorithm/compareFeatureAndFeature");
("VPN方式接入服务", "-1974.861003107122 99", "clusterFault", "http://192.168.65.11:8888/swtz/api/v1/vpn/ytcr-basic");
("消息队列", "-992.8610031071221 -97", "clusterNormal", "wu");
("平台运营管理", "-1608.861003107122 -199", "machine", "");
("token方式接入服务", "-2007.861003107122 -16", "clusterFault", "http://192.168.65.16:8887/swtz/api/v1/token/ytcr-basic");
("mysql", "-1902.861003107122 -314", "machine", "");
("图片生成特征值", "-728.8610031071221 93", "clusterFault", "http://192.168.56.17:10006/algorithm/getFeature");
("日志采集服务", "-1742.861003107122 291", "clusterFault", "http://192.168.83.169:9999/swtz/api/v1/log/yxinfo");
("身份核查(身份证号+人脸)", "-1250.861003107122 -125", "clusterFault", "http://192.168.83.154:9900/inapiservice/syncComInfoData");
("以图查人(基础库)", "-1251.861003107122 6", "clusterFault", "http://192.168.83.93:9900/inapiservice/syncData");
("权限核验服务facl", "-2013.861003107122 -242", "clusterFault", "http://192.168.65.10:8763/facl/api/v1/access/frifffcc207-3b64-4736-bbbf-614e85e5eb8c");
("平台业务权限配置管理服务", "-1726.861003107122 -331", "clusterFault", "http://192.168.65.22:8773/swtz/api/v1/permission/areas");
("1比1比对(图片+图片)", "-729.8610031071221 -2", "clusterFault", "http://192.168.56.17:10006/algorithm/compareImageAndImage");
("1比N比对(特征)", "-726.8610031071221 -311", "clusterFault", "http://192.168.56.17:10006/algorithm/getTopNByIFeature");
("身份核查(两张图片)", "-1252.861003107122 -282", "clusterFault", "http://192.168.83.93:9900/inapiservice/syncComData");
("以图查人(特殊人员库)", "-1238.861003107122 131", "clusterFault", "http://192.168.83.93:9900/inapiservice/specialData");
("签名服务器", "-1823.861003107122 240", "machine", "");
("账户应用管理服务", "-1739.861003107122 -170", "clusterFault", "http://192.168.65.23:8764/swtz/api/v1/account/findAppData?pageNum=1&pageSize=1");
("1比N比对(图片)", "-732.8610031071221 -208", "clusterFault", "http://192.168.56.17:10006/algorithm/getTopNByImage");
("平台业务实时统计服务", "-1749.861003107122 -63", "clusterFault", "http://192.168.65.27:8780/statistics/getVisits");
("redis", "-1895.861003107122 -166", "machine", "");
("token核验服务", "-2043.861003107122 -121", "clusterFault", "http://192.168.65.6:8886/swtz/api/v1/appid/frifffcc207-3b64-4736-bbbf-614e85e5eb8c");
("核心业务区", "-1426.861003107122 155", "meaningless", "");
("算法区", "-905.8236497981486 217", "meaningless", "");
* */
// public static List<FlowNode> getNodes(){ // public static List<FlowNode> getNodes(){
// List<FlowNode> list = new ArrayList<>(); // List<FlowNode> list = new ArrayList<>();
// list.add(new FlowNode( cluster_name, coordinate, mark, serverPath, faultCount)); // list.add(new FlowNode());
// //
// //
// //
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment