diff --git a/.gitignore b/.gitignore index acd006c7..dd80851c 100644 --- a/.gitignore +++ b/.gitignore @@ -11,29 +11,18 @@ .idea/ # Run temp file and dir -crontask/log/ -crontask/ftp/ -crontask/database/ -crontask/export/ -crontask/temp -crontask/crontask - restagent/backup/ restagent/log/ restagent/upload/ restagent/software/ restagent/database/ restagent/license/ -restagent/restagent sshsvc/sshsvc sshsvc/mmllog/ sshsvc/mmlhome/ sshsvc/log/ -captrace/captrace -captrace/log/ - tools/loadmconf/loadmconf tools/loadpconf/loadpconf diff --git a/.vscode/launch.json b/.vscode/launch.json index fd457359..409bd74f 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -29,23 +29,6 @@ "program": "d:/omc.git/be.ems/sshsvc/sshsvc.go", "console": "integratedTerminal" }, - { - "name": "debug loadpconf", - "type": "go", - "request": "launch", - "mode": "debug", - "program": "d:/omc.git/be.ems/tools/loadpconf", - "args": ["-p","../../config/param/smf_param_config.yaml"], - "console": "integratedTerminal" - }, - { - "name": "debug crontask", - "type": "go", - "request": "launch", - "mode": "debug", - "program": "d:/omc.git/be.ems/crontask", - "console": "integratedTerminal" - }, { "name": "debug encyaml", "type": "go", diff --git a/CHANGELOG.md b/CHANGELOG.md index 35a3e63f..7effe67a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # 版本发布日志 +## 2.2501.2-20250111 + +- 新增 角色admin添加基站状态菜单 +- 新增 接入swagger功能 +- 新增 网元状态3待机判断standby,类型字典数据 +- 更新 MME参数配置可选属性 +- 优化 配置文件加载,配置序列结构体到be.ems/lib/config +- 移除 captrace/data2html/crontask程序 +- 移除 upgvue3脚本文件,旧代码lib/core,旧代码假系统数据库备份 + ## 2.2501.1-20250103 - 新增 菜单-基站状态页面路由,定义接口功能 diff --git a/captrace/captrace.go b/captrace/captrace.go deleted file mode 100644 index 5434a9a3..00000000 --- a/captrace/captrace.go +++ /dev/null @@ -1,636 +0,0 @@ -package main - -import ( - "encoding/binary" - "encoding/hex" - "fmt" - "net" - "os" - "os/exec" - "strings" - "sync" - - "be.ems/captrace/config" - "be.ems/lib/dborm" - "be.ems/lib/global" - "be.ems/lib/log" - - _ "github.com/go-sql-driver/mysql" - "golang.org/x/net/http/httpguts" - "golang.org/x/net/http2/hpack" -) - -// goroutine -var limitChan = make(chan bool, 1024) - -const ( - GTPU_V1_VERSION = 1 << 5 - GTPU_VER_MASK = 7 << 5 - GTPU_PT_GTP = 1 << 4 - GTPU_HEADER_LEN = 12 - GTPU_E_S_PB_BIT = 7 - GTPU_E_BI = 1 << 2 -) - -const ( - GTPU_HEADER_VERSION_INDEX = 0 - GTPU_HEADER_MSG_TYPE_INDEX = 1 - GTPU_HEADER_LENGTH_INDEX = 2 - GTPU_HEADER_TEID_INDEX = 4 -) - -type ExtHeader struct { - TaskId uint32 - IMSI string - IfType byte - MsgType byte - MsgDirect byte // 0-recv,1-send - TimeStamp int64 - SrcIP string - DstIP string - SrcPort uint16 - DstPort uint16 - Proto int - PPI int // only for SCTP - DataLen uint16 - DataInfo []byte -} - -type MsgInfo struct { - TaskId uint32 - TimeStamp int64 - IfType byte - MsgType byte - MsgDirect byte - SrcAddr string // IP:Port - DstAddr string // IP:Port -} - -// func (fr *Framer) ReadFrame() (Frame, error) -// ReadMetaHeaders *hpack.Decoder -func validWireHeaderFieldName(v string) bool { - if len(v) == 0 { - return false - } - for _, r := range v { - if !httpguts.IsTokenRune(r) { - return false - } - if 'A' <= r && r <= 'Z' { - return false - } - } - return true -} - -// tshark -r gtp.pcap -T json -d tcp.port==8080,http2 -Y "http2" -// -T pdml: Packet Details Markup Language -// -T psml: Packet Summary Markup Language - -func execTshark(filename string, proto string) { - pcapPath := filename - tshark := exec.Command("tshark", "-r"+pcapPath, - "-Y"+proto, - "-T", "pdml") - - out, err := tshark.CombinedOutput() - if err != nil { - log.Errorf("Failed to exec tshark:", err) - } else { - log.Debug("combined out:", string(out)) - } -} - -const magicMicroseconds = 0xa1b2c3d4 -const versionMajor = 2 -const versionMinor = 4 - -func WriteEmptyPcap(filename string, timestamp int64, length int, data []byte) error { - var cooked = [...]byte{0x00, 0x00, 0x03, 0x04, 0x00, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00} - - var buf []byte - //24+16+16 = 56 - buf = make([]byte, 56+length) - binary.LittleEndian.PutUint32(buf[0:4], magicMicroseconds) - binary.LittleEndian.PutUint16(buf[4:6], versionMajor) - binary.LittleEndian.PutUint16(buf[6:8], versionMinor) - // bytes 8:12 stay 0 (timezone = UTC) - // bytes 12:16 stay 0 (sigfigs is always set to zero, according to - // http://wiki.wireshark.org/Development/LibpcapFileFormat - binary.LittleEndian.PutUint32(buf[16:20], 0x00040000) - binary.LittleEndian.PutUint32(buf[20:24], 0x00000071) - - // Packet Header - binary.LittleEndian.PutUint64(buf[24:32], uint64(timestamp)) - - binary.LittleEndian.PutUint32(buf[32:36], uint32(length+16)) - binary.LittleEndian.PutUint32(buf[36:40], uint32(length+16)) - - copy(buf[40:], cooked[:]) - copy(buf[56:], data[:]) - - err := os.WriteFile(filename, buf[:], 0644) - //log.Debugf("CAP: %v\n", buf) - - return err -} - -func ngapDataHandle(emsg []byte, timestamp int64, data []byte) int { - - filePath := fmt.Sprintf("/tmp/ng%d.pcap", timestamp) - - err := WriteEmptyPcap(filePath, timestamp, len(data), data) - if err != nil { - log.Error("Failed to tshark:", err) - return -1 - } else { - execTshark(filePath, "ngap") - } - return 0 -} - -func pfcpDataHandle(emsg []byte, timestamp int64, data []byte) int { - filePath := fmt.Sprintf("/tmp/pf%d.pcap", timestamp) - - err := WriteEmptyPcap(filePath, timestamp, len(data), data) - if err != nil { - log.Error("Failed to tshark:", err) - - } else { - execTshark(filePath, "pfcp") - } - return 0 -} - -func httpDataHandle(emsg []byte, timestamp int64, data []byte) int { - filePath := fmt.Sprintf("/tmp/sb%d.pcap", timestamp) - err := WriteEmptyPcap(filePath, timestamp, len(data), data) - if err != nil { - log.Error("Failed to tshark:", err) - - } else { - execTshark(filePath, "http2") - } - return 0 -} - -func httpHeaderDataHandle(emsg []byte, header []byte, data []byte) int { - var remainSize = uint32(16 << 20) - var sawRegular bool - var invalid bool // pseudo header field errors - var Fields []hpack.HeaderField - - invalid = false - hdec := hpack.NewDecoder(4096, nil) - hdec.SetEmitEnabled(true) - hdec.SetMaxStringLength(int(16 << 20)) - hdec.SetEmitFunc(func(hf hpack.HeaderField) { - - if !httpguts.ValidHeaderFieldValue(hf.Value) { - // Don't include the value in the error, because it may be sensitive. - invalid = true - } - isPseudo := strings.HasPrefix(hf.Name, ":") - if isPseudo { - if sawRegular { - invalid = true - } - } else { - sawRegular = true - if !validWireHeaderFieldName(hf.Name) { - invalid = true - } - } - - if invalid { - hdec.SetEmitEnabled(false) - return - } - - size := hf.Size() - if size > remainSize { - hdec.SetEmitEnabled(false) - //mh.Truncated = true - return - } - remainSize -= size - - Fields = append(Fields, hf) - - }) - - // defer hdec.SetEmitFunc(func(hf hpack.HeaderField) {}) - - frag := header - if _, err := hdec.Write(frag); err != nil { - return -1 - } - - if err := hdec.Close(); err != nil { - return -1 - } - - hdec.SetEmitFunc(func(hf hpack.HeaderField) {}) - - var headers []byte - var line string - for i := range Fields { - line = fmt.Sprintf("\"%s\":\"%s\",", Fields[i].Name, Fields[i].Value) - headers = append(headers, []byte(line)...) - } - - if data != nil && len(data) > 0 { - encode := fmt.Sprintf("%s \"content\":%s\n", string(headers), string(data)) - emsg = append(emsg, []byte(encode)...) - log.Debug("encode:", string(encode)) - } else { - log.Debug("headers:", string(headers)) - emsg = append(emsg, []byte(headers)...) - } - return 0 -} - -func gtpuHandler(rvMsg []byte, rvLen int) { - var extHdr ExtHeader - var tr dborm.TraceData - var off, ret int - msg := rvMsg - - verFlags := msg[GTPU_HEADER_VERSION_INDEX] - - gtpuHdrLen := GTPU_HEADER_LEN - - localTeid := binary.BigEndian.Uint32(msg[GTPU_HEADER_TEID_INDEX:]) - - extHdr.TaskId = localTeid - - if (verFlags & GTPU_E_S_PB_BIT) != 0 { - if (verFlags & GTPU_E_BI) != 0 { - extTypeIndex := GTPU_HEADER_LEN - 1 - - extType := msg[extTypeIndex] - - if extType == 0xFE { - extHdr.IMSI = string(msg[extTypeIndex+2 : extTypeIndex+17]) - extHdr.IfType = msg[extTypeIndex+17] - extHdr.MsgType = msg[extTypeIndex+18] - extHdr.MsgDirect = msg[extTypeIndex+19] - - extHdr.TimeStamp = int64(binary.BigEndian.Uint64(msg[extTypeIndex+19:])) - log.Debugf("ext info %v %s %d %d %d", msg[(extTypeIndex+2):(extTypeIndex+20)], extHdr.IMSI, extHdr.IfType, extHdr.MsgType, extHdr.MsgDirect) - // set offset of IP Packet - off = 40 + 4 - //src ip: msg+40+12 - extHdr.SrcIP = fmt.Sprintf("%d.%d.%d.%d", msg[off+12], msg[off+13], msg[off+14], msg[off+15]) - //dst ip: msg+40+12+4 - extHdr.DstIP = fmt.Sprintf("%d.%d.%d.%d", msg[off+16], msg[off+17], msg[off+18], msg[off+19]) - extHdr.SrcPort = uint16(binary.BigEndian.Uint16(msg[off+20:])) - extHdr.DstPort = uint16(binary.BigEndian.Uint16(msg[off+22:])) - log.Debugf("info %s:%d %s:%d", extHdr.SrcIP, extHdr.SrcPort, extHdr.DstIP, extHdr.DstPort) - // ip header start msg+40 - - tr.TaskID = int(extHdr.TaskId) - tr.Timestamp = extHdr.TimeStamp - tr.Imsi = extHdr.IMSI - tr.IfType = int(extHdr.IfType) - - tr.SrcAddr = fmt.Sprintf("%s:%d", extHdr.SrcIP, extHdr.SrcPort) - tr.DstAddr = fmt.Sprintf("%s:%d", extHdr.DstIP, extHdr.DstPort) - tr.MsgType = int(extHdr.MsgType) - tr.MsgDirect = int(extHdr.MsgDirect) - tr.Length = int(rvLen - off) - tr.RawMsg = make([]byte, int(rvLen-off)) - copy(tr.RawMsg, []byte(msg[off:])) - - extHdr.Proto = int(msg[off+9]) - if extHdr.Proto == 132 { //SCTP - - extHdr.PPI = int(msg[off+47]) - extHdr.DataLen = uint16(binary.BigEndian.Uint16(msg[(off+34):]) - 16) - log.Debugf("dat len %d %d", extHdr.DataLen, extHdr.PPI) - - if extHdr.PPI == 60 { // NGAP - extHdr.DataInfo = make([]byte, extHdr.DataLen) - copy(extHdr.DataInfo, msg[(off+48):]) - //append(extHdr.DataInfo, msg[88:]...) - log.Debugf("dataInfo %v", extHdr.DataInfo) - ret = ngapDataHandle([]byte(tr.DecMsg), tr.Timestamp, tr.RawMsg) - } - } else if extHdr.Proto == 6 { // TCP - iplen := uint16(binary.BigEndian.Uint16(msg[off+2:])) - tcplen := uint16(iplen - 32 - 20) - hdrlen := uint16(binary.BigEndian.Uint16(msg[off+20+32+1:])) - offset := uint16(off + 52) - log.Debugf("HTTP %d %d %d\n", iplen, tcplen, hdrlen) - extHdr.DataLen = tcplen - extHdr.DataInfo = make([]byte, extHdr.DataLen) - copy(extHdr.DataInfo, msg[offset:]) - - //ret = httpDataHandle(tr.DecodedMsg, tr.Timestamp, tr.RawMsg) - - if tcplen > (hdrlen + 9) { // has data - doffset := uint16(offset + hdrlen + 9) - datlen := uint16(binary.BigEndian.Uint16(msg[doffset+1:])) - log.Debugf("HTTP datlen %d", datlen) - - ret = httpHeaderDataHandle([]byte(tr.DecMsg), msg[offset+9:offset+9+hdrlen], msg[doffset+9:doffset+datlen+9]) - } else { - ret = httpHeaderDataHandle([]byte(tr.DecMsg), msg[offset+9:hdrlen], nil) - } - } else if extHdr.Proto == 17 { // UDP - ilen := uint16(binary.BigEndian.Uint16(msg[off+2:])) - udplen := uint16(ilen - 20) - extHdr.DataLen = udplen - 8 - extHdr.DataInfo = make([]byte, extHdr.DataLen) - copy(extHdr.DataInfo, msg[off+27:]) - ret = pfcpDataHandle([]byte(tr.DecMsg), tr.Timestamp, tr.RawMsg) - } - if ret < 0 { - log.Error("Decode message error") - } else { - PutTraceRecordToDB(&tr) - } - } - - for extType != 0 && extTypeIndex < rvLen { - extLen := msg[extTypeIndex+1] << 2 - - if extLen == 0 { - log.Error("error, extLen is zero") - return - } - - gtpuHdrLen += int(extLen) - - extTypeIndex += int(extLen) - - extType = msg[extTypeIndex] - } - } - } else { - gtpuHdrLen -= 4 - } -} - -func udpProcess(conn *net.UDPConn) { - - data := make([]byte, 2048) - n, _, err := conn.ReadFromUDP(data) - if err != nil { - log.Error("failed read udp msg, error: " + err.Error()) - } - - gtpuHandler(data, n) - - //str := string(data[:n]) - //log.Error("receive from client, data:" + str) - - <-limitChan -} - -func udpServer(address string) { - udpAddr, err := net.ResolveUDPAddr("udp", address) - if err != nil { - log.Error("Failed to ResolveUDPAddr:", err) - os.Exit(1) - } - conn, err := net.ListenUDP("udp", udpAddr) - if err != nil { - log.Error("read from connect failed, err:", err) - os.Exit(1) - } - defer conn.Close() - - for { - limitChan <- true - go udpProcess(conn) - } -} - -//SCTP OFFSET = 48 -//HTTP2 OFFSET = 52 -//UDP OFFSET = 28 - -func PutTraceRecordToDB(tr *dborm.TraceData) error { - var offset, ret int - - if tr.IfType == 1 || tr.IfType == 2 { // SCTP - offset = 48 - ret = ngapDataHandle([]byte(tr.DecMsg), tr.Timestamp, tr.RawMsg[offset:]) - - } else if tr.IfType == 4 { // UDP - offset = 28 - ret = pfcpDataHandle([]byte(tr.DecMsg), tr.Timestamp, tr.RawMsg[offset:]) - - } else { // HTTP2 - iplen := uint16(binary.BigEndian.Uint16(tr.RawMsg[2:])) - tcplen := uint16(iplen - 32 - 20) - hdrlen := uint16(binary.BigEndian.Uint16(tr.RawMsg[20+32+1:])) - offset = 52 - - if tcplen > (hdrlen + 9) { // has data - doffset := uint16(uint16(offset) + hdrlen + 9) - datlen := uint16(binary.BigEndian.Uint16(tr.RawMsg[doffset+1:])) - log.Debugf("HTTP datlen %d\n", datlen) - - ret = httpHeaderDataHandle([]byte(tr.DecMsg), tr.RawMsg[offset+9:offset+9+int(hdrlen)], tr.RawMsg[doffset+9:doffset+datlen+9]) - } else { - ret = httpHeaderDataHandle([]byte(tr.DecMsg), tr.RawMsg[offset+9:hdrlen], nil) - } - } - - if ret == 0 { - _, err := dborm.XormInsertTraceData(tr) - if err != nil { - log.Error("Failed to dborm.XormInsertTraceData:", err) - return err - } - } - return nil -} - -// //////////////// -// var rdb *redis.Client -// var redisOn bool -// var rurl string -// -// func RdbInitClient(Url string) (err error) { -// rurl = Url -// rdb = redis.NewClient(&redis.Options{ -// Addr: rurl, -// Password: "", // no password set -// DB: 0, // use default -// }) -// -// ctx, cancel := context.WithTimeout(context.Background(), 2*time.Second) -// defer cancel() -// -// _, err = rdb.Ping(ctx).Result() -// if err != nil { -// log.Debugf("db connect failed\n") -// return err -// } -// return nil -// } -// -// func RdbKeys(filter string) (vals []string, err error) { -// ctx := context.Background() -// -// vals, err = rdb.Keys(ctx, filter).Result() -// -// if err != nil { -// log.Error("db: Keys ", err.Error()) -// return nil, err -// } -// -// return vals, nil -// } -// -// func RdbHGetAll(key string) (kvs map[string]string, err error) { -// ctx := context.Background() -// kvs, err = rdb.HGetAll(ctx, key).Result() -// -// if err != nil { -// log.Error("db: HGetAll ", err.Error()) -// return nil, err -// } -// -// return kvs, nil -// } -// -// func RdbHMSet(key string, kvs map[string]interface{}) (err error) { -// ctx := context.Background() -// err = rdb.HMSet(ctx, key, kvs).Err() -// -// if err != nil { -// log.Error("db: HMSet ", err.Error()) -// return err -// } -// -// return nil -// } -// -// func RdbDel(key string) (err error) { -// ctx := context.Background() -// err = rdb.Del(ctx, key).Err() -// -// if err != nil { -// log.Error("db: Del ", err.Error()) -// return err -// } -// -// return nil -// } -// -// func rdbClient(url string) { -// var err error -// var kvs map[string]string -// var vals []string -// var tr TraceRecord -// -// err = RdbInitClient(url) -// -// if err != nil { -// log.Debugf("db: RdbInitClient err\n") -// os.Exit(2) -// } -// -// for { -// vals, err = RdbKeys("tsk*") // (vals []string, err error) -// if err == nil { -// for i := range vals { -// kvs, err = RdbHGetAll(vals[i]) //(kvs map[string]string, err error) -// if err == nil { -// //tsk-1:1682764180993584177:460000100000001:8 -// log.Debugf("%d: %s %s %s %v\n", i, vals[i], kvs["srcip"], kvs["dstip"], []byte(kvs["ipdat"])) -// arr := strings.Split(vals[i], ":") -// if arr != nil && len(arr) == 4 { -// tr.Taskid, _ = strconv.Atoi(arr[0][4:]) -// tr.Timestamp, _ = strconv.ParseInt(arr[1], 10, 64) -// -// tr.Imsi = arr[2] -// tr.IfType, _ = strconv.Atoi(arr[3]) -// -// } -// tr.SrcAddr = fmt.Sprintf("%s:d", kvs["srcip"], kvs["srcport"]) -// tr.DstAddr = fmt.Sprintf("%s:d", kvs["dstip"], kvs["dstport"]) -// tr.MsgType, _ = strconv.Atoi(kvs["msgtp"]) -// tr.MsgDirect, _ = strconv.Atoi(kvs["direct"]) -// rawlen, _ := strconv.Atoi(kvs["datlen"]) -// tr.RawMsg = make([]byte, rawlen) -// copy(tr.RawMsg, []byte(kvs["ipdat"])) -// //tr.DecodedMsg -// PutTraceRecordToDB(&tr) -// -// //RdbDel(vals[i]) -// } -// -// } -// } -// time.Sleep(time.Second * 5) -// } -// } - -// DataBase Connnection - -//func QueryMultiRowDemo() { -// //InitMysql() -// sqlStr := "SELECT id,sname,age FROM student WHERE id = ?" -// rows, err := dbc.Query(sqlStr, 1) -// if err != nil { -// log.Debugf("query failed, err:%v\n", err) -// return -// } -// // 非常重要:关闭rows释放持有的数据库链接 -// defer rows.Close() -// -// // 循环读取结果集中的数据 -// for rows.Next() { -// var u User -// err := rows.Scan(&u.id, &u.name, &u.age) -// if err != nil { -// log.Debugf("scan failed, err:%v\n", err) -// return -// } -// //log.Debugf("id:%d name:%s age:%d\n", u.id, u.name, u.age) -// } -//} - -func ToHtml(path string, timestamp string, port string, ipDaTA []byte) { - log.Trace("byte数据:", ipDaTA) - encodedStr := hex.EncodeToString(ipDaTA) - // [72 101 108 108 111] - log.Trace(encodedStr) - command := fmt.Sprintf("/usr/local/bin/data2html -f %s -t %s -i %s -d %s", path, timestamp, port, encodedStr) - log.Trace("commm:", command) - cmd := exec.Command("sh", "-c", command) - _, err := cmd.CombinedOutput() - - if err != nil { - log.Error("Error:can not obtain stdout pipe for command:", err) - return - } - //执行命令 -} - -func main() { - conf := config.GetYamlConfig() - - log.InitLogger(conf.Logger.File, conf.Logger.Duration, conf.Logger.Count, "omc:captrace", config.GetLogLevel()) - log.Debugf("OMC captrace version: %s\n", global.Version) - log.Infof("========================= OMC captrace startup =========================") - log.Infof("OMC captrace version: %s %s %s", global.Version, global.BuildTime, global.GoVer) - err := dborm.InitDbClient(conf.Database.Type, conf.Database.User, conf.Database.Password, - conf.Database.Host, conf.Database.Port, conf.Database.Name, conf.Database.ConnParam) - if err != nil { - fmt.Println("dborm.initDbClient err:", err) - os.Exit(2) - } - - var wg sync.WaitGroup - wg.Add(1) - - udpServer(conf.Gtp.Addr) - - wg.Wait() -} diff --git a/captrace/config/config.go b/captrace/config/config.go deleted file mode 100644 index 38015020..00000000 --- a/captrace/config/config.go +++ /dev/null @@ -1,128 +0,0 @@ -package config - -import ( - "flag" - "fmt" - "os" - "strings" - - "be.ems/lib/global" - "be.ems/lib/log" - "gopkg.in/yaml.v3" -) - -type DbConfig struct { - Type string `yaml:"type"` - User string `yaml:"user"` - Password string `yaml:"password"` - Host string `yaml:"host"` - Port string `yaml:"port"` - Name string `yaml:"name"` - ConnParam string `yaml:"connParam,omitempty"` - Backup string `yaml:"backup"` -} - -// Yaml struct of config -type YamlConfig struct { - Logger struct { - File string `yaml:"file"` - Level string `yaml:"level"` - Duration int `yaml:"duration"` - Count int `yaml:"count"` - } `yaml:"logger"` - - Gtp struct { - Addr string `yaml:"addr"` - } `yaml:"gtp"` - - Database DbConfig `yaml:"database"` -} - -var YamlConf YamlConfig = NewYamlConfig() - -// set default value for yaml config -func NewYamlConfig() YamlConfig { - return YamlConfig{ - Database: DbConfig{ - Type: "mysql", - ConnParam: "charset=utf8mb4&collation=utf8mb4_general_ci&parseTime=True&interpolateParams=True", - }, - } -} - -func ReadConfig(configFile string) { - yamlFile, err := os.ReadFile(configFile) - if err != nil { - fmt.Println("Read yaml config file error:", err) - os.Exit(2) - } - // fmt.Println("yamlfile:", string(yamlFile)) - - err = yaml.Unmarshal(yamlFile, &YamlConf) - if err != nil { - fmt.Println("Unmarshal error:", err) - os.Exit(3) - } -} - -func WriteYamlConfig(newConfigData YamlConfig, configFile string) { - // 将配置转换回YAML数据 - newYamlData, err := yaml.Marshal(&newConfigData) - if err != nil { - log.Errorf("Failed to marshal YAML: %v", err) - } - - // 将新的YAML数据写入文件 - err = os.WriteFile(configFile, newYamlData, 0644) - if err != nil { - log.Errorf("Failed to write YAML file: %v", err) - } -} - -func GetYamlConfig() *YamlConfig { - return &YamlConf -} - -func GetLogLevel() log.LogLevel { - var logLevel log.LogLevel - switch strings.ToLower(YamlConf.Logger.Level) { - case "trace": - logLevel = log.LOG_TRACE - case "info": - logLevel = log.LOG_INFO - case "debug": - logLevel = log.LOG_DEBUG - case "warn": - logLevel = log.LOG_WARN - case "error": - logLevel = log.LOG_ERROR - case "fatal": - logLevel = log.LOG_FATAL - case "off": - logLevel = log.LOG_OFF - default: - logLevel = log.LOG_DEBUG - } - return logLevel -} - -const defaultConfigFile = "./etc/capconf.yaml" - -func init() { - cfile := flag.String("c", defaultConfigFile, "config file") - pv := flag.Bool("v", false, "print version") - pversion := flag.Bool("version", false, "print version") - ph := flag.Bool("h", false, "print help") - phelp := flag.Bool("help", false, "print help") - - flag.Parse() - if *pv || *pversion { - fmt.Printf("OMC captrace version: %s\n%s\n%s\n\n", global.Version, global.BuildTime, global.GoVer) - os.Exit(0) - } - if *ph || *phelp { - flag.Usage() - os.Exit(0) - } - ReadConfig(*cfile) -} diff --git a/captrace/etc/capconf.yaml b/captrace/etc/capconf.yaml deleted file mode 100644 index 190bb0a2..00000000 --- a/captrace/etc/capconf.yaml +++ /dev/null @@ -1,22 +0,0 @@ -# file: log file name -# level: /trace/debug/info/error/warn/error/fatal, default: debug -# duration: saved days, default is 30 days -logger: - file: d:/omc.git/be.ems/captrace/log/captrace.log - level: trace - duration: 24 - count: 10 - -gtp: - addr: :2153 - -database: - type: mysql - user: root - password: 1000omc@kp! - host: 172.25.97.150 - port: 33066 - name: tenants_db - connParam: charset=utf8mb4&collation=utf8mb4_general_ci&parseTime=True&interpolateParams=True - - diff --git a/captrace/makefile b/captrace/makefile deleted file mode 100644 index 8330a7af..00000000 --- a/captrace/makefile +++ /dev/null @@ -1,26 +0,0 @@ -# Makefile for rest agent project - -PROJECT = OMC -VERSION = 2.2501.1 -PLATFORM = amd64 -ARMPLATFORM = aarch64 -BUILDDIR = ../../build -DEBBUILDDIR = ../../debbuild -RPMBUILDDIR = $(HOME)/goprojects/rpmbuild -INSTALLDIR = /usr/local/omc -RELEASEDIR = ../../release -LIBDIR = be.ems/lib -BINNAME = captrace - -.PHONY: build $(BINNAME) -build $(BINNAME): - go build -o $(BINNAME) -v -ldflags "-s -w -X '$(LIBDIR)/global.Version=$(VERSION)' \ - -X '$(LIBDIR)/global.BuildTime=`date`' \ - -X '$(LIBDIR)/global.GoVer=`go version`'" - -run: $(BINNAME) - ./$(BINNAME) - -clean: - rm ./$(BINNAME) - diff --git a/config/etc/default/capconf.yaml b/config/etc/default/capconf.yaml deleted file mode 100644 index a5b01a90..00000000 --- a/config/etc/default/capconf.yaml +++ /dev/null @@ -1,22 +0,0 @@ -# file: log file name -# level: /trace/debug/info/error/warn/error/fatal, default: debug -# duration: saved days, default is 30 days -logger: - file: /usr/local/omc/log/captrace.log - level: warn - duration: 24 - count: 10 - -gtp: - addr: :32152 - -database: - type: mysql - user: root - password: 1000omc@kp! - host: 127.0.0.1 - port: 33066 - name: tenants_db - connParam: charset=utf8mb4&collation=utf8mb4_general_ci&parseTime=True&interpolateParams=True - - diff --git a/config/etc/default/crontask.yaml b/config/etc/default/crontask.yaml deleted file mode 100644 index 197aa127..00000000 --- a/config/etc/default/crontask.yaml +++ /dev/null @@ -1,44 +0,0 @@ -# file: log file name -# level: /trace/debug/info/warn/error/fatal, default: debug -# duration: saved days, default is 30 days -logger: - file: /usr/local/omc/log/crontask.log - level: warn - duration: 24 - count: 90 - -omc: - name: OMC01 - hosturi: http://127.0.0.1:33030 - hostno: A001 - province: "" - netabbr: HX - vendor: "" - -tasks: - file: /usr/local/omc/etc/tasks.yaml - -database: - type: mysql - user: root - password: 1000omc@kp! - host: 127.0.0.1 - port: 33066 - name: tenants_db - connParam: charset=utf8mb4&collation=utf8mb4_general_ci&parseTime=True&interpolateParams=True - -# northbound interface, cm/pm -# duration(day): saved days -# zipPeriods(day): periods of zip pm data file -nbi: - cm: - cfgfiledir: /usr/local/omc/etc/cm - xmlfiledir: /opt/omc/ftp - version: V1.0.1 - duration: 30 - pm: - cfgfiledir: /usr/local/omc/etc/pm - xmlfiledir: /opt/omc/ftp - version: V1.0.1 - duration: 30 - zipPeriods: 1 diff --git a/config/etc/default/tasks.yaml b/config/etc/default/tasks.yaml deleted file mode 100644 index f0f10975..00000000 --- a/config/etc/default/tasks.yaml +++ /dev/null @@ -1,183 +0,0 @@ -# example: -# tasks: -# - name: test # task comment -# uri: # restful uri -# params: # params of url -# interval: 30 # do sometion in the interval -# unit: Seconds #Seconds/Minutes/Hours/Days/Weeks, Monday/Tuesday/.../Sunday, -# at: 00:10:00 # do at time such as xx:xx:xx -# do: HelloWorldTask # (Do what: callback function) -# -# Attention: must restart crontask after modified this file -# -tasks: - - name: test # task comment - status: Active #active/inactive - uri: # restful uri - params: # params of http url - body: # body of http request - interval: 60 # do sometion in the interval - unit: Seconds #Seconds/Minutes/Hours/Days/Weeks, Monday/Tuesday/.../Sunday, - at: 00:10:00 # do at time such as xx:xx:xx when unit such as Day/Days/Mondays... - do: TaskHelloWorld # (Do what: callback function) - - name: clear expired history alarm - status: Inactive - uri: /api/rest/databaseManagement/v1/tenants_db/alarm - params: WHERE=now()+>+ADDDATE(event_time,+interval+(SELECT+`value`+FROM+config+WHERE+config_tag='historyDuration')+day)+and+alarm_status='0' - interval: 1 - unit: Days - at: 00:10:00 - do: TaskDeleteExpiredRecord - - name: clear expired history gold_kpi - status: Inactive - uri: /api/rest/databaseManagement/v1/tenants_db/gold_kpi - params: WHERE=now()+>+ADDDATE(`date`,+interval+IFNULL((SELECT+`value`+FROM+config+WHERE+config_tag='goldKpiDuration'),7)+day) - interval: 1 - unit: Days - at: 00:12:00 - do: TaskDeleteExpiredRecord - - name: clear deleted custom pm kpi - uri: /api/rest/databaseManagement/v1/tenants_db/pm_custom_title - params: WHERE=now()+>+ADDDATE(update_time,+interval+(SELECT+`value`+FROM+config+WHERE+config_tag='keepPMCKpi')+day)+and+status='Deleted' - interval: 1 - unit: Days - at: 00:15:00 - do: TaskDeleteExpiredRecord - - name: update expired user session - status: Inactive - uri: /api/rest/databaseManagement/v1/tenants_db/session - params: WHERE=NOW()+>+ADDDATE(shake_time,+interval+expires+second)+and+status='online' - body: '{"session":{"status":"offline"}}' - interval: 30 - unit: Seconds - at: - do: TaskUpdateTable - - name: clear expired log - status: Inactive - uri: - params: - interval: 1 - unit: Days - at: 00:50:00 - do: TaskDeleteExpiredRecord - - name: Backup measure data - uri: /api/rest/databaseManagement/v1/tenants_db/measure_data - params: SQL=select+*+into+outfile+'%s'+fields+terminated+by+','+escaped+by+''+optionally+enclosed+by+''+lines+terminated+by+'\n'+from+(select+'id','date','task_id','ne_name','rm_uid','ne_type','granul_option','kpi_code','kpi_id','kpi_ext','start_time','end_time','value','timestamp'+union+select+id,date,task_id,ne_name,rm_uid,ne_type,granul_option,kpi_code,kpi_id,kpi_ext,start_time,end_time,value,timestamp+from+measure_data)+b - interval: 1 - unit: Days - at: 00:20:00 - do: TaskDBBackupCSVGetBySQL - - name: Backup operation log - uri: /api/rest/databaseManagement/v1/tenants_db/operation_log - params: SQL=select+*+into+outfile+'%s'+fields+terminated+by+','+escaped+by+''+optionally+enclosed+by+''+lines+terminated+by+'\n'+from+(select+'op_id','account_name','op_ip','subsys_tag','op_type','op_content','op_result','begin_time','end_time','vnf_flag','log_time'+union+select+op_id,account_name,op_ip,subsys_tag,op_type,op_content,op_result,begin_time,end_time,vnf_flag,log_time+from+operation_log)+b - interval: 1 - unit: Days - at: 00:26:00 - do: TaskDBBackupCSVGetBySQL - - name: Backup security log - uri: /api/rest/databaseManagement/v1/tenants_db/security_log - params: SQL=select+*+into+outfile+'%s'+fields+terminated+by+','+escaped+by+''+optionally+enclosed+by+''+lines+terminated+by+'\n'+from+(select+'id','account_name','account_type','op_ip','op_type','op_content','op_result','op_time'+union+select+id,account_name,account_type,op_ip,op_type,op_content,op_result,op_time+from+security_log)+b - interval: 1 - unit: Days - at: 00:28:00 - do: TaskDBBackupCSVGetBySQL - - name: Backup alarm log - uri: /api/rest/databaseManagement/v1/tenants_db/alarm_log - params: SQL=select+*+into+outfile+'%s'+fields+terminated+by+','+escaped+by+''+optionally+enclosed+by+''+lines+terminated+by+'\n'+from+(select+'id','ne_type','ne_id','alarm_seq','alarm_id','alarm_code','alarm_status','event_time','log_time'+union+select+id,ne_type,ne_id,alarm_seq,alarm_id,alarm_code,alarm_status,event_time,log_time+from+alarm_log)+b - interval: 1 - unit: Days - at: 00:30:00 - do: TaskDBBackupCSVGetBySQL - - name: handshake to NF - status: Active - uri: /api/rest/systemManagement/v1/elementType/%s/objectType/systemState - params: - interval: 10 - unit: Seconds - at: - do: TaskHandShakeToNF - - name: Export CM from NF - status: Inactive - uri: /api/rest/systemManagement/v1/elementType/%s/objectType/cm - params: ne_id=%s - interval: 1 - unit: Days - at: 00:15 - do: TaskExportCmFromNF - - name: Generate NRM xml file - uri: - params: - interval: 1 - unit: Day - at: 00:00,06:00,12:00,18:00 - do: GenCmXmlFile - - name: Task of Generate measure threshold alarm - status: Active - uri: /api/rest/faultManagement/v1/elementType/%s/objectType/alarms - params: 10200 - interval: 10 - unit: Seconds - at: - do: TaskGenMeasureThresholdAlarm - - name: Task of Generate license alarm - status: Inactive - uri: /api/rest/faultManagement/v1/elementType/%s/objectType/alarms - params: 10100 #alarm_code - interval: 1 - unit: Days - at: 00:30 - do: TaskGenLicenseAlarm - - name: Task of Generate NE system state alarm - status: Inactive - uri: /api/rest/faultManagement/v1/elementType/%s/objectType/alarms - params: 10000 - interval: 5 - unit: Seconds - at: - do: TaskGenNeStateAlarm - - name: Task of Generate Measure Report Timeout - status: Active - uri: /api/rest/faultManagement/v1/elementType/%s/objectType/alarms - params: 10201 - interval: 10 - unit: Seconds - at: - do: TaskGenMeasureReportTimeoutAlarm - - name: Monitor proces list and write system log - uri: /api/rest/databaseManagement/v1/tenants_db/system_log - params: - body: - interval: 10 - unit: Seconds - at: - do: TaskWriteSystemLog - - name: Copy log to /opt/omc/ftp/log - uri: - params: cp -rf /usr/local/omc/database/*.csv /opt/omc/ftp/log - interval: 10 - unit: Minutes - at: - do: TaskRunShellCommand -# - name: Import CM to NF -# uri: /api/rest/systemManagement/v1/elementType/udm/objectType/cm -# params: ne_id=SZ_01 -# interval: 15 -# unit: Seconds -# at: -# do: TaskImportCmToNF -crontab: -# - name: 每隔1分钟执行 -# tab: 0 */1 * * * ? // crontab: rule like linux crontab -# do: CronHelloWorldTask // function name to call -# params: - - name: Generate PM xml file - status: Active - tab: 5,20,35,50 * * * * - do: GenPmXmlFile - uri: this is uri - params: Generating PM xml file -# - name: Import CM to NF -# tab: 0 * * * * * -# do: TaskImportCmToNF -# uri: /api/rest/systemManagement/v1/elementType/udm/objectType/cm -# params: ne_id=SZ_01 \ No newline at end of file diff --git a/config/param/mme_param_config.yaml b/config/param/mme_param_config.yaml index 85cafb25..f7bca83c 100644 --- a/config/param/mme_param_config.yaml +++ b/config/param/mme_param_config.yaml @@ -413,7 +413,7 @@ mme: display: "AMF IP" comment: "0~64" roam_plmn: - display: "ROAM PLMN List" + display: "Roam Plmn List" sort: 15 array: - name: "index" @@ -438,8 +438,8 @@ mme: display: "MNC" comment: "0~64" white_list: - display: "WHITE LIST List" - sort: 15 + display: "IMEI White List" + sort: 17 array: - name: "index" type: "int" diff --git a/config/systemd/captrace.service b/config/systemd/captrace.service deleted file mode 100644 index 1a07edfb..00000000 --- a/config/systemd/captrace.service +++ /dev/null @@ -1,17 +0,0 @@ -[Unit] -Description=OMC capture trace data from NF daemon -After=network-online.target mysql.service - -[Service] -Type=simple -LimitNOFILE=65535 -LimitNPROC=65535 - -Restart=always -ExecStart=/usr/local/omc/bin/captrace -c /usr/local/omc/etc/capconf.yaml -RestartSec=2 -RestartPreventExitStatus=SIGTERM SIGKILL -ExecReload=/bin/kill -HUP $MAINPID - -[Install] -WantedBy=multi-user.target \ No newline at end of file diff --git a/config/systemd/crontask.service b/config/systemd/omc.service similarity index 50% rename from config/systemd/crontask.service rename to config/systemd/omc.service index 9b6aea45..2dfc6c7c 100644 --- a/config/systemd/crontask.service +++ b/config/systemd/omc.service @@ -1,6 +1,6 @@ [Unit] -Description=OMC cron task daemon -After=network-online.target mysql.service +Description=OMC Service +After=network-online.target mysql.service kvdb.service [Service] Type=simple @@ -8,10 +8,10 @@ LimitNOFILE=65535 LimitNPROC=65535 Restart=always -ExecStart=/usr/local/omc/bin/crontask -c /usr/local/omc/etc/crontask.yaml +ExecStart=/usr/local/omc/bin/restagent -c /usr/local/omc/etc/restconf.yaml RestartSec=2 RestartPreventExitStatus=SIGTERM SIGKILL ExecReload=/bin/kill -HUP $MAINPID [Install] -WantedBy=multi-user.target \ No newline at end of file +WantedBy=multi-user.target diff --git a/crontask/cm/schema/cm-schema.go b/crontask/cm/schema/cm-schema.go deleted file mode 100644 index b87d8c03..00000000 --- a/crontask/cm/schema/cm-schema.go +++ /dev/null @@ -1,65 +0,0 @@ -package cmschema - -// FileHeader ... -type FileHeader struct { - TimeStamp string `xml:"TimeStamp"` - TimeZone string `xml:"TimeZone"` - VendorName string `xml:"VendorName"` - ElementType string `xml:"ElementType"` - CmVersion string `xml:"CmVersion"` -} - -// N ... -type N struct { - IAttr int `xml:"i,attr"` - Value string `xml:",chardata"` -} - -// FieldName ... -type FieldName struct { - N []N `xml:"N"` -} - -// V ... -type V struct { - IAttr int `xml:"i,attr"` - Value string `xml:",chardata"` -} - -// Object ... -type Object struct { - RmUIDAttr string `xml:"rmUID,attr"` - DnAttr string `xml:"Dn,attr,omitempty"` - UserLabelAttr string `xml:"UserLabel,attr,omitempty"` - PVFlagAttr string `xml:"PVFlag,attr"` - VMIDAttr string `xml:"VMID,attr,omitempty"` - VNFInstanceIDAttr string `xml:"VNFInstanceID,attr,omitempty"` - V []V `xml:"V"` -} - -// FieldValue ... -type FieldValue struct { - Object []Object `xml:"Object"` -} - -// Objects ... -type ObjectData struct { - ObjectType string `xml:"ObjectType"` - FieldName FieldName `xml:"FieldName"` - FieldValue FieldValue `xml:"FieldValue"` -} - -// DataFile ... -type DataFile struct { - FileHeader FileHeader `xml:"FileHeader"` - //Objects []Objects `xml:"Objects"` - ObjectData ObjectData `xml:"objectData"` - XsiAttr string `xml:"xmlns:xsi,attr"` - XsiLoc string `xml:"xsi:noNamespaceSchemaLocation,attr"` -} - -// NRM xml file -type NRMXmlFile struct { - Header string `xml:"Header"` - DataFile DataFile `xml:"xmlns:xsi"` -} diff --git a/crontask/cm/yaml/cm-yaml.go b/crontask/cm/yaml/cm-yaml.go deleted file mode 100644 index 8738e12e..00000000 --- a/crontask/cm/yaml/cm-yaml.go +++ /dev/null @@ -1,296 +0,0 @@ -package cmyaml - -type UdmCm struct { - ManagedElement ManagedElement `yaml:"ManagedElement"` - UdmFunction UdmFunction `yaml:"UdmFunction"` - UdrFunction UdrFunction `yaml:"UdrFunction"` - AusfFunction AusfFunction `yaml:"AusfFunction"` - IPResource IPResource `yaml:"IPResource"` -} - -type UdmFunction struct { - Id string `yaml:"Id"` - UserLabel string `yaml:"UserLabel"` - AdministrativeState string `yaml:"AdministrativeState"` - OperationalState string `yaml:"OperationalState"` - VnfInstanceId string `yaml:"VnfInstanceId"` - Fqdn string `yaml:"Fqdn"` - SbiServiceList string `yaml:"SbiServiceList"` -} - -type UdrFunction struct { - Id string `yaml:"Id"` - UserLabel string `yaml:"UserLabel"` - AddrType string `yaml:"AddrType"` - IpVersion string `yaml:"IpVersion"` - AddrSegList string `yaml:"AddrSegList"` -} - -type AusfFunction struct { - Id string `yaml:"Id"` - UserLabel string `yaml:"UserLabel"` - LocIpAddrList string `yaml:"LocIpAddrList"` - FarIpSubnetworkList string `yaml:"FarIpSubnetworkList"` -} - -type IPResource struct { - Id string `yaml:"Id"` - UserLabel string `yaml:"UserLabel"` - InterfaceType string `yaml:"InterfaceType"` - LocIpV4AddrList string `yaml:"LocIpV4AddrList"` - LocIpV6AddrList string `yaml:"LocIpV6AddrList"` -} - -type ManagedElement struct { - Id string `yaml:"Id"` - UserLabel string `yaml:"UserLabel"` - VendorName string `yaml:"VendorName"` - ManagedBy string `yaml:"ManagedBy"` - ManagementIpAddress string `yaml:"ManagementIpAddress"` - SwVersion string `yaml:"SwVersion"` - PatchInfo string `yaml:"PatchInfo"` - AdministrativeState string `yaml:"AdministrativeState"` - OperationalState string `yaml:"OperationalState"` -} - -type AmfCm struct { - ManagedElement ManagedElement `yaml:"ManagedElement"` - AmfFunction AmfFunction `yaml:"AmfFunction"` - EpRpDynN8Amf EpRpDynN8Amf `yaml:"EpRpDynN8Amf"` - EpRpDynN11Amf EpRpDynN11Amf `yaml:"EpRpDynN11Amf"` - EpRpDynN12Amf EpRpDynN12Amf `yaml:"EpRpDynN12Amf"` - IPResource IPResource `yaml:"IPResource"` -} - -type EpRpDynN11Amf struct { - Id string `yaml:"Id"` - UserLabel string `yaml:"UserLabel"` - LocIpAddrList string `yaml:"LocIpAddrList"` - FarIpSubnetworkList string `yaml:"FarIpSubnetworkList"` -} - -type EpRpDynN12Amf struct { - Id string `yaml:"Id"` - UserLabel string `yaml:"UserLabel"` - LocIpAddrList string `yaml:"LocIpAddrList"` - FarIpSubnetworkList string `yaml:"FarIpSubnetworkList"` -} - -type AmfFunction struct { - Id string `yaml:"Id"` - UserLabel string `yaml:"UserLabel"` - AdministrativeState string `yaml:"AdministrativeState"` - Fqdn string `yaml:"Fqdn"` - SbiServiceList string `yaml:"SbiServiceList"` - AmfGuamiList string `yaml:"AmfGuamiList"` - OperationalState string `yaml:"OperationalState"` - VnfInstanceId string `yaml:"VnfInstanceId"` - SnssaiList string `yaml:"SnssaiList"` - MaxUser string `yaml:"MaxUser"` - RelativeCapacity string `yaml:"RelativeCapacity"` - MaxGnbNum string `yaml:"MaxGnbNum"` -} - -type EpRpDynN8Amf struct { - Id string `yaml:"Id"` - UserLabel string `yaml:"UserLabel"` - LocIpAddrList string `yaml:"LocIpAddrList"` - FarIpSubnetworkList string `yaml:"FarIpSubnetworkList"` -} - -type SmfCm struct { - ManagedElement ManagedElement `yaml:"ManagedElement"` - SmfFunction SmfFunction `yaml:"SmfFunction"` - AddrPool AddrPool `yaml:"AddrPool"` - EpRpDynN7Smf EpRpDynN7Smf `yaml:"EpRpDynN7Smf"` - EpRpDynN10Smf EpRpDynN10Smf `yaml:"EpRpDynN10Smf"` - IPResource IPResource `yaml:"IPResource"` -} - -type SmfFunction struct { - Id string `yaml:"Id"` - UserLabel string `yaml:"UserLabel"` - VnfInstanceId string `yaml:"VnfInstanceId"` - MaxQfi string `yaml:"MaxQfi"` - MaxPduSessions string `yaml:"MaxPduSessions"` - UpfList string `yaml:"UpfList"` - AdministrativeState string `yaml:"AdministrativeState"` - OperationalState string `yaml:"OperationalState"` - Fqdn string `yaml:"Fqdn"` - SbiServiceList string `yaml:"SbiServiceList"` -} - -type AddrPool struct { - Id string `yaml:"Id"` - UserLabel string `yaml:"UserLabel"` - AddrType string `yaml:"AddrType"` - IpVersion string `yaml:"IpVersion"` - AddrSegList string `yaml:"AddrSegList"` -} - -type EpRpDynN7Smf struct { - Id string `yaml:"Id"` - UserLabel string `yaml:"UserLabel"` - LocIpAddrList string `yaml:"LocIpAddrList"` - FarIpSubnetworkList string `yaml:"FarIpSubnetworkList"` -} - -type EpRpDynN10Smf struct { - Id string `yaml:"Id"` - UserLabel string `yaml:"UserLabel"` - LocIpAddrList string `yaml:"LocIpAddrList"` - FarIpSubnetworkList string `yaml:"FarIpSubnetworkList"` -} - -type UpfCm struct { - IPResource IPResource `yaml:"IPResource"` - InventoryUnitHost InventoryUnitHost `yaml:"InventoryUnitHost"` - InventoryUnitAccessory InventoryUnitAccessory `yaml:"InventoryUnitAccessory"` - UdrFunction UpfUdrFunction `yaml:"UdrFunction"` - InventoryUnitRack InventoryUnitRack `yaml:"InventoryUnitRack"` - EpRpDynN9Upf EpRpDynN9Upf `yaml:"EpRpDynN9Upf"` - AusfFunction UpfAusfFunction `yaml:"AusfFunction"` - SmfFunction UpfSmfFunction `yaml:"SmfFunction"` - InventoryUnitPack InventoryUnitPack `yaml:"InventoryUnitPack"` - UpfFunction UpfFunction `yaml:"UpfFunction"` - AmfFunction UpfAmfFunction `yaml:"AmfFunction"` - ManagedElement ManagedElement `yaml:"ManagedElement"` - InventoryUnitShelf InventoryUnitShelf `yaml:"InventoryUnitShelf"` - EpRpDynN3Upf EpRpDynN3Upf `yaml:"EpRpDynN3Upf"` -} - -type InventoryUnitRack struct { - SbiServiceList string `yaml:"SbiServiceList"` - Fqdn string `yaml:"Fqdn"` - UserLabel string `yaml:"UserLabel"` - AdministrativeState string `yaml:"AdministrativeState"` - OperationalState string `yaml:"OperationalState"` - VnfInstanceId string `yaml:"VnfInstanceId"` - MaxPduSessions string `yaml:"MaxPduSessions"` - MaxQfi string `yaml:"MaxQfi"` - UpfList string `yaml:"UpfList"` - Id string `yaml:"Id"` -} - -type UpfAusfFunction struct { - UserLabel string `yaml:"UserLabel"` - AdministrativeState string `yaml:"AdministrativeState"` - OperationalState string `yaml:"OperationalState"` - VnfInstanceId string `yaml:"VnfInstanceId"` - Fqdn string `yaml:"Fqdn"` - Id string `yaml:"Id"` -} - -type EpRpDynN3Upf struct { - LocIpAddrList string `yaml:"LocIpAddrList"` - FarIpSubnetworkList string `yaml:"FarIpSubnetworkList"` - Id string `yaml:"Id"` - UserLabel string `yaml:"UserLabel"` -} - -type InventoryUnitHost struct { - UserLabel string `yaml:"UserLabel"` - VendorName string `yaml:"VendorName"` - DateOfLastService string `yaml:"DateOfLastService"` - ManufacturerData string `yaml:"ManufacturerData"` - VendorUnitTypeNumber string `yaml:"VendorUnitTypeNumber"` - HostPosition string `yaml:"HostPosition"` - MemSize string `yaml:"MemSize"` - HardDiskSize string `yaml:"HardDiskSize"` - NumberOfCpu string `yaml:"NumberOfCpu"` - Id string `yaml:"Id"` - VendorUnitFamilyType string `yaml:"VendorUnitFamilyType"` - SerialNumber string `yaml:"SerialNumber"` - VersionNumber string `yaml:"VersionNumber"` - DateOfManufacture string `yaml:"DateOfManufacture"` -} - -type InventoryUnitAccessory struct { - UserLabel string `yaml:"UserLabel"` - VendorName string `yaml:"VendorName"` - SerialNumber string `yaml:"SerialNumber"` - ManufacturerData string `yaml:"ManufacturerData"` - DateOfLastService string `yaml:"DateOfLastService"` - AccessoryPosition string `yaml:"AccessoryPosition"` - AccessoryType string `yaml:"AccessoryType"` - Id string `yaml:"Id"` - VendorUnitFamilyType string `yaml:"VendorUnitFamilyType"` - VendorUnitTypeNumber string `yaml:"VendorUnitTypeNumber"` - VersionNumber string `yaml:"VersionNumber"` - DateOfManufacture string `yaml:"DateOfManufacture"` - AddtionalInformation string `yaml:"AddtionalInformation"` -} - -type EpRpDynN9Upf struct { - UserLabel string `yaml:"UserLabel"` - LocIpAddrList string `yaml:"LocIpAddrList"` - FarIpSubnetworkList string `yaml:"FarIpSubnetworkList"` - Id string `yaml:"Id"` -} - -type UpfSmfFunction struct { - Id string `yaml:"Id"` - UserLabel string `yaml:"UserLabel"` - AdministrativeState string `yaml:"AdministrativeState"` - OperationalState string `yaml:"OperationalState"` - VnfInstanceId string `yaml:"VnfInstanceId"` - Fqdn string `yaml:"Fqdn"` -} - -type InventoryUnitPack struct { - VendorUnitFamilyType string `yaml:"VendorUnitFamilyType"` - VendorName string `yaml:"VendorName"` - VersionNumber string `yaml:"VersionNumber"` - DateOfManufacture string `yaml:"DateOfManufacture"` - DateOfLastService string `yaml:"DateOfLastService"` - ManufacturerData string `yaml:"ManufacturerData"` - Id string `yaml:"Id"` - UserLabel string `yaml:"UserLabel"` - PortsInformation string `yaml:"PortsInformation"` - PackPosition string `yaml:"PackPosition"` - SlotsOccupied string `yaml:"SlotsOccupied"` - VendorUnitTypeNumber string `yaml:"VendorUnitTypeNumber"` - SerialNumber string `yaml:"SerialNumber"` -} - -type UpfAmfFunction struct { - VnfInstanceId string `yaml:"VnfInstanceId"` - Fqdn string `yaml:"Fqdn"` - Id string `yaml:"Id"` - UserLabel string `yaml:"UserLabel"` - AdministrativeState string `yaml:"AdministrativeState"` - OperationalState string `yaml:"OperationalState"` -} - -type InventoryUnitShelf struct { - ManufacturerData string `yaml:"ManufacturerData"` - RackPosition string `yaml:"RackPosition"` - SerialNumber string `yaml:"SerialNumber"` - VersionNumber string `yaml:"VersionNumber"` - VendorUnitFamilyType string `yaml:"VendorUnitFamilyType"` - VendorUnitTypeNumber string `yaml:"VendorUnitTypeNumber"` - VendorName string `yaml:"VendorName"` - DateOfManufacture string `yaml:"DateOfManufacture"` - DateOfLastService string `yaml:"DateOfLastService"` - Id string `yaml:"Id"` - UserLabel string `yaml:"UserLabel"` -} - -type UpfUdrFunction struct { - OperationalState string `yaml:"OperationalState"` - VnfInstanceId string `yaml:"VnfInstanceId"` - Fqdn string `yaml:"Fqdn"` - Id string `yaml:"Id"` - UserLabel string `yaml:"UserLabel"` - AdministrativeState string `yaml:"AdministrativeState"` -} - -type UpfFunction struct { - MaxThroughput string `yaml:"MaxThroughput"` - Id string `yaml:"Id"` - UserLabel string `yaml:"UserLabel"` - AdministrativeState string `yaml:"AdministrativeState"` - OperationalState string `yaml:"OperationalState"` - VnfInstanceId string `yaml:"VnfInstanceId"` - MaxQosFlows string `yaml:"MaxQosFlows"` -} diff --git a/crontask/config.go b/crontask/config.go deleted file mode 100644 index 2a616ace..00000000 --- a/crontask/config.go +++ /dev/null @@ -1,201 +0,0 @@ -package main - -import ( - "flag" - "fmt" - "os" - "strings" - - "be.ems/lib/global" - "be.ems/lib/log" - - "gopkg.in/yaml.v3" -) - -type DbConfig struct { - Type string `yaml:"type"` - User string `yaml:"user"` - Password string `yaml:"password"` - Host string `yaml:"host"` - Port string `yaml:"port"` - Name string `yaml:"name"` - ConnParam string `yaml:"connParam,omitempty"` - Backup string `yaml:"backup"` -} - -// Yaml struct of config -type YamlConfig struct { - Logger struct { - File string `yaml:"file"` - Level string `yaml:"level"` - Duration int `yaml:"duration"` - Count int `yaml:"count"` - } `yaml:"logger"` - - OMC struct { - Name string `yaml:"name"` - HostUri string `yaml:"hosturi"` - HostNo string `yaml:"hostno"` - Province string `yaml:"province"` - NetAbbr string `yaml:"netabbr"` - Vendor string `yaml:"vendor"` - } `yaml:"omc"` - - Database DbConfig `yaml:"database"` - - Tasks struct { - File string `yaml:"file"` - } `yaml:"tasks"` - - NBI struct { - CM struct { - CfgFileDir string `yaml:"cfgfiledir"` - XmlFileDir string `yaml:"xmlfiledir"` - Version string `yaml:"version"` - } `yaml:"cm"` - PM struct { - CfgFileDir string `yaml:"cfgfiledir"` - XmlFileDir string `yaml:"xmlfiledir"` - Version string `yaml:"version"` - } `yaml:"pm"` - } `yaml:"nbi"` -} - -var yamlConfig YamlConfig = NewYamlConfig() - -// set default value for yaml config -func NewYamlConfig() YamlConfig { - return YamlConfig{ - Database: DbConfig{ - Type: "mysql", - ConnParam: "charset=utf8mb4&collation=utf8mb4_general_ci&parseTime=True&interpolateParams=True", - }, - } -} - -func ReadConfig(configFile string) error { - yamlFile, err := os.ReadFile(configFile) - if err != nil { - fmt.Println("Read yaml config file error:", err) - return err - } - - err = yaml.Unmarshal(yamlFile, &yamlConfig) - if err != nil { - fmt.Println("Unmarshal error:", err) - return err - } - return nil -} - -func GetYamlConfig() *YamlConfig { - return &yamlConfig -} - -func GetLogLevel() log.LogLevel { - var logLevel log.LogLevel - switch strings.ToLower(yamlConfig.Logger.Level) { - case "trace": - logLevel = log.LOG_TRACE - case "info": - logLevel = log.LOG_INFO - case "debug": - logLevel = log.LOG_DEBUG - case "warn": - logLevel = log.LOG_WARN - case "error": - logLevel = log.LOG_ERROR - case "fatal": - logLevel = log.LOG_FATAL - case "off": - logLevel = log.LOG_OFF - default: - logLevel = log.LOG_DEBUG - } - return logLevel -} - -type Task struct { - Name string `yaml:"name"` - Status string `yaml:"status" default:"Active"` - Uri string `yaml:"uri"` - Params string `yaml:"params"` - Body string `yaml:"body"` - Interval uint64 `yaml:"interval"` - Unit string `yaml:"unit"` - At string `yaml:"at"` - From int `yaml:"from"` - Do string `yaml:"do"` -} - -type Crontab struct { - Name string `yaml:"name"` - Status string `yaml:"status" default:"Active"` - Tab string `yaml:"tab"` - Do string `yaml:"do"` - Uri string `yaml:"uri"` - Params string `yaml:"params"` - Body string `yaml:"body"` -} - -type Tasks struct { - Tasks []Task `yaml:"tasks"` - Crontabs []Crontab `yaml:"crontab"` -} - -const ( - TaskStatusActive = "active" - TaskStatusInactive = "inactive" -) - -var taskSet Tasks - -func ReadTasksYaml(pfile string) (ret error) { - log.Debug("pfile:", pfile) - file, err := os.ReadFile(pfile) - if err != nil { - log.Error(err) - return err - } - - err = yaml.Unmarshal(file, &taskSet) - if err != nil { - log.Error(err) - return err - } - - log.Trace("tasks:", taskSet) - return nil -} - -func GetDefaultUserAgent() string { - return "OMC-crontask/" + global.Version -} - -const defaultConfigFile = "./etc/crontask.yaml" - -var ConfigFile *string - -func init() { - ConfigFile = flag.String("c", defaultConfigFile, "config file") - pv := flag.Bool("v", false, "print version") - pversion := flag.Bool("version", false, "print version") - ph := flag.Bool("h", false, "print help") - phelp := flag.Bool("help", false, "print help") - - flag.Parse() - if *pv || *pversion { - fmt.Printf("OMC crontask version: %s\n%s\n%s\n\n", global.Version, global.BuildTime, global.GoVer) - os.Exit(0) - } - if *ph || *phelp { - flag.Usage() - os.Exit(0) - } - - err := ReadConfig(*ConfigFile) - if err != nil { - fmt.Println("Failed to ReadConfig:", err) - os.Exit(3) - } -} diff --git a/crontask/config_linux.go b/crontask/config_linux.go deleted file mode 100644 index 5b64095c..00000000 --- a/crontask/config_linux.go +++ /dev/null @@ -1,32 +0,0 @@ -//go:build linux -// +build linux - -package main - -import ( - "os" - "os/signal" - "syscall" - - "be.ems/lib/log" -) - -// 启动一个 goroutine 监听信号量 -func ReloadRoutine() { - sigCh := make(chan os.Signal, 1) - - signal.Notify(sigCh, syscall.SIGUSR1) - - for { - <-sigCh - log.Info("Received reload signal, reloading config...") - - err := ReadConfig(*ConfigFile) - if err != nil { - log.Error("Failed to ReadConfig:", err) - continue - } - - log.Info("Config reloaded successfully.") - } -} diff --git a/crontask/config_windows.go b/crontask/config_windows.go deleted file mode 100644 index dd3c5f5a..00000000 --- a/crontask/config_windows.go +++ /dev/null @@ -1,34 +0,0 @@ -//go:build windows -// +build windows - -package main - -import ( - "os" - "os/signal" - "syscall" - - "be.ems/lib/log" -) - -// 启动一个 goroutine 监听信号量 -func ReloadRoutine() { - sigCh := make(chan os.Signal, 1) - - //signal.Notify(sigCh, syscall.SIGUSR1) - - signal.Notify(sigCh, syscall.SIGTRAP) - - for { - <-sigCh - log.Info("Received reload signal, reloading config...") - - err := ReadConfig(*ConfigFile) - if err != nil { - log.Error("Failed to ReadConfig:", err) - continue - } - - log.Info("Config reloaded successfully.") - } -} diff --git a/crontask/crontask.go b/crontask/crontask.go deleted file mode 100644 index ecea0b46..00000000 --- a/crontask/crontask.go +++ /dev/null @@ -1,41 +0,0 @@ -package main - -import ( - "fmt" - "os" - - "be.ems/lib/dborm" - "be.ems/lib/global" - "be.ems/lib/log" -) - -func main() { - - log.InitLogger(yamlConfig.Logger.File, yamlConfig.Logger.Duration, yamlConfig.Logger.Count, "omc:crontask", GetLogLevel()) - fmt.Printf("OMC crontask version: %s\n", global.Version) - log.Infof("========================= OMC crontask startup =========================") - log.Infof("OMC crontask version: %s %s %s", global.Version, global.BuildTime, global.GoVer) - - err := dborm.InitDbClient(yamlConfig.Database.Type, yamlConfig.Database.User, yamlConfig.Database.Password, - yamlConfig.Database.Host, yamlConfig.Database.Port, yamlConfig.Database.Name, yamlConfig.Database.ConnParam) - if err != nil { - fmt.Println("dborm.initDbClient err:", err) - os.Exit(1) - } - - err = initDbClient() - if err != nil { - fmt.Println("initDBClient error:", err) - os.Exit(1) - } - - ReadTasksYaml(yamlConfig.Tasks.File) - - //go ReloadRoutine() - - go initCronTasks() - - go initCronTabs() - - select {} -} diff --git a/crontask/db.go b/crontask/db.go deleted file mode 100644 index 886e3ddc..00000000 --- a/crontask/db.go +++ /dev/null @@ -1,534 +0,0 @@ -package main - -import ( - "database/sql" - "fmt" - "time" - - "be.ems/lib/log" - - _ "github.com/go-sql-driver/mysql" - "xorm.io/xorm" -) - -type NullTime sql.NullTime - -type DBClient struct { - dbType string - dbUrl string - dbConnMaxLifetime time.Duration - dbMaxIdleConns int - dbMaxOpenConns int - IsShowSQL bool - - xEngine *xorm.Engine -} - -var dbClient DBClient - -func initDbClient() error { - db := yamlConfig.Database - dbClient.dbUrl = fmt.Sprintf("%s:%s@tcp(%s:%s)/%s?charset=utf8mb4&collation=utf8mb4_general_ci&parseTime=true&loc=Local", - db.User, db.Password, db.Host, db.Port, db.Name) - dbClient.dbType = db.Type - dbClient.dbConnMaxLifetime = 0 - dbClient.dbMaxIdleConns = 0 - dbClient.dbMaxOpenConns = 0 - if log.GetLevel() == log.LOG_TRACE { - dbClient.IsShowSQL = true - } - - var err error - dbClient.xEngine, err = xorm.NewEngine(dbClient.dbType, dbClient.dbUrl) - if err != nil { - log.Error("Failed to connect database:", err) - return err - } - //dbClient.xEngine.Ping() // 可以判断是否能连接 - //if err != nil { - // log.Error("Failed to ping database:", err) - // return err - //} - // defer dbClient.xEngine.Close() // 退出后关闭 - - if dbClient.IsShowSQL { - dbClient.xEngine.ShowSQL(true) - } - dbClient.xEngine.SetConnMaxLifetime(dbClient.dbConnMaxLifetime) - dbClient.xEngine.SetMaxIdleConns(dbClient.dbMaxIdleConns) - dbClient.xEngine.SetMaxOpenConns(dbClient.dbMaxOpenConns) - dbClient.xEngine.DatabaseTZ = time.Local // 必须 - dbClient.xEngine.TZLocation = time.Local // 必须 - return nil -} - -var xEngine *xorm.Engine - -func XormConnectDatabaseWithUri(sql string) (*xorm.Engine, error) { - sqlStr := fmt.Sprintf("%s?charset=utf8mb4&collation=utf8mb4_general_ci&parseTime=true&loc=Local", sql) - var err error - xEngine, err = xorm.NewEngine("mysql", sqlStr) //1、Create xorm engine - if err != nil { - fmt.Println("Failed to connect database:", err) - return nil, err - } - xEngine.ShowSQL(true) - return xEngine, nil -} - -type NeInfo struct { - Id int `json:"-" xorm:"pk 'id' autoincr"` - NeType string `json:"neType" xorm:"ne_type"` - NeId string `json:"neId" xorm:"ne_id"` // neUID/rmUID 网元唯一标识 - RmUID string `json:"rmUID" xorm:"rm_uid"` // neUID/rmUID网元UID - NeName string `json:"neName" xorm:"ne_name"` // NeName/UserLabel 网元名称/网元设备友好名称 - Ip string `json:"ip" xorm:"ip"` - Port string `json:"port" xorm:"port"` - PvFlag string `json:"pvFlag" xorm:"pv_flag"` // 网元虚实性标识 VNF/PNF: 虚拟/物理 - NeAddress string `json:"neAddress" xorm:"ne_address"` // 只对PNF - Province string `json:"province" xorm:"province"` // 网元所在省份 - VendorName string `json:"vendorName" xorm:"vendor_name"` // 厂商名称 - Dn string `json:"dn" xorm:"dn"` // 网络标识 - Status int `json:"status" xorm:"status"` - UpdateTime string `json:"-" xorm:"-"` -} - -func XormGetNeInfoByType(neType string, nes *[]NeInfo) (*[]NeInfo, error) { - log.Debug("XormGetNeInfoByType processing... ") - - ne := new(NeInfo) - rows, err := dbClient.xEngine.Table("ne_info").Where("ne_type =?", neType).Rows(ne) - if err != nil { - log.Error("Failed to get table ne_info from database:", err) - return nil, err - } - defer rows.Close() - for rows.Next() { - err := rows.Scan(ne) - if err != nil { - log.Error("Failed to get table ne_info from database:", err) - return nil, err - } - *nes = append(*nes, *ne) - } - log.Debug("nes:", nes) - return nes, nil -} - -func XormGetAllNeInfo(nes *[]NeInfo) (*[]NeInfo, error) { - log.Debug("XormGetAllNeInfo processing... ") - - ne := new(NeInfo) - rows, err := dbClient.xEngine.Table("ne_info").Rows(ne) - if err != nil { - log.Error("Failed to get table ne_info from database:", err) - return nil, err - } - defer rows.Close() - for rows.Next() { - err := rows.Scan(ne) - if err != nil { - log.Error("Failed to get table ne_info from database:", err) - return nil, err - } - *nes = append(*nes, *ne) - } - log.Debug("nes:", nes) - return nes, nil -} - -type NeState struct { - Id int `json:"id" xorm:"pk 'id' autoincr"` - NeType string `json:"neType" xorm:"ne_type"` - NeId string `json:"neId" xorm:"ne_id"` - Version string `json:"version" xorm:"column 'version' VARCHAR(16)"` - Capability uint32 `json:"capability" xorm:"capability"` - SerialNum string `json:"serialNum" xorm:"serial_num"` - ExpiryDate string `json:"expiryDate" xorm:"expiry_date"` - CpuUsage string `json:"cpuUsage" xorm:"cpu_usage"` - MemUsage string `json:"memUsage" xorm:"mem_usage"` - DiskSpace string `json:"diskSpace" xorm:"disk_space"` - Timestamp string `json:"timestamp" xorm:"-" ` -} - -func XormInsertNeState(neState *NeState) (int64, error) { - log.Debug("XormInsertNeState processing... ") - - var affected int64 = 0 - - session := dbClient.xEngine.NewSession() - defer session.Close() - affected, err := session.InsertOne(neState) - if err != nil { - return 0, err - } - err = session.Commit() - if err != nil { - return 0, err - } - return affected, err -} - -type NorthboundPm struct { - Id int `json:"-" xorm:"pk 'id' autoincr"` - Date string `json:"Date" xorm:"date"` - Index int `json:"Index" xorm:"index"` // 1天中测量时间粒度(如15分钟)的切片索引: 0~95 - Timestamp string `json:"-" xorm:"-"` - NeName string `json:"NeName" xorm:"ne_name"` // UserLabel - RmUID string `json:"RmUID" xorm:"rm_uid"` - NeType string `json:"NeType" xorm:"ne_type"` // 网元类型 - PmVersion string `json:"PmVersion" xorm:"pm_version"` // 性能数据版本号 - Dn string `json:"Dn" xorm:"dn"` // (???)网元标识, 如:RJN-CMZJ-TZ,SubNetwork=5GC88,ManagedElement=SMF53456,SmfFunction=53456 - Period string `json:"Period" xorm:"period"` // 测量时间粒度选项:5/15/30/60 - TimeZone string `json:"TimeZone" xorm:"time_zone"` - StartTime string `json:"StartTime" xorm:"start_time"` - - Datas []struct { - ObjectType string `json:"ObjectType" xorm:"object_type"` // 网络资源类别名称, Pm指标项列表中为空间粒度 如:SmfFunction - KPIs []struct { - KPIID string `json:"KPIID" xorm:"pm_name"` // 指标项, 如: SMF.AttCreatePduSession._Dnn - KPIValues []struct { - Name string `json:"Name" xorm:"name"` // 单个的写"Total", 或者指标项有多个测量项,如Dnn的名称写对应的Dnn"cmnet"/"ims" - Value int `json:"Value" xorm:"value"` - } `json:"KPIValues" xorm:"sub_datas"` - } `json:"KPIs" xorm:"pm_datas"` - } `json:"Datas" xorm:"datas"` -} - -func XormInsertNorthboundPm(pm *NorthboundPm) (int64, error) { - log.Debug("XormInsertNorthboundPm processing... ") - - var affected int64 = 0 - - session := dbClient.xEngine.NewSession() - defer session.Close() - affected, err := session.InsertOne(pm) - session.Commit() - return affected, err -} - -func XormGetNorthboundPm(date string, index int, neType string, pms *[]NorthboundPm) (*[]NorthboundPm, error) { - log.Debug("XormGetNorthboundPm processing... ") - - pm := new(NorthboundPm) - rows, err := dbClient.xEngine.Table("nbi_pm"). - Where("`ne_type` = ? AND `date` = ? AND `index` = ?", neType, date, index). - Rows(pm) - if err != nil { - log.Error("Failed to get table nbi_pm from database:", err) - return nil, err - } - defer rows.Close() - for rows.Next() { - err := rows.Scan(pm) - if err != nil { - log.Error("Failed to get table nbi_pm from database:", err) - return nil, err - } - *pms = append(*pms, *pm) - } - log.Debug("pms:", pms) - return pms, nil -} - -func XormGetMeasureThreshold(tableName string, where string, datas *[]MeasureThreshold) (*[]MeasureThreshold, error) { - log.Debug("XormGetMeasureThreshold processing... ") - - row := new(MeasureThreshold) - rows, err := dbClient.xEngine.Table(tableName).Where(where).Rows(row) - if err != nil { - log.Errorf("Failed to get table %s from database: %v", tableName, err) - return nil, err - } - defer rows.Close() - for rows.Next() { - err := rows.Scan(row) - if err != nil { - log.Error("Failed to get table measure_threshold from database:", err) - return nil, err - } - *datas = append(*datas, *row) - } - log.Debug("datas:", datas) - - return datas, nil -} - -type MeasureThreshold struct { - Id int `json:"id" xorm:"pk 'id' autoincr"` - NeType string `json:"neType" xorm:"ne_type"` - KpiSet string `json:"kpiSet" xorm:"kpi_set"` - Threshold int64 `json:"threshold" xorm:"threshold"` - Status string `json:"status" xorm:"Status"` - OrigSeverity string `json:"origSeverity" xorm:"orig_severity"` - AlarmCode string `json:"alarmCode" xorm:"alarm_code"` - AlarmFlag bool `json:"alarmFlag" xorm:"alarm_flag"` -} - -type MeasureData struct { - // Id int `json:"id" xorm:"pk 'id' autoincr"` - Id int `json:"id" xorm:"-"` - Date string `json:"date" xorm:"date"` - TaskId int `json:"taskId"` - NeType string `json:"neType" xorm:"ne_type"` - NeName string `json:"neName" xorm:"ne_name"` - RmUid string `json:"rmUid" xorm:"rm_uid"` - GranulOption string `json:"granulOption" xorm:"granul_option"` - StartTime string `json:"startTime"` - EndTime string `json:"endTime"` - KpiCode string `json:"kpiCode" xorm:"kpi_code"` - KpiId string `json:"kpiId" xorm:"kpi_id"` - KpiExt string `json:"kpiExt" xorm:"kpi_ext"` - Value int64 `json:"value"` - Timestamp string `json:"timestamp"` -} - -func XormGetMeasureData(where string, datas *[]MeasureData) (*[]MeasureData, error) { - log.Debug("XormGetMeasureData processing... ") - - row := new(MeasureData) - rows, err := dbClient.xEngine.Where(where).Rows(row) - if err != nil { - log.Errorf("Failed to get table measure_data from database: %v", err) - return nil, err - } - defer rows.Close() - for rows.Next() { - err := rows.Scan(row) - if err != nil { - log.Error("Failed to get table measure_data from database:", err) - return nil, err - } - *datas = append(*datas, *row) - } - log.Debug("datas:", datas) - - return datas, nil -} - -func XormGetMeasureDataLastOne(neType, rmUID string, taskId int) (*MeasureData, error) { - log.Debug("XormGetMeasureDataOneByKpi processing... ") - - measureData := new(MeasureData) - _, err := dbClient.xEngine. - SQL("select * from measure_data where ne_type=? and rm_uid=? and task_id=? order by start_time desc limit 1", neType, rmUID, taskId). - Get(measureData) - if err != nil { - log.Errorf("Failed to get measure_data: %v", err) - return nil, err - } - - return measureData, nil -} - -func XormGetMeasureDataOneByKpi(kpi string) (*MeasureData, error) { - log.Debug("XormGetMeasureDataOneByKpi processing... ") - - measureData := new(MeasureData) - _, err := dbClient.xEngine. - SQL("select * from measure_data where kpi_id = ? order by timestamp desc limit 1", kpi). - Get(measureData) - if err != nil { - log.Errorf("Failed to get table measure_data from database: %v", err) - return nil, err - } - - log.Debug("measureData:", measureData) - - return measureData, nil -} - -type AlarmDefine struct { - AlarmId string `json:"alarmId" xorm:"alarm_id"` - AlarmCode int `json:"alarmCode" xorm:"alarm_code"` - AlarmTitle string `json:"alarmTitle" xorm:"alarm_title"` - NeType string `json:"neType" xorm:"ne_type"` - AlarmType string `json:"alarmType" xorm:"alarm_type"` - OrigSeverity string `json:"origSeverity" xorm:"orig_severity"` - ObjectUid string `json:"objectUid" xorm:"object_uid"` - ObjectName string `json:"objectName" xorm:"object_name"` - ObjectType string `json:"objectType" xorm:"object_type"` - LocationInfo string `json:"locationInfo"` - SpecificProblem string `json:"specificProblem"` - SpecificProblemId string `json:"specificProblemId" xorm:"specific_problem_id"` - AddInfo string `json:"addInfo" xorm:"add_info"` - Threshold int64 `json:"threshold" xorm:"threshold"` - Status string `json:"status" xorm:"status"` -} - -func XormGetAlarmDefine(alarmCode string) (*AlarmDefine, error) { - log.Debug("XormGetAlarmDefine processing... ") - - alarmDefine := new(AlarmDefine) - _, err := dbClient.xEngine. - Where("alarm_code=? and status='Active'", alarmCode). - Get(alarmDefine) - if err != nil { - log.Error("Failed to get table alarm_define from database:", err) - return nil, err - } - - return alarmDefine, nil -} - -const ( - AlarmStatusClear = 0 - AlarmStatusActive = 1 - AlarmStatusClearString = "0" - AlarmStatusActiveString = "1" -) - -const ( - ClearTypeUnclear = 0 - ClearTypeAutoClear = 1 - ClearTypeManualClear = 2 -) - -type Alarm struct { - Id int `json:"-" xorm:"pk 'id' autoincr"` - AlarmSeq int `json:"alarmSeq"` - AlarmId string `json:"alarmId" xorm:"alarm_id"` - NeId string `json:"neId"` - AlarmCode int `json:"alarmCode"` - AlarmTitle string `json:"alarmTitle"` - EventTime string `json:"eventTime"` - AlarmType string `json:"alarmType"` - OrigSeverity string `json:"origSeverity"` - PerceivedSeverity string `json:"perceivedSeverity"` - PVFlag string `json:"pvFlag" xorm:"pv_flag"` - NeName string `json:"neName"` - NeType string `json:"neType"` - ObjectUid string `json:"objectUid" xorm:"object_uid"` - ObjectName string `json:"objectName" xorm:"object_name"` - ObjectType string `json:"objectType" xorm:"object_type"` - LocationInfo string `json:"locationInfo"` - Province string `json:"province"` - AlarmStatus int `json:"alarmStatus" xorm:"alarm_status"` - SpecificProblem string `json:"specificProblem"` - SpecificProblemID string `json:"specificProblemID" xorm:"specific_problem_id"` - AddInfo string `json:"addInfo"` - - // ClearType int `json:"-" xorm:"clear_type"` // 0: Unclear, 1: Auto clear, 2: Manual clear - // ClearTime sql.NullTime `json:"-" xorm:"clear_time"` -} - -type AlarmLog struct { - NeType string `json:"neType" xorm:"ne_type"` - NeId string `json:"neId" xorm:"ne_id"` - AlarmSeq string `json:"alarmSeq" xorm:"alarm_seq"` - AlarmId string `json:"alarmId" xorm:"alarm_id"` - AlarmCode int `json:"alarmCode" xorm:"alarm_code"` - AlarmStatus int `json:"alarmStatus" xorm:"alarm_status"` - EventTime string `json:"eventTime" xorm:"event_time"` - // ClearTime sql.NullTime `json:"clearTime" xorm:"clear_time"` - LogTime string `json:"logTime" xorm:"-"` -} - -func XormInsertAlarm(alarm *Alarm) (int64, error) { - log.Debug("XormInsertAlarm processing... ") - - var affected int64 = 0 - - session := dbClient.xEngine.NewSession() - defer session.Close() - affected, err := session.InsertOne(alarm) - session.Commit() - return affected, err -} - -func XormInsertTalbeOne(tbInfo interface{}) (int64, error) { - log.Debug("XormInsertTalbeOne processing... ") - - var affected int64 = 0 - - session := dbClient.xEngine.NewSession() - defer session.Close() - affected, err := session.InsertOne(tbInfo) - session.Commit() - return affected, err -} - -func XormGetDataBySQL(sql string) (*[]map[string]string, error) { - //log.Debug("XormGetDataBySQL processing... ") - - rows := make([]map[string]string, 0) - rows, err := dbClient.xEngine.QueryString(sql) - if err != nil { - log.Errorf("Failed to QueryString:", err) - return nil, err - } - - return &rows, nil -} - -func XormGetTableOneByWhere(where string, tableName string) (*[]interface{}, error) { - log.Debug("XormGetTableOneByWhere processing... ") - - row := new([]interface{}) - - tb, err := dbClient.xEngine.TableInfo(tableName) - if err != nil { - log.Error("Failed to get TableInfo:", err) - return nil, err - } - columns := tb.Columns() - log.Debug("columns:", columns) - has, err := dbClient.xEngine.Table(tableName).Where(where).Get(row) - if err != nil { - log.Errorf("Failed to get table %s from database:%v", tableName, err) - return nil, err - } else if has == false { - log.Infof("Not found data from %s where=%s", tableName, where) - return nil, nil - } - - log.Debugf("%s:%v", tableName, row) - return row, nil -} - -func XormGetTableOneById(id int, tableName string) (*[]interface{}, error) { - log.Debug("XormGetTableOneById processing... ") - - rows := new([]interface{}) - has, err := dbClient.xEngine.Table(tableName).ID(id).Get(rows) - if err != nil { - log.Errorf("Failed to get table %s from database:id=%d, %v", tableName, id, err) - return nil, err - } else if has == false { - log.Infof("Not found table %s from database:id=%d", tableName, id) - return nil, nil - } - - log.Debugf("%s:%v", tableName, rows) - return rows, nil -} - -func XormUpdateTableById(id int, tableName string, tbInfo interface{}, cols ...string) (int64, error) { - log.Debug("XormUpdateTableById processing... ") - - session := dbClient.xEngine.NewSession() - defer session.Close() - affected, err := session.Table(tableName).ID(id).MustCols(cols...).Update(tbInfo) - if err != nil { - log.Errorf("Failed to update table %s from database:%v", tableName, err) - return 0, err - } - session.Commit() - - return affected, nil -} - -func XormUpdateTableByWhere(where string, tableName string, tbInfo interface{}) (int64, error) { - log.Debug("XormUpdateTableByWhere processing... ") - - session := dbClient.xEngine.NewSession() - defer session.Close() - affected, err := session.Table(tableName).Where(where).Update(tbInfo) - if err != nil { - log.Errorf("Failed to update table %s from database:%v", tableName, err) - return 0, err - } - session.Commit() - - return affected, nil -} diff --git a/crontask/etc/cm/cm-amf.yaml b/crontask/etc/cm/cm-amf.yaml deleted file mode 100644 index 319a85f6..00000000 --- a/crontask/etc/cm/cm-amf.yaml +++ /dev/null @@ -1,49 +0,0 @@ -ManagedElement: - Id: "" - UserLabel: "" - VendorName: "" - ManagedBy: "" - ManagementIpAddress: "" - SwVersion: "" - PatchInfo: "" - AdministrativeState: "" - OperationalState: "" - -AmfFunction: - Id: "" - UserLabel: "" - AdministrativeState: "" - OperationalState: "" - VnfInstanceId: "" - Fqdn: "" - SbiServiceList: "" - AmfGuamiList: "" - SnssaiList: "" - MaxUser: "" - RelativeCapacity: "" - MaxGnbNum: "" - -EpRpDynN8Amf: - Id: "" - UserLabel: "" - LocIpAddrList: "" - FarIpSubnetworkList: "" - -EpRpDynN11Amf: - Id: "" - UserLabel: "" - LocIpAddrList: "" - FarIpSubnetworkList: "" - -EpRpDynN12Amf: - Id: "" - UserLabel: "" - LocIpAddrList: "" - FarIpSubnetworkList: "" - -IPResource: - Id: "" - UserLabel: "" - InterfaceType: "" - LocIpV4AddrList: "" - LocIpV6AddrList: "" diff --git a/crontask/etc/cm/cm-smf.yaml b/crontask/etc/cm/cm-smf.yaml deleted file mode 100644 index a1ad3736..00000000 --- a/crontask/etc/cm/cm-smf.yaml +++ /dev/null @@ -1,48 +0,0 @@ -ManagedElement: - Id: "" - UserLabel: "" - VendorName: "" - ManagedBy: "" - ManagementIpAddress: "" - SwVersion: "" - PatchInfo: "" - AdministrativeState: "" - OperationalState: "" - -SmfFunction: - Id: "" - UserLabel: "" - AdministrativeState: "" - OperationalState: "" - VnfInstanceId: "" - Fqdn: "" - SbiServiceList: "" - MaxPduSessions: "" - MaxQfi: "" - UpfList: "" - -AddrPool: - Id: "" - UserLabel: "" - AddrType: "Static" - IpVersion: "" - AddrSegList: "" - -EpRpDynN7Smf: - Id: "" - UserLabel: "" - LocIpAddrList: "" - FarIpSubnetworkList: "" - -EpRpDynN10Smf: - Id: "" - UserLabel: "" - LocIpAddrList: "" - FarIpSubnetworkList: "" - -IPResource: - Id: "" - UserLabel: "" - InterfaceType: "" - LocIpV4AddrList: "" - LocIpV6AddrList: "" \ No newline at end of file diff --git a/crontask/etc/cm/cm-udm.yaml b/crontask/etc/cm/cm-udm.yaml deleted file mode 100644 index 5e823ae5..00000000 --- a/crontask/etc/cm/cm-udm.yaml +++ /dev/null @@ -1,39 +0,0 @@ -ManagedElement: - Id: "" - UserLabel: "" - VendorName: "" - ManagedBy: "" - ManagementIpAddress: "" - SwVersion: "" - PatchInfo: "" - AdministrativeState: "" - OperationalState: "" - -UdmFunction: - Id: "" - UserLabel: "" - AdministrativeState: "" - OperationalState: "" - VnfInstanceId: "" - Fqdn: "" - SbiServiceList: "" - -UdrFunction: - Id: "" - UserLabel: "" - AddrType: "Static" - IpVersion: "" - AddrSegList: "" - -AusfFunction: - Id: "" - UserLabel: "" - LocIpAddrList: "" - FarIpSubnetworkList: "" - -IPResource: - Id: "" - UserLabel: "" - InterfaceType: "" - LocIpV4AddrList: "" - LocIpV6AddrList: "" \ No newline at end of file diff --git a/crontask/etc/cm/cm-upf.yaml b/crontask/etc/cm/cm-upf.yaml deleted file mode 100644 index d291c686..00000000 --- a/crontask/etc/cm/cm-upf.yaml +++ /dev/null @@ -1,141 +0,0 @@ -ManagedElement: - Id: "" - UserLabel: "" - VendorName: "" - ManagedBy: "" - ManagementIpAddress: "" - SwVersion: "" - PatchInfo: "" - AdministrativeState: "" - OperationalState: "" - -InventoryUnitRack: - Id: "" - UserLabel: "" - AdministrativeState: "" - OperationalState: "" - VnfInstanceId: "" - Fqdn: "" - SbiServiceList: "" - MaxPduSessions: "" - MaxQfi: "" - UpfList: "" - -InventoryUnitShelf: - Id: "" - UserLabel: "" - VendorUnitFamilyType: "" - VendorUnitTypeNumber: "" - VendorName: "" - SerialNumber: "" - VersionNumber: "" - DateOfManufacture: "" - DateOfLastService: "" - ManufacturerData: "" - RackPosition: "" - -InventoryUnitPack: - Id: "" - UserLabel: "" - VendorUnitFamilyType: "" - VendorUnitTypeNumber: "" - VendorName: "" - SerialNumber: "" - VersionNumber: "" - DateOfManufacture: "" - DateOfLastService: "" - ManufacturerData: "" - PortsInformation: "" - PackPosition: "" - SlotsOccupied: "" - -InventoryUnitHost: - Id: "" - UserLabel: "" - VendorUnitFamilyType: "" - VendorUnitTypeNumber: "" - VendorName: "" - SerialNumber: "" - VersionNumber: "" - DateOfManufacture: "" - DateOfLastService: "" - ManufacturerData: "" - HostPosition: "" - NumberOfCpu: "" - MemSize: "" - HardDiskSize: "" - -InventoryUnitAccessory: - Id: "" - UserLabel: "" - VendorUnitFamilyType: "" - VendorUnitTypeNumber: "" - VendorName: "" - SerialNumber: "" - VersionNumber: "" - DateOfManufacture: "" - DateOfLastService: "" - ManufacturerData: "" - AccessoryPosition: "" - AccessoryType: "" - AddtionalInformation: "" - -UpfFunction: - Id: "" - UserLabel: "" - AdministrativeState: "" - OperationalState: "" - VnfInstanceId: "" - MaxQosFlows: "" - MaxThroughput: "" - -EpRpDynN9Upf: - Id: "" - UserLabel: "" - LocIpAddrList: "" - FarIpSubnetworkList: "" - -EpRpDynN3Upf: - Id: "" - UserLabel: "" - LocIpAddrList: "" - FarIpSubnetworkList: "" - -AmfFunction: - Id: "" - UserLabel: "" - AdministrativeState: "" - OperationalState: "" - VnfInstanceId: "" - Fqdn: "" - -SmfFunction: - Id: "" - UserLabel: "" - AdministrativeState: "" - OperationalState: "" - VnfInstanceId: "" - Fqdn: "" - -UdrFunction: - Id: "" - UserLabel: "" - AdministrativeState: "" - OperationalState: "" - VnfInstanceId: "" - Fqdn: "" - -AusfFunction: - Id: "" - UserLabel: "" - AdministrativeState: "" - OperationalState: "" - VnfInstanceId: "" - Fqdn: "" - -IPResource: - Id: "" - UserLabel: "" - InterfaceType: "" - LocIpV4AddrList: "" - LocIpV6AddrList: "" diff --git a/crontask/etc/crontask.yaml b/crontask/etc/crontask.yaml deleted file mode 100644 index dbe926ad..00000000 --- a/crontask/etc/crontask.yaml +++ /dev/null @@ -1,43 +0,0 @@ -# file: log file name -# level: /trace/debug/info/error/warn/error/fatal, default: debug -# duration: saved days, default is 30 days -logger: - file: d:/omc.git/be.ems/crontask/log/crontask.log - level: trace - duration: 24 - count: 10 - -omc: - name: OMC01 - hosturi: http://127.0.0.1:3040 - hostno: R001 - province: GD - netabbr: HX - vendor: - -tasks: - file: ./etc/tasks.yaml - -database: - type: mysql - user: root - password: 1000omc@kp! - host: 127.0.0.1 - port: 33066 - name: tenants_db - connParam: charset=utf8mb4&collation=utf8mb4_general_ci&parseTime=True&interpolateParams=True - backup: d:/omc.git/be.ems/restagent/database - -# northbound interface, cm/pm -# duration(day): saved days -nbi: - cm: - cfgfiledir: ./etc/cm - xmlfiledir: ./ftp/cm - version: V2.5.0 - duration: 30 - pm: - cfgfiledir: ./etc/pm - xmlfiledir: ./ftp/pm - version: V2.5.0 - duration: 30 diff --git a/crontask/etc/tasks.yaml b/crontask/etc/tasks.yaml deleted file mode 100644 index 34715790..00000000 --- a/crontask/etc/tasks.yaml +++ /dev/null @@ -1,194 +0,0 @@ -# example: -# tasks: -# - name: test # task comment -# uri: # restful uri -# params: # params of url -# interval: 30 # do sometion in the interval -# unit: Seconds #Seconds/Minutes/Hours/Days/Weeks, Monday/Tuesday/.../Sunday, -# at: 00:10:00 # do at time such as xx:xx:xx -# do: HelloWorldTask # (Do what: callback function) -# -# Attention: must restart crontask after modified this file -# -tasks: - - name: test # task comment - status: Active #active/inactive - uri: # restful uri - params: # params of http url - body: # body of http request - interval: 60 # do sometion in the interval - unit: Seconds #Seconds/Minutes/Hours/Days/Weeks, Monday/Tuesday/.../Sunday, - at: 00:10:00 # do at time such as xx:xx:xx when unit such as Day/Days/Mondays... - do: TaskHelloWorld # (Do what: callback function) - - name: Cron user login OMC as startup - status: Inactive - uri: /login - params: - body: '{"username":"cronuser","password":"tcu@1000OMC!","code":"","uuid":""}' - interval: 0 - unit: Startup - at: 00:00:00 - do: TaskCronUserLoginOMC - - name: clear expired history alarm - uri: /api/rest/databaseManagement/v1/tenants_db/alarm - params: WHERE=now()+>+ADDDATE(event_time,+interval+(SELECT+`value`+FROM+config+WHERE+config_tag='historyDuration')+day)+and+alarm_status='0' - interval: 1 - unit: Days - at: 00:10:00 - do: TaskDeleteExpiredRecord - - name: clear expired history gold_kpi - uri: /api/rest/databaseManagement/v1/tenants_db/gold_kpi - params: WHERE=now()+>+ADDDATE(`date`,+interval+IFNULL((SELECT+`value`+FROM+config+WHERE+config_tag='goldKpiDuration'),7)+day) - interval: 1 - unit: Days - at: 00:11:00 - do: TaskDeleteExpiredRecord - - name: clear deleted custom pm kpi - uri: /api/rest/databaseManagement/v1/tenants_db/pm_custom_title - params: WHERE=now()+>+ADDDATE(update_time,+interval+(SELECT+`value`+FROM+config+WHERE+config_tag='keepPMCKpi')+day)+and+status='Deleted' - interval: 1 - unit: Days - at: 00:15:00 - do: TaskDeleteExpiredRecord - - name: clear expired ne etc backup - uri: /api/rest/databaseManagement/v1/tenants_db/ne_backup - params: WHERE=now()+>+ADDDATE(`create_time`,+interval+IFNULL((SELECT+`value`+FROM+config+WHERE+config_tag='BackUpSaveTime'),30)+day) - interval: 1 - unit: Days - at: 15:02:00 - do: TaskRemoveExpiredFile - - name: update expired user session - uri: /api/rest/databaseManagement/v1/tenants_db/session - params: WHERE=NOW()+>+ADDDATE(shake_time,+interval+expires+second)+and+status='online' - body: '{"session":{"status":"offline"}}' - interval: 30 - unit: Seconds - at: - do: TaskUpdateTable - - name: clear expired log - uri: - params: - interval: 1 - unit: Days - at: 00:50:00 - do: TaskDeleteExpiredRecord - - name: Backup measure data - uri: /api/rest/databaseManagement/v1/tenants_db/measure_data - params: SQL=select+*+into+outfile+'%s'+fields+terminated+by+','+escaped+by+''+optionally+enclosed+by+''+lines+terminated+by+'\n'+from+(select+'id','date','task_id','ne_name','rm_uid','ne_type','granul_option','kpi_code','kpi_id','kpi_ext','start_time','end_time','value','timestamp'+union+select+id,date,task_id,ne_name,rm_uid,ne_type,granul_option,kpi_code,kpi_id,kpi_ext,start_time,end_time,value,timestamp+from+measure_data)+b - interval: 1 - unit: Days - at: 00:20:00 - do: TaskDBBackupCSVGetBySQL - - name: Backup operation log - uri: /api/rest/databaseManagement/v1/tenants_db/operation_log - params: SQL=select+*+into+outfile+'%s'+fields+terminated+by+','+escaped+by+''+optionally+enclosed+by+''+lines+terminated+by+'\n'+from+(select+'op_id','account_name','op_ip','subsys_tag','op_type','op_content','op_result','begin_time','end_time','vnf_flag','log_time'+union+select+op_id,account_name,op_ip,subsys_tag,op_type,op_content,op_result,begin_time,end_time,vnf_flag,log_time+from+operation_log)+b - interval: 1 - unit: Days - at: 00:26:00 - do: TaskDBBackupCSVGetBySQL - - name: Backup security log - uri: /api/rest/databaseManagement/v1/tenants_db/security_log - params: SQL=select+*+into+outfile+'%s'+fields+terminated+by+','+escaped+by+''+optionally+enclosed+by+''+lines+terminated+by+'\n'+from+(select+'id','account_name','account_type','op_ip','op_type','op_content','op_result','op_time'+union+select+id,account_name,account_type,op_ip,op_type,op_content,op_result,op_time+from+security_log)+b - interval: 1 - unit: Days - at: 00:28:00 - do: TaskDBBackupCSVGetBySQL - - name: Backup alarm log - uri: /api/rest/databaseManagement/v1/tenants_db/alarm_log - params: SQL=select+*+into+outfile+'%s'+fields+terminated+by+','+escaped+by+''+optionally+enclosed+by+''+lines+terminated+by+'\n'+from+(select+'id','ne_type','ne_id','alarm_seq','alarm_id','alarm_code','alarm_status','event_time','log_time'+union+select+id,ne_type,ne_id,alarm_seq,alarm_id,alarm_code,alarm_status,event_time,log_time+from+alarm_log)+b - interval: 1 - unit: Days - at: 00:30:00 - do: TaskDBBackupCSVGetBySQL - - name: handshake to NF - status: Inactive - uri: /api/rest/systemManagement/v1/elementType/%s/objectType/systemState - params: - interval: 10 - unit: Seconds - at: - do: TaskHandShakeToNF - - name: Export CM from NF - uri: /api/rest/systemManagement/v1/elementType/%s/objectType/cm - params: ne_id=%s - interval: 1 - unit: Days - at: 00:15 - do: TaskExportCmFromNF - - name: Generate NRM xml file - uri: - params: - interval: 1 - unit: Day - at: 00:00,06:00,12:00,18:00,23:19 - do: GenCmXmlFile - - name: Task of Generate measure threshold alarm - status: Inactive - uri: /api/rest/faultManagement/v1/elementType/%s/objectType/alarms - params: 10200 - interval: 10 - unit: Seconds - at: - do: TaskGenMeasureThresholdAlarm - - name: Task of Generate license alarm - status: Inactive - uri: /api/rest/faultManagement/v1/elementType/%s/objectType/alarms - params: 10100 #alarm_code - interval: 1 - unit: Days - at: 20:01 - do: TaskGenLicenseAlarm - - name: Task of Generate NE system state alarm - status: Active - uri: /api/rest/faultManagement/v1/elementType/%s/objectType/alarms - params: 10000 - interval: 5 - unit: Seconds - at: - do: TaskGenNeStateAlarm - - name: Task of Generate Measure Report Timeout - status: Active - uri: /api/rest/faultManagement/v1/elementType/%s/objectType/alarms - params: 10201 - interval: 10 - unit: Seconds - at: - do: TaskGenMeasureReportTimeoutAlarm - - name: Monitor proces list and write system log - uri: /api/rest/databaseManagement/v1/tenants_db/system_log - params: - body: - interval: 5 - unit: Seconds - at: - do: TaskWriteSystemLog - - name: Copy log to /opt/omc/ftp/log - uri: - params: cp -rf /usr/local/omc/database/*.csv /opt/omc/ftp/log - interval: 10 - unit: Minutes - at: - do: TaskRunShellCommand -# - name: Import CM to NF -# uri: /api/rest/systemManagement/v1/elementType/udm/objectType/cm -# params: ne_id=SZ_01 -# interval: 15 -# unit: Seconds -# at: -# do: TaskImportCmToNF -crontab: -# - name: 每隔1分钟执行 -# tab: 0 */1 * * * ? // crontab: rule like linux crontab -# do: CronHelloWorldTask // function name to call -# params: - - name: Generate PM xml file - status: Active - tab: 5,20,35,50 * * * * - do: GenPmXmlFile - uri: this is uri - params: Generating PM xml file -# - name: Import CM to NF -# tab: 0 * * * * * -# do: TaskImportCmToNF -# uri: /api/rest/systemManagement/v1/elementType/udm/objectType/cm -# params: ne_id=SZ_01 \ No newline at end of file diff --git a/crontask/gencmxml.go b/crontask/gencmxml.go deleted file mode 100644 index 0130fe9a..00000000 --- a/crontask/gencmxml.go +++ /dev/null @@ -1,200 +0,0 @@ -package main - -import ( - "encoding/json" - "encoding/xml" - "fmt" - "os" - "sort" - "strconv" - "strings" - "time" - - cmschema "be.ems/crontask/cm/schema" - "be.ems/lib/dborm" - "be.ems/lib/global" - "be.ems/lib/log" - - "gopkg.in/yaml.v3" -) - -const ( - // Header is a generic XML header suitable for use with the output of Marshal. - // This is not automatically added to any output of this package, - // it is provided as a convenience. - Header = `` + "\n" -) - -const ( - AdminStateLocked = "Locked" - AdminStateUnlocked = "Unlocked" - AdminStateShuttingdown = "ShuttingDown" - OperationStateDisabled = "Disabled" - OperationStateEnabled = "Enabled" -) - -func (t *TaskFunc) GenCmXmlFile(uri, params, body string) { - log.Debug("GenCmXmlFile processing ...") - for _, neType := range neTypes { - t.GenNFXmlFile(neType) - } -} - -func (t *TaskFunc) ReadCmYaml(cmfile string) (map[string]interface{}, error) { - log.Debug("cmfile:", cmfile) - file, err := os.ReadFile(cmfile) - if err != nil { - log.Error(err) - return nil, err - } - log.Debug("file:", file) - resultMap := make(map[string]interface{}) - err = yaml.Unmarshal(file, resultMap) - if err != nil { - log.Error(err) - return nil, err - } - - log.Debug("resultMap:", resultMap) - return resultMap, nil -} - -func (t *TaskFunc) GenNFXmlFile(neType string) error { - log.Info("GenNFXmlFile processing...") - - var nes []NeInfo - _, err := XormGetNeInfoByType(neType, &nes) - if err != nil { - log.Error("Failed to get all ne info:", err) - return err - } - - cmfile := fmt.Sprintf("%s/cm-%s.yaml", yamlConfig.NBI.CM.CfgFileDir, strings.ToLower(neType)) - - resultMap, _ := t.ReadCmYaml(cmfile) - - ti := time.Now() - timestamp := ti.Format("2006-01-02 15:04:05") - timefile := ti.Format("20060102150405") - date := ti.Format("20060102") - _, offset := ti.Zone() - var tzOffset string - if offset >= 0 { - tzOffset = "UTC+" + strconv.Itoa(offset/3600) - } else { - tzOffset = "UTC" + strconv.Itoa(offset/3600) - } - - nrmFile := new(cmschema.DataFile) - //创建目录 - path := fmt.Sprintf("%s/HX/%s/%s/CM/%s", yamlConfig.OMC.Province, yamlConfig.OMC.Vendor, yamlConfig.OMC.Name, date) - folderPath := global.CreateDir(path, yamlConfig.NBI.CM.XmlFileDir) - - nrmFile.FileHeader = cmschema.FileHeader{ - TimeStamp: timestamp, - TimeZone: tzOffset, - VendorName: yamlConfig.OMC.Vendor, - ElementType: neType, - CmVersion: yamlConfig.NBI.CM.Version, - } - - nrmFile.XsiAttr = "http://www.w3.org/2001/XMLSchema-instance" - nrmFile.XsiLoc = "file:///usr/loal/omc/etc/schema/cm-schema.xsd" - - for objectType, e := range resultMap { - //objects := cmschema.Objects{ObjectType: objectType} - objectData := cmschema.ObjectData{ObjectType: objectType} - - sortResult := make(map[string]string) - keys := make([]string, 0) - for key, value := range e.(map[string]interface{}) { - sortResult[key] = fmt.Sprintf("%v", value) - keys = append(keys, key) - } - - sort.Strings(keys) - for s, ne := range nes { - cmResult, err := dborm.XormGetNorthboundCmLatestObject(neType, ne.NeId, objectType) - if err != nil { - log.Error("Failed to XormGetNorthboundCmLatestObject:", err) - continue - } - log.Trace("cmResult:", cmResult) - //dataMap := make(map[string]interface{}) - valueMap := make(map[string]interface{}) - if cmResult.ValueJSON != "" { - err = json.Unmarshal([]byte(cmResult.ValueJSON), &valueMap) - if err != nil { - log.Error("Failed to json.Unmarshal:", err) - continue - } - } - - log.Trace("valueMap:", valueMap) - rmUID := ne.RmUID - var object cmschema.Object - if ne.PvFlag == "VNF" { - vmId := fmt.Sprintf("kylin10.0-00%d-%s", s+1, neType) - vnfInstanceID := fmt.Sprintf("2%xd55b4-%d018-41f4-af%d5-28b%d828788", s+10, s+6, s+4, s+3) - object = cmschema.Object{RmUIDAttr: rmUID, - DnAttr: "DC=www.xxx.com.cn,SubNetwork=10001,SubNetwork=114214,ManagedElement=325", - UserLabelAttr: ne.NeName, PVFlagAttr: ne.PvFlag, VMIDAttr: vmId, VNFInstanceIDAttr: vnfInstanceID} - } else { - object = cmschema.Object{RmUIDAttr: rmUID, - DnAttr: "DC=www.xxx.com.cn,SubNetwork=10001,SubNetwork=114214,ManagedElement=325", - UserLabelAttr: ne.NeName, PVFlagAttr: ne.PvFlag} - } - - i := 1 - for _, p := range keys { - if s == 0 { - //objects.FieldName.N = append(objects.FieldName.N, cmschema.N{IAttr: i, Value: p}) - objectData.FieldName.N = append(objectData.FieldName.N, cmschema.N{IAttr: i, Value: p}) - } - var v string - if valueMap[p] == nil || valueMap[p] == "" { - v = "-" - } else { - v = fmt.Sprintf("%v", valueMap[p]) - } - - object.V = append(object.V, cmschema.V{IAttr: i, Value: v}) - i++ - } - //objects.FieldValue.Object = append(objects.FieldValue.Object, object) - objectData.FieldValue.Object = append(objectData.FieldValue.Object, object) - } - //nrmFile.Objects = append(nrmFile.Objects, objects) - nrmFile.ObjectData = objectData - - x, _ := xml.MarshalIndent(nrmFile, "", " ") - x = append([]byte(xml.Header), x...) - - xmlfile := fmt.Sprintf("%s/%s-CM-%s-%s-%s-%s-%s-001.xml", - folderPath, yamlConfig.OMC.Province, neType, objectType, yamlConfig.OMC.HostNo, yamlConfig.NBI.CM.Version, timefile) - tmpXmlfile := xmlfile + ".tmp" - err := os.WriteFile(tmpXmlfile, x, 0664) - if err != nil { - log.Error("Failed to WriteFile xml file:", err) - continue - } - err = os.Rename(tmpXmlfile, xmlfile) - if err != nil { - log.Error("Failed to Rename xml file:", err) - continue - } - zipFile := xmlfile + ".zip" - err = global.ZipOneFile(xmlfile, zipFile, false) - if err != nil { - log.Error("Failed to ZipOneFile:", err) - continue - } - err = os.Remove(xmlfile) - if err != nil { - log.Error("Failed to delete file:", err) - continue - } - } - - return nil -} diff --git a/crontask/genpmxml.go b/crontask/genpmxml.go deleted file mode 100644 index 0f681b7c..00000000 --- a/crontask/genpmxml.go +++ /dev/null @@ -1,196 +0,0 @@ -package main - -import ( - "encoding/xml" - "fmt" - "os" - "regexp" - "strconv" - "strings" - "time" - - pmschema "be.ems/crontask/pm/schema" - "be.ems/lib/global" - "be.ems/lib/log" - - "gopkg.in/yaml.v3" -) - -var ( - neTypes = []string{"AMF", "SMF", "UDM", "UPF", "AUSF"} -) - -func (t *TaskFunc) GenPmXmlFile(uri, params, body string) { - for _, neType := range neTypes { - log.Debugf("GenPmXmlFile process %s xml file", neType) - t.GenNFPMXmlFile(neType) - } -} - -func (t *TaskFunc) ReadPmYaml(cmfile string) (map[string]interface{}, error) { - log.Debug("cmfile:", cmfile) - file, err := os.ReadFile(cmfile) - if err != nil { - log.Error(err) - return nil, err - } - log.Debug("file:", file) - resultMap := make(map[string]interface{}) - err = yaml.Unmarshal(file, resultMap) - if err != nil { - log.Error(err) - return nil, err - } - - log.Debug("resultMap:", resultMap) - return resultMap, nil -} - -func (t *TaskFunc) IsPseudoSubPmName(pmName string) bool { - return strings.Contains(pmName, "._") -} - -func (t *TaskFunc) GenNFPMXmlFile(neType string) error { - log.Info("GenNFPMXmlFile processing...") - - var nes []NeInfo - _, err := XormGetNeInfoByType(neType, &nes) - if err != nil { - log.Error("Failed to get all ne info:", err) - return err - } - - ti := time.Now() - var startTime string - timestamp := ti.Format("2006-01-02 15:04:05") - - index := global.GetCurrentTimeSliceIndexByPeriod(ti, 15) - date := ti.Format("2006-01-02") - dateHour := ti.Format("2006010215") - log.Debugf("date: %s index:%d dateHour:%s", date, index, dateHour) - - _, offset := ti.Zone() - var tzOffset string - if offset >= 0 { - tzOffset = "UTC+" + strconv.Itoa(offset/3600) - } else { - tzOffset = "UTC" + strconv.Itoa(offset/3600) - } - - pmFile := new(pmschema.PmFile) - - var pmResults []NorthboundPm - _, err = XormGetNorthboundPm(date, index, neType, &pmResults) - if err != nil { - log.Error("Failed to get nbi_pm:", err) - return err - } - - if len(pmResults) == 0 { - log.Errorf("%s:%v", neType, global.ErrPMNotFoundData) - return global.ErrPMNotFoundData - } - - pmFile.XsAttr = "http://www.w3.org/2001/XMLSchema" - pmFile.XsiAttr = "http://www.w3.org/2001/XMLSchema-instance" - - //创建目录 - path := fmt.Sprintf("%s/HX/%s/%s/PM/%s", yamlConfig.OMC.Province, yamlConfig.OMC.Vendor, yamlConfig.OMC.Name, dateHour) - folderPath := global.CreateDir(path, yamlConfig.NBI.PM.XmlFileDir) - - var objectType string - var measurement pmschema.Measurements - for _, pmResult := range pmResults { - for _, pmData := range pmResult.Datas { - objectType = pmData.ObjectType - measurement = pmschema.Measurements{ObjectType: objectType} - measurement.PmData.Object.RmUIDAttr = pmResult.RmUID - measurement.PmData.Object.DnAttr = pmResult.Dn - measurement.PmData.Object.UserLabelAttr = pmResult.NeName - startTime = pmResult.StartTime - - i := 1 - for _, pmKPI := range pmData.KPIs { - measurement.PmName.N = append(measurement.PmName.N, pmschema.N{IAttr: i, Value: pmKPI.KPIID}) - cv := pmschema.CV{IAttr: i} - isPseudo := true - value := "0" - reg := regexp.MustCompile(`_\w+`) - //sns := strings.Split(pmData.KPIID, "_") - for _, v := range pmKPI.KPIValues { - if fmt.Sprintf("%v", v.Name) == "Total" { - isPseudo = false - value = fmt.Sprintf("%v", v.Value) - break - } else { - isPseudo = true - //if len(sns) > 1 { - // sns := strings.Split(sns[1], ".") - //} - sn := reg.ReplaceAllString(pmKPI.KPIID, v.Name) - //sn := sns[0] + v.Name - // cv.NV = append(cv.NV, pmschema.NV{SN: sn, SV: fmt.Sprintf("%v", v.Value)}) - cv.SN = append(cv.SN, sn) - cv.SV = append(cv.SV, fmt.Sprintf("%v", v.Value)) - } - } - if isPseudo == false { - measurement.PmData.Object.V = append(measurement.PmData.Object.V, pmschema.V{IAttr: i, Value: value}) - } else { - measurement.PmData.Object.CV = append(measurement.PmData.Object.CV, cv) - } - - i++ - //measurement.PmData.Object.V = append(measurement.PmData.Object.V, pmschema.V{IAttr: i, Value: sortValues[pmName].Value}) - //measurement.PmData.Object.CV = sortValues[pmName].Value - } - pmFile.Measurements = append(pmFile.Measurements, measurement) - startTime = startTime[:len("2006-01-02 15:04:05")] - - pmFile.FileHeader = pmschema.FileHeader{ - TimeStamp: timestamp, - TimeZone: tzOffset, - Period: 15, - VendorName: yamlConfig.OMC.Vendor, - ElementType: neType, - PmVersion: yamlConfig.NBI.PM.Version, - StartTime: startTime, - } - - x, _ := xml.MarshalIndent(pmFile, "", " ") - x = append([]byte(xml.Header), x...) - - //folderName := global.GetFmtTimeString(global.DateTime, startTime, global.DateHour) - //folderPath := global.CreateDir(folderName, yamlConfig.NBI.PM.XmlFileDir) - - timefile := global.GetFmtTimeString(time.DateTime, startTime, global.DateData) - - xmlfile := fmt.Sprintf("%s/%s-PM-%s-%s-%s-%s-%s-15-001.xml", - folderPath, yamlConfig.OMC.Province, neType, objectType, yamlConfig.OMC.HostNo, yamlConfig.NBI.PM.Version, timefile) - tmpXmlfile := xmlfile + ".tmp" - err = os.WriteFile(tmpXmlfile, x, 0664) - if err != nil { - log.Error("Failed to WriteFile xml file:", err) - continue - } - err = os.Rename(tmpXmlfile, xmlfile) - if err != nil { - log.Error("Failed to Rename xml file:", err) - continue - } - zipFile := xmlfile + ".zip" - err = global.ZipOneFile(xmlfile, zipFile, false) - if err != nil { - log.Error("Failed to ZipOneFile:", err) - continue - } - err = os.Remove(xmlfile) - if err != nil { - log.Error("Failed to delete file:", err) - continue - } - } - } - - return nil -} diff --git a/crontask/makefile b/crontask/makefile deleted file mode 100644 index 8d84d90b..00000000 --- a/crontask/makefile +++ /dev/null @@ -1,18 +0,0 @@ -# Makefile for OMC-OMC-crontask project - -PROJECT = OMC -VERSION = 2.2501.1 -LIBDIR = be.ems/lib -BINNAME = crontask - -.PHONY: build $(BINNAME) -build $(BINNAME): - go build -o $(BINNAME) -v -ldflags "-s -w -X '$(LIBDIR)/global.Version=$(VERSION)' \ - -X '$(LIBDIR)/global.BuildTime=`date`' \ - -X '$(LIBDIR)/global.GoVer=`go version`'" - -run: $(BINNAME) - ./$(BINNAME) - -clean: - rm ./$(BINNAME) diff --git a/crontask/pm/schema/pm-schema.go b/crontask/pm/schema/pm-schema.go deleted file mode 100644 index ba259097..00000000 --- a/crontask/pm/schema/pm-schema.go +++ /dev/null @@ -1,77 +0,0 @@ -// Code generated by xgen. DO NOT EDIT. - -package pmschema - -import "encoding/xml" - -// FileHeader ... -type FileHeader struct { - TimeStamp string `xml:"TimeStamp"` - TimeZone string `xml:"TimeZone"` - Period int `xml:"Period"` - VendorName string `xml:"VendorName"` - ElementType string `xml:"ElementType"` - PmVersion string `xml:"PmVersion"` - StartTime string `xml:"StartTime"` -} - -// N ... -type N struct { - IAttr int `xml:"i,attr"` - Value string `xml:",chardata"` -} - -// PmName ... -type PmName struct { - N []N `xml:"N"` -} - -// V ... -type V struct { - IAttr int `xml:"i,attr"` - Value string `xml:",chardata"` -} - -// NV ... -type NV struct { - XMLName xml.Name `xml:"-"` - SN string `xml:"SN"` - SV string `xml:"SV"` -} - -// CV ... -type CV struct { - IAttr int `xml:"i,attr"` - // NV []NV `xml:"NV"` - SN []string `xml:"SN"` - SV []string `xml:"SV"` -} - -// Object ... -type Object struct { - RmUIDAttr string `xml:"rmUID,attr"` - DnAttr string `xml:"Dn,attr"` - UserLabelAttr string `xml:"UserLabel,attr"` - V []V `xml:"V"` - CV []CV `xml:"CV"` -} - -// PmData ... -type PmData struct { - Object Object `xml:"Object"` -} - -// Measurements ... -type Measurements struct { - ObjectType string `xml:"ObjectType"` - PmName PmName `xml:"PmName"` - PmData PmData `xml:"PmData"` -} - -// PmFile ... -type PmFile struct { - FileHeader FileHeader `xml:"FileHeader"` - Measurements []Measurements `xml:"Measurements"` - XsAttr string `xml:"xmlns:xs,attr"` - XsiAttr string `xml:"xmlns:xsi,attr"` -} diff --git a/crontask/pm/schema/pm-schema.go.bak b/crontask/pm/schema/pm-schema.go.bak deleted file mode 100644 index 07987591..00000000 --- a/crontask/pm/schema/pm-schema.go.bak +++ /dev/null @@ -1,65 +0,0 @@ -// Code generated by xgen. DO NOT EDIT. - -package pmschema - -// FileHeader ... -type FileHeader struct { - TimeStamp string `xml:"TimeStamp"` - TimeZone string `xml:"TimeZone"` - Period int `xml:"Period"` - VendorName string `xml:"VendorName"` - ElementType string `xml:"ElementType"` - PmVersion string `xml:"PmVersion"` - StartTime string `xml:"StartTime"` -} - -// N ... -type N struct { - IAttr int `xml:"i,attr"` - Value string `xml:",chardata"` -} - -// PmName ... -type PmName struct { - N *N `xml:"N"` -} - -// V ... -type V struct { - IAttr int `xml:"i,attr"` - Value string `xml:",chardata"` -} - -// CV ... -type CV struct { - IAttr int `xml:"i,attr"` - SN []string `xml:"SN"` - SV []string `xml:"SV"` -} - -// Object ... -type Object struct { - RmUIDAttr string `xml:"rmUID,attr"` - DnAttr string `xml:"Dn,attr"` - UserLabelAttr string `xml:"UserLabel,attr"` - V []*V `xml:"V"` - CV []*CV `xml:"CV"` -} - -// PmData ... -type PmData struct { - Object *Object `xml:"Object"` -} - -// Measurements ... -type Measurements struct { - ObjectType string `xml:"ObjectType"` - PmName *PmName `xml:"PmName"` - PmData *PmData `xml:"PmData"` -} - -// PmFile ... -type PmFile struct { - FileHeader FileHeader `xml:"FileHeader"` - Measurements []*Measurements `xml:"Measurements"` -} diff --git a/crontask/tasks.go b/crontask/tasks.go deleted file mode 100644 index 2d5dfb7a..00000000 --- a/crontask/tasks.go +++ /dev/null @@ -1,1536 +0,0 @@ -package main - -import ( - "bytes" - "encoding/json" - "fmt" - "io" - "mime/multipart" - "net/http" - "os" - "os/exec" - "reflect" - "strings" - "time" - - "be.ems/lib/dborm" - "be.ems/lib/global" - "be.ems/lib/log" - - "github.com/go-resty/resty/v2" - - // cron "github.com/go-co-op/gocron" - "github.com/jasonlvhit/gocron" - "github.com/robfig/cron/v3" -) - -type TaskFunc struct { - Token string -} - -var Alarms []Alarm - -func initCronTasks() { - taskFuncs := TaskFunc{} - - vf := reflect.ValueOf(&taskFuncs) - - for _, t := range taskSet.Tasks { - log.Trace("Task:", t) - - if strings.ToLower(t.Status) == TaskStatusInactive { - continue - } - - //Call function by function name - taskFunc := vf.MethodByName(t.Do).Interface() - switch t.Unit { - case "Seconds": - gocron.Every(t.Interval).Seconds().DoSafely(taskFunc, t.Uri, t.Params, t.Body) - case "Minutes": - gocron.Every(t.Interval).Minutes().DoSafely(taskFunc, t.Uri, t.Params, t.Body) - case "Hour": - if t.At == "" { - gocron.Every(t.Interval).Hour().DoSafely(taskFunc, t.Uri, t.Params, t.Body) - } else { - ats := strings.Split(t.At, ",") - for _, at := range ats { - gocron.Every(t.Interval).Day().At(at).DoSafely(taskFunc, t.Uri, t.Params, t.Body) - } - } - case "Hours": - gocron.Every(t.Interval).Hours().DoSafely(taskFunc, t.Uri, t.Params, t.Body) - case "Days": - if t.At == "" { - gocron.Every(t.Interval).Days().DoSafely(taskFunc, t.Uri, t.Params, t.Body) - } else { - ats := strings.Split(t.At, ",") - for _, at := range ats { - gocron.Every(t.Interval).Days().At(at).DoSafely(taskFunc, t.Uri, t.Params, t.Body) - } - } - case "Day": - if t.At == "" { - gocron.Every(t.Interval).Day().DoSafely(taskFunc, t.Uri, t.Params, t.Body) - } else { - ats := strings.Split(t.At, ",") - for _, at := range ats { - gocron.Every(t.Interval).Day().At(at).DoSafely(taskFunc, t.Uri, t.Params, t.Body) - } - } - case "Weeks": - if t.At == "" { - gocron.Every(t.Interval).Weeks().DoSafely(taskFunc, t.Uri, t.Params, t.Body) - } else { - gocron.Every(t.Interval).Weeks().At(t.At).DoSafely(taskFunc, t.Uri, t.Params, t.Body) - } - case "Monday": - if t.At == "" { - gocron.Every(t.Interval).Monday().DoSafely(taskFunc, t.Uri, t.Params, t.Body) - } else { - gocron.Every(t.Interval).Monday().At(t.At).DoSafely(taskFunc, t.Uri, t.Params, t.Body) - } - case "Tuesday": - if t.At == "" { - gocron.Every(t.Interval).Tuesday().DoSafely(taskFunc, t.Uri, t.Params, t.Body) - } else { - gocron.Every(t.Interval).Tuesday().At(t.At).DoSafely(taskFunc, t.Uri, t.Params, t.Body) - } - case "Wednesday": - if t.At == "" { - gocron.Every(t.Interval).Wednesday().DoSafely(taskFunc, t.Uri, t.Params, t.Body) - } else { - gocron.Every(t.Interval).Wednesday().At(t.At).DoSafely(taskFunc, t.Uri, t.Params, t.Body) - } - case "Thursday": - if t.At == "" { - gocron.Every(t.Interval).Thursday().DoSafely(taskFunc, t.Uri, t.Params, t.Body) - } else { - gocron.Every(t.Interval).Thursday().At(t.At).DoSafely(taskFunc, t.Uri, t.Params, t.Body) - } - case "Friday": - if t.At == "" { - gocron.Every(t.Interval).Friday().DoSafely(taskFunc, t.Uri, t.Params, t.Body) - } else { - gocron.Every(t.Interval).Friday().At(t.At).DoSafely(taskFunc, t.Uri, t.Params, t.Body) - } - case "Saturday": - if t.At == "" { - gocron.Every(t.Interval).Saturday().DoSafely(taskFunc, t.Uri, t.Params, t.Body) - } else { - gocron.Every(t.Interval).Saturday().At(t.At).DoSafely(taskFunc, t.Uri, t.Params, t.Body) - } - case "Sunday": - if t.At == "" { - gocron.Every(t.Interval).Sunday().DoSafely(taskFunc, t.Uri, t.Params, t.Body) - } else { - gocron.Every(t.Interval).Sunday().At(t.At).DoSafely(taskFunc, t.Uri, t.Params, t.Body) - } - case "Startup": - gocron.Every(0).DoSafely(taskFunc, t.Uri, t.Params, t.Body) - default: - log.Error("Error config:", t) - } - } - - // remove, clear and next_rull - _, time := gocron.NextRun() - log.Info(time) - - <-gocron.Start() -} - -func initCronTabs() { - taskFuncs := TaskFunc{} - - vf := reflect.ValueOf(&taskFuncs) - job := cron.New( - // cron.WithSeconds(), // 添加秒级别支持,默认支持最小粒度为分钟 - ) - - for _, c := range taskSet.Crontabs { - log.Debug(c.Name) - if c.Status == TaskStatusInactive { - continue - } - taskFunc := vf.MethodByName(c.Do).Interface() - if taskFunc != nil { - job.AddJob(c.Tab, TaskJob{taskFunc, c.Uri, c.Params, c.Body, &taskFuncs}) - } - } - - job.Start() -} - -type LoginRespone struct { - Code int `json:"code"` - Data struct { - AccessToken string `json:"access_token"` - } `json:"data"` - Msg string `json:"msg"` -} - -type TaskJob struct { - Do interface{} - Uri string - Params string - Body string - T *TaskFunc -} - -func (j TaskJob) Run() { - log.Tracef("Uri:%s, Params:%s Body:%s", j.Uri, j.Params, j.Body) - err := j.T.CallTaskFunc(j.Do, j.Uri, j.Params, j.Body) - if err != nil { - log.Error("call func error:", err) - } -} - -func (t *TaskFunc) CallTaskFunc(jobFunc interface{}, params ...interface{}) error { - f := reflect.ValueOf(jobFunc) - if len(params) != f.Type().NumIn() { - err := global.ErrParamsNotAdapted - log.Fatal(err) - return err - } - in := make([]reflect.Value, len(params)) - for k, param := range params { - in[k] = reflect.ValueOf(param) - } - f.Call(in) - return nil -} - -func (t *TaskFunc) TaskHelloWorld(uri, params, body string) { - log.Infof("Hello, world! uri:%s, params:%s Date: %s", uri, params, time.Now().Format("2006-01-02")) -} - -func (t *TaskFunc) TaskWithParams(a int, b string) { - log.Trace(a, b) -} - -func (t *TaskFunc) TaskCronUserLoginOMC(uri, params, body string) { - log.Debug("TaskCronUserLoginOMC processing... ") - - var response *resty.Response - requestURI := fmt.Sprintf("%s?%s", uri, params) - requestURL := fmt.Sprintf("%s%s", yamlConfig.OMC.HostUri, requestURI) - log.Debug("requestURL: POST ", requestURL) - var loginBody string - if body != "" { - loginBody = body - } else { - loginBody = "{\"username\": \"cronuser\",\"password\": \"tcu@1000OMC!\",\"code\": \"\", \"uuid\": \"\"}" - } - client := resty.New() - response, err := client.R(). - EnableTrace(). - SetHeaders(map[string]string{"User-Agent": GetDefaultUserAgent()}). - SetHeaders(map[string]string{"Content-Type": "application/json;charset=UTF-8"}). - SetBody(loginBody). - Post(requestURL) - if err != nil { - log.Error("Failed to post:", err) - } - - log.Debug("StatusCode: ", response.StatusCode()) - switch response.StatusCode() { - case http.StatusOK, http.StatusCreated, http.StatusNoContent, http.StatusAccepted: - log.Debug("response body:", string(response.Body())) - body := new(map[string]interface{}) - _ = json.Unmarshal(response.Body(), &body) - default: - log.Debug("response body:", string(response.Body())) - body := new(map[string]interface{}) - _ = json.Unmarshal(response.Body(), &body) - } -} - -func (t *TaskFunc) TaskDeleteExpiredRecord(uri, params, body string) { - log.Debug("TaskDeleteExpiredRecord processing... ") - - // var response *resty.Response - // requestURI := fmt.Sprintf("%s?%s", uri, params) - // requestURL := fmt.Sprintf("%s%s", yamlConfig.OMC.HostUri, requestURI) - // log.Debug("requestURL: DELETE ", requestURL) - // client := resty.New() - // response, err := client.R(). - // EnableTrace(). - // SetHeaders(map[string]string{"User-Agent": GetDefaultUserAgent()}). - // SetHeaders(map[string]string{"Content-Type": "application/json;charset=UTF-8"}). - // Delete(requestURL) - // if err != nil { - // log.Error("Failed to delete:", err) - // } - - // log.Debug("StatusCode: ", response.StatusCode()) - // switch response.StatusCode() { - // case http.StatusOK, http.StatusCreated, http.StatusNoContent, http.StatusAccepted: - // log.Debug("response body:", string(response.Body())) - // body := new(map[string]interface{}) - // _ = json.Unmarshal(response.Body(), &body) - // default: - // log.Debug("response body:", string(response.Body())) - // body := new(map[string]interface{}) - // _ = json.Unmarshal(response.Body(), &body) - // } -} - -func (t *TaskFunc) TaskUpdateTable(uri, params, body string) { - log.Debug("TaskUpdateTable processing... ") - - // var response *resty.Response - // requestURI := fmt.Sprintf("%s?%s", uri, params) - // requestURL := fmt.Sprintf("%s%s", yamlConfig.OMC.HostUri, requestURI) - // // reqBody, err := json.Marshal(body) - // // if err != nil { - // // log.Error("Failed to Marshal:", err) - // // } - // log.Debug("requestURL: Put ", requestURL) - // log.Trace("body:", body) - // client := resty.New() - // response, err := client.R(). - // EnableTrace(). - // SetHeaders(map[string]string{"accessToken": t.Token}). - // SetHeaders(map[string]string{"User-Agent": GetDefaultUserAgent()}). - // SetHeaders(map[string]string{"Content-Type": "application/json;charset=UTF-8"}). - // SetBody(body). - // Put(requestURL) - // if err != nil { - // log.Error("Failed to put:", err) - // } - - // log.Debug("StatusCode: ", response.StatusCode()) - // switch response.StatusCode() { - // case http.StatusOK, http.StatusCreated, http.StatusNoContent, http.StatusAccepted: - // log.Debug("response body:", string(response.Body())) - // body := new(map[string]interface{}) - // _ = json.Unmarshal(response.Body(), &body) - // default: - // log.Debug("response body:", string(response.Body())) - // body := new(map[string]interface{}) - // _ = json.Unmarshal(response.Body(), &body) - // } -} - -func (t *TaskFunc) TaskRemoveExpiredFile(uri, params, body string) { - log.Debug("TaskRemoveExpiredFile processing... ") - - // var response *resty.Response - // loginUri := "/login" - // loginBody := "{\"username\": \"cronuser\",\"password\": \"tcu@1000OMC!\",\"code\": \"\", \"uuid\": \"\"}" - // t.TaskCronUserLoginOMC(loginUri, "", loginBody) - // loginURI := fmt.Sprintf("%s?%s", loginUri, "") - // loginURL := fmt.Sprintf("%s%s", yamlConfig.OMC.HostUri, loginURI) - // log.Debug("requestURL: Post ", loginURL) - // client := resty.New() - // loginResponse, err := client.R(). - // EnableTrace(). - // SetHeaders(map[string]string{"User-Agent": GetDefaultUserAgent()}). - // SetHeaders(map[string]string{"Content-Type": "application/json;charset=UTF-8"}). - // SetBody(loginBody). - // Post(loginURL) - // if err != nil { - // log.Error("Failed to post:", err) - // return - // } - - // var accessToken string - // log.Debug("StatusCode: ", loginResponse.StatusCode()) - // switch loginResponse.StatusCode() { - // case http.StatusOK, http.StatusCreated, http.StatusNoContent, http.StatusAccepted: - // log.Debug("response body:", string(loginResponse.Body())) - // var loginResp LoginRespone - // err = json.Unmarshal(loginResponse.Body(), &loginResp) - // if err != nil { - // log.Error("Failed to unmarshal:", err) - // return - // } - // if loginResp.Code == 1 { - // accessToken = loginResp.Data.AccessToken - // } else { - // log.Error("Failed to login: %s", loginResp.Msg) - // return - // } - // default: - // log.Debug("response body:", string(response.Body())) - // return - // } - - // requestURI := fmt.Sprintf("%s?%s", uri, params) - // requestURL := fmt.Sprintf("%s%s", yamlConfig.OMC.HostUri, requestURI) - // log.Debug("requestURL: DELETE ", requestURL) - // response, err = client.R(). - // EnableTrace(). - // SetHeaders(map[string]string{"Authorization": "Bearer " + accessToken}). - // SetHeaders(map[string]string{"User-Agent": GetDefaultUserAgent()}). - // SetHeaders(map[string]string{"Content-Type": "application/json;charset=UTF-8"}). - // Delete(requestURL) - // if err != nil { - // log.Error("Failed to delete:", err) - // return - // } - - // log.Debug("StatusCode: ", response.StatusCode()) - // switch response.StatusCode() { - // case http.StatusOK, http.StatusCreated, http.StatusNoContent, http.StatusAccepted: - // log.Debug("response body:", string(response.Body())) - // body := new(map[string]interface{}) - // _ = json.Unmarshal(response.Body(), &body) - // default: - // log.Debug("response body:", string(response.Body())) - // body := new(map[string]interface{}) - // _ = json.Unmarshal(response.Body(), &body) - // } -} - -func (t *TaskFunc) GetTableNameFromUri(uri string) string { - sa := global.SplitString(uri, "/") - n := len(sa) - if n > 0 { - return sa[n-1] - } - return "" -} - -func (t *TaskFunc) TaskDBBackupCSVGetBySQL(uri, params, body string) { - log.Debug("TaskDBBackupCSVGetBySQL processing... ") - - // var response *resty.Response - // tableName := t.GetTableNameFromUri(uri) - // filePath := fmt.Sprintf("/tmp/%s-%s.csv", tableName, time.Now().Local().Format(global.DateData)) - // pa := fmt.Sprintf(params, filePath) - // requestURI := fmt.Sprintf("%s?%s", uri, pa) - // requestURL := fmt.Sprintf("%s%s", yamlConfig.OMC.HostUri, requestURI) - // log.Debug("requestURL: Get ", requestURL) - // client := resty.New() - // response, err := client.R(). - // EnableTrace(). - // SetHeaders(map[string]string{"User-Agent": GetDefaultUserAgent()}). - // SetHeaders(map[string]string{"Content-Type": "application/json;charset=UTF-8"}). - // Get(requestURL) - // if err != nil { - // log.Error("Failed to Get:", err) - // } - - // log.Debug("StatusCode: ", response.StatusCode()) - // switch response.StatusCode() { - // case http.StatusOK, http.StatusCreated, http.StatusNoContent, http.StatusAccepted: - // cmd := exec.Command("cp", "-rf", filePath, GetYamlConfig().Database.Backup) - // out, err := cmd.CombinedOutput() - // log.Tracef("Exec output: %v", string(out)) - // if err != nil { - // log.Errorf("Faile to exec:", err) - // return - // } - // log.Debug("response body:", string(response.Body())) - // body := new(map[string]interface{}) - // _ = json.Unmarshal(response.Body(), &body) - // default: - // log.Error("response body:", string(response.Body())) - // } -} - -func (t *TaskFunc) TaskRunShellCommand(uri, params, body string) { - log.Debug("TaskRunShellCommand processing... ") - - var output []byte - var str string - cmd := exec.Command("/bin/bash", "-c", params) - out, err := cmd.CombinedOutput() - log.Tracef("Exec output: %v", string(out)) - if err != nil { - log.Error("exe cmd error: ", err) - str := fmt.Sprintf("Command: %s output:\n\n%v\n", params, string(out)) - //output = *ParseErrorOutput(err) - output = []byte(str) - //return &output - } else { - str := fmt.Sprintf("Command: %s output:\n\n%v\n", params, string(out)) - output = []byte(str) - } - - log.Trace("str: ", str) - log.Trace("output:", output) -} - -type CpuUsage struct { - NfCpuUsage uint16 `json:"nfCpuUsage"` - SysCpuUsage uint16 `json:"sysCpuUsage"` -} - -type MemUsage struct { - TotalMem uint32 `json:"totalMem"` - NfUsedMem uint32 `json:"nfUsedMem"` - SysMemUsage uint16 `json:"sysMemUsage"` -} - -type PartitionInfo struct { - Total uint32 `json:"total"` // MB - Used uint32 `json:"used"` // MB -} - -type DiskSpace struct { - PartitionNum uint8 `json:"partitionNum"` - - PartitionInfo []PartitionInfo `json:"partitionInfo"` -} - -type SystemState struct { - Version string `json:"version"` - Capability uint32 `json:"capability"` - SerialNum string `json:"serialNum"` - ExpiryDate string `json:"expiryDate"` - //Timestamp string `json:"timestamp"` - - CpuUsage CpuUsage `json:"cpuUsage"` - MemUsage MemUsage `json:"memUsage"` - - DiskSpace DiskSpace `json:"diskSpace"` -} - -func (t *TaskFunc) TaskHandShakeToNF(uri, params, body string) { - log.Debug("TaskHandShakeToNF processing... ") - - // var nes []NeInfo - // _, err := XormGetAllNeInfo(&nes) - // if err != nil { - // log.Error("Failed to get all ne info:", err) - // } - - // for _, ne := range nes { - // requestURI := fmt.Sprintf(uri, strings.ToLower(ne.NeType)) - // if params != "" { - // requestURI = fmt.Sprintf("%s?%s", requestURI, params) - // } - // requestURL := fmt.Sprintf("http://%s:%s%s", ne.Ip, ne.Port, requestURI) - // log.Debug("requestURL: Get", requestURL) - // client := resty.New() - // response, err := client.R(). - // EnableTrace(). - // SetHeaders(map[string]string{"User-Agent": GetDefaultUserAgent()}). - // SetHeaders(map[string]string{"Content-Type": "application/json;charset=UTF-8"}). - // Get(requestURL) - // if err != nil { - // log.Error("Failed to Get:", err) - // } - - // log.Debug("StatusCode: ", response.StatusCode()) - // switch response.StatusCode() { - // case http.StatusOK, http.StatusCreated, http.StatusNoContent, http.StatusAccepted: - // log.Debug("response body:", string(response.Body())) - // state := new(SystemState) - // _ = json.Unmarshal(response.Body(), &state) - // neState := new(NeState) - // neState.NeType = ne.NeType - // neState.NeId = ne.NeId - // neState.Version = state.Version - // neState.Capability = state.Capability - // neState.SerialNum = state.SerialNum - // neState.ExpiryDate = state.ExpiryDate - // cu, _ := json.Marshal(state.CpuUsage) - // neState.CpuUsage = string(cu) - // mu, _ := json.Marshal(state.MemUsage) - // neState.MemUsage = string(mu) - // ds, _ := json.Marshal(state.DiskSpace) - // neState.DiskSpace = string(ds) - // log.Debug("neState:", neState) - // _, err := XormInsertNeState(neState) - // if err != nil { - // log.Error("Failed to insert ne_state:", err) - // } - // default: - // log.Debug("response body:", string(response.Body())) - // body := new(map[string]interface{}) - // _ = json.Unmarshal(response.Body(), &body) - // } - // } -} - -func (t *TaskFunc) TaskExportCmFromNF(uri, params, body string) { - log.Debug("TaskExportCmFromNF processing... ") - - var nes []NeInfo - _, err := XormGetAllNeInfo(&nes) - if err != nil { - log.Error("Failed to get all ne info:", err) - } - - for _, ne := range nes { - requestURI := fmt.Sprintf(uri, strings.ToLower(ne.NeType)) - if params != "" { - paramsUri := fmt.Sprintf(params, ne.NeId) - requestURI = fmt.Sprintf("%s?%s", requestURI, paramsUri) - } - requestURL := fmt.Sprintf("%s%s", yamlConfig.OMC.HostUri, requestURI) - log.Debug("requestURL: Get", requestURL) - client := resty.New() - response, err := client.R(). - EnableTrace(). - SetHeaders(map[string]string{"User-Agent": GetDefaultUserAgent()}). - SetHeaders(map[string]string{"Content-Type": "application/json;charset=UTF-8"}). - // SetOutput("./export/test.zip"). - Get(requestURL) - if err != nil { - log.Error("Failed to Get:", err) - } - - log.Debug("StatusCode: ", response.StatusCode()) - switch response.StatusCode() { - case http.StatusOK, http.StatusCreated, http.StatusNoContent, http.StatusAccepted: - log.Debug("Export NF cm sucessfully") - //defer response.Body.Close() - //fileName := "./export/" + response.Header().Get("User-File") - //os.Rename("./export/test.zip", fileName) - default: - log.Error("Failed to export NF cm") - } - } -} - -func (t *TaskFunc) TaskImportCmToNF(uri, params, body string) { - log.Debug("TaskImportCmToNF processing... ") - - file, err := os.OpenFile("udm-sz_01-etc-20230612001524.zip", os.O_RDONLY, os.ModePerm) - if err != nil { - log.Error("Failed to OpenFile:", err) - return - } - byteBody := &bytes.Buffer{} - //body = new(bytes.Buffer) - writer := multipart.NewWriter(byteBody) - - part, err := writer.CreateFormFile("file", "./temp/"+file.Name()) - if err != nil { - log.Error("Failed to CreateFormFile:", err) - return - } - - _, err = io.Copy(part, file) // - if err != nil { - log.Error("Failed to Copy:", err) - return - } - - writer.Close() - - requestURI := fmt.Sprintf("%s?%s", uri, params) - requestURL := fmt.Sprintf("%s%s", yamlConfig.OMC.HostUri, requestURI) - client := resty.New() - response, err := client.R(). - EnableTrace(). - SetHeaders(map[string]string{"User-Agent": GetDefaultUserAgent()}). - SetHeaders(map[string]string{"Content-Type": writer.FormDataContentType()}). - SetBody(body). - Post(requestURL) - if err != nil { - log.Error("Failed to Post:", err) - return - } - switch response.StatusCode() { - case http.StatusOK, http.StatusCreated, http.StatusNoContent, http.StatusAccepted: - log.Debug("Import NF cm sucessfully") - default: - log.Error("response code:", response.StatusCode()) - } -} - -func (t *TaskFunc) TaskGenMeasureThresholdAlarm(uri, params, body string) { - log.Info("TaskGenMeasureThresholdAlarm processing...") - - // get measurethreshold table - var measureThresholds []MeasureThreshold - - _, err := XormGetMeasureThreshold("measure_threshold", "status='Active'", &measureThresholds) - if err != nil { - log.Error("Failed to get measure_threshold:", err) - return - } - - for _, m := range measureThresholds { - measureData, err := XormGetMeasureDataOneByKpi(m.KpiSet) - if err != nil { - log.Error("Failed to get measure_data:", err) - continue - } - log.Debug("measureData:", measureData) - - alarmDefine, err := XormGetAlarmDefine(m.AlarmCode) - if err != nil { - log.Error("Failed to get alarm_define:", err) - continue - } else if alarmDefine == nil { - log.Error("Not found data from alarm_define") - continue - } - - log.Debug("alarmDefine:", alarmDefine) - - // sql := fmt.Sprintf("select * from alarm where alarm_id = '%s' and ne_type='%s' and ne_id = '%s' order by event_time desc limit 1", - // m.AlarmId, m.NeType, measureData.RmUid) - // alarm, err := XormGetDataBySQL(sql) - // if err != nil { - // log.Error("Failed to get alarm:", err) - // continue - // } - // log.Debug("alarm:", *alarm) - - // kpi pm non-exceed, check if exist alarm - if measureData.Value <= m.Threshold && m.AlarmFlag { - // if len(*alarm) == 0 || (*alarm)[0]["alarm_status"] == AlarmStatusClearString { - // continue - // } - - // clear alarm, todo - var alarmSeq int = 1 - // insert alarm - var pvFlag string - sql := fmt.Sprintf("select * from ne_info where ne_type='%s' and rm_uid='%s' limit 1", - m.NeType, measureData.RmUid) - neInfo, err := XormGetDataBySQL(sql) - if err != nil { - log.Error("Failed to get ne_info:", err) - continue - } - log.Debug("neInfo:", neInfo) - if len(*neInfo) > 0 { - pvFlag = (*neInfo)[0]["pv_flag"] - } - if pvFlag == "" { - pvFlag = "VNF" - } - locationInfo := fmt.Sprintf("PM.%s: value=%v, threshold=%v", m.KpiSet, measureData.Value, m.Threshold) - alarmData := &Alarm{ - AlarmSeq: alarmSeq, - AlarmId: alarmDefine.AlarmId, - NeId: measureData.RmUid, - NeType: m.NeType, - NeName: measureData.NeName, - Province: GetYamlConfig().OMC.Province, - PVFlag: pvFlag, - AlarmCode: alarmDefine.AlarmCode, - AlarmTitle: alarmDefine.AlarmTitle, - AlarmType: alarmDefine.AlarmType, - AlarmStatus: AlarmStatusClear, - OrigSeverity: m.OrigSeverity, - ObjectUid: alarmDefine.ObjectUid, - ObjectName: alarmDefine.ObjectName, - ObjectType: alarmDefine.ObjectType, - LocationInfo: locationInfo, - SpecificProblem: alarmDefine.SpecificProblem, - SpecificProblemID: alarmDefine.SpecificProblemId, - AddInfo: alarmDefine.AddInfo, - EventTime: time.Now().Local().Format(time.RFC3339), - } - - alarmArray := &[]Alarm{*alarmData} - body, _ := json.Marshal(alarmArray) - log.Debug("body: ", string(body)) - - var response *resty.Response - requestURI := fmt.Sprintf(uri, m.NeType) - requestURL := fmt.Sprintf("%s%s", yamlConfig.OMC.HostUri, requestURI) - log.Debug("requestURL: POST ", requestURL) - client := resty.New() - response, err = client.R(). - EnableTrace(). - SetHeaders(map[string]string{"User-Agent": GetDefaultUserAgent()}). - SetHeaders(map[string]string{"Content-Type": "application/json;charset=UTF-8"}). - SetBody(body). - Post(requestURL) - if err != nil { - log.Error("Failed to post:", err) - } - - log.Debug("StatusCode: ", response.StatusCode()) - switch response.StatusCode() { - case http.StatusOK, http.StatusCreated, http.StatusNoContent, http.StatusAccepted: - log.Debug("response body:", string(response.Body())) - body := new(map[string]interface{}) - _ = json.Unmarshal(response.Body(), &body) - // todo ... update measure_threshold set alarm_flag=false - m.AlarmFlag = false - _, err := XormUpdateTableById(m.Id, "measure_threshold", m, "alarm_flag") - if err != nil { - log.Error("Failed to update measure_threshold:", err) - continue - } - default: - log.Debug("response body:", string(response.Body())) - body := new(map[string]interface{}) - _ = json.Unmarshal(response.Body(), &body) - } - } else if measureData.Value > m.Threshold && !m.AlarmFlag { - var alarmSeq int = 1 - // insert alarm - var pvFlag string - sql := fmt.Sprintf("select * from ne_info where ne_type='%s' and rm_uid='%s' limit 1", m.NeType, measureData.RmUid) - neInfo, err := XormGetDataBySQL(sql) - if err != nil { - log.Error("Failed to get ne_info:", err) - continue - } - log.Debug("neInfo:", neInfo) - if len(*neInfo) > 0 { - pvFlag = (*neInfo)[0]["pv_flag"] - } - if pvFlag == "" { - pvFlag = "VNF" - } - locationInfo := fmt.Sprintf("PM.%s: value=%v,threshold=%v", m.KpiSet, measureData.Value, m.Threshold) - alarmData := &Alarm{ - AlarmSeq: alarmSeq, - AlarmId: alarmDefine.AlarmId, - NeId: measureData.RmUid, - NeType: m.NeType, - NeName: measureData.NeName, - Province: GetYamlConfig().OMC.Province, - PVFlag: pvFlag, - AlarmCode: alarmDefine.AlarmCode, - AlarmTitle: alarmDefine.AlarmTitle, - AlarmType: alarmDefine.AlarmType, - AlarmStatus: AlarmStatusActive, - OrigSeverity: m.OrigSeverity, - ObjectUid: alarmDefine.ObjectUid, - ObjectName: alarmDefine.ObjectName, - ObjectType: alarmDefine.ObjectType, - LocationInfo: locationInfo, - SpecificProblem: alarmDefine.SpecificProblem, - SpecificProblemID: alarmDefine.SpecificProblemId, - AddInfo: alarmDefine.AddInfo, - EventTime: time.Now().Local().Format(time.RFC3339), - } - - alarmArray := &[]Alarm{*alarmData} - body, _ := json.Marshal(alarmArray) - log.Debug("body: ", string(body)) - - var response *resty.Response - requestURI := fmt.Sprintf(uri, m.NeType) - requestURL := fmt.Sprintf("%s%s", yamlConfig.OMC.HostUri, requestURI) - log.Debug("requestURL: POST ", requestURL) - client := resty.New() - response, err = client.R(). - EnableTrace(). - SetHeaders(map[string]string{"User-Agent": GetDefaultUserAgent()}). - SetHeaders(map[string]string{"Content-Type": "application/json;charset=UTF-8"}). - SetBody(body). - Post(requestURL) - if err != nil { - log.Error("Failed to post:", err) - } - - log.Debug("StatusCode: ", response.StatusCode()) - switch response.StatusCode() { - case http.StatusOK, http.StatusCreated, http.StatusNoContent, http.StatusAccepted: - log.Debug("response body:", string(response.Body())) - body := new(map[string]interface{}) - _ = json.Unmarshal(response.Body(), &body) - // todo ... update measure_threshold set alarm_flag=true - m.AlarmFlag = true - _, err := XormUpdateTableById(m.Id, "measure_threshold", m, "alarm_flag") - if err != nil { - log.Error("Failed to update measure_threshold:", err) - continue - } - - default: - log.Debug("response body:", string(response.Body())) - body := new(map[string]interface{}) - _ = json.Unmarshal(response.Body(), &body) - } - } - } -} - -func (t *TaskFunc) TaskGenMeasureReportTimeoutAlarm(uri, params, body string) { - log.Info("TaskGenMeasureReportTimeoutAlarm processing...") - - var measureTasks []dborm.MeasureTask - _, err := dborm.XormGetActiveMeasureTask(&measureTasks) - if err != nil { - log.Error("Failed to GetActiveMeasureTask: ", err) - return - } - log.Trace("measureTasks:", measureTasks) - - for _, measureTask := range measureTasks { - if len(measureTask.NeIds) == 0 { - var neInfos []dborm.NeInfo - err := dborm.XormGetNeInfoByNeType(measureTask.NeType, &neInfos) - if err != nil { - log.Error("Failed to dborm.XormGetNeInfoByNeType:", err) - continue - } - for _, neInfo := range neInfos { - measureTask.NeIds = append(measureTask.NeIds, neInfo.NeId) - } - } - log.Debug("measureTask.NeIds:", measureTask.NeIds) - for _, neId := range measureTask.NeIds { - var err error - neInfo, err := dborm.XormGetNeInfo(measureTask.NeType, neId) - if err != nil { - log.Error("Failed to dborm.XormGetNeInfo:", err) - continue - } - if neInfo == nil { - err := fmt.Errorf("not found target NE neType=%s, neId=%s", measureTask.NeType, neId) - log.Error(err) - continue - } - - measureData, err := XormGetMeasureDataLastOne(measureTask.NeType, neInfo.RmUID, measureTask.Id) - if err != nil { - log.Error("Failed to get measure_data:", err) - continue - } - log.Debug("measureData:", measureData) - - if params == "" { - params = "10201" - } - alarmDefine, err := XormGetAlarmDefine(params) - if err != nil { - log.Error("Failed to get alarm_define:", err) - continue - } else if alarmDefine == nil { - log.Error("Not found data from alarm_define") - continue - } - log.Debug("alarmDefine:", alarmDefine) - log.Debugf("measureData.StartTime:%s measureTask.StartTime:%s measureTask.CreateTime:%s", measureData.StartTime, measureTask.StartTime, measureTask.CreateTime) - var startTime string - if measureData.StartTime != "" { - startTime = measureData.StartTime - layout := "2006-01-02 15:04:05 -0700 MST" - startTime = global.GetFmtTimeString(layout, startTime, time.DateTime) - } else if measureTask.StartTime != "" { - startTime = measureTask.StartTime - } else if measureTask.CreateTime != "" { - startTime = measureTask.CreateTime - layout := "2006-01-02 15:04:05 -0700 MST" - startTime = global.GetFmtTimeString(layout, startTime, time.DateTime) - } - log.Debugf("original startTime:%s", startTime) - - seconds, err := global.GetSecondsSinceDatetime(startTime) - if err != nil { - log.Error("Failed to GetSecondsSinceDatetime:", err) - continue - } - log.Debugf("startTime:%s seconds:%d", startTime, seconds) - var isTimeout bool = false - var specificProblem string - switch measureTask.GranulOption { - case "15M": - if seconds > ((15 + 10) * 60) { - isTimeout = true - specificProblem = fmt.Sprintf(alarmDefine.SpecificProblem, 15, 10) - } - - case "30M": - if seconds > ((30 + 15) * 60) { - isTimeout = true - specificProblem = fmt.Sprintf(alarmDefine.SpecificProblem, 30, 15) - } - case "60M": - if seconds > ((60 + 15) * 60) { - isTimeout = true - specificProblem = fmt.Sprintf(alarmDefine.SpecificProblem, 60, 15) - } - } - if isTimeout { - // if len(*alarm) == 0 || (*alarm)[0]["alarm_status"] == AlarmStatusClearString { - // continue - // } - - // todo - var alarmSeq int = 1 - locationInfo := fmt.Sprintf("PM.taskId=%d: neType=%s, neId=%s", measureTask.Id, neInfo.NeType, neInfo.NeId) - - alarmData := &Alarm{ - AlarmSeq: alarmSeq, - AlarmId: alarmDefine.AlarmId, - NeId: neInfo.RmUID, - NeType: measureTask.NeType, - NeName: neInfo.NeName, - Province: neInfo.Province, - PVFlag: neInfo.PvFlag, - AlarmCode: alarmDefine.AlarmCode, - AlarmTitle: alarmDefine.AlarmTitle, - AlarmType: alarmDefine.AlarmType, - AlarmStatus: AlarmStatusActive, - OrigSeverity: alarmDefine.OrigSeverity, - ObjectUid: alarmDefine.ObjectUid, - ObjectName: alarmDefine.ObjectName, - ObjectType: alarmDefine.ObjectType, - LocationInfo: locationInfo, - SpecificProblem: specificProblem, - SpecificProblemID: alarmDefine.SpecificProblemId, - AddInfo: alarmDefine.AddInfo, - EventTime: time.Now().Local().Format(time.RFC3339), - } - - alarmArray := &[]Alarm{*alarmData} - body, _ := json.Marshal(alarmArray) - log.Debug("body: ", string(body)) - - var response *resty.Response - requestURI := fmt.Sprintf(uri, neInfo.NeType) - requestURL := fmt.Sprintf("%s%s", yamlConfig.OMC.HostUri, requestURI) - log.Debug("requestURL: POST ", requestURL) - client := resty.New() - response, err = client.R(). - EnableTrace(). - SetHeaders(map[string]string{"User-Agent": GetDefaultUserAgent()}). - SetHeaders(map[string]string{"Content-Type": "application/json;charset=UTF-8"}). - SetBody(body). - Post(requestURL) - if err != nil { - log.Error("Failed to post:", err) - } - - log.Debug("StatusCode: ", response.StatusCode()) - switch response.StatusCode() { - case http.StatusOK, http.StatusCreated, http.StatusNoContent, http.StatusAccepted: - log.Debug("response body:", string(response.Body())) - body := new(map[string]interface{}) - _ = json.Unmarshal(response.Body(), &body) - // todo ... update measure_threshold set alarm_flag=false - default: - log.Debug("response body:", string(response.Body())) - body := new(map[string]interface{}) - _ = json.Unmarshal(response.Body(), &body) - } - } else { - var alarmSeq int = 1 - locationInfo := fmt.Sprintf("PM.taskId=%d: neType=%s, neId=%s", measureTask.Id, neInfo.NeType, neInfo.NeId) - alarmData := &Alarm{ - AlarmSeq: alarmSeq, - AlarmId: alarmDefine.AlarmId, - NeId: neInfo.RmUID, - NeType: measureTask.NeType, - NeName: neInfo.NeName, - Province: neInfo.Province, - PVFlag: neInfo.PvFlag, - AlarmCode: alarmDefine.AlarmCode, - AlarmTitle: alarmDefine.AlarmTitle, - AlarmType: alarmDefine.AlarmType, - AlarmStatus: AlarmStatusClear, - OrigSeverity: alarmDefine.OrigSeverity, - ObjectUid: alarmDefine.ObjectUid, - ObjectName: alarmDefine.ObjectName, - ObjectType: alarmDefine.ObjectType, - LocationInfo: locationInfo, - SpecificProblem: specificProblem, - SpecificProblemID: alarmDefine.SpecificProblemId, - AddInfo: alarmDefine.AddInfo, - EventTime: time.Now().Local().Format(time.RFC3339), - } - - alarmArray := &[]Alarm{*alarmData} - body, _ := json.Marshal(alarmArray) - log.Debug("body: ", string(body)) - - var response *resty.Response - requestURI := fmt.Sprintf(uri, neInfo.NeType) - requestURL := fmt.Sprintf("%s%s", yamlConfig.OMC.HostUri, requestURI) - log.Debug("requestURL: POST ", requestURL) - client := resty.New() - response, err = client.R(). - EnableTrace(). - SetHeaders(map[string]string{"User-Agent": GetDefaultUserAgent()}). - SetHeaders(map[string]string{"Content-Type": "application/json;charset=UTF-8"}). - SetBody(body). - Post(requestURL) - if err != nil { - log.Error("Failed to post:", err) - } - - log.Debug("StatusCode: ", response.StatusCode()) - switch response.StatusCode() { - case http.StatusOK, http.StatusCreated, http.StatusNoContent, http.StatusAccepted: - log.Debug("response body:", string(response.Body())) - body := new(map[string]interface{}) - _ = json.Unmarshal(response.Body(), &body) - // todo ... update measure_threshold set alarm_flag=false - default: - log.Debug("response body:", string(response.Body())) - body := new(map[string]interface{}) - _ = json.Unmarshal(response.Body(), &body) - } - } - } - } -} - -func (t *TaskFunc) TaskGenLicenseAlarm(uri, params, body string) { - log.Info("TaskGenLicenseAlarm processing...") - - var nes []NeInfo - _, err := XormGetAllNeInfo(&nes) - if err != nil { - log.Error("Failed to get all ne info:", err) - } - - for _, ne := range nes { - log.Debug("ne:", ne) - - sql := fmt.Sprintf("select * from ne_state where ne_type = '%s' and ne_id = '%s' order by timestamp desc limit 1", ne.NeType, ne.NeId) - neState, err := XormGetDataBySQL(sql) - if err != nil { - log.Error("Failed to get ne_state:", err) - continue - } - log.Debug("neState:", *neState) - if len(*neState) == 0 { - log.Errorf("Not found ne_state neType:%s, neId:%s", ne.NeType, ne.NeId) - continue - } - - if params == "" { - params = "10100" - } - alarmDefine, err := XormGetAlarmDefine(params) - if err != nil { - log.Error("Failed to get alarm_define:", err) - continue - } else if alarmDefine == nil { - log.Error("Not found data from alarm_define") - continue - } - - log.Debug("alarmDefine:", alarmDefine) - - sql = fmt.Sprintf("select * from alarm where alarm_id = '%s' and ne_type='%s' and ne_id = '%s' order by event_time desc limit 1", - alarmDefine.AlarmId, ne.NeType, ne.RmUID) - alarm, err := XormGetDataBySQL(sql) - if err != nil { - log.Error("Failed to get alarm:", err) - continue - } - log.Debug("alarm:", *alarm) - - expiryDate := (*neState)[0]["expiry_date"] - - days := global.GetDayDuration(expiryDate, time.Now().Format(time.DateOnly)) - log.Debugf("expiryDate:%s days:%d", expiryDate, days) - - // kpi pm non-exceed, check if exist alarm - if days > int64(alarmDefine.Threshold) { - if len(*alarm) == 0 || (*alarm)[0]["alarm_status"] == AlarmStatusClearString { - continue - } - // clear alarm, todo - var alarmSeq int = 1 - - SpecificProblem := fmt.Sprintf(alarmDefine.SpecificProblem, alarmDefine.Threshold) - locationInfo := fmt.Sprintf("CM.License: expiry date=%s,threshold=%v", expiryDate, alarmDefine.Threshold) - alarmData := &Alarm{ - AlarmSeq: alarmSeq, - AlarmId: alarmDefine.AlarmId, - NeId: ne.RmUID, - NeType: ne.NeType, - NeName: ne.NeName, - Province: ne.Province, - PVFlag: ne.PvFlag, - AlarmCode: alarmDefine.AlarmCode, - AlarmTitle: alarmDefine.AlarmTitle, - AlarmType: alarmDefine.AlarmType, - AlarmStatus: AlarmStatusClear, - OrigSeverity: alarmDefine.OrigSeverity, - ObjectUid: alarmDefine.ObjectUid, - ObjectName: alarmDefine.ObjectName, - ObjectType: alarmDefine.ObjectType, - LocationInfo: locationInfo, - SpecificProblem: SpecificProblem, - SpecificProblemID: alarmDefine.SpecificProblemId, - AddInfo: alarmDefine.AddInfo, - EventTime: time.Now().Local().Format(time.RFC3339), - } - - alarmArray := &[]Alarm{*alarmData} - body, _ := json.Marshal(alarmArray) - log.Debug("body: ", string(body)) - - var response *resty.Response - requestURI := fmt.Sprintf(uri, ne.NeType) - requestURL := fmt.Sprintf("%s%s", yamlConfig.OMC.HostUri, requestURI) - log.Debug("requestURL: POST ", requestURL) - client := resty.New() - response, err = client.R(). - EnableTrace(). - SetHeaders(map[string]string{"User-Agent": GetDefaultUserAgent()}). - SetHeaders(map[string]string{"Content-Type": "application/json;charset=UTF-8"}). - SetBody(body). - Post(requestURL) - if err != nil { - log.Error("Failed to post:", err) - } - - log.Debug("StatusCode: ", response.StatusCode()) - switch response.StatusCode() { - case http.StatusOK, http.StatusCreated, http.StatusNoContent, http.StatusAccepted: - log.Debug("response body:", string(response.Body())) - body := new(map[string]interface{}) - _ = json.Unmarshal(response.Body(), &body) - default: - log.Debug("response body:", string(response.Body())) - body := new(map[string]interface{}) - _ = json.Unmarshal(response.Body(), &body) - } - } else { - var alarmSeq int = 1 - if len(*alarm) > 0 && (*alarm)[0]["alarm_status"] == AlarmStatusActiveString { - log.Info("License alarm has exist") - continue - } - - SpecificProblem := fmt.Sprintf(alarmDefine.SpecificProblem, alarmDefine.Threshold) - locationInfo := fmt.Sprintf("CM.License: expiry date=%s,threshold=%v", expiryDate, alarmDefine.Threshold) - alarmData := &Alarm{ - AlarmSeq: alarmSeq, - AlarmId: alarmDefine.AlarmId, - NeId: ne.RmUID, - NeType: ne.NeType, - NeName: ne.NeName, - Province: ne.Province, - PVFlag: ne.PvFlag, - AlarmCode: alarmDefine.AlarmCode, - AlarmTitle: alarmDefine.AlarmTitle, - AlarmType: alarmDefine.AlarmType, - AlarmStatus: AlarmStatusActive, - OrigSeverity: alarmDefine.OrigSeverity, - ObjectUid: alarmDefine.ObjectUid, - ObjectName: alarmDefine.ObjectName, - ObjectType: alarmDefine.ObjectType, - LocationInfo: locationInfo, - SpecificProblem: SpecificProblem, - SpecificProblemID: alarmDefine.SpecificProblemId, - AddInfo: alarmDefine.AddInfo, - EventTime: time.Now().Local().Format(time.RFC3339), - } - - alarmArray := &[]Alarm{*alarmData} - body, _ := json.Marshal(alarmArray) - log.Debug("body: ", string(body)) - - var response *resty.Response - requestURI := fmt.Sprintf(uri, ne.NeType) - requestURL := fmt.Sprintf("%s%s", yamlConfig.OMC.HostUri, requestURI) - log.Debug("requestURL: POST ", requestURL) - client := resty.New() - response, err = client.R(). - EnableTrace(). - SetHeaders(map[string]string{"User-Agent": GetDefaultUserAgent()}). - SetHeaders(map[string]string{"Content-Type": "application/json;charset=UTF-8"}). - SetBody(body). - Post(requestURL) - if err != nil { - log.Error("Failed to post:", err) - } - - log.Debug("StatusCode: ", response.StatusCode()) - switch response.StatusCode() { - case http.StatusOK, http.StatusCreated, http.StatusNoContent, http.StatusAccepted: - log.Debug("response body:", string(response.Body())) - body := new(map[string]interface{}) - _ = json.Unmarshal(response.Body(), &body) - default: - log.Debug("response body:", string(response.Body())) - body := new(map[string]interface{}) - _ = json.Unmarshal(response.Body(), &body) - } - } - } -} - -func (t *TaskFunc) TaskGenNeStateAlarm(uri, params, body string) { - log.Info("TaskGenNeStateAlarm processing...") - - var nes []NeInfo - _, err := XormGetAllNeInfo(&nes) - if err != nil { - log.Error("Failed to get all ne info:", err) - } - - for _, ne := range nes { - log.Debug("ne:", ne) - - sql := fmt.Sprintf("select * from ne_state where ne_type = '%s' and ne_id = '%s' order by timestamp desc limit 1", ne.NeType, ne.NeId) - neState, err := XormGetDataBySQL(sql) - if err != nil { - log.Error("Failed to get ne_state:", err) - continue - } - log.Debug("neState:", *neState) - - if params == "" { - params = "10000" - } - alarmDefine, err := XormGetAlarmDefine(params) - if err != nil { - log.Error("Failed to get alarm_define:", err) - continue - } else if alarmDefine == nil { - log.Error("Not found data from alarm_define") - continue - } - - log.Debug("alarmDefine:", alarmDefine) - - sql = fmt.Sprintf("select * from alarm where alarm_id = '%s' and ne_type='%s' and ne_id = '%s' order by event_time desc limit 1", - alarmDefine.AlarmId, ne.NeType, ne.RmUID) - alarm, err := XormGetDataBySQL(sql) - if err != nil { - log.Error("Failed to get alarm:", err) - continue - } - log.Debug("alarm:", *alarm) - - var timestamp string - if len(*neState) == 0 { - log.Infof("Not found ne_state neType:%s, neId:%s", ne.NeType, ne.NeId) - timestamp = ne.UpdateTime - } else { - timestamp = (*neState)[0]["timestamp"] - } - - // 解析日期时间字符串为时间对象 - seconds, err := global.GetSecondsSinceDatetime(timestamp) - if err != nil { - log.Error("Failed to GetSecondsSinceDatetime:", err) - continue - } - log.Debugf("timestamp:%s seconds:%d", timestamp, seconds) - - if seconds <= alarmDefine.Threshold { - if len(*alarm) == 0 || (*alarm)[0]["alarm_status"] == AlarmStatusClearString { - continue - } - - // clear alarm, todo - var alarmSeq int = 1 - SpecificProblem := fmt.Sprintf(alarmDefine.SpecificProblem, alarmDefine.Threshold) - locationInfo := fmt.Sprintf("SystemManagement.State: NE heartbeat timestamp=%s,threshold=%v", timestamp, alarmDefine.Threshold) - alarmData := &Alarm{ - AlarmSeq: alarmSeq, - AlarmId: alarmDefine.AlarmId, - NeId: ne.RmUID, - NeType: ne.NeType, - NeName: ne.NeName, - Province: ne.Province, - PVFlag: ne.PvFlag, - AlarmCode: alarmDefine.AlarmCode, - AlarmTitle: alarmDefine.AlarmTitle, - AlarmType: alarmDefine.AlarmType, - AlarmStatus: AlarmStatusClear, - OrigSeverity: alarmDefine.OrigSeverity, - ObjectUid: alarmDefine.ObjectUid, - ObjectName: alarmDefine.ObjectName, - ObjectType: alarmDefine.ObjectType, - LocationInfo: locationInfo, - SpecificProblem: SpecificProblem, - SpecificProblemID: alarmDefine.SpecificProblemId, - AddInfo: alarmDefine.AddInfo, - EventTime: time.Now().Local().Format(time.RFC3339), - } - - alarmArray := &[]Alarm{*alarmData} - body, _ := json.Marshal(alarmArray) - log.Debug("body: ", string(body)) - - var response *resty.Response - requestURI := fmt.Sprintf(uri, ne.NeType) - requestURL := fmt.Sprintf("%s%s", yamlConfig.OMC.HostUri, requestURI) - log.Debug("requestURL: POST ", requestURL) - client := resty.New() - response, err = client.R(). - EnableTrace(). - SetHeaders(map[string]string{"User-Agent": GetDefaultUserAgent()}). - SetHeaders(map[string]string{"Content-Type": "application/json;charset=UTF-8"}). - SetBody(body). - Post(requestURL) - if err != nil { - log.Error("Failed to post:", err) - } - - log.Debug("StatusCode: ", response.StatusCode()) - switch response.StatusCode() { - case http.StatusOK, http.StatusCreated, http.StatusNoContent, http.StatusAccepted: - log.Debug("response body:", string(response.Body())) - body := new(map[string]interface{}) - _ = json.Unmarshal(response.Body(), &body) - default: - log.Debug("response body:", string(response.Body())) - body := new(map[string]interface{}) - _ = json.Unmarshal(response.Body(), &body) - } - } else { - var alarmSeq int = 1 - if len(*alarm) > 0 && (*alarm)[0]["alarm_status"] == AlarmStatusActiveString { - log.Info("System state alarm has exist") - continue - } - - SpecificProblem := fmt.Sprintf(alarmDefine.SpecificProblem, alarmDefine.Threshold) - locationInfo := fmt.Sprintf("SystemManagement.State: NE heartbeat timestamp=%s,threshold=%v", timestamp, alarmDefine.Threshold) - alarmData := &Alarm{ - AlarmSeq: alarmSeq, - AlarmId: alarmDefine.AlarmId, - NeId: ne.RmUID, - NeType: ne.NeType, - NeName: ne.NeName, - Province: ne.Province, - PVFlag: ne.PvFlag, - AlarmCode: alarmDefine.AlarmCode, - AlarmTitle: alarmDefine.AlarmTitle, - AlarmType: alarmDefine.AlarmType, - AlarmStatus: AlarmStatusActive, - OrigSeverity: alarmDefine.OrigSeverity, - ObjectUid: alarmDefine.ObjectUid, - ObjectName: alarmDefine.ObjectName, - ObjectType: alarmDefine.ObjectType, - LocationInfo: locationInfo, - SpecificProblem: SpecificProblem, - SpecificProblemID: alarmDefine.SpecificProblemId, - AddInfo: alarmDefine.AddInfo, - EventTime: time.Now().Local().Format(time.RFC3339), - } - - alarmArray := &[]Alarm{*alarmData} - body, _ := json.Marshal(alarmArray) - log.Debug("body: ", string(body)) - - var response *resty.Response - requestURI := fmt.Sprintf(uri, ne.NeType) - requestURL := fmt.Sprintf("%s%s", yamlConfig.OMC.HostUri, requestURI) - log.Debug("requestURL: POST ", requestURL) - client := resty.New() - response, err = client.R(). - EnableTrace(). - SetHeaders(map[string]string{"User-Agent": GetDefaultUserAgent()}). - SetHeaders(map[string]string{"Content-Type": "application/json;charset=UTF-8"}). - SetBody(body). - Post(requestURL) - if err != nil { - log.Error("Failed to post:", err) - } - - log.Debug("StatusCode: ", response.StatusCode()) - switch response.StatusCode() { - case http.StatusOK, http.StatusCreated, http.StatusNoContent, http.StatusAccepted: - log.Debug("response body:", string(response.Body())) - body := new(map[string]interface{}) - _ = json.Unmarshal(response.Body(), &body) - default: - log.Debug("response body:", string(response.Body())) - body := new(map[string]interface{}) - _ = json.Unmarshal(response.Body(), &body) - } - } - } -} - -type ProcInfo struct { - Name string `json:"name"` - Pid int32 `json:"pid"` - StartTime string `json:"startTime"` -} - -var procList = []string{"restagent", "crontask", "4a_agent", "nbi_agent", "nbi_alarm", "mysqld"} -var procInfos = make([]ProcInfo, len(procList)) - -func init() { - for i, procName := range procList { - procInfo := &ProcInfo{ - Name: procName, - Pid: 0, - StartTime: "", - } - procInfos[i] = *procInfo - } -} - -func (t *TaskFunc) TaskWriteSystemLog(uri, params, body string) { - - // processes, err := process.Processes() - // if err != nil { - // log.Error("Failed to get processes:", err) - // return - // } - - // for _, proc := range processes { - // name, err := proc.Name() - // if err != nil { - // log.Error("Failed to get process name:", err) - // continue - // } - // for i, procInfo := range procInfos { - // if name == procInfo.Name { - // pid := proc.Pid - // timestamp, _ := proc.CreateTime() - // userName, _ := proc.Username() - // startTime := time.Unix((timestamp / 1000), 0).Format(time.DateTime) - - // newProcInfo := &ProcInfo{ - // Name: procInfo.Name, - // Pid: pid, - // StartTime: startTime, - // } - // log.Trace("newProcInfo:", *newProcInfo) - // log.Trace("procInfo:", procInfo) - // if *newProcInfo != procInfo { - // procInfos[i] = *newProcInfo - // var operation string - // if newProcInfo.Pid != 0 { - // operation = "start" - // } else { - // operation = "stop" - // } - // sysLogs := &[]dborm.SystemLog{} - // sysLog := &dborm.SystemLog{ - // UserName: userName, - // ProcessName: newProcInfo.Name, - // ProcessID: newProcInfo.Pid, - // Operation: operation, - // StartTime: newProcInfo.StartTime, - // LogTime: time.Now().Format(time.DateTime), - // } - // var response *resty.Response - // requestURI := fmt.Sprintf("%s?%s", uri, params) - // requestURL := fmt.Sprintf("%s%s", yamlConfig.OMC.HostUri, requestURI) - - // *sysLogs = append(*sysLogs, *sysLog) - // data := make(map[string]interface{}) - // data["system_log"] = *sysLogs - // body, _ := json.Marshal(data) - // log.Trace("data:", data) - // log.Debug("requestURL: POST ", requestURL) - // client := resty.New() - // response, err = client.R(). - // EnableTrace(). - // SetHeaders(map[string]string{"User-Agent": GetDefaultUserAgent()}). - // SetHeaders(map[string]string{"Content-Type": "application/json;charset=UTF-8"}). - // SetBody(body). - // Post(requestURL) - // if err != nil { - // log.Error("Failed to post:", err) - // } - // log.Debug("StatusCode: ", response.StatusCode()) - // switch response.StatusCode() { - // case http.StatusOK, http.StatusCreated, http.StatusNoContent, http.StatusAccepted: - // log.Debug("response body:", string(response.Body())) - // body := new(map[string]interface{}) - // _ = json.Unmarshal(response.Body(), &body) - // default: - // log.Debug("response body:", string(response.Body())) - // body := new(map[string]interface{}) - // _ = json.Unmarshal(response.Body(), &body) - // } - // } - // } - // } - // } -} diff --git a/data2html/data2html.go b/data2html/data2html.go deleted file mode 100644 index 8470b87d..00000000 --- a/data2html/data2html.go +++ /dev/null @@ -1,135 +0,0 @@ -package main - -import ( - "flag" - "fmt" - "os" - - //"os" - "encoding/binary" - "encoding/hex" - "os/exec" -) - -const magicMicroseconds = 0xa1b2c3d4 -const versionMajor = 2 -const versionMinor = 4 - -func WriteEmptyPcap(filename string, timestamp int64, length int, data []byte) error { - var cooked = [...]byte{0x00, 0x00, 0x03, 0x04, 0x00, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x08, 0x00} - - var buf []byte - //24+16+16 = 56 - buf = make([]byte, 56+length) - binary.LittleEndian.PutUint32(buf[0:4], magicMicroseconds) - binary.LittleEndian.PutUint16(buf[4:6], versionMajor) - binary.LittleEndian.PutUint16(buf[6:8], versionMinor) - // bytes 8:12 stay 0 (timezone = UTC) - // bytes 12:16 stay 0 (sigfigs is always set to zero, according to - // http://wiki.wireshark.org/Development/LibpcapFileFormat - binary.LittleEndian.PutUint32(buf[16:20], 0x00040000) - binary.LittleEndian.PutUint32(buf[20:24], 0x00000071) - - // Packet Header - binary.LittleEndian.PutUint64(buf[24:32], uint64(timestamp)) - - binary.LittleEndian.PutUint32(buf[32:36], uint32(length+16)) - binary.LittleEndian.PutUint32(buf[36:40], uint32(length+16)) - - copy(buf[40:], cooked[:]) - copy(buf[56:], data[:]) - - err := os.WriteFile(filename, buf[:], 0644) - //fmt.Printf("CAP: %v\n", buf) - - return err -} - -// tshark -r gtp.pcap -T json -d tcp.port==8080,http2 -Y "http2" -func execTshark(html string, filename string, proto string, port int) { - var tshark *exec.Cmd - var sharkCmd string - - pcapPath := filename - dataPort := fmt.Sprintf("tcp.port==%d,http2", port) - if proto == "http2" { - //tshark = exec.Command("tshark", "-r"+pcapPath, - // "-Y"+proto, - // "-d"+dataPort, - // "-T", "pdml") - sharkCmd = fmt.Sprintf("tshark -r %s -T pdml -d tcp.port==%s,http2 -Y \"%s\" > %s.pdml", pcapPath, dataPort, proto, pcapPath) - tshark = exec.Command("sh", "-c", sharkCmd) - } else { - //tshark = exec.Command("tshark", "-r"+pcapPath, - // "-Y"+proto, - // "-T", "pdml") - sharkCmd = fmt.Sprintf("tshark -r %s -T pdml -Y \"%s\" > %s.pdml", pcapPath, proto, pcapPath) - tshark = exec.Command("sh", "-c", sharkCmd) - } - _, err := tshark.CombinedOutput() - if err != nil { - fmt.Printf("tshark failed with %s\n", err) - } else { - //fmt.Printf("combined out:\n%s\n", string(out)) - pdmlFile := fmt.Sprintf("%s.pdml", filename) - - //err1 := os.WriteFile(pdmlFile, []byte(out), 0666) - //if err1 != nil { - // fmt.Println("write html failed") - //}else { - //xsltproc pdml2html.xsl ngap.pdml > /home/omcuser/ngap.html - command := fmt.Sprintf("xsltproc /usr/local/omc/etc/schema/pdml2html.xsl %s > %s", pdmlFile, html) - dest := exec.Command("sh", "-c", command) - _, err2 := dest.Output() - if err2 != nil { - fmt.Println("Error:", err2, command) - } - //} - } -} - -func ipDataHandle(html string, iftype string, port int, timestamp int64, data []byte) int { - var filePath, proto string - - if iftype == "N2" || iftype == "N1" { - filePath = fmt.Sprintf("/tmp/ng%d.pcap", timestamp) - proto = "ngap" - } else if iftype == "N4" { - filePath = fmt.Sprintf("/tmp/pf%d.pcap", timestamp) - proto = "pfcp" - } else { - filePath = fmt.Sprintf("/tmp/hp%d.pcap", timestamp) - proto = "http2" - } - - err := WriteEmptyPcap(filePath, timestamp, len(data), data) - if err != nil { - fmt.Printf("tshark failed with %s\n", err) - - } else { - execTshark(html, filePath, proto, port) - } - return 0 -} - -func main() { - var html, iftype, ipdata string - var timestamp int64 - var port int - - flag.Int64Var(×tamp, "t", 0, "timestamp") - flag.StringVar(&iftype, "i", "", "interface type") - flag.IntVar(&port, "p", 0, "data port") - flag.StringVar(&ipdata, "d", "", "ip packet data") - flag.StringVar(&html, "f", "", "html file path") - - flag.Parse() - - ds, err := hex.DecodeString(ipdata) - - if err != nil { - return - } - ipDataHandle(html, iftype, port, timestamp, ds) - -} diff --git a/data2html/makefile b/data2html/makefile deleted file mode 100644 index 60afffb6..00000000 --- a/data2html/makefile +++ /dev/null @@ -1,29 +0,0 @@ -# Makefile for rest agent project - -PROJECT = OMC -VERSION = 2.2501.1 -RelDate = `date +%Y%m%d` -Release = $(RelDate) -RelVer = $(VERSION)-$(RelDate) -PLATFORM = amd64 -ARMPLATFORM = aarch64 -BUILDDIR = ../../build -DEBBUILDDIR = ../../debbuild -RPMBUILDDIR = $(HOME)/goprojects/rpmbuild -INSTALLDIR = /usr/local/omc -RELEASEDIR = ../../release -LIBDIR = be.ems/lib -BINNAME = data2html - -.PHONY: build $(BINNAME) -build $(BINNAME): - go build -o $(BINNAME) -v -ldflags "-s -w -X '$(LIBDIR)/global.Version=$(VERSION)' \ - -X '$(LIBDIR)/global.BuildTime=`date`' \ - -X '$(LIBDIR)/global.GoVer=`go version`'" - -run: $(BINNAME) - ./$(BINNAME) - -clean: - rm ./$(BINNAME) - diff --git a/database/backup/omc-tips.sql b/database/backup/omc-tips.sql deleted file mode 100644 index ee29f941..00000000 --- a/database/backup/omc-tips.sql +++ /dev/null @@ -1,182 +0,0 @@ -select count(*) from kpi_report_upf - - -CREATE VIEW kpi_report_all AS -SELECT * FROM kpi_report_udm -UNION ALL -SELECT * FROM kpi_report_amf -UNION ALL -SELECT * FROM kpi_report_upf; - - -select DISTINCT(ne_type) from kpi_title - -SELECT DISTINCT LOWER(ne_type) FROM kpi_title - -SELECT JSON_EXTRACT(kpi_values, CONCAT('$[', @path, '].', @key_to_search)) AS value FROM kpi_report_upf where `date`="2024-04-26"; - - -SELECT JSON_EXTRACT(JSON_CONTAINS(kpi_values, '{"kpi_id": "UPF.01"}') FROM kpi_report_upf where `date`="2024-04-26"; - - -SELECT -JSON_EXTRACT(kpi_values, CONCAT('$[', JSON_UNQUOTE(JSON_SEARCH(kpi_values, 'kpi_id', 'UPF.01')), '].value')) AS value_UPF01, -JSON_EXTRACT(kpi_values, CONCAT('$[', JSON_UNQUOTE(JSON_SEARCH(kpi_values, 'kpi_id', 'UPF.03')), '].value')) AS value_UPF03 -FROM -kpi_report_upf -WHERE -JSON_SEARCH(kpi_values, 'kpi_id', 'UPF.01') IS NOT NULL -AND JSON_SEARCH(kpi_values, 'kpi_id', 'UPF.03') IS NOT NULL; - - -SELECT -JSON_EXTRACT(kpi_values, CONCAT('$[', JSON_UNQUOTE(JSON_SEARCH(kpi_values, 'all', 'UPF.01')), '].value')) AS value_UPF01 -FROM -kpi_report_upf -WHERE -JSON_CONTAINS(kpi_values, '{"kpi_id": "UPF.01"}'); - - -SELECT -COALESCE(JSON_EXTRACT(kpi_values, CONCAT('$[', JSON_UNQUOTE(JSON_SEARCH(kpi_values, 'all', 'UPF.01')), '].value')), 0) AS value_UPF01 -FROM -kpi_report_upf -WHERE -JSON_CONTAINS(kpi_values, '{"kpi_id": "UPF.01"}'); - -SELECT - CONCAT( - DATE_FORMAT( gk.start_time, '%H:' ), - LPAD( FLOOR( MINUTE ( gk.start_time ) / 15 ) * 15, 2, '0' ) - ) AS timeGroup, - min( CASE WHEN gk.INDEX != '' THEN gk.INDEX ELSE 0 END ) AS startIndex, - min( CASE WHEN gk.ne_name != '' THEN gk.ne_name ELSE 0 END ) AS neName, - sum( CASE WHEN JSON_CONTAINS(kpi_values,JSON_OBJECT('kpi_id', "UPF.01")) THEN gk.kpi_values->'$[*].value ELSE 0 END ) AS 'UPF.01', - sum( CASE WHEN JSON_CONTAINS(kpi_values,JSON_OBJECT('kpi_id', "UPF.02")) THEN gk.kpi_values->'$[*].value ELSE 0 END ) AS 'UPF.02', - sum( CASE WHEN gk.kpi_id = 'UPF.03' THEN gk.VALUE ELSE 0 END ) AS 'UPF.03', - sum( CASE WHEN gk.kpi_id = 'UPF.04' THEN gk.VALUE ELSE 0 END ) AS 'UPF.04', - sum( CASE WHEN gk.kpi_id = 'UPF.05' THEN gk.VALUE ELSE 0 END ) AS 'UPF.05', - sum( CASE WHEN gk.kpi_id = 'UPF.06' THEN gk.VALUE ELSE 0 END ) AS 'UPF.06', - sum( CASE WHEN gk.kpi_id = 'UPF.07' THEN gk.VALUE ELSE 0 END ) AS 'UPF.07', - sum( CASE WHEN gk.kpi_id = 'UPF.08' THEN gk.VALUE ELSE 0 END ) AS 'UPF.08', - sum( CASE WHEN gk.kpi_id = 'UPF.09' THEN gk.VALUE ELSE 0 END ) AS 'UPF.09', - sum( CASE WHEN gk.kpi_id = 'UPF.10' THEN gk.VALUE ELSE 0 END ) AS 'UPF.10', - sum( CASE WHEN gk.kpi_id = 'UPF.14' THEN gk.VALUE ELSE 0 END ) AS 'UPF.14', - sum( CASE WHEN gk.kpi_id = 'UPF.11' THEN gk.VALUE ELSE 0 END ) AS 'UPF.11', - sum( CASE WHEN gk.kpi_id = 'UPF.12' THEN gk.VALUE ELSE 0 END ) AS 'UPF.12', - sum( CASE WHEN gk.kpi_id = 'UPF.13' THEN gk.VALUE ELSE 0 END ) AS 'UPF.13', - sum( CASE WHEN gk.kpi_id = 'UPF.15' THEN gk.VALUE ELSE 0 END ) AS 'UPF.15' -FROM - kpi_report_upf gk -WHERE - gk.rm_uid = '4400HX1UPF001' - AND gk.date = "2024-04-26" - AND gk.start_time >= '00:00:00' - AND gk.start_time <= '23:59:59' -GROUP BY - timeGroup -ORDER BY - timeGroup DESC - - - -SELECT - CONCAT( - DATE_FORMAT( gk.start_time, '%H:' ), - LPAD( FLOOR( MINUTE ( gk.start_time ) / 15 ) * 15, 2, '0' ) - ) AS timeGroup, - min( CASE WHEN gk.INDEX != '' THEN gk.INDEX ELSE 0 END ) AS startIndex, - min( CASE WHEN gk.ne_name != '' THEN gk.ne_name ELSE 0 END ) AS neName, - SUM(CASE WHEN JSON_EXTRACT(gk.kpi_values, '$[0].kpi_id') = "UPF.01" THEN JSON_EXTRACT(gk.kpi_values, '$[0].value') ELSE 0 END) AS 'UPF.01', - SUM(CASE WHEN JSON_EXTRACT(gk.kpi_values, '$[1].kpi_id') = "UPF.02" THEN JSON_EXTRACT(gk.kpi_values, '$[1].value') ELSE 0 END) AS 'UPF.02', - SUM(CASE WHEN JSON_EXTRACT(gk.kpi_values, '$[2].kpi_id') = "UPF.03" THEN JSON_EXTRACT(gk.kpi_values, '$[2].value') ELSE 0 END) AS 'UPF.03' -FROM - kpi_report_upf gk -WHERE - gk.rm_uid = '4400HX1UPF001' - AND gk.date = "2024-05-08" - AND gk.start_time >= '10:55:00' - AND gk.start_time <= '23:59:59' -GROUP BY - timeGroup -ORDER BY - timeGroup DESC - - -SELECT - CONCAT( - DATE_FORMAT( gk.start_time, '%H:' ), - LPAD( FLOOR( MINUTE ( gk.start_time ) / 15 ) * 15, 2, '0' ) - ) AS timeGroup, - min( CASE WHEN gk.INDEX != '' THEN gk.INDEX ELSE 0 END ) AS startIndex, - min( CASE WHEN gk.ne_name != '' THEN gk.ne_name ELSE 0 END ) AS neName, - SUM(JSON_EXTRACT(gk.kpi_values, '$[0].`UPF.01`')) AS 'UPF.01', - SUM(JSON_EXTRACT(gk.kpi_values, '$[1].`UPF.02`')) AS 'UPF.02', - SUM(JSON_EXTRACT(gk.kpi_values, '$[2].`UPF.03`')) AS 'UPF.03' -FROM - kpi_report_upf gk -WHERE - gk.rm_uid = '4400HX1UPF001' - AND gk.date = "2024-05-08" - AND gk.start_time >= '10:53:00' - AND gk.start_time <= '10:59:59' -GROUP BY - timeGroup -ORDER BY - timeGroup DESC - - -SELECT - min( CASE WHEN gk.INDEX != '' THEN gk.INDEX ELSE 0 END ) AS startIndex, - min( CASE WHEN gk.ne_name != '' THEN gk.ne_name ELSE 0 END ) AS neName, - SUM(CASE WHEN JSON_EXTRACT(gk.kpi_values, '$[*].kpi_id') = 'UPF.01' THEN JSON_EXTRACT(gk.kpi_values, '$[*].value') ELSE 0 END) AS 'UPF.01', - SUM(CASE WHEN JSON_EXTRACT(gk.kpi_values, '$[*].kpi_id') = 'UPF.02' THEN JSON_EXTRACT(gk.kpi_values, '$[*].value') ELSE 0 END) AS 'UPF.02', - SUM(CASE WHEN JSON_EXTRACT(gk.kpi_values, '$[*].kpi_id') = 'UPF.03' THEN JSON_EXTRACT(gk.kpi_values, '$[*].value') ELSE 0 END) AS 'UPF.03' -FROM - kpi_report_upf gk -WHERE - gk.rm_uid = '4400HX1UPF001' - AND gk.date = "2024-05-03" - AND gk.start_time >= '00:00:00' - AND gk.start_time <= '23:59:59' - - -SELECT - CONCAT( DATE_FORMAT(CONCAT(gk.`date`, " ", gk.start_time), '%Y-%m-%d %H:'), LPAD(FLOOR(MINUTE(gk.start_time) / 15) * 15, 2, '0') ) AS timeGroup, - min(CASE WHEN gk.index != '' THEN gk.index ELSE 0 END) AS startIndex, - min(CASE WHEN gk.ne_type != '' THEN gk.ne_type ELSE 0 END) AS neType, - min(CASE WHEN gk.ne_name != '' THEN gk.ne_name ELSE 0 END) AS neName, - sum(CASE WHEN JSON_EXTRACT(gk.kpi_values, '$[0].kpi_id') = 'UPF.01' THEN JSON_EXTRACT(gk.kpi_values, '$[0].value') ELSE 0 END) AS 'UPF.01', - sum(CASE WHEN JSON_EXTRACT(gk.kpi_values, '$[1].kpi_id') = 'UPF.02' THEN JSON_EXTRACT(gk.kpi_values, '$[1].value') ELSE 0 END) AS 'UPF.02', - sum(CASE WHEN JSON_EXTRACT(gk.kpi_values, '$[2].kpi_id') = 'UPF.03' THEN JSON_EXTRACT(gk.kpi_values, '$[2].value') ELSE 0 END) AS 'UPF.03', - sum(CASE WHEN JSON_EXTRACT(gk.kpi_values, '$[3].kpi_id') = 'UPF.04' THEN JSON_EXTRACT(gk.kpi_values, '$[3].value') ELSE 0 END) AS 'UPF.04', - sum(CASE WHEN JSON_EXTRACT(gk.kpi_values, '$[4].kpi_id') = 'UPF.05' THEN JSON_EXTRACT(gk.kpi_values, '$[4].value') ELSE 0 END) AS 'UPF.05', - sum(CASE WHEN JSON_EXTRACT(gk.kpi_values, '$[5].kpi_id') = 'UPF.06' THEN JSON_EXTRACT(gk.kpi_values, '$[5].value') ELSE 0 END) AS 'UPF.06', - sum(CASE WHEN JSON_EXTRACT(gk.kpi_values, '$[6].kpi_id') = 'UPF.07' THEN JSON_EXTRACT(gk.kpi_values, '$[6].value') ELSE 0 END) AS 'UPF.07', - sum(CASE WHEN JSON_EXTRACT(gk.kpi_values, '$[7].kpi_id') = 'UPF.08' THEN JSON_EXTRACT(gk.kpi_values, '$[7].value') ELSE 0 END) AS 'UPF.08', - sum(CASE WHEN JSON_EXTRACT(gk.kpi_values, '$[8].kpi_id') = 'UPF.09' THEN JSON_EXTRACT(gk.kpi_values, '$[8].value') ELSE 0 END) AS 'UPF.09', - sum(CASE WHEN JSON_EXTRACT(gk.kpi_values, '$[9].kpi_id') = 'UPF.10' THEN JSON_EXTRACT(gk.kpi_values, '$[9].value') ELSE 0 END) AS 'UPF.10' -FROM kpi_report_upf gk -where gk.rm_uid = '4400HX1UPF001' and gk.ne_type = 'UPF' and CONCAT(gk.`date`, " ", gk.start_time) >= '2024-05-08 10:00:00' and CONCAT(gk.`date`, " ", gk.start_time) <= '2024-05-08 23:59:59' -GROUP BY timeGroup order by timeGroup desc - - - -DELETE t1 -FROM ne_state t1 -JOIN ( -SELECT `timestamp` -FROM ne_state where ne_type='upf' -ORDER BY id DESC -LIMIT 999999 OFFSET 3 -) t2 ON t1.`timestamp` = t2.`timestamp` and ne_type='upf'; - - -select count(1) from ne_state where ne_type='upf' - - -CREATE TABLE IF NOT EXISTS kpi_report_test AS SELECT * FROM kpi_report WHERE 1=0;ALTER TABLE kpi_report_test MODIFY COLUMN `id` int(11) NOT NULL AUTO_INCREMENT FIRST,ADD PRIMARY KEY IF NOT EXISTS (`id`); - -ALTER TABLE kpi_report_ims MODIFY COLUMN `id` int(11) NOT NULL AUTO_INCREMENT FIRST,ADD PRIMARY KEY IF NOT EXISTS (`id`) - -SELECT * FROM kpi_report WHERE 1=0 \ No newline at end of file diff --git a/database/common/menu.sql b/database/common/menu.sql deleted file mode 100644 index 508c9902..00000000 --- a/database/common/menu.sql +++ /dev/null @@ -1,55 +0,0 @@ --- MariaDB dump 10.19 Distrib 10.6.16-MariaDB, for debian-linux-gnu (x86_64) --- --- Host: 192.168.2.219 Database: omc_db --- ------------------------------------------------------ --- Server version 10.3.38-MariaDB - -/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; -/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; -/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; -/*!40101 SET NAMES utf8mb4 */; -/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; -/*!40103 SET TIME_ZONE='+00:00' */; -/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; -/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; -/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; -/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; - --- --- Table structure for table `menu` --- - -DROP TABLE IF EXISTS `menu`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `menu` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `group_name` varchar(16) DEFAULT NULL, - `menu_tag` varchar(64) DEFAULT '', - `sort_id` int(11) DEFAULT NULL, - `lang_tag` varchar(16) DEFAULT NULL, - `menu_json` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL, - PRIMARY KEY (`id`) USING BTREE -) ENGINE=InnoDB AUTO_INCREMENT=77 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `menu` --- - -LOCK TABLES `menu` WRITE; -/*!40000 ALTER TABLE `menu` DISABLE KEYS */; -INSERT INTO `menu` VALUES (1,'manager','topologyManagement',1,'cn','{\r\n \"id\": 1,\r\n \"href\": null,\r\n \"icon\": \"fa fa-home\",\r\n \"child\": [\r\n {\r\n \"id\": 3,\r\n \"href\": \"page/main/main.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"网元状态\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },\r\n {\r\n \"id\": 4,\r\n \"href\": \"page/system/performanceCount.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"运行统计\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }\r\n ],\r\n \"title\": \"系统状态\",\r\n \"target\": null,\r\n \"parentId\": 0\r\n}'),(2,'manager','faultManagement',2,'cn','{\r\n \"id\": 1,\r\n \"href\": \"\",\r\n \"icon\": \"fa fa-wrench\",\r\n \"child\": [{\r\n \"id\": 2,\r\n \"href\": \"page/alarm/alarmListDown.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"活动告警\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 3,\r\n \"href\": \"page/alarm/AlarmListHistory.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"历史告警\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 4,\r\n \"href\": \"page/alarm/alarmInfoConfig.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"告警设置\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n } ,{\r\n \"id\": 6,\r\n \"href\": \"page/alarm/synchronous.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"定时同步设置\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 5,\r\n \"href\": \"page/alarm/alarmForwarding.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"告警前转\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }],\r\n \"title\": \"故障管理\",\r\n \"target\": null,\r\n \"parentId\": 0\r\n}'),(3,'manager','systemManagement',3,'cn','{\r\n \"id\": 1,\r\n \"href\": null,\r\n \"icon\": \"fa fa-pencil-square-o\",\r\n \"child\": [{\r\n \"id\": 2,\r\n \"href\": \"page/nfManage/list.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"网元管理\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 3,\r\n \"href\": \"page/configParam/list.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"参数配置\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 4,\r\n \"href\": \"page/softwareManage/softwareManage.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"软件管理\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 5,\r\n \"href\": \"page/softwareManage/backupManage.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"备份管理\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }],\r\n \"title\": \"配置管理\",\r\n \"target\": null,\r\n \"parentId\": 0\r\n}'),(4,'manager','performanceManagement',4,'cn','{\r\n \"id\": 1,\r\n \"href\": null,\r\n \"icon\": \"fa fa-line-chart\",\r\n \"child\": [{\r\n \"id\": 1,\r\n \"href\": \"page/task/list.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"任务管理\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 2,\r\n \"href\": \"page/repair/list.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"性能数据\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 5,\r\n \"href\": \"page/task/perfReport.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"性能报表\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },\r\n {\r\n \"id\": 4,\r\n \"href\": \"page/task/threshold.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"性能门限\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 6,\r\n \"href\": \"page/gold/list.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"黄金指标\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 7,\r\n \"href\": \"page/task/perfReportSet.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"性能通用设置\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 8,\r\n \"href\": \"page/indicators/list.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"自定义指标\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }\r\n ],\r\n \"title\": \"性能管理\",\r\n \"target\": null,\r\n \"parentId\": 0\r\n}'),(5,'manager','operationMaintenance',5,'cn','{\r\n \"id\": 1,\r\n \"title\": \"操作维护\",\r\n \"icon\": \"fa fa-gear\",\r\n \"href\": null,\r\n \"target\": null,\r\n \"parentId\": 0,\r\n \"child\": [\r\n{\r\n \"id\": 4,\r\n \"title\": \"操作维护MML\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"href\": \"page/mml/omcList.html\",\r\n \"target\": null,\r\n \"parentId\": 1,\r\n \"child\": null\r\n },\r\n \r\n {\r\n \"id\": 2,\r\n \"title\": \"网元操作MML\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"href\": \"page/mml/list.html\",\r\n \"target\": null,\r\n \"parentId\": 1,\r\n \"child\": null\r\n },\r\n {\r\n \"id\": 3,\r\n \"title\": \"用户数据MML\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"href\": \"page/mml/udmList.html\",\r\n \"target\": null,\r\n \"parentId\": 1,\r\n \"child\": null\r\n }\r\n ]\r\n}'),(6,'manager','traceManagement',6,'cn','{\r\n \"id\": 1,\r\n \"title\": \"跟踪管理\",\r\n \"icon\": \"fa fa-home\",\r\n \"href\": null,\r\n \"target\": null,\r\n \"parentId\": 0,\r\n \"child\": [{\r\n \"id\": 2,\r\n \"title\": \"跟踪任务\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"href\": \"page/trace/taskList.html\",\r\n \"target\": null,\r\n \"parentId\": 1,\r\n \"child\": null\r\n },\r\n {\r\n \"id\": 3,\r\n \"title\": \"信令分析\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"href\": \"page/trace/traceShow.html\",\r\n \"target\": null,\r\n \"parentId\": 1,\r\n \"child\": null\r\n }\r\n ]\r\n}'),(7,'manager','logManagement',7,'cn','{\r\n \"id\": 1,\r\n \"href\": null,\r\n \"icon\": \"fa fa-newspaper-o\",\r\n \"child\": [{\r\n \"id\": 2,\r\n \"href\": \"page/log/operLogList.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"操作日志\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 8,\r\n \"href\": \"page/log/nbiOperLogList.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"北向操作日志\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 0,\r\n \"href\": \"page/log/mmlOperLogList.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"mml操作日志\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 4,\r\n \"href\": \"page/log/alarmLogList.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"告警日志\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 6,\r\n \"href\": \"page/log/securityLogList.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"安全日志\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 7,\r\n \"href\": \"page/log/forwardingLog.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"告警前转日志\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 8,\r\n \"href\": \"page/log/nbiAlarmLog.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"北向告警日志\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 5,\r\n \"href\": \"page/log/logSet.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"日志通用管理\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }],\r\n \"title\": \"日志管理\",\r\n \"target\": null,\r\n \"parentId\": 0\r\n\r\n}'),(8,'manager','securityManagement',8,'cn','{\r\n \"id\": 1,\r\n \"href\": null,\r\n \"icon\": \"fa fa-users\",\r\n \"child\": [\r\n {\r\n \"id\": 2,\r\n \"href\": \"page/user/list.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"用户管理\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 3,\r\n \"href\": \"page/user/online.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"在线状态\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 4,\r\n \"href\": \"page/group/list.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"用户组管理\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 5,\r\n \"href\": \"page/user/securityPolicy.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"安全策略\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }\r\n ],\r\n \"title\": \"安全管理\",\r\n \"target\": null,\r\n \"parentId\": 0\r\n}'),(18,'operator','topologyManagement',1,'cn','{\r\n \"id\": 1,\r\n \"href\": null,\r\n \"icon\": \"fa fa-home\",\r\n \"child\": [\r\n {\r\n \"id\": 3,\r\n \"href\": \"page/main/main.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"网元状态\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },\r\n {\r\n \"id\": 4,\r\n \"href\": \"page/system/performanceCount.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"运行统计\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }\r\n ],\r\n \"title\": \"系统状态\",\r\n \"target\": null,\r\n \"parentId\": 0\r\n}'),(19,'operator','faultManagement',2,'cn','{\r\n \"id\": 1,\r\n \"href\": \"\",\r\n \"icon\": \"fa fa-wrench\",\r\n \"child\": [{\r\n \"id\": 2,\r\n \"href\": \"page/alarm/alarmListDown.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"活动告警\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 3,\r\n \"href\": \"page/alarm/AlarmListHistory.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"历史告警\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 4,\r\n \"href\": \"page/alarm/alarmInfoConfig.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"告警设置\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n } ,{\r\n \"id\": 6,\r\n \"href\": \"page/alarm/synchronous.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"定时同步设置\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 5,\r\n \"href\": \"page/alarm/alarmForwarding.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"告警前转\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }],\r\n \"title\": \"故障管理\",\r\n \"target\": null,\r\n \"parentId\": 0\r\n}'),(20,'operator','systemManagement',3,'cn','{\r\n \"id\": 1,\r\n \"href\": null,\r\n \"icon\": \"fa fa-pencil-square-o\",\r\n \"child\": [{\r\n \"id\": 2,\r\n \"href\": \"page/nfManage/list.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"网元管理\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 3,\r\n \"href\": \"page/configParam/list.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"参数配置\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 4,\r\n \"href\": \"page/softwareManage/softwareManage.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"软件管理\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 5,\r\n \"href\": \"page/softwareManage/backupManage.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"备份管理\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }],\r\n \"title\": \"配置管理\",\r\n \"target\": null,\r\n \"parentId\": 0\r\n}'),(21,'operator','performanceManagement',4,'cn','{\r\n \"id\": 1,\r\n \"href\": null,\r\n \"icon\": \"fa fa-line-chart\",\r\n \"child\": [{\r\n \"id\": 1,\r\n \"href\": \"page/task/list.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"任务管理\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 2,\r\n \"href\": \"page/repair/list.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"性能数据\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 5,\r\n \"href\": \"page/task/perfReport.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"性能报表\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },\r\n {\r\n \"id\": 4,\r\n \"href\": \"page/task/threshold.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"性能门限\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 6,\r\n \"href\": \"page/gold/list.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"黄金指标\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 7,\r\n \"href\": \"page/task/perfReportSet.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"性能通用设置\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 8,\r\n \"href\": \"page/indicators/list.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"自定义指标\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }\r\n ],\r\n \"title\": \"性能管理\",\r\n \"target\": null,\r\n \"parentId\": 0\r\n}'),(22,'operator','operationMaintenance',5,'cn','{\r\n \"id\": 1,\r\n \"title\": \"操作维护\",\r\n \"icon\": \"fa fa-gear\",\r\n \"href\": null,\r\n \"target\": null,\r\n \"parentId\": 0,\r\n \"child\": [\r\n{\r\n \"id\": 4,\r\n \"title\": \"操作维护MML\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"href\": \"page/mml/omcList.html\",\r\n \"target\": null,\r\n \"parentId\": 1,\r\n \"child\": null\r\n },\r\n \r\n {\r\n \"id\": 2,\r\n \"title\": \"网元操作MML\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"href\": \"page/mml/list.html\",\r\n \"target\": null,\r\n \"parentId\": 1,\r\n \"child\": null\r\n },\r\n {\r\n \"id\": 3,\r\n \"title\": \"用户数据MML\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"href\": \"page/mml/udmList.html\",\r\n \"target\": null,\r\n \"parentId\": 1,\r\n \"child\": null\r\n }\r\n ]\r\n}'),(31,'operator','traceManagement',6,'cn','{\r\n \"id\": 1,\r\n \"title\": \"跟踪管理\",\r\n \"icon\": \"fa fa-home\",\r\n \"href\": null,\r\n \"target\": null,\r\n \"parentId\": 0,\r\n \"child\": [{\r\n \"id\": 2,\r\n \"title\": \"跟踪任务\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"href\": \"page/trace/taskList.html\",\r\n \"target\": null,\r\n \"parentId\": 1,\r\n \"child\": null\r\n },\r\n {\r\n \"id\": 3,\r\n \"title\": \"信令分析\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"href\": \"page/trace/traceShow.html\",\r\n \"target\": null,\r\n \"parentId\": 1,\r\n \"child\": null\r\n }\r\n ]\r\n}'),(32,'operator','logManagement',7,'cn','{\r\n \"id\": 1,\r\n \"href\": null,\r\n \"icon\": \"fa fa-newspaper-o\",\r\n \"child\": [{\r\n \"id\": 2,\r\n \"href\": \"page/log/operLogList.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"操作日志\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 8,\r\n \"href\": \"page/log/nbiOperLogList.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"北向操作日志\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 0,\r\n \"href\": \"page/log/mmlOperLogList.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"mml操作日志\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 4,\r\n \"href\": \"page/log/alarmLogList.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"告警日志\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 6,\r\n \"href\": \"page/log/securityLogList.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"安全日志\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 7,\r\n \"href\": \"page/log/forwardingLog.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"告警前转日志\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 8,\r\n \"href\": \"page/log/nbiAlarmLog.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"北向告警日志\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 5,\r\n \"href\": \"page/log/logSet.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"日志通用管理\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }],\r\n \"title\": \"日志管理\",\r\n \"target\": null,\r\n \"parentId\": 0\r\n\r\n}'),(33,'operator','securityManagement',8,'cn','{\r\n \"id\": 1,\r\n \"href\": null,\r\n \"icon\": \"fa fa-users\",\r\n \"child\": [\r\n {\r\n \"id\": 2,\r\n \"href\": \"page/user/list.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"用户管理\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 3,\r\n \"href\": \"page/user/online.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"在线状态\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 4,\r\n \"href\": \"page/group/list.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"用户组管理\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }\r\n ],\r\n \"title\": \"安全管理\",\r\n \"target\": null,\r\n \"parentId\": 0\r\n}'),(34,'user','topologyManagement',1,'cn','{\r\n \"id\": 1,\r\n \"href\": null,\r\n \"icon\": \"fa fa-home\",\r\n \"child\": [\r\n {\r\n \"id\": 3,\r\n \"href\": \"page/main/main.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"网元状态\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }\r\n ],\r\n \"title\": \"系统状态\",\r\n \"target\": null,\r\n \"parentId\": 0\r\n}'),(40,'test','logManagement',7,'cn','{\r\n \"id\": 1,\r\n \"href\": null,\r\n \"icon\": \"fa fa-newspaper-o\",\r\n \"child\": [{\r\n \"id\": 2,\r\n \"href\": \"page/log/operLogList.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"操作日志\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 4,\r\n \"href\": \"page/log/alarmLogList.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"告警日志\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 6,\r\n \"href\": \"page/log/securityLogList.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"安全日志\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }],\r\n \"title\": \"日志管理\",\r\n \"target\": null,\r\n \"parentId\": 0\r\n\r\n}'),(42,'test','topologyManagement',1,'cn','{\r\n \"id\": 1,\r\n \"href\": null,\r\n \"icon\": \"fa fa-home\",\r\n \"child\": [\r\n {\r\n \"id\": 3,\r\n \"href\": \"page/main/main.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"网元状态\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },\r\n {\r\n \"id\": 4,\r\n \"href\": \"page/system/performanceCount.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"运行统计\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }\r\n ],\r\n \"title\": \"系统状态\",\r\n \"target\": null,\r\n \"parentId\": 0\r\n}'),(43,'test','faultManagement',2,'cn','{\r\n \"id\": 1,\r\n \"href\": \"\",\r\n \"icon\": \"fa fa-wrench\",\r\n \"child\": [{\r\n \"id\": 2,\r\n \"href\": \"page/alarm/alarmListDown.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"活动告警\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 3,\r\n \"href\": \"page/alarm/AlarmListHistory.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"历史告警\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 4,\r\n \"href\": \"page/alarm/alarmInfoConfig.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"告警设置\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n } ,{\r\n \"id\": 6,\r\n \"href\": \"page/alarm/synchronous.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"定时同步设置\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 5,\r\n \"href\": \"page/alarm/alarmForwarding.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"告警前转\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }],\r\n \"title\": \"故障管理\",\r\n \"target\": null,\r\n \"parentId\": 0\r\n}'),(44,'test','systemManagement',3,'cn','{\r\n \"id\": 1,\r\n \"href\": null,\r\n \"icon\": \"fa fa-pencil-square-o\",\r\n \"child\": [{\r\n \"id\": 2,\r\n \"href\": \"page/nfManage/list.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"网元管理\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 3,\r\n \"href\": \"page/configParam/list.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"参数配置\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 4,\r\n \"href\": \"page/softwareManage/softwareManage.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"软件管理\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 5,\r\n \"href\": \"page/softwareManage/backupManage.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"备份管理\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }],\r\n \"title\": \"配置管理\",\r\n \"target\": null,\r\n \"parentId\": 0\r\n}'),(45,'test','performanceManagement',4,'cn','{\r\n \"id\": 1,\r\n \"href\": null,\r\n \"icon\": \"fa fa-line-chart\",\r\n \"child\": [{\r\n \"id\": 1,\r\n \"href\": \"page/task/list.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"任务管理\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 2,\r\n \"href\": \"page/repair/list.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"性能数据\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 5,\r\n \"href\": \"page/task/perfReport.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"性能报表\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },\r\n {\r\n \"id\": 4,\r\n \"href\": \"page/task/threshold.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"性能门限\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 6,\r\n \"href\": \"page/gold/list.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"黄金指标\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 7,\r\n \"href\": \"page/task/perfReportSet.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"性能通用设置\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 8,\r\n \"href\": \"page/indicators/list.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"自定义指标\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }\r\n ],\r\n \"title\": \"性能管理\",\r\n \"target\": null,\r\n \"parentId\": 0\r\n}'),(46,'user','operationMaintenance',5,'cn','{\r\n \"id\": 1,\r\n \"title\": \"操作维护\",\r\n \"icon\": \"fa fa-gear\",\r\n \"href\": null,\r\n \"target\": null,\r\n \"parentId\": 0,\r\n \"child\": [\r\n\r\n \r\n \r\n {\r\n \"id\": 3,\r\n \"title\": \"用户数据MML\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"href\": \"page/mml/udmList.html\",\r\n \"target\": null,\r\n \"parentId\": 1,\r\n \"child\": null\r\n }\r\n ]\r\n}'),(47,'test','traceManagement',6,'cn','{\r\n \"id\": 1,\r\n \"title\": \"跟踪管理\",\r\n \"icon\": \"fa fa-home\",\r\n \"href\": null,\r\n \"target\": null,\r\n \"parentId\": 0,\r\n \"child\": [{\r\n \"id\": 2,\r\n \"title\": \"跟踪任务\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"href\": \"page/trace/taskList.html\",\r\n \"target\": null,\r\n \"parentId\": 1,\r\n \"child\": null\r\n },\r\n {\r\n \"id\": 3,\r\n \"title\": \"信令分析\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"href\": \"page/trace/traceShow.html\",\r\n \"target\": null,\r\n \"parentId\": 1,\r\n \"child\": null\r\n }\r\n ]\r\n}'),(48,'oss','logManagement',7,'cn','{\r\n \"id\": 1,\r\n \"href\": null,\r\n \"icon\": \"fa fa-newspaper-o\",\r\n \"child\": [{\r\n \"id\": 2,\r\n \"href\": \"page/log/operLogList.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"操作日志\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 4,\r\n \"href\": \"page/log/alarmLogList.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"告警日志\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 6,\r\n \"href\": \"page/log/securityLogList.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"安全日志\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }],\r\n \"title\": \"日志管理\",\r\n \"target\": null,\r\n \"parentId\": 0\r\n\r\n}'),(49,'oss','securityManagement',8,'cn','{\r\n \"id\": 1,\r\n \"href\": null,\r\n \"icon\": \"fa fa-pencil-square-o\",\r\n \"child\": [{\r\n \"id\": 2,\r\n \"href\": \"page/nfManage/list.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"网元管理\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 3,\r\n \"href\": \"page/configParam/list.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"参数配置\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 4,\r\n \"href\": \"page/softwareManage/softwareManage.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"软件管理\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 5,\r\n \"href\": \"page/softwareManage/backupManage.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"备份管理\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 6,\r\n \"href\": \"page/configParam/configParamSet.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"配置参数设置\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }],\r\n \"title\": \"配置管理\",\r\n \"target\": null,\r\n \"parentId\": 0\r\n}'),(50,'admin','topologyManagement',1,'cn','{\r\n \"id\": 1,\r\n \"href\": null,\r\n \"icon\": \"fa fa-home\",\r\n \"child\": [\r\n {\r\n \"id\": 3,\r\n \"href\": \"page/main/main.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"网元状态\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },\r\n {\r\n \"id\": 4,\r\n \"href\": \"page/system/performanceCount.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"运行统计\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }\r\n ],\r\n \"title\": \"系统状态\",\r\n \"target\": null,\r\n \"parentId\": 0\r\n}'),(51,'admin','faultManagement',2,'cn','{\r\n \"id\": 1,\r\n \"href\": \"\",\r\n \"icon\": \"fa fa-wrench\",\r\n \"child\": [{\r\n \"id\": 2,\r\n \"href\": \"page/alarm/alarmListDown.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"活动告警\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 3,\r\n \"href\": \"page/alarm/AlarmListHistory.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"历史告警\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 4,\r\n \"href\": \"page/alarm/alarmInfoConfig.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"故障通用设置\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n } ,{\r\n \"id\": 6,\r\n \"href\": \"page/alarm/synchronous.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"定时同步设置\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 7,\r\n \"href\": \"page/alarm/healthCheck.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"健康状态检查\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 5,\r\n \"href\": \"page/alarm/alarmForwarding.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"告警前转\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }],\r\n \"title\": \"故障管理\",\r\n \"target\": null,\r\n \"parentId\": 0\r\n}'),(52,'admin','systemManagement',3,'cn','{\r\n \"id\": 1,\r\n \"href\": null,\r\n \"icon\": \"fa fa-pencil-square-o\",\r\n \"child\": [{\r\n \"id\": 2,\r\n \"href\": \"page/nfManage/list.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"网元管理\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 3,\r\n \"href\": \"page/configParam/list.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"参数配置\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 4,\r\n \"href\": \"page/softwareManage/softwareManage.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"软件管理\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 5,\r\n \"href\": \"page/softwareManage/backupManage.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"备份管理\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 6,\r\n \"href\": \"page/configParam/configParamSet.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"配置参数设置\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }],\r\n \"title\": \"配置管理\",\r\n \"target\": null,\r\n \"parentId\": 0\r\n}'),(53,'admin','performanceManagement',4,'cn','{\r\n \"id\": 1,\r\n \"href\": null,\r\n \"icon\": \"fa fa-line-chart\",\r\n \"child\": [{\r\n \"id\": 1,\r\n \"href\": \"page/task/list.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"任务管理\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 2,\r\n \"href\": \"page/repair/list.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"性能数据\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 5,\r\n \"href\": \"page/task/perfReport.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"性能报表\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },\r\n {\r\n \"id\": 4,\r\n \"href\": \"page/task/threshold.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"性能门限\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 6,\r\n \"href\": \"page/gold/list.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"黄金指标\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 7,\r\n \"href\": \"page/task/perfReportSet.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"性能通用设置\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 8,\r\n \"href\": \"page/indicators/list.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"自定义指标\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 9,\r\n \"href\": \"page/objectTemplate/list.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"对象模板\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 10,\r\n \"href\": \"page/indicators/measuringData.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"自定义测量数据\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }\r\n ],\r\n \"title\": \"性能管理\",\r\n \"target\": null,\r\n \"parentId\": 0\r\n}'),(54,'admin','operationMaintenance',5,'cn','{\r\n \"id\": 1,\r\n \"title\": \"操作维护\",\r\n \"icon\": \"fa fa-gear\",\r\n \"href\": null,\r\n \"target\": null,\r\n \"parentId\": 0,\r\n \"child\": [{\r\n \"id\": 1,\r\n \"title\": \"核心网池\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"href\": \"page/mml/poolList.html\",\r\n \"target\": null,\r\n \"parentId\": 1,\r\n \"child\": null\r\n },\r\n{\r\n \"id\": 4,\r\n \"title\": \"操作维护MML\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"href\": \"page/mml/omcList.html\",\r\n \"target\": null,\r\n \"parentId\": 1,\r\n \"child\": null\r\n },\r\n \r\n {\r\n \"id\": 2,\r\n \"title\": \"网元操作MML\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"href\": \"page/mml/list.html\",\r\n \"target\": null,\r\n \"parentId\": 1,\r\n \"child\": null\r\n },\r\n {\r\n \"id\": 3,\r\n \"title\": \"用户数据MML\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"href\": \"page/mml/udmList.html\",\r\n \"target\": null,\r\n \"parentId\": 1,\r\n \"child\": null\r\n },\r\n {\r\n \"id\": 4,\r\n \"title\": \"操作维护设置\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"href\": \"page/mml/mmlSet.html\",\r\n \"target\": null,\r\n \"parentId\": 1,\r\n \"child\": null\r\n }\r\n ]\r\n}'),(55,'admin','traceManagement',6,'cn','{\r\n \"id\": 1,\r\n \"title\": \"跟踪管理\",\r\n \"icon\": \"fa fa-home\",\r\n \"href\": null,\r\n \"target\": null,\r\n \"parentId\": 0,\r\n \"child\": [{\r\n \"id\": 2,\r\n \"title\": \"跟踪任务\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"href\": \"page/trace/taskList.html\",\r\n \"target\": null,\r\n \"parentId\": 1,\r\n \"child\": null\r\n },\r\n {\r\n \"id\": 3,\r\n \"title\": \"信令分析\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"href\": \"page/trace/traceShow.html\",\r\n \"target\": null,\r\n \"parentId\": 1,\r\n \"child\": null\r\n }\r\n ]\r\n}'),(56,'admin','logManagement',7,'cn','{\r\n \"id\": 1,\r\n \"href\": null,\r\n \"icon\": \"fa fa-newspaper-o\",\r\n \"child\": [{\r\n \"id\": 2,\r\n \"href\": \"page/log/operLogList.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"操作日志\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 0,\r\n \"href\": \"page/log/mmlOperLogList.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"mml操作日志\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 4,\r\n \"href\": \"page/log/alarmLogList.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"告警日志\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 6,\r\n \"href\": \"page/log/securityLogList.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"安全日志\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 7,\r\n \"href\": \"page/log/forwardingLog.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"告警前转日志\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 5,\r\n \"href\": \"page/log/logSet.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"日志通用管理\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 2,\r\n \"href\": \"page/log/systemLog.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"系统日志\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }],\r\n \"title\": \"日志管理\",\r\n \"target\": null,\r\n \"parentId\": 0\r\n\r\n}'),(57,'admin','securityManagement',8,'cn','{\r\n \"id\": 1,\r\n \"href\": null,\r\n \"icon\": \"fa fa-users\",\r\n \"child\": [\r\n {\r\n \"id\": 2,\r\n \"href\": \"page/user/list.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"用户管理\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 3,\r\n \"href\": \"page/user/online.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"在线状态\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 4,\r\n \"href\": \"page/group/list.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"用户组管理\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 5,\r\n \"href\": \"page/user/securityPolicy.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"安全策略\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 6,\r\n \"href\": \"page/menu/list.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"菜单管理\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }\r\n ],\r\n \"title\": \"安全管理\",\r\n \"target\": null,\r\n \"parentId\": 0\r\n}'),(58,'ne','operationMaintenance',1,'cn','{\r\n \"id\": 1,\r\n \"title\": \"操作维护\",\r\n \"icon\": \"fa fa-gear\",\r\n \"href\": null,\r\n \"target\": null,\r\n \"parentId\": 0,\r\n \"child\": [\r\n{\r\n \"id\": 4,\r\n \"title\": \"操作维护MML\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"href\": \"page/mml/omcList.html\",\r\n \"target\": null,\r\n \"parentId\": 1,\r\n \"child\": null\r\n },\r\n \r\n {\r\n \"id\": 2,\r\n \"title\": \"网元操作MML\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"href\": \"page/mml/list.html\",\r\n \"target\": null,\r\n \"parentId\": 1,\r\n \"child\": null\r\n },\r\n {\r\n \"id\": 3,\r\n \"title\": \"用户数据MML\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"href\": \"page/mml/udmList.html\",\r\n \"target\": null,\r\n \"parentId\": 1,\r\n \"child\": null\r\n }\r\n ]\r\n}'),(59,'admin','nbiManagement',9,'cn','{\r\n \"id\": 1,\r\n \"href\": null,\r\n \"icon\": \"fa fa-newspaper-o\",\r\n \"child\": [ {\r\n \"id\": 1,\r\n \"href\": \"page/log/nbiOperLogList.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"北向操作日志\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 2,\r\n \"href\": \"page/log/nbiAlarmLog.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"北向告警日志\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 3,\r\n \"href\": \"page/log/nbiSet.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"北向通用设置\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }],\r\n \"title\": \"北向管理\",\r\n \"target\": null,\r\n \"parentId\": 0\r\n\r\n}\r\n\r\n\r\n\r\n'),(60,'admin','systemManage',10,'cn','{\r\n \"id\": 1,\r\n \"href\": null,\r\n \"icon\": \"fa fa-newspaper-o\",\r\n \"child\": [ {\r\n \"id\": 1,\r\n \"href\": \"page/systemManage/systemOperation.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"系统维护\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 2,\r\n \"href\": \"page/systemManage/stabilityEvents.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"稳定性事件列表\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 2,\r\n \"href\": \"page/systemManage/stabilityReports.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"稳定性统计报告\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 3,\r\n \"href\": \"page/systemManage/systemBackup.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"系统备份\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 3,\r\n \"href\": \"page/systemManage/systemExtended.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"系统可扩展\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 4,\r\n \"href\": \"page/systemManage/certificateManage.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"证书管理\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }],\r\n \"title\": \"系统管理\",\r\n \"target\": null,\r\n \"parentId\": 0\r\n\r\n}'),(61,'admin','realTopologyManagement',10,'cn','{\r\n \"id\": 1,\r\n \"href\": null,\r\n \"icon\": \"fa fa-newspaper-o\",\r\n \"child\": [ {\r\n \"id\": 1,\r\n \"href\": \"page/topology/topologyList.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"拓扑视图\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }],\r\n \"title\": \"拓扑管理\",\r\n \"target\": null,\r\n \"parentId\": 0\r\n\r\n}\r\n\r\n\r\n\r\n'),(62,'admin','reportManagement',11,'cn','{\r\n \"id\": 1,\r\n \"href\": null,\r\n \"icon\": \"fa fa-newspaper-o\",\r\n \"child\": [ {\r\n \"id\": 1,\r\n \"href\": \"page/alarm/overview.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"报表界面1\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 4,\r\n \"href\": \"page/report/script-mgmt.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"报表界面4\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }],\r\n \"title\": \"报表管理\",\r\n \"target\": null,\r\n \"parentId\": 0\r\n\r\n}\r\n\r\n\r\n\r\n'),(63,'admin','sliceManagement',12,'cn','{\r\n \"id\": 1,\r\n \"href\": null,\r\n \"icon\": \"fa fa-newspaper-o\",\r\n \"child\": [ {\r\n \"id\": 1,\r\n \"href\": \"page/slice/sliceList.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"切片界面1\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 2,\r\n \"href\": \"page/slice/sliceList2.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"切片界面2\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 3,\r\n \"href\": \"page/slice/sliceList3.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"切片界面3\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 4,\r\n \"href\": \"page/slice/sliceList4.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"切片界面4\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }],\r\n \"title\": \"切片子网管理\",\r\n \"target\": null,\r\n \"parentId\": 0\r\n\r\n}\r\n\r\n\r\n\r\n'),(64,'omc','topologyManagement',1,'cn','{\r\n \"id\": 1,\r\n \"href\": null,\r\n \"icon\": \"fa fa-home\",\r\n \"child\": [\r\n {\r\n \"id\": 3,\r\n \"href\": \"page/main/main.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"网元状态\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },\r\n {\r\n \"id\": 4,\r\n \"href\": \"page/system/performanceCount.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"运行统计\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }\r\n ],\r\n \"title\": \"系统状态\",\r\n \"target\": null,\r\n \"parentId\": 0\r\n}'),(65,'omc','faultManagement',2,'cn','{\r\n \"id\": 1,\r\n \"href\": \"\",\r\n \"icon\": \"fa fa-wrench\",\r\n \"child\": [{\r\n \"id\": 2,\r\n \"href\": \"page/alarm/alarmListDown.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"活动告警\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 3,\r\n \"href\": \"page/alarm/AlarmListHistory.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"历史告警\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 4,\r\n \"href\": \"page/alarm/alarmInfoConfig.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"故障通用设置\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n } ,{\r\n \"id\": 6,\r\n \"href\": \"page/alarm/synchronous.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"定时同步设置\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 7,\r\n \"href\": \"page/alarm/healthCheck.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"健康状态检查\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 5,\r\n \"href\": \"page/alarm/alarmForwarding.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"告警前转\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }],\r\n \"title\": \"故障管理\",\r\n \"target\": null,\r\n \"parentId\": 0\r\n}'),(66,'omc','systemManagement',3,'cn','{\r\n \"id\": 1,\r\n \"href\": null,\r\n \"icon\": \"fa fa-pencil-square-o\",\r\n \"child\": [{\r\n \"id\": 2,\r\n \"href\": \"page/nfManage/list.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"网元管理\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 3,\r\n \"href\": \"page/configParam/list.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"参数配置\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 4,\r\n \"href\": \"page/softwareManage/softwareManage.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"软件管理\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 5,\r\n \"href\": \"page/softwareManage/backupManage.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"备份管理\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }],\r\n \"title\": \"配置管理\",\r\n \"target\": null,\r\n \"parentId\": 0\r\n}'),(67,'omc','performanceManagement',4,'cn','{\r\n \"id\": 1,\r\n \"href\": null,\r\n \"icon\": \"fa fa-line-chart\",\r\n \"child\": [{\r\n \"id\": 1,\r\n \"href\": \"page/task/list.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"任务管理\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 2,\r\n \"href\": \"page/repair/list.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"性能数据\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 5,\r\n \"href\": \"page/task/perfReport.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"性能报表\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },\r\n {\r\n \"id\": 4,\r\n \"href\": \"page/task/threshold.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"性能门限\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 6,\r\n \"href\": \"page/gold/list.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"黄金指标\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 7,\r\n \"href\": \"page/task/perfReportSet.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"性能通用设置\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 8,\r\n \"href\": \"page/indicators/list.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"自定义指标\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 9,\r\n \"href\": \"page/objectTemplate/list.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"对象模板\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 10,\r\n \"href\": \"page/indicators/measuringData.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"自定义测量数据\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }\r\n ],\r\n \"title\": \"性能管理\",\r\n \"target\": null,\r\n \"parentId\": 0\r\n}'),(68,'omc','operationMaintenance',5,'cn','{\r\n \"id\": 1,\r\n \"title\": \"操作维护\",\r\n \"icon\": \"fa fa-gear\",\r\n \"href\": null,\r\n \"target\": null,\r\n \"parentId\": 0,\r\n \"child\": [{\r\n \"id\": 1,\r\n \"title\": \"核心网池\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"href\": \"page/mml/poolList.html\",\r\n \"target\": null,\r\n \"parentId\": 1,\r\n \"child\": null\r\n },\r\n{\r\n \"id\": 4,\r\n \"title\": \"操作维护MML\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"href\": \"page/mml/omcList.html\",\r\n \"target\": null,\r\n \"parentId\": 1,\r\n \"child\": null\r\n },\r\n \r\n {\r\n \"id\": 2,\r\n \"title\": \"网元操作MML\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"href\": \"page/mml/list.html\",\r\n \"target\": null,\r\n \"parentId\": 1,\r\n \"child\": null\r\n },\r\n {\r\n \"id\": 3,\r\n \"title\": \"用户数据MML\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"href\": \"page/mml/udmList.html\",\r\n \"target\": null,\r\n \"parentId\": 1,\r\n \"child\": null\r\n },\r\n {\r\n \"id\": 4,\r\n \"title\": \"操作维护设置\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"href\": \"page/mml/mmlSet.html\",\r\n \"target\": null,\r\n \"parentId\": 1,\r\n \"child\": null\r\n }\r\n ]\r\n}'),(69,'omc','traceManagement',6,'cn','{\r\n \"id\": 1,\r\n \"title\": \"跟踪管理\",\r\n \"icon\": \"fa fa-home\",\r\n \"href\": null,\r\n \"target\": null,\r\n \"parentId\": 0,\r\n \"child\": [{\r\n \"id\": 2,\r\n \"title\": \"跟踪任务\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"href\": \"page/trace/taskList.html\",\r\n \"target\": null,\r\n \"parentId\": 1,\r\n \"child\": null\r\n },\r\n {\r\n \"id\": 3,\r\n \"title\": \"信令分析\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"href\": \"page/trace/traceShow.html\",\r\n \"target\": null,\r\n \"parentId\": 1,\r\n \"child\": null\r\n }\r\n ]\r\n}'),(70,'omc','logManagement',7,'cn','{\r\n \"id\": 1,\r\n \"href\": null,\r\n \"icon\": \"fa fa-newspaper-o\",\r\n \"child\": [{\r\n \"id\": 2,\r\n \"href\": \"page/log/operLogList.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"操作日志\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 0,\r\n \"href\": \"page/log/mmlOperLogList.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"mml操作日志\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 4,\r\n \"href\": \"page/log/alarmLogList.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"告警日志\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 6,\r\n \"href\": \"page/log/securityLogList.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"安全日志\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 7,\r\n \"href\": \"page/log/forwardingLog.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"告警前转日志\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 5,\r\n \"href\": \"page/log/logSet.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"日志通用管理\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }],\r\n \"title\": \"日志管理\",\r\n \"target\": null,\r\n \"parentId\": 0\r\n\r\n}'),(71,'omc','securityManagement',8,'cn','{\r\n \"id\": 1,\r\n \"href\": null,\r\n \"icon\": \"fa fa-users\",\r\n \"child\": [\r\n {\r\n \"id\": 2,\r\n \"href\": \"page/user/list.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"用户管理\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 3,\r\n \"href\": \"page/user/online.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"在线状态\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 4,\r\n \"href\": \"page/group/list.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"用户组管理\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }\r\n ],\r\n \"title\": \"安全管理\",\r\n \"target\": null,\r\n \"parentId\": 0\r\n}'),(72,'omc','nbiManagement',9,'cn','{\r\n \"id\": 1,\r\n \"href\": null,\r\n \"icon\": \"fa fa-newspaper-o\",\r\n \"child\": [ {\r\n \"id\": 1,\r\n \"href\": \"page/log/nbiOperLogList.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"北向操作日志\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 2,\r\n \"href\": \"page/log/nbiAlarmLog.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"北向告警日志\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 3,\r\n \"href\": \"page/log/nbiSet.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"北向通用设置\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }],\r\n \"title\": \"北向管理\",\r\n \"target\": null,\r\n \"parentId\": 0\r\n\r\n}\r\n\r\n\r\n\r\n'),(73,'omc','systemManage',10,'cn','{\r\n \"id\": 1,\r\n \"href\": null,\r\n \"icon\": \"fa fa-newspaper-o\",\r\n \"child\": [ {\r\n \"id\": 1,\r\n \"href\": \"page/systemManage/systemOperation.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"系统维护\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 2,\r\n \"href\": \"page/systemManage/stabilityEvents.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"稳定性事件列表\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 2,\r\n \"href\": \"page/systemManage/stabilityReports.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"稳定性统计报告\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 3,\r\n \"href\": \"page/systemManage/systemBackup.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"系统备份\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 3,\r\n \"href\": \"page/systemManage/systemExtended.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"系统可扩展\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }],\r\n \"title\": \"系统管理\",\r\n \"target\": null,\r\n \"parentId\": 0\r\n\r\n}'),(74,'omc','realTopologyManagement',11,'cn','{\r\n \"id\": 1,\r\n \"href\": null,\r\n \"icon\": \"fa fa-newspaper-o\",\r\n \"child\": [ {\r\n \"id\": 1,\r\n \"href\": \"page/topology/topologyList.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"拓扑视图\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }],\r\n \"title\": \"拓扑管理\",\r\n \"target\": null,\r\n \"parentId\": 0\r\n\r\n}\r\n\r\n\r\n\r\n'),(75,'omc','reportManagement',12,'cn','{\r\n \"id\": 1,\r\n \"href\": null,\r\n \"icon\": \"fa fa-newspaper-o\",\r\n \"child\": [ {\r\n \"id\": 1,\r\n \"href\": \"page/alarm/overview.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"报表界面1\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 4,\r\n \"href\": \"page/report/script-mgmt.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"报表界面4\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }],\r\n \"title\": \"报表管理\",\r\n \"target\": null,\r\n \"parentId\": 0\r\n\r\n}\r\n\r\n\r\n\r\n'),(76,'omc','sliceManagement',13,'cn','{\r\n \"id\": 1,\r\n \"href\": null,\r\n \"icon\": \"fa fa-newspaper-o\",\r\n \"child\": [ {\r\n \"id\": 1,\r\n \"href\": \"page/slice/sliceList.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"切片界面1\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 2,\r\n \"href\": \"page/slice/sliceList2.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"切片界面2\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }, {\r\n \"id\": 3,\r\n \"href\": \"page/slice/sliceList3.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"切片界面3\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n },{\r\n \"id\": 4,\r\n \"href\": \"page/slice/sliceList4.html\",\r\n \"icon\": \"fa fa-caret-right\",\r\n \"child\": null,\r\n \"title\": \"切片界面4\",\r\n \"target\": null,\r\n \"parentId\": 1\r\n }],\r\n \"title\": \"切片子网管理\",\r\n \"target\": null,\r\n \"parentId\": 0\r\n\r\n}\r\n\r\n\r\n\r\n'); -/*!40000 ALTER TABLE `menu` ENABLE KEYS */; -UNLOCK TABLES; -/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; - -/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; -/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; -/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; -/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; -/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; -/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; -/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; - --- Dump completed on 2024-03-06 17:27:03 diff --git a/database/common/ne_config.sql b/database/common/ne_config.sql index 13a76988..91d81ad7 100644 --- a/database/common/ne_config.sql +++ b/database/common/ne_config.sql @@ -41,16 +41,16 @@ INSERT INTO `ne_config` VALUES (41, 'IMS', 'plmn', 'PLMN List', 'array', '[{\"ac INSERT INTO `ne_config` VALUES (42, 'IMS', 'mmtel_dialplan', 'MMTEL Dialplan', 'array', '[{\"access\":\"read-only\",\"comment\":\"0~15\",\"display\":\"Index\",\"filter\":\"0~15\",\"name\":\"index\",\"type\":\"int\",\"value\":\"0\"},{\"access\":\"read-only\",\"comment\":\"\",\"display\":\"NaName\",\"filter\":\"0~128\",\"name\":\"naName\",\"type\":\"string\",\"value\":\"\"},{\"access\":\"read-write\",\"comment\":\"\",\"display\":\"Title\",\"filter\":\"0~128\",\"name\":\"title\",\"type\":\"string\",\"value\":\"\"},{\"access\":\"read-write\",\"comment\":\"\",\"display\":\"Method\",\"filter\":\"0-2\",\"name\":\"method\",\"type\":\"string\",\"value\":\"0\"},{\"access\":\"read-write\",\"comment\":\"\",\"display\":\"Prefix\",\"filter\":\"0~128\",\"name\":\"prefix\",\"type\":\"string\",\"value\":\"\"},{\"access\":\"read-write\",\"comment\":\"\",\"display\":\"Start\",\"filter\":\"0~128\",\"name\":\"start\",\"type\":\"string\",\"value\":\"\"},{\"access\":\"read-write\",\"comment\":\"\",\"display\":\"End\",\"filter\":\"0~128\",\"name\":\"end\",\"type\":\"string\",\"value\":\"\"},{\"access\":\"read-write\",\"comment\":\"\",\"display\":\"Attrib\",\"filter\":\"0~128\",\"name\":\"attrib\",\"type\":\"string\",\"value\":\"\"},{\"access\":\"read-write\",\"comment\":\"\",\"display\":\"Number Len\",\"filter\":\"0~128\",\"name\":\"numberLen\",\"type\":\"string\",\"value\":\"\"},{\"access\":\"read-write\",\"comment\":\"\",\"display\":\"Rsc\",\"filter\":\"0~128\",\"name\":\"rsc\",\"type\":\"string\",\"value\":\"\"},{\"access\":\"read-write\",\"comment\":\"\",\"display\":\"E164 Nai\",\"filter\":\"0~128\",\"name\":\"e164Nai\",\"type\":\"string\",\"value\":\"\"},{\"access\":\"read-write\",\"comment\":\"\",\"display\":\"E164 Delete\",\"filter\":\"0~128\",\"name\":\"e164Delete\",\"type\":\"string\",\"value\":\"\"},{\"access\":\"read-write\",\"comment\":\"\",\"display\":\"E164 Insert\",\"filter\":\"0~128\",\"name\":\"e164Insert\",\"type\":\"string\",\"value\":\"\"},{\"access\":\"read-write\",\"comment\":\"Enable: Close/Open\",\"display\":\"Admin State\",\"filter\":\"{\\\"0\\\":\\\"Close\\\", \\\"1\\\":\\\"Open\\\"}\",\"name\":\"adminState\",\"type\":\"enum\",\"value\":\"0\"}]', 5, '', 1723716862110, 'public'); INSERT INTO `ne_config` VALUES (43, 'IMS', 'ds_system', 'DS System', 'list', '[{\"access\":\"read-write\",\"comment\":\"\",\"display\":\"Dispatch System Indicator\",\"filter\":\"{\\\"0\\\":\\\"false\\\", \\\"1\\\":\\\"true\\\"}\",\"name\":\"dispatchSystemInd\",\"type\":\"bool\",\"value\":\"false\"},{\"access\":\"read-write\",\"comment\":\"\",\"display\":\"Transcode Indicator\",\"filter\":\"{\\\"0\\\":\\\"false\\\", \\\"1\\\":\\\"true\\\"}\",\"name\":\"transcodeInd\",\"type\":\"bool\",\"value\":\"false\"},{\"access\":\"read-write\",\"comment\":\"\",\"display\":\"Dispatch System IPv4\",\"filter\":\"\",\"name\":\"dispatchSystemIP\",\"type\":\"ipv4\",\"value\":\"1.0.0.1\"},{\"access\":\"read-write\",\"comment\":\"\",\"display\":\"Dispatch System Port\",\"filter\":\"\",\"name\":\"dispatchSystemPort\",\"type\":\"int\",\"value\":\"5060\"}]', 7, '', 1723716862113, 'public'); --- 更新 MME 配置 20240103 -INSERT INTO `ne_config` VALUES (60, 'MME', 'system', 'System Config', 'list', '[{\"access\":\"read-write\",\"comment\":\"true|false\",\"display\":\"CSFB Enabled\",\"filter\":\"{\\\"0\\\":\\\"false\\\",\\\"1\\\":\\\"true\\\"}\",\"name\":\"csfbEnabled\",\"type\":\"bool\",\"value\":\"false\"},{\"access\":\"read-write\",\"comment\":\"true|false\",\"display\":\"VoLTE Enabled\",\"filter\":\"{\\\"0\\\":\\\"false\\\",\\\"1\\\":\\\"true\\\"}\",\"name\":\"volteEnabled\",\"type\":\"bool\",\"value\":\"false\"},{\"access\":\"read-write\",\"comment\":\"0~128\",\"display\":\"ME IDENTITY CHECK PATH\",\"filter\":\"0~128\",\"name\":\"meIdentityCheckPath\",\"type\":\"string\",\"value\":\"/usr/local/etc/mme/me_identity_check.csv\"},{\"access\":\"read-write\",\"comment\":\"0~128\",\"display\":\"IMEI WHITE LIST PATH\",\"filter\":\"0~128\",\"name\":\"imeiWhiteListPath\",\"type\":\"string\",\"value\":\"/usr/local/etc/mme/imei_whitelist.csv\"},{\"access\":\"read-write\",\"comment\":\"0~64\",\"display\":\"DNS SERVER IP\",\"filter\":\"0~64\",\"name\":\"dnsServerIp\",\"type\":\"string\",\"value\":\"127.0.0.53\"},{\"access\":\"read-write\",\"comment\":\"0~64\",\"display\":\"S1 MME IP\",\"filter\":\"0~64\",\"name\":\"s1MmeIp\",\"type\":\"string\",\"value\":\"192.168.1.179\"},{\"access\":\"read-only\",\"comment\":\"0~65535\",\"display\":\"S1 MME Port\",\"filter\":\"0~65535\",\"name\":\"s1MmePort\",\"type\":\"int\",\"value\":\"36412\"},{\"access\":\"read-write\",\"comment\":\"0~64\",\"display\":\"S11 MME IP\",\"filter\":\"0~64\",\"name\":\"s11MmeIp\",\"type\":\"string\",\"value\":\"192.168.1.179\"},{\"access\":\"read-write\",\"comment\":\"0~65535\",\"display\":\"S11 MME Port\",\"filter\":\"0~65535\",\"name\":\"s11MmePort\",\"type\":\"int\",\"value\":\"2123\"},{\"access\":\"read-write\",\"comment\":\"0~64\",\"display\":\"S10 MME IP\",\"filter\":\"0~64\",\"name\":\"s10MmeIp\",\"type\":\"string\",\"value\":\"192.168.1.178\"},{\"access\":\"read-write\",\"comment\":\"0~65535\",\"display\":\"S10 MME Port\",\"filter\":\"0~65535\",\"name\":\"s10MmePort\",\"type\":\"int\",\"value\":\"2123\"},{\"access\":\"read-write\",\"comment\":\"0~64\",\"display\":\"SGs MME IP\",\"filter\":\"0~64\",\"name\":\"sgsMmeIp\",\"type\":\"string\",\"value\":\"192.168.1.179\"},{\"access\":\"read-only\",\"comment\":\"0~65535\",\"display\":\"SGs MME Port\",\"filter\":\"0~65535\",\"name\":\"sgsMmePort\",\"type\":\"int\",\"value\":\"29118\"},{\"access\":\"read-write\",\"comment\":\"0~100\",\"display\":\"S6A MME Identity\",\"filter\":\"0~100\",\"name\":\"s6aIdentity\",\"type\":\"string\",\"value\":\"mme.epc.mnc001.mcc001.3gppnetwork.org\"},{\"access\":\"read-write\",\"comment\":\"0~20\",\"display\":\"S6A MME IP\",\"filter\":\"0~20\",\"name\":\"s6aLocalIp\",\"type\":\"string\",\"value\":\"172.16.5.220\"},{\"access\":\"read-write\",\"comment\":\"0~20\",\"display\":\"SLS MME IP\",\"filter\":\"0~20\",\"name\":\"slsLocalIp\",\"type\":\"string\",\"value\":\"172.16.5.220\"},{\"access\":\"read-write\",\"comment\":\"0~20\",\"display\":\"SLS REMOTE IP\",\"filter\":\"0~20\",\"name\":\"slsRemoteIp\",\"type\":\"string\",\"value\":\"172.16.5.220\"},{\"access\":\"read-write\",\"comment\":\"0~20\",\"display\":\"SLS REMOTE PORT\",\"filter\":\"0~20\",\"name\":\"slsRemotePort\",\"type\":\"string\",\"value\":\"9082\"},{\"access\":\"read-write\",\"comment\":\"0~100\",\"display\":\"SLG MME Identity\",\"filter\":\"0~100\",\"name\":\"slgIdentity\",\"type\":\"string\",\"value\":\"gmlc.epc.mnc001.mcc001.3gppnetwork.org\"},{\"access\":\"read-write\",\"comment\":\"0~100\",\"display\":\"SLG MME REALM\",\"filter\":\"0~100\",\"name\":\"slgRealm\",\"type\":\"string\",\"value\":\"epc.mnc001.mcc001.3gppnetwork.org\"},{\"access\":\"read-write\",\"comment\":\"0~20\",\"display\":\"SBC MME IP\",\"filter\":\"0~20\",\"name\":\"sbcLocalIp\",\"type\":\"string\",\"value\":\"192.168.8.220\"},{\"access\":\"read-write\",\"comment\":\"0~20\",\"display\":\"SV MME IP\",\"filter\":\"0~20\",\"name\":\"svLocalIp\",\"type\":\"string\",\"value\":\"172.16.5.220\"},{\"access\":\"read-write\",\"comment\":\"0~20\",\"display\":\"SV MME PORT\",\"filter\":\"0~20\",\"name\":\"svLocalPort\",\"type\":\"string\",\"value\":\"9082\"},{\"access\":\"read-write\",\"comment\":\"0~20\",\"display\":\"SV REMOTE IP\",\"filter\":\"0~20\",\"name\":\"svRemoteIp\",\"type\":\"string\",\"value\":\"172.16.5.220\"},{\"access\":\"read-write\",\"comment\":\"0~20\",\"display\":\"SV REMOTE PORT\",\"filter\":\"0~20\",\"name\":\"svRemotePort\",\"type\":\"string\",\"value\":\"9082\"},{\"access\":\"read-write\",\"comment\":\"0~20\",\"display\":\"S3 REMOTE IP\",\"filter\":\"0~20\",\"name\":\"s3RemoteIp\",\"type\":\"string\",\"value\":\"172.16.5.220\"},{\"access\":\"read-write\",\"comment\":\"0~20\",\"display\":\"S3 REMOTE PORT\",\"filter\":\"0~20\",\"name\":\"s3RemotePort\",\"type\":\"string\",\"value\":\"9082\"}]', 1, '', 1735868503333, 'public'); -INSERT INTO `ne_config` VALUES (61, 'MME', 'gummei', 'Gummei List', 'array', '[{\"access\":\"read\",\"comment\":\"0~15\",\"display\":\"Index\",\"filter\":\"0~15\",\"name\":\"index\",\"type\":\"int\",\"value\":\"0\"},{\"access\":\"read-write\",\"comment\":\"^[0-9]{5,6}$\",\"display\":\"PLMN ID\",\"filter\":\"^[0-9]{5,6}$\",\"name\":\"plmnId\",\"type\":\"regex\",\"value\":\"00101\"},{\"access\":\"read-write\",\"comment\":\"0~65535\",\"display\":\"Group ID\",\"filter\":\"0~65535\",\"name\":\"groupId\",\"type\":\"int\",\"value\":\"4\"},{\"access\":\"read-write\",\"comment\":\"0~255\",\"display\":\"Code\",\"filter\":\"0~255\",\"name\":\"code\",\"type\":\"int\",\"value\":\"1\"}]', 3, '', 1735868503349, 'public'); -INSERT INTO `ne_config` VALUES (62, 'MME', 'tai', 'TAI List', 'array', '[{\"access\":\"read\",\"comment\":\"0~15\",\"display\":\"Index\",\"filter\":\"0~15\",\"name\":\"index\",\"type\":\"int\",\"value\":\"0\"},{\"access\":\"read-write\",\"comment\":\"^[0-9]{5,6}$\",\"display\":\"PLMN ID\",\"filter\":\"^[0-9]{5,6}$\",\"name\":\"plmnId\",\"type\":\"regex\",\"value\":\"00101\"},{\"access\":\"read-write\",\"comment\":\"0~65535\",\"display\":\"TAC\",\"filter\":\"0~65535\",\"name\":\"tac\",\"type\":\"int\",\"value\":\"1\"}]', 5, '', 1735868503354, 'public'); -INSERT INTO `ne_config` VALUES (63, 'MME', 'hss', 'HSS List', 'array', '[{\"access\":\"read\",\"comment\":\"0~15\",\"display\":\"Index\",\"filter\":\"0~15\",\"name\":\"index\",\"type\":\"int\",\"value\":\"0\"},{\"access\":\"read-write\",\"comment\":\"^[0-9]{1,15}$\",\"display\":\"IMSI Prefix\",\"filter\":\"^[0-9]{1,15}$\",\"name\":\"imsiPre\",\"type\":\"regex\",\"value\":\"00101\"},{\"access\":\"read-write\",\"comment\":\"0~128\",\"display\":\"HSS Hostname\",\"filter\":\"0~128\",\"name\":\"hssHostname\",\"type\":\"string\",\"value\":\"hss.ims.mnc001.mcc001.3gppnetwork.org\"},{\"access\":\"read-write\",\"comment\":\"0~128\",\"display\":\"HSS Realm\",\"filter\":\"0~128\",\"name\":\"hssRealm\",\"type\":\"string\",\"value\":\"ims.mnc001.mcc001.3gppnetwork.org\"},{\"access\":\"read-write\",\"comment\":\"SCTP|TCP\",\"display\":\"Protocol\",\"filter\":\"0~8\",\"name\":\"protocol\",\"type\":\"string\",\"value\":\"SCTP\"},{\"access\":\"read-write\",\"comment\":\"0~65535\",\"display\":\"HSS Port\",\"filter\":\"0~65535\",\"name\":\"hssPort\",\"type\":\"int\",\"value\":\"3868\"}]', 7, '', 1735868503358, 'public'); -INSERT INTO `ne_config` VALUES (64, 'MME', 'sgw', 'SGW List', 'array', '[{\"access\":\"read\",\"comment\":\"0~15\",\"display\":\"Index\",\"filter\":\"0~15\",\"name\":\"index\",\"type\":\"int\",\"value\":\"0\"},{\"access\":\"read-write\",\"comment\":\"^[0-9]{5,6}$\",\"display\":\"PLMN ID\",\"filter\":\"^[0-9]{5,6}$\",\"name\":\"plmnId\",\"type\":\"regex\",\"value\":\"00101\"},{\"access\":\"read-write\",\"comment\":\"0~65535\",\"display\":\"TAC\",\"filter\":\"0~65535\",\"name\":\"tac\",\"type\":\"int\",\"value\":\"1\"},{\"access\":\"read-write\",\"comment\":\"0~64\",\"display\":\"SGW IP\",\"filter\":\"0~64\",\"name\":\"sgwIp\",\"type\":\"string\",\"value\":\"172.16.5.150\"}]', 9, '', 1735868503363, 'public'); -INSERT INTO `ne_config` VALUES (65, 'MME', 'pgw', 'PGW List', 'array', '[{\"access\":\"read\",\"comment\":\"0~15\",\"display\":\"Index\",\"filter\":\"0~15\",\"name\":\"index\",\"type\":\"int\",\"value\":\"0\"},{\"access\":\"read-write\",\"comment\":\"^[0-9]{5,6}$\",\"display\":\"PLMN ID\",\"filter\":\"^[0-9]{5,6}$\",\"name\":\"plmnId\",\"type\":\"regex\",\"value\":\"00101\"},{\"access\":\"read-write\",\"comment\":\"0~128\",\"display\":\"APN\",\"filter\":\"0~128\",\"name\":\"apn\",\"type\":\"string\",\"value\":\"internet\"},{\"access\":\"read-write\",\"comment\":\"0~64\",\"display\":\"PGW IP\",\"filter\":\"0~64\",\"name\":\"pgwIp\",\"type\":\"string\",\"value\":\"192.168.1.181\"}]', 11, '', 1735868503367, 'public'); -INSERT INTO `ne_config` VALUES (66, 'MME', 'amf', 'AMF List', 'array', '[{\"access\":\"read\",\"comment\":\"0~15\",\"display\":\"Index\",\"filter\":\"0~15\",\"name\":\"index\",\"type\":\"int\",\"value\":\"0\"},{\"access\":\"read-write\",\"comment\":\"^[0-9]{5,6}$\",\"display\":\"PLMN ID\",\"filter\":\"^[0-9]{5,6}$\",\"name\":\"plmnId\",\"type\":\"regex\",\"value\":\"00101\"},{\"access\":\"read-write\",\"comment\":\"0~16777215\",\"display\":\"TAC\",\"filter\":\"0~16777215\",\"name\":\"tac\",\"type\":\"int\",\"value\":\"1\"},{\"access\":\"read-write\",\"comment\":\"0~255\",\"display\":\"Region ID\",\"filter\":\"0~255\",\"name\":\"regionId\",\"type\":\"int\",\"value\":\"1\"},{\"access\":\"read-write\",\"comment\":\"0~1023\",\"display\":\"Set ID\",\"filter\":\"0~1023\",\"name\":\"setId\",\"type\":\"int\",\"value\":\"1\"},{\"access\":\"read-write\",\"comment\":\"0~63\",\"display\":\"Pointer\",\"filter\":\"0~63\",\"name\":\"pointer\",\"type\":\"int\",\"value\":\"1\"},{\"access\":\"read-write\",\"comment\":\"0~64\",\"display\":\"AMF IP\",\"filter\":\"0~64\",\"name\":\"amfIp\",\"type\":\"string\",\"value\":\"172.16.5.120\"}]', 13, '', 1735868503371, 'public'); -INSERT INTO `ne_config` VALUES (67, 'MME', 'white_list', 'WHITE LIST List', 'array', '[{\"access\":\"read\",\"comment\":\"0~15\",\"display\":\"Index\",\"filter\":\"0~15\",\"name\":\"index\",\"type\":\"int\",\"value\":\"0\"},{\"access\":\"read-write\",\"comment\":\"0~64\",\"display\":\"IMEI\",\"filter\":\"0~64\",\"name\":\"imei\",\"type\":\"string\",\"value\":\"001\"}]', 15, '', 1735868503375, 'public'); -INSERT INTO `ne_config` VALUES (68, 'MME', 'roam_plmn', 'ROAM PLMN List', 'array', '[{\"access\":\"read\",\"comment\":\"0~15\",\"display\":\"Index\",\"filter\":\"0~15\",\"name\":\"index\",\"type\":\"int\",\"value\":\"0\"},{\"access\":\"read-write\",\"comment\":\"0~64\",\"display\":\"MCC\",\"filter\":\"0~64\",\"name\":\"mcc\",\"type\":\"string\",\"value\":\"001\"},{\"access\":\"read-write\",\"comment\":\"0~64\",\"display\":\"MNC\",\"filter\":\"0~64\",\"name\":\"mnc\",\"type\":\"string\",\"value\":\"01\"}]', 15, '', 1735868503380, 'public'); +-- 更新 MME 配置 20240106 +INSERT INTO `ne_config` VALUES (60, 'MME', 'system', 'System Config', 'list', '[{\"access\":\"read-write\",\"comment\":\"true|false\",\"display\":\"CSFB Enabled\",\"filter\":\"{\\\"0\\\":\\\"false\\\",\\\"1\\\":\\\"true\\\"}\",\"name\":\"csfbEnabled\",\"type\":\"bool\",\"value\":\"false\"},{\"access\":\"read-write\",\"comment\":\"true|false\",\"display\":\"VoLTE Enabled\",\"filter\":\"{\\\"0\\\":\\\"false\\\",\\\"1\\\":\\\"true\\\"}\",\"name\":\"volteEnabled\",\"type\":\"bool\",\"value\":\"false\"},{\"access\":\"read-write\",\"comment\":\"0~128\",\"display\":\"ME IDENTITY CHECK PATH\",\"filter\":\"0~128\",\"name\":\"meIdentityCheckPath\",\"type\":\"string\",\"value\":\"/usr/local/etc/mme/me_identity_check.csv\"},{\"access\":\"read-write\",\"comment\":\"0~128\",\"display\":\"IMEI WHITE LIST PATH\",\"filter\":\"0~128\",\"name\":\"imeiWhiteListPath\",\"type\":\"string\",\"value\":\"/usr/local/etc/mme/imei_whitelist.csv\"},{\"access\":\"read-write\",\"comment\":\"0~64\",\"display\":\"DNS SERVER IP\",\"filter\":\"0~64\",\"name\":\"dnsServerIp\",\"type\":\"string\",\"value\":\"127.0.0.53\"},{\"access\":\"read-write\",\"comment\":\"0~64\",\"display\":\"S1 MME IP\",\"filter\":\"0~64\",\"name\":\"s1MmeIp\",\"type\":\"string\",\"value\":\"192.168.1.179\"},{\"access\":\"read-only\",\"comment\":\"0~65535\",\"display\":\"S1 MME Port\",\"filter\":\"0~65535\",\"name\":\"s1MmePort\",\"type\":\"int\",\"value\":\"36412\"},{\"access\":\"read-write\",\"comment\":\"0~64\",\"display\":\"S11 MME IP\",\"filter\":\"0~64\",\"name\":\"s11MmeIp\",\"type\":\"string\",\"value\":\"192.168.1.179\"},{\"access\":\"read-write\",\"comment\":\"0~65535\",\"display\":\"S11 MME Port\",\"filter\":\"0~65535\",\"name\":\"s11MmePort\",\"type\":\"int\",\"value\":\"2123\"},{\"access\":\"read-write\",\"comment\":\"0~64\",\"display\":\"S10 MME IP\",\"filter\":\"0~64\",\"name\":\"s10MmeIp\",\"type\":\"string\",\"value\":\"192.168.1.178\"},{\"access\":\"read-write\",\"comment\":\"0~65535\",\"display\":\"S10 MME Port\",\"filter\":\"0~65535\",\"name\":\"s10MmePort\",\"type\":\"int\",\"value\":\"2123\"},{\"access\":\"read-write\",\"comment\":\"0~64\",\"display\":\"SGs MME IP\",\"filter\":\"0~64\",\"name\":\"sgsMmeIp\",\"type\":\"string\",\"value\":\"192.168.1.179\"},{\"access\":\"read-only\",\"comment\":\"0~65535\",\"display\":\"SGs MME Port\",\"filter\":\"0~65535\",\"name\":\"sgsMmePort\",\"type\":\"int\",\"value\":\"29118\"},{\"access\":\"read-write\",\"comment\":\"0~100\",\"display\":\"S6A MME Identity\",\"filter\":\"0~100\",\"name\":\"s6aIdentity\",\"type\":\"string\",\"value\":\"mme.epc.mnc001.mcc001.3gppnetwork.org\"},{\"access\":\"read-write\",\"comment\":\"0~20\",\"display\":\"S6A MME IP\",\"filter\":\"0~20\",\"name\":\"s6aLocalIp\",\"type\":\"string\",\"value\":\"172.16.5.220\"},{\"access\":\"read-write\",\"comment\":\"0~20\",\"display\":\"SLS MME IP\",\"filter\":\"0~20\",\"name\":\"slsLocalIp\",\"type\":\"string\",\"value\":\"172.16.5.220\"},{\"access\":\"read-write\",\"comment\":\"0~20\",\"display\":\"SLS REMOTE IP\",\"filter\":\"0~20\",\"name\":\"slsRemoteIp\",\"type\":\"string\",\"value\":\"172.16.5.220\"},{\"access\":\"read-write\",\"comment\":\"0~20\",\"display\":\"SLS REMOTE PORT\",\"filter\":\"0~20\",\"name\":\"slsRemotePort\",\"type\":\"string\",\"value\":\"9082\"},{\"access\":\"read-write\",\"comment\":\"0~100\",\"display\":\"SLG MME Identity\",\"filter\":\"0~100\",\"name\":\"slgIdentity\",\"type\":\"string\",\"value\":\"gmlc.epc.mnc001.mcc001.3gppnetwork.org\"},{\"access\":\"read-write\",\"comment\":\"0~100\",\"display\":\"SLG MME REALM\",\"filter\":\"0~100\",\"name\":\"slgRealm\",\"type\":\"string\",\"value\":\"epc.mnc001.mcc001.3gppnetwork.org\"},{\"access\":\"read-write\",\"comment\":\"0~20\",\"display\":\"SBC MME IP\",\"filter\":\"0~20\",\"name\":\"sbcLocalIp\",\"type\":\"string\",\"value\":\"192.168.8.220\"},{\"access\":\"read-write\",\"comment\":\"0~20\",\"display\":\"SV MME IP\",\"filter\":\"0~20\",\"name\":\"svLocalIp\",\"type\":\"string\",\"value\":\"172.16.5.220\"},{\"access\":\"read-write\",\"comment\":\"0~20\",\"display\":\"SV MME PORT\",\"filter\":\"0~20\",\"name\":\"svLocalPort\",\"type\":\"string\",\"value\":\"9082\"},{\"access\":\"read-write\",\"comment\":\"0~20\",\"display\":\"SV REMOTE IP\",\"filter\":\"0~20\",\"name\":\"svRemoteIp\",\"type\":\"string\",\"value\":\"172.16.5.220\"},{\"access\":\"read-write\",\"comment\":\"0~20\",\"display\":\"SV REMOTE PORT\",\"filter\":\"0~20\",\"name\":\"svRemotePort\",\"type\":\"string\",\"value\":\"9082\"},{\"access\":\"read-write\",\"comment\":\"0~20\",\"display\":\"S3 REMOTE IP\",\"filter\":\"0~20\",\"name\":\"s3RemoteIp\",\"type\":\"string\",\"value\":\"172.16.5.220\"},{\"access\":\"read-write\",\"comment\":\"0~20\",\"display\":\"S3 REMOTE PORT\",\"filter\":\"0~20\",\"name\":\"s3RemotePort\",\"type\":\"string\",\"value\":\"9082\"}]', 1, '', 1736155729512, 'public'); +INSERT INTO `ne_config` VALUES (61, 'MME', 'gummei', 'Gummei List', 'array', '[{\"access\":\"read\",\"comment\":\"0~15\",\"display\":\"Index\",\"filter\":\"0~15\",\"name\":\"index\",\"type\":\"int\",\"value\":\"0\"},{\"access\":\"read-write\",\"comment\":\"^[0-9]{5,6}$\",\"display\":\"PLMN ID\",\"filter\":\"^[0-9]{5,6}$\",\"name\":\"plmnId\",\"type\":\"regex\",\"value\":\"00101\"},{\"access\":\"read-write\",\"comment\":\"0~65535\",\"display\":\"Group ID\",\"filter\":\"0~65535\",\"name\":\"groupId\",\"type\":\"int\",\"value\":\"4\"},{\"access\":\"read-write\",\"comment\":\"0~255\",\"display\":\"Code\",\"filter\":\"0~255\",\"name\":\"code\",\"type\":\"int\",\"value\":\"1\"}]', 3, '', 1736155729554, 'public'); +INSERT INTO `ne_config` VALUES (62, 'MME', 'tai', 'TAI List', 'array', '[{\"access\":\"read\",\"comment\":\"0~15\",\"display\":\"Index\",\"filter\":\"0~15\",\"name\":\"index\",\"type\":\"int\",\"value\":\"0\"},{\"access\":\"read-write\",\"comment\":\"^[0-9]{5,6}$\",\"display\":\"PLMN ID\",\"filter\":\"^[0-9]{5,6}$\",\"name\":\"plmnId\",\"type\":\"regex\",\"value\":\"00101\"},{\"access\":\"read-write\",\"comment\":\"0~65535\",\"display\":\"TAC\",\"filter\":\"0~65535\",\"name\":\"tac\",\"type\":\"int\",\"value\":\"1\"}]', 5, '', 1736155729560, 'public'); +INSERT INTO `ne_config` VALUES (63, 'MME', 'hss', 'HSS List', 'array', '[{\"access\":\"read\",\"comment\":\"0~15\",\"display\":\"Index\",\"filter\":\"0~15\",\"name\":\"index\",\"type\":\"int\",\"value\":\"0\"},{\"access\":\"read-write\",\"comment\":\"^[0-9]{1,15}$\",\"display\":\"IMSI Prefix\",\"filter\":\"^[0-9]{1,15}$\",\"name\":\"imsiPre\",\"type\":\"regex\",\"value\":\"00101\"},{\"access\":\"read-write\",\"comment\":\"0~128\",\"display\":\"HSS Hostname\",\"filter\":\"0~128\",\"name\":\"hssHostname\",\"type\":\"string\",\"value\":\"hss.ims.mnc001.mcc001.3gppnetwork.org\"},{\"access\":\"read-write\",\"comment\":\"0~128\",\"display\":\"HSS Realm\",\"filter\":\"0~128\",\"name\":\"hssRealm\",\"type\":\"string\",\"value\":\"ims.mnc001.mcc001.3gppnetwork.org\"},{\"access\":\"read-write\",\"comment\":\"SCTP|TCP\",\"display\":\"Protocol\",\"filter\":\"0~8\",\"name\":\"protocol\",\"type\":\"string\",\"value\":\"SCTP\"},{\"access\":\"read-write\",\"comment\":\"0~65535\",\"display\":\"HSS Port\",\"filter\":\"0~65535\",\"name\":\"hssPort\",\"type\":\"int\",\"value\":\"3868\"}]', 7, '', 1736155729574, 'public'); +INSERT INTO `ne_config` VALUES (64, 'MME', 'sgw', 'SGW List', 'array', '[{\"access\":\"read\",\"comment\":\"0~15\",\"display\":\"Index\",\"filter\":\"0~15\",\"name\":\"index\",\"type\":\"int\",\"value\":\"0\"},{\"access\":\"read-write\",\"comment\":\"^[0-9]{5,6}$\",\"display\":\"PLMN ID\",\"filter\":\"^[0-9]{5,6}$\",\"name\":\"plmnId\",\"type\":\"regex\",\"value\":\"00101\"},{\"access\":\"read-write\",\"comment\":\"0~65535\",\"display\":\"TAC\",\"filter\":\"0~65535\",\"name\":\"tac\",\"type\":\"int\",\"value\":\"1\"},{\"access\":\"read-write\",\"comment\":\"0~64\",\"display\":\"SGW IP\",\"filter\":\"0~64\",\"name\":\"sgwIp\",\"type\":\"string\",\"value\":\"172.16.5.150\"}]', 9, '', 1736155729580, 'public'); +INSERT INTO `ne_config` VALUES (65, 'MME', 'pgw', 'PGW List', 'array', '[{\"access\":\"read\",\"comment\":\"0~15\",\"display\":\"Index\",\"filter\":\"0~15\",\"name\":\"index\",\"type\":\"int\",\"value\":\"0\"},{\"access\":\"read-write\",\"comment\":\"^[0-9]{5,6}$\",\"display\":\"PLMN ID\",\"filter\":\"^[0-9]{5,6}$\",\"name\":\"plmnId\",\"type\":\"regex\",\"value\":\"00101\"},{\"access\":\"read-write\",\"comment\":\"0~128\",\"display\":\"APN\",\"filter\":\"0~128\",\"name\":\"apn\",\"type\":\"string\",\"value\":\"internet\"},{\"access\":\"read-write\",\"comment\":\"0~64\",\"display\":\"PGW IP\",\"filter\":\"0~64\",\"name\":\"pgwIp\",\"type\":\"string\",\"value\":\"192.168.1.181\"}]', 11, '', 1736155729592, 'public'); +INSERT INTO `ne_config` VALUES (66, 'MME', 'amf', 'AMF List', 'array', '[{\"access\":\"read\",\"comment\":\"0~15\",\"display\":\"Index\",\"filter\":\"0~15\",\"name\":\"index\",\"type\":\"int\",\"value\":\"0\"},{\"access\":\"read-write\",\"comment\":\"^[0-9]{5,6}$\",\"display\":\"PLMN ID\",\"filter\":\"^[0-9]{5,6}$\",\"name\":\"plmnId\",\"type\":\"regex\",\"value\":\"00101\"},{\"access\":\"read-write\",\"comment\":\"0~16777215\",\"display\":\"TAC\",\"filter\":\"0~16777215\",\"name\":\"tac\",\"type\":\"int\",\"value\":\"1\"},{\"access\":\"read-write\",\"comment\":\"0~255\",\"display\":\"Region ID\",\"filter\":\"0~255\",\"name\":\"regionId\",\"type\":\"int\",\"value\":\"1\"},{\"access\":\"read-write\",\"comment\":\"0~1023\",\"display\":\"Set ID\",\"filter\":\"0~1023\",\"name\":\"setId\",\"type\":\"int\",\"value\":\"1\"},{\"access\":\"read-write\",\"comment\":\"0~63\",\"display\":\"Pointer\",\"filter\":\"0~63\",\"name\":\"pointer\",\"type\":\"int\",\"value\":\"1\"},{\"access\":\"read-write\",\"comment\":\"0~64\",\"display\":\"AMF IP\",\"filter\":\"0~64\",\"name\":\"amfIp\",\"type\":\"string\",\"value\":\"172.16.5.120\"}]', 13, '', 1736155729597, 'public'); +INSERT INTO `ne_config` VALUES (67, 'MME', 'white_list', 'IMEI White List', 'array', '[{\"access\":\"read\",\"comment\":\"0~15\",\"display\":\"Index\",\"filter\":\"0~15\",\"name\":\"index\",\"type\":\"int\",\"value\":\"0\"},{\"access\":\"read-write\",\"comment\":\"0~64\",\"display\":\"IMEI\",\"filter\":\"0~64\",\"name\":\"imei\",\"type\":\"string\",\"value\":\"001\"}]', 17, '', 1736155729630, 'public'); +INSERT INTO `ne_config` VALUES (68, 'MME', 'roam_plmn', 'Roam Plmn List', 'array', '[{\"access\":\"read\",\"comment\":\"0~15\",\"display\":\"Index\",\"filter\":\"0~15\",\"name\":\"index\",\"type\":\"int\",\"value\":\"0\"},{\"access\":\"read-write\",\"comment\":\"0~64\",\"display\":\"MCC\",\"filter\":\"0~64\",\"name\":\"mcc\",\"type\":\"string\",\"value\":\"001\"},{\"access\":\"read-write\",\"comment\":\"0~64\",\"display\":\"MNC\",\"filter\":\"0~64\",\"name\":\"mnc\",\"type\":\"string\",\"value\":\"01\"}]', 15, '', 1736155729626, 'public'); INSERT INTO `ne_config` VALUES (80, 'MOCNGW', 'system', 'System Config', 'list', '[{\"access\":\"read-write\",\"comment\":\"\",\"display\":\"S1AP South Address\",\"filter\":\"0~64\",\"name\":\"s1apSouthAddr\",\"type\":\"string\",\"value\":\"192.168.7.163\"},{\"access\":\"read-write\",\"comment\":\"\",\"display\":\"S1AP North Address\",\"filter\":\"0~64\",\"name\":\"s1apNorthAddr\",\"type\":\"string\",\"value\":\"192.168.8.163\"},{\"access\":\"read-write\",\"comment\":\"0~65535\",\"display\":\"TAC\",\"filter\":\"0~65535\",\"name\":\"tac\",\"type\":\"int\",\"value\":\"1\"},{\"access\":\"read-write\",\"comment\":\"0~1048575\",\"display\":\"ENB ID\",\"filter\":\"0~1048575\",\"name\":\"enbId\",\"type\":\"int\",\"value\":\"24\"},{\"access\":\"read-write\",\"comment\":\"\",\"display\":\"User Plane Enabled\",\"filter\":\"{\\\"0\\\":\\\"false\\\",\\\"1\\\":\\\"true\\\"}\",\"name\":\"userPlaneEnabled\",\"type\":\"bool\",\"value\":\"0\"},{\"access\":\"read-write\",\"comment\":\"\",\"display\":\"PFCP Address\",\"filter\":\"0~64\",\"name\":\"pfcpAddr\",\"type\":\"string\",\"value\":\"192.168.7.163\"}]', 1, '', 1719831210071, 'public'); INSERT INTO `ne_config` VALUES (81, 'MOCNGW', 'mme', 'MME List', 'array', '[{\"access\":\"read-only\",\"comment\":\"0~15\",\"display\":\"Index\",\"filter\":\"0~15\",\"name\":\"index\",\"type\":\"int\",\"value\":\"0\"},{\"access\":\"read-write\",\"comment\":\"\",\"display\":\"S1AP Address\",\"filter\":\"0~64\",\"name\":\"s1apAddr\",\"type\":\"string\",\"value\":\"192.168.1.161\"},{\"access\":\"read-write\",\"comment\":\"0~65535\",\"display\":\"S1AP Port\",\"filter\":\"0~65535\",\"name\":\"s1apPort\",\"type\":\"int\",\"value\":\"36412\"},{\"access\":\"read-write\",\"comment\":\"\",\"display\":\"PLMN ID\",\"filter\":\"^[0-9]{5,6}$\",\"name\":\"plmnId\",\"type\":\"regex\",\"value\":\"00101\"}]', 3, '', 1719831210273, 'public'); diff --git a/database/install/ne_info.sql b/database/install/ne_info.sql index 9c99e09b..1ef69bbb 100644 --- a/database/install/ne_info.sql +++ b/database/install/ne_info.sql @@ -21,7 +21,7 @@ CREATE TABLE `ne_info` ( `dn` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '', `ne_address` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT 'MAC地址', `host_ids` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '网元主机ID组 数据格式(ssh,telnet)-来自ne_host表', - `status` int DEFAULT '0' COMMENT '0离线 1在线 2配置待下发', + `status` int DEFAULT '0' COMMENT '0离线 1在线 2配置待下发 3备用模式', `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注', `create_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者', `create_time` bigint DEFAULT '0' COMMENT '创建时间', @@ -32,19 +32,19 @@ CREATE TABLE `ne_info` ( ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='网元信息表 对应一个网元版本、网元授权、网元主机'; -- 初始网元数据 -INSERT INTO `ne_info` VALUES (1, 'OMC', '001', '4400HXOMC001', 'OMC_001', '172.16.5.100', 33030, 'PNF', '-', '-', '-', '-', '1,2', 0, '', '', 0, '', 0); -INSERT INTO `ne_info` VALUES (2, 'IMS', '001', '4400HXIMS001', 'IMS_001', '172.16.5.110', 33030, 'PNF', '-', '-', '-', '-', '3,4', 0, '', '', 0, '', 0); -INSERT INTO `ne_info` VALUES (3, 'AMF', '001', '4400HXAMF001', 'AMF_001', '172.16.5.120', 33030, 'PNF', '-', '-', '-', '', '5,6', 0, '', '', 0, '', 0); -INSERT INTO `ne_info` VALUES (4, 'AUSF', '001', '4400HXAUSF001', 'AUSF_001', '172.16.5.130', 33030, 'PNF', '-', '-', '-', '', '7,8', 0, '', '', 0, '', 0); -INSERT INTO `ne_info` VALUES (5, 'UDM', '001', '4400HXUDM001', 'UDM_001', '172.16.5.140', 33030, 'PNF', '-', '-', '-', '-', '9,10,11', 0, '', '', 0, '', 0); -INSERT INTO `ne_info` VALUES (6, 'SMF', '001', '4400HXSMF001', 'SMF_001', '172.16.5.150', 33030, 'PNF', '-', '-', '-', '-', '12,13', 0, '', '', 0, '', 0); -INSERT INTO `ne_info` VALUES (7, 'PCF', '001', '4400HXPCF001', 'PCF_001', '172.16.5.160', 33030, 'PNF', '-', '-', '-', '-', '14,15', 0, '', '', 0, '', 0); -INSERT INTO `ne_info` VALUES (8, 'NSSF', '001', '4400HXNSSF001', 'NSSF_001', '172.16.5.170', 33030, 'PNF', '-', '-', '-', '-', '16,17', 0, '', '', 0, '', 0); -INSERT INTO `ne_info` VALUES (9, 'NRF', '001', '4400HXNRF001', 'NRF_001', '172.16.5.180', 33030, 'PNF', '-', '-', '-', '-', '18,19', 0, '', '', 0, '', 0); -INSERT INTO `ne_info` VALUES (10, 'UPF', '001', '4400HXUPF001', 'UPF_001', '172.16.5.190', 33030, 'PNF', '-', '-', '-', '', '20,21,22', 0, '', '', 0, '', 0); -INSERT INTO `ne_info` VALUES (11, 'LMF', '001', '4400HXLMF001', 'LMF_001', '172.16.5.200', 33030, 'PNF', '-', '-', '-', '-', '23,24', 0, '', '', 0, '', 0); -INSERT INTO `ne_info` VALUES (12, 'NEF', '001', '4400HXNEF001', 'NEF_001', '172.16.5.210', 33030, 'PNF', '-', '-', '-', '-', '25,26', 0, '', '', 0, '', 0); -INSERT INTO `ne_info` VALUES (13, 'MME', '001', '4400HXMME001', 'MME_001', '172.16.5.220', 33030, 'PNF', '-', '-', '-', '', '27,28', 0, '', '', 0, '', 0); -INSERT INTO `ne_info` VALUES (14, 'N3IWF', '001', '4400HXN3IWF001', 'N3IWF_001', '172.16.5.230', 33030, 'PNF', '-', '-', '-', '', '29,30', 0, '', '', 0, '', 0); +INSERT INTO `ne_info` VALUES (1, 'OMC', '001', '4400HXOMC001', 'OMC_001', '172.16.5.100', 33030, 'PNF', 'AreaNet', '-', '-', '-', '1,2', 0, '', '', 0, '', 0); +INSERT INTO `ne_info` VALUES (2, 'IMS', '001', '4400HXIMS001', 'IMS_001', '172.16.5.110', 33030, 'PNF', 'AreaNet', '-', '-', '-', '3,4', 0, '', '', 0, '', 0); +INSERT INTO `ne_info` VALUES (3, 'AMF', '001', '4400HXAMF001', 'AMF_001', '172.16.5.120', 33030, 'PNF', 'AreaNet', '-', '-', '', '5,6', 0, '', '', 0, '', 0); +INSERT INTO `ne_info` VALUES (4, 'AUSF', '001', '4400HXAUSF001', 'AUSF_001', '172.16.5.130', 33030, 'PNF', 'AreaNet', '-', '-', '', '7,8', 0, '', '', 0, '', 0); +INSERT INTO `ne_info` VALUES (5, 'UDM', '001', '4400HXUDM001', 'UDM_001', '172.16.5.140', 33030, 'PNF', 'AreaNet', '-', '-', '-', '9,10,11', 0, '', '', 0, '', 0); +INSERT INTO `ne_info` VALUES (6, 'SMF', '001', '4400HXSMF001', 'SMF_001', '172.16.5.150', 33030, 'PNF', 'AreaNet', '-', '-', '-', '12,13', 0, '', '', 0, '', 0); +INSERT INTO `ne_info` VALUES (7, 'PCF', '001', '4400HXPCF001', 'PCF_001', '172.16.5.160', 33030, 'PNF', 'AreaNet', '-', '-', '-', '14,15', 0, '', '', 0, '', 0); +INSERT INTO `ne_info` VALUES (8, 'NSSF', '001', '4400HXNSSF001', 'NSSF_001', '172.16.5.170', 33030, 'PNF', 'AreaNet', '-', '-', '-', '16,17', 0, '', '', 0, '', 0); +INSERT INTO `ne_info` VALUES (9, 'NRF', '001', '4400HXNRF001', 'NRF_001', '172.16.5.180', 33030, 'PNF', 'AreaNet', '-', '-', '-', '18,19', 0, '', '', 0, '', 0); +INSERT INTO `ne_info` VALUES (10, 'UPF', '001', '4400HXUPF001', 'UPF_001', '172.16.5.190', 33030, 'PNF', 'AreaNet', '-', '-', '', '20,21,22', 0, '', '', 0, '', 0); +INSERT INTO `ne_info` VALUES (11, 'LMF', '001', '4400HXLMF001', 'LMF_001', '172.16.5.200', 33030, 'PNF', 'AreaNet', '-', '-', '-', '23,24', 0, '', '', 0, '', 0); +INSERT INTO `ne_info` VALUES (12, 'NEF', '001', '4400HXNEF001', 'NEF_001', '172.16.5.210', 33030, 'PNF', 'AreaNet', '-', '-', '-', '25,26', 0, '', '', 0, '', 0); +INSERT INTO `ne_info` VALUES (13, 'MME', '001', '4400HXMME001', 'MME_001', '172.16.5.220', 33030, 'PNF', 'AreaNet', '-', '-', '', '27,28', 0, '', '', 0, '', 0); +INSERT INTO `ne_info` VALUES (14, 'N3IWF', '001', '4400HXN3IWF001', 'N3IWF_001', '172.16.5.230', 33030, 'PNF', 'AreaNet', '-', '-', '', '29,30', 0, '', '', 0, '', 0); SET FOREIGN_KEY_CHECKS=1; diff --git a/database/install/sys_dict_data0.sql b/database/install/sys_dict_data0.sql index 7de93bc7..b0c904bd 100644 --- a/database/install/sys_dict_data0.sql +++ b/database/install/sys_dict_data0.sql @@ -143,9 +143,9 @@ INSERT INTO `sys_dict_data` VALUES (115, 1, 'dictData.ne_host_authMode.1', '1', INSERT INTO `sys_dict_data` VALUES (116, 0, 'dictData.ne_host_cmd_groupId.0', '0', 'ne_host_cmd_groupId', '', '', '1', 'supervisor', 1706620000000, '', 0, ''); INSERT INTO `sys_dict_data` VALUES (117, 1, 'dictData.ne_host_cmd_groupId.1', '1', 'ne_host_cmd_groupId', '', '', '1', 'supervisor', 1706620000000, '', 0, ''); INSERT INTO `sys_dict_data` VALUES (118, 0, 'dictData.ne_info_status.0', '0', 'ne_info_status', '', 'error', '1', 'supervisor', 1706620000000, 'supervisor', 1709642157849, ''); -INSERT INTO `sys_dict_data` VALUES (119, 1, 'dictData.ne_info_status.1', '1', 'ne_info_status', '', 'processing', '1', 'supervisor', 1706620000000, 'supervisor', 1709642164831, ''); -INSERT INTO `sys_dict_data` VALUES (120, 2, 'dictData.ne_info_status.2', '2', 'ne_info_status', '', 'warning', '1', 'supervisor', 1706620000000, '', 0, ''); -INSERT INTO `sys_dict_data` VALUES (121, 3, 'dictData.ne_info_status.3', '3', 'ne_info_status', '', '', '1', 'supervisor', 1706620000000, 'supervisor', 1709642169871, ''); +INSERT INTO `sys_dict_data` VALUES (119, 1, 'dictData.ne_info_status.1', '1', 'ne_info_status', '', 'success', '1', 'supervisor', 1706620000000, 'supervisor', 1709642164831, ''); +INSERT INTO `sys_dict_data` VALUES (120, 2, 'dictData.ne_info_status.2', '2', 'ne_info_status', '', 'orange', '1', 'supervisor', 1706620000000, '', 0, ''); +INSERT INTO `sys_dict_data` VALUES (121, 3, 'dictData.ne_info_status.3', '3', 'ne_info_status', '', 'blue', '1', 'supervisor', 1706620000000, 'supervisor', 1709642169871, ''); INSERT INTO `sys_dict_data` VALUES (122, 0, 'dictData.ne_license_status.0', '0', 'ne_license_status', '', 'warning', '1', 'supervisor', 1706620000000, 'supervisor', 1712720196537, ''); INSERT INTO `sys_dict_data` VALUES (123, 1, 'dictData.ne_license_status.1', '1', 'ne_license_status', '', 'processing', '1', 'supervisor', 1706620000000, 'supervisor', 1712720201349, ''); INSERT INTO `sys_dict_data` VALUES (124, 2, 'dictData.ne_host_authMode.2', '2', 'ne_host_authMode', '', '', '1', 'supervisor', 1706620000000, '', 0, ''); diff --git a/database/install/sys_dict_data1_i18n_zh.sql b/database/install/sys_dict_data1_i18n_zh.sql index eabb73ed..e4d53e1e 100644 --- a/database/install/sys_dict_data1_i18n_zh.sql +++ b/database/install/sys_dict_data1_i18n_zh.sql @@ -621,7 +621,7 @@ INSERT INTO `sys_dict_data` VALUES (2110, 2110, 'log.operate.title.amfUE', '5G INSERT INTO `sys_dict_data` VALUES (2111, 2111, 'dictData.ne_info_status.0', '离线', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); INSERT INTO `sys_dict_data` VALUES (2112, 2112, 'dictData.ne_info_status.1', '在线', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); INSERT INTO `sys_dict_data` VALUES (2113, 2113, 'dictData.ne_info_status.2', '等待同步', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT INTO `sys_dict_data` VALUES (2114, 2114, 'dictData.ne_info_status.3', '-', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); +INSERT INTO `sys_dict_data` VALUES (2114, 2114, 'dictData.ne_info_status.3', '待机', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); INSERT INTO `sys_dict_data` VALUES (2115, 2115, 'dictType.ne_info_status', '网元信息状态', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); INSERT INTO `sys_dict_data` VALUES (2116, 2116, 'menu.ne.neQuickSetup', '网元快速安装', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); INSERT INTO `sys_dict_data` VALUES (2117, 2117, 'log.operate.title.neConfig', '网元参数配置', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); diff --git a/database/install/sys_dict_data2_i18n_en.sql b/database/install/sys_dict_data2_i18n_en.sql index 040b0c62..c39abc7c 100644 --- a/database/install/sys_dict_data2_i18n_en.sql +++ b/database/install/sys_dict_data2_i18n_en.sql @@ -621,7 +621,7 @@ INSERT INTO `sys_dict_data` VALUES (4110, 4110, 'log.operate.title.amfUE', '5G U INSERT INTO `sys_dict_data` VALUES (4111, 4111, 'dictData.ne_info_status.0', 'Offline', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); INSERT INTO `sys_dict_data` VALUES (4112, 4112, 'dictData.ne_info_status.1', 'Online', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); INSERT INTO `sys_dict_data` VALUES (4113, 4113, 'dictData.ne_info_status.2', 'Wait Sync', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT INTO `sys_dict_data` VALUES (4114, 4114, 'dictData.ne_info_status.3', '-', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); +INSERT INTO `sys_dict_data` VALUES (4114, 4114, 'dictData.ne_info_status.3', 'Standby', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); INSERT INTO `sys_dict_data` VALUES (4115, 4115, 'dictType.ne_info_status', 'NE Info State', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); INSERT INTO `sys_dict_data` VALUES (4116, 4116, 'menu.ne.neQuickSetup', 'NE Quick Setup', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); INSERT INTO `sys_dict_data` VALUES (4117, 4117, 'log.operate.title.neConfig', 'NE Parameter Configuration', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); diff --git a/database/upgrade/upg_ne_info.sql b/database/upgrade/upg_ne_info.sql index 8a552f33..6fb019cc 100644 --- a/database/upgrade/upg_ne_info.sql +++ b/database/upgrade/upg_ne_info.sql @@ -17,7 +17,7 @@ CREATE TABLE IF NOT EXISTS `ne_info` ( `dn` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '', `ne_address` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT 'MAC地址', `host_ids` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '网元主机ID组 数据格式(ssh,telnet)-来自ne_host表', - `status` int DEFAULT '0' COMMENT '0离线 1在线 2配置待下发', + `status` int DEFAULT '0' COMMENT '0离线 1在线 2配置待下发 3备用模式', `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注', `create_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '创建者', `create_time` bigint DEFAULT '0' COMMENT '创建时间', diff --git a/database/upgrade/upg_sys_dict_data0.sql b/database/upgrade/upg_sys_dict_data0.sql index f923fae6..07493b0d 100644 --- a/database/upgrade/upg_sys_dict_data0.sql +++ b/database/upgrade/upg_sys_dict_data0.sql @@ -143,9 +143,9 @@ INSERT IGNORE INTO `sys_dict_data` VALUES (115, 1, 'dictData.ne_host_authMode.1' INSERT IGNORE INTO `sys_dict_data` VALUES (116, 0, 'dictData.ne_host_cmd_groupId.0', '0', 'ne_host_cmd_groupId', '', '', '1', 'supervisor', 1706620000000, '', 0, ''); INSERT IGNORE INTO `sys_dict_data` VALUES (117, 1, 'dictData.ne_host_cmd_groupId.1', '1', 'ne_host_cmd_groupId', '', '', '1', 'supervisor', 1706620000000, '', 0, ''); INSERT IGNORE INTO `sys_dict_data` VALUES (118, 0, 'dictData.ne_info_status.0', '0', 'ne_info_status', '', 'error', '1', 'supervisor', 1706620000000, 'supervisor', 1709642157849, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (119, 1, 'dictData.ne_info_status.1', '1', 'ne_info_status', '', 'processing', '1', 'supervisor', 1706620000000, 'supervisor', 1709642164831, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (120, 2, 'dictData.ne_info_status.2', '2', 'ne_info_status', '', 'warning', '1', 'supervisor', 1706620000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (121, 3, 'dictData.ne_info_status.3', '3', 'ne_info_status', '', '', '1', 'supervisor', 1706620000000, 'supervisor', 1709642169871, ''); +INSERT IGNORE INTO `sys_dict_data` VALUES (119, 1, 'dictData.ne_info_status.1', '1', 'ne_info_status', '', 'success', '1', 'supervisor', 1706620000000, 'supervisor', 1709642164831, ''); +INSERT IGNORE INTO `sys_dict_data` VALUES (120, 2, 'dictData.ne_info_status.2', '2', 'ne_info_status', '', 'orange', '1', 'supervisor', 1706620000000, '', 0, ''); +INSERT IGNORE INTO `sys_dict_data` VALUES (121, 3, 'dictData.ne_info_status.3', '3', 'ne_info_status', '', 'blue', '1', 'supervisor', 1706620000000, 'supervisor', 1709642169871, ''); INSERT IGNORE INTO `sys_dict_data` VALUES (122, 0, 'dictData.ne_license_status.0', '0', 'ne_license_status', '', 'warning', '1', 'supervisor', 1706620000000, 'supervisor', 1712720196537, ''); INSERT IGNORE INTO `sys_dict_data` VALUES (123, 1, 'dictData.ne_license_status.1', '1', 'ne_license_status', '', 'processing', '1', 'supervisor', 1706620000000, 'supervisor', 1712720201349, ''); INSERT IGNORE INTO `sys_dict_data` VALUES (124, 2, 'dictData.ne_host_authMode.2', '2', 'ne_host_authMode', '', '', '1', 'supervisor', 1706620000000, '', 0, ''); diff --git a/database/upgrade/upg_sys_dict_data1_i18n_zh.sql b/database/upgrade/upg_sys_dict_data1_i18n_zh.sql index e46cfbb1..a04dfee2 100644 --- a/database/upgrade/upg_sys_dict_data1_i18n_zh.sql +++ b/database/upgrade/upg_sys_dict_data1_i18n_zh.sql @@ -628,7 +628,7 @@ REPLACE INTO `sys_dict_data` VALUES (2110, 2110, 'log.operate.title.amfUE', '5G REPLACE INTO `sys_dict_data` VALUES (2111, 2111, 'dictData.ne_info_status.0', '离线', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); REPLACE INTO `sys_dict_data` VALUES (2112, 2112, 'dictData.ne_info_status.1', '在线', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); REPLACE INTO `sys_dict_data` VALUES (2113, 2113, 'dictData.ne_info_status.2', '等待同步', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -REPLACE INTO `sys_dict_data` VALUES (2114, 2114, 'dictData.ne_info_status.3', '-', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); +REPLACE INTO `sys_dict_data` VALUES (2114, 2114, 'dictData.ne_info_status.3', '待机', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); REPLACE INTO `sys_dict_data` VALUES (2115, 2115, 'dictType.ne_info_status', '网元信息状态', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); REPLACE INTO `sys_dict_data` VALUES (2116, 2116, 'menu.ne.neQuickSetup', '网元快速安装', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); REPLACE INTO `sys_dict_data` VALUES (2117, 2117, 'log.operate.title.neConfig', '网元参数配置', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); diff --git a/database/upgrade/upg_sys_dict_data2_i18n_en.sql b/database/upgrade/upg_sys_dict_data2_i18n_en.sql index 85a5220f..8770453e 100644 --- a/database/upgrade/upg_sys_dict_data2_i18n_en.sql +++ b/database/upgrade/upg_sys_dict_data2_i18n_en.sql @@ -625,7 +625,7 @@ REPLACE INTO `sys_dict_data` VALUES (4110, 4110, 'log.operate.title.amfUE', '5G REPLACE INTO `sys_dict_data` VALUES (4111, 4111, 'dictData.ne_info_status.0', 'Offline', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); REPLACE INTO `sys_dict_data` VALUES (4112, 4112, 'dictData.ne_info_status.1', 'Online', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); REPLACE INTO `sys_dict_data` VALUES (4113, 4113, 'dictData.ne_info_status.2', 'Wait Sync', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -REPLACE INTO `sys_dict_data` VALUES (4114, 4114, 'dictData.ne_info_status.3', '-', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); +REPLACE INTO `sys_dict_data` VALUES (4114, 4114, 'dictData.ne_info_status.3', 'Standby', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); REPLACE INTO `sys_dict_data` VALUES (4115, 4115, 'dictType.ne_info_status', 'NE Info State', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); REPLACE INTO `sys_dict_data` VALUES (4116, 4116, 'menu.ne.neQuickSetup', 'NE Quick Setup', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); REPLACE INTO `sys_dict_data` VALUES (4117, 4117, 'log.operate.title.neConfig', 'NE Parameter Configuration', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); diff --git a/database/upgrade/upg_sys_role_menu.sql b/database/upgrade/upg_sys_role_menu.sql index aa59e794..704b437f 100644 --- a/database/upgrade/upg_sys_role_menu.sql +++ b/database/upgrade/upg_sys_role_menu.sql @@ -104,6 +104,7 @@ INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2092); INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2094); INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2096); INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2097); +INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2096); INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2098); INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2099); INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2100); diff --git a/database/upgvue3/upg_alarm_event.sql b/database/upgvue3/upg_alarm_event.sql deleted file mode 100644 index c190b07d..00000000 --- a/database/upgvue3/upg_alarm_event.sql +++ /dev/null @@ -1,137 +0,0 @@ -/* - Navicat Premium Data Transfer - - Source Server : local_mariadb - Source Server Type : MariaDB - Source Server Version : 100338 (10.3.38-MariaDB) - Source Host : localhost:33066 - Source Schema : omc_db - - Target Server Type : MariaDB - Target Server Version : 100338 (10.3.38-MariaDB) - File Encoding : 65001 - - Date: 24/05/2024 15:44:03 -*/ - -SET NAMES utf8mb4; -SET FOREIGN_KEY_CHECKS = 0; - --- ---------------------------- --- Table structure for alarm_event --- ---------------------------- -CREATE TABLE IF NOT EXISTS `alarm_event` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `alarm_seq` int(11) NULL DEFAULT NULL, - `alarm_id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL, - `alarm_title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, - `ne_type` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, - `ne_id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL, - `alarm_code` int(11) NULL DEFAULT NULL, - `event_time` datetime NULL DEFAULT NULL, - `alarm_type` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '', - `orig_severity` enum('Critical','Major','Minor','Warning','Event') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT 'Minor' COMMENT '1: Critical, 2: Major, 3: Minor, 4: Warning, 5: Event(Only VNF)', - `perceived_severity` enum('Critical','Major','Minor','Warning','Event') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '1: Critical, 2: Major, 3: Minor, 4: Warning, 5: Event(Only VNF)', - `pv_flag` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, - `ne_name` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, - `object_uid` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, - `object_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0', - `object_type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, - `location_info` varchar(2048) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, - `province` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, - `alarm_status` int(11) NOT NULL DEFAULT 1 COMMENT '0:clear, 1:active', - `specific_problem` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, - `specific_problem_id` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, - `add_info` varchar(2048) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, - `counter` int(11) NULL DEFAULT 0, - `latest_event_time` datetime NULL DEFAULT NULL, - `ack_state` tinyint(4) NULL DEFAULT 0 COMMENT '0: Unacked, 1: Acked', - `ack_time` datetime NULL DEFAULT NULL, - `ack_user` varchar(16) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, - `clear_type` tinyint(4) NULL DEFAULT 0 COMMENT '0: Unclear, 1: AutoClear, 2: ManualClear', - `clear_time` datetime NULL DEFAULT NULL, - `clear_user` varchar(16) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, - `timestamp` datetime NULL DEFAULT current_timestamp() ON UPDATE CURRENT_TIMESTAMP, - PRIMARY KEY (`id`) USING BTREE, - UNIQUE INDEX `idx_pk_id`(`id`) USING BTREE, - UNIQUE INDEX `idx_uni_aid_ne_aseq`(`ne_type`, `ne_id`, `alarm_id`, `alarm_seq`) USING BTREE, - INDEX `idx_event_time`(`event_time`) USING BTREE, - INDEX `idx_severity_status`(`alarm_status`, `orig_severity`) USING BTREE -) ENGINE = InnoDB AUTO_INCREMENT = 228788 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic; - --- Move event alarm from table alarm to alarm_event -START TRANSACTION; - -INSERT INTO - `alarm_event` ( - `alarm_seq`, - `alarm_id`, - `alarm_title`, - `ne_type`, - `ne_id`, - `alarm_code`, - `event_time`, - `alarm_type`, - `orig_severity`, - `perceived_severity`, - `pv_flag`, - `ne_name`, - `object_uid`, - `object_name`, - `object_type`, - `location_info`, - `province`, - `alarm_status`, - `specific_problem`, - `specific_problem_id`, - `add_info`, - `counter`, - `latest_event_time`, - `ack_state`, - `ack_time`, - `ack_user`, - `clear_type`, - `clear_time`, - `clear_user`, - `timestamp` - ) -SELECT - `alarm_seq`, - `alarm_id`, - `alarm_title`, - `ne_type`, - `ne_id`, - `alarm_code`, - `event_time`, - `alarm_type`, - `orig_severity`, - `perceived_severity`, - `pv_flag`, - `ne_name`, - `object_uid`, - `object_name`, - `object_type`, - `location_info`, - `province`, - `alarm_status`, - `specific_problem`, - `specific_problem_id`, - `add_info`, - `counter`, - `latest_event_time`, - `ack_state`, - `ack_time`, - `ack_user`, - `clear_type`, - `clear_time`, - `clear_user`, - `timestamp` -FROM `alarm` -WHERE - `orig_severity` = 'Event'; - -DELETE FROM `alarm` WHERE `orig_severity` = 'Event'; - -COMMIT; - -SET FOREIGN_KEY_CHECKS = 1; diff --git a/database/upgvue3/upg_cdr_event.sql b/database/upgvue3/upg_cdr_event.sql deleted file mode 100644 index 58962a6f..00000000 --- a/database/upgvue3/upg_cdr_event.sql +++ /dev/null @@ -1,35 +0,0 @@ -/* - Navicat Premium Data Transfer - - Source Server : local_mariadb - Source Server Type : MariaDB - Source Server Version : 100338 (10.3.38-MariaDB) - Source Host : localhost:33066 - Source Schema : omc_db - - Target Server Type : MariaDB - Target Server Version : 100338 (10.3.38-MariaDB) - File Encoding : 65001 - - Date: 19/01/2024 15:57:12 -*/ - -SET NAMES utf8mb4; -SET FOREIGN_KEY_CHECKS = 0; - --- ---------------------------- --- Table structure for cdr_event --- ---------------------------- -CREATE TABLE IF NOT EXISTS `cdr_event` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `ne_type` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, - `ne_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, - `rm_uid` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, - `timestamp` int(11) NULL DEFAULT NULL, - `cdr_json` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, - `created_at` datetime NULL DEFAULT current_timestamp(), - PRIMARY KEY (`id`) USING BTREE, - INDEX `id`(`id`) USING BTREE -) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic; - -SET FOREIGN_KEY_CHECKS = 1; diff --git a/database/upgvue3/upg_cdr_event_ims.sql b/database/upgvue3/upg_cdr_event_ims.sql deleted file mode 100644 index dc6935b2..00000000 --- a/database/upgvue3/upg_cdr_event_ims.sql +++ /dev/null @@ -1,35 +0,0 @@ -/* - Navicat Premium Data Transfer - - Source Server : local_mariadb - Source Server Type : MariaDB - Source Server Version : 100338 (10.3.38-MariaDB) - Source Host : localhost:33066 - Source Schema : omc_db - - Target Server Type : MariaDB - Target Server Version : 100338 (10.3.38-MariaDB) - File Encoding : 65001 - - Date: 28/05/2024 10:19:12 -*/ - -SET NAMES utf8mb4; -SET FOREIGN_KEY_CHECKS = 0; - --- ---------------------------- --- Table structure for cdr_event_ims --- ---------------------------- -CREATE TABLE IF NOT EXISTS `cdr_event_ims` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `ne_type` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, - `ne_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, - `rm_uid` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, - `timestamp` int(11) NULL DEFAULT NULL, - `cdr_json` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, - `created_at` datetime NULL DEFAULT current_timestamp(), - PRIMARY KEY (`id`) USING BTREE, - INDEX `id`(`id`) USING BTREE -) ENGINE = InnoDB AUTO_INCREMENT = 8 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic; - -SET FOREIGN_KEY_CHECKS = 1; diff --git a/database/upgvue3/upg_cdr_event_smf.sql b/database/upgvue3/upg_cdr_event_smf.sql deleted file mode 100644 index d9da4a13..00000000 --- a/database/upgvue3/upg_cdr_event_smf.sql +++ /dev/null @@ -1,35 +0,0 @@ -/* - Navicat Premium Data Transfer - - Source Server : local_mariadb - Source Server Type : MariaDB - Source Server Version : 100338 (10.3.38-MariaDB) - Source Host : localhost:33066 - Source Schema : omc_db - - Target Server Type : MariaDB - Target Server Version : 100338 (10.3.38-MariaDB) - File Encoding : 65001 - - Date: 28/05/2024 10:19:23 -*/ - -SET NAMES utf8mb4; -SET FOREIGN_KEY_CHECKS = 0; - --- ---------------------------- --- Table structure for cdr_event_smf --- ---------------------------- -CREATE TABLE IF NOT EXISTS `cdr_event_smf` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `ne_type` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, - `ne_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, - `rm_uid` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, - `timestamp` int(11) NULL DEFAULT NULL, - `cdr_json` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, - `created_at` datetime NULL DEFAULT current_timestamp(), - PRIMARY KEY (`id`) USING BTREE, - INDEX `id`(`id`) USING BTREE -) ENGINE = InnoDB AUTO_INCREMENT = 13 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic; - -SET FOREIGN_KEY_CHECKS = 1; diff --git a/database/upgvue3/upg_chart_graph.sql b/database/upgvue3/upg_chart_graph.sql deleted file mode 100644 index 5189efcc..00000000 --- a/database/upgvue3/upg_chart_graph.sql +++ /dev/null @@ -1,192 +0,0 @@ -/* - Navicat Premium Data Transfer - - Source Server : local_mariadb - Source Server Type : MariaDB - Source Server Version : 100338 (10.3.38-MariaDB) - Source Host : localhost:33066 - Source Schema : omc_db - - Target Server Type : MariaDB - Target Server Version : 100338 (10.3.38-MariaDB) - File Encoding : 65001 - - Date: 31/01/2024 18:13:36 -*/ - -SET NAMES utf8mb4; -SET FOREIGN_KEY_CHECKS = 0; - --- ---------------------------- --- Table structure for chart_graph --- ---------------------------- -CREATE TABLE `chart_graph` ( - `row_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '记录ID', - `row_type` enum('node','edge','combo') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '记录类型', - `row_group` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '记录组名', - `id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '元素ID', - `type` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'node/combo 类型', - `depth` int(11) NULL DEFAULT 0 COMMENT 'node/combo 深度', - `x` float NULL DEFAULT 0 COMMENT 'node/combo 横向坐标', - `y` float NULL DEFAULT 0 COMMENT 'node/combo 纵向坐标', - `size` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '30' COMMENT 'node/combo 大小-JSON数组', - `icon` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'node-部分类型支持图标JSON配置', - `img` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'node-img 图片', - `clip_cfg` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'node-img 图片裁剪JSON配置', - `direction` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'node-triangle 三角形的方向', - `source` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'edge-边起始', - `target` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'edge-边目标', - `combo_id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'combo-分组', - `padding` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '30' COMMENT 'combo-JSON分组内边距', - `parent_id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'combo-父级分组', - `children` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'combo-JSON分组内含元素', - `style` varchar(2048) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '元素样式-JONS配置', - `label` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '标签文本', - `label_cfg` varchar(1024) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '标签文本-JSON配置', - PRIMARY KEY (`row_id`) USING BTREE, - INDEX `idx_group`(`row_group`) USING BTREE COMMENT '组' -) ENGINE = InnoDB AUTO_INCREMENT = 4321 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '图表-G6关系图数据' ROW_FORMAT = Dynamic; - --- ---------------------------- --- Records of chart_graph --- ---------------------------- -INSERT IGNORE INTO `chart_graph` VALUES (1, 'node', 'hello', 'node-1', 'rect', 0, -218, -20, '[80,40]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '', '', '', '', '', '', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"#ff0000\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ff0000\"}', 'Node-1', '{\"offset\":0,\"position\":\"center\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (2, 'node', 'hello', 'node-2', 'star', 0, 82, -15, '60', '{\"height\":25,\"img\":\"\",\"offset\":20,\"show\":false,\"width\":25}', '', '', '', '', '', '', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"#2bff00\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#05ff16\"}', 'Node-2', '{\"offset\":0,\"position\":\"center\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (3, 'edge', 'hello', 'node-1~1704427926706~node-2', 'polyline', 0, 0, 0, '', '', '', '', '', 'node-1', 'node-2', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"endArrow\":true,\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":5,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#0062ff\"}', '1 to 2', '{\"autoRotate\":false,\"position\":\"middle\",\"refX\":0,\"refY\":0,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1177, 'node', 'demo', 'one', 'circle-animate-shape-r', 0, -123.911, 5, '60', '{\"height\":25,\"img\":\"\",\"offset\":20,\"show\":false,\"width\":25}', '', '', '', '', '', '', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"#00ff91\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ff4d4d\"}', 'One', '{\"offset\":0,\"position\":\"center\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1178, 'node', 'demo', 'two', 'circle-animate-shape-stroke', 0, 228.652, 10.3481, '60', '{\"height\":25,\"img\":\"\",\"offset\":20,\"show\":false,\"width\":25}', '', '', '', '', '', '', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"#fe5a01\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#9497ff\"}', 'Two', '{\"offset\":0,\"position\":\"center\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1179, 'node', 'demo', 'three', 'rect-animate-state', 0, 65, 127, '[80,40]', '{\"height\":25,\"img\":\"\",\"offset\":20,\"show\":false,\"width\":25}', '', '', '', '', '', '', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"#ffffff\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', 'Three', '{\"offset\":0,\"position\":\"center\",\"style\":{\"fill\":\"#000000\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1180, 'edge', 'demo', 'one~1704764271132~two', 'cubic-animate-line-dash', 0, 0, 0, '', '', '', '', '', 'one', 'two', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"endArrow\":true,\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":1,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#fbfe39\"}', 'one-two', '{\"autoRotate\":false,\"position\":\"middle\",\"refX\":0,\"refY\":0,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1181, 'edge', 'demo', 'two~1704764297866~three', 'cubic-animate-circle-move', 0, 0, 0, '', '', '', '', '', 'two', 'three', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":1,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#80f0ff\"}', 'two-three', '{\"autoRotate\":false,\"position\":\"middle\",\"refX\":0,\"refY\":0,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1182, 'edge', 'demo', 'three~1704764353721~one', 'line-animate-state', 0, 0, 0, '', '', '', '', '', 'three', 'one', '', '', '', '', '{\"cursor\":\"pointer\",\"lineWidth\":1,\"offset\":20,\"radius\":2,\"stroke\":\"#ffffff\"}', 'three-one', '{\"autoRotate\":false,\"position\":\"middle\",\"refX\":0,\"refY\":0,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1725, 'node', '5GC System Architecture', 'Base', 'image-animate-state', 0, -530.671, -66.6639, '[64,64]', '{\"height\":25,\"img\":\"\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/base.svg', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '', '', '', '', '{\"cursor\":\"pointer\",\"fill\":\"transparent\",\"lineWidth\":1,\"radius\":4,\"stroke\":\"#ffffff\"}', '(R)AN', '{\"offset\":4,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1726, 'node', '5GC System Architecture', 'DN', 'image-animate-state', 0, -529.46, 62.62, '[64,64]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/cloud.svg', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '', '', '', '', '{\"cursor\":\"pointer\",\"fill\":\"transparent\",\"lineWidth\":1,\"radius\":4,\"stroke\":\"#ffffff\"}', 'DN', '{\"offset\":0,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1727, 'node', '5GC System Architecture', 'OMC', 'image-animate-state', 0, -527.746, -346.76, '[64,64]', '{\"height\":25,\"img\":\"\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/service_db.svg', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '', '', '', '', '{\"cursor\":\"pointer\",\"fill\":\"transparent\",\"lineWidth\":1,\"radius\":4,\"stroke\":\"#783636\"}', 'OMC', '{\"offset\":4,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1728, 'node', '5GC System Architecture', 'IMS', 'rect-animate-state', 23, 22.4671, -231.155, '[80,40]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '', '', '', '', '', '5GC', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"#f5222d\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#f1212c\"}', 'IMS', '{\"offset\":0,\"position\":\"center\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1729, 'node', '5GC System Architecture', 'NSSF', 'rect-animate-state', 22, -116.316, -335.56, '[80,40]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '', '', '', '', '', '5GC', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"#f5222d\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#f5222d\"}', 'NSSF', '{\"offset\":0,\"position\":\"center\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1730, 'node', '5GC System Architecture', 'UPF', 'rect-animate-state', 21, -268.005, -52.6272, '[80,40]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '', '', '', '', '', '5GC', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"#f5222d\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#f5222d\"}', 'UPF', '{\"offset\":0,\"position\":\"center\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1731, 'node', '5GC System Architecture', 'UE', 'image', 14, -532.589, -231.622, '[64,64]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/mobile.svg', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"transparent\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', 'UE', '{\"offset\":4,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1732, 'node', '5GC System Architecture', 'PCF', 'rect-animate-state', 20, -267.905, -152.894, '[80,40]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '', '', '', '', '', '5GC', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"#f5222d\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#f5222d\"}', 'PCF', '{\"offset\":0,\"position\":\"center\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1733, 'node', '5GC System Architecture', 'SMF', 'rect-animate-state', 19, -117.66, -53.1161, '[80,40]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '', '', '', '', '', '5GC', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"#f5222d\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#f0212c\"}', 'SMF', '{\"offset\":0,\"position\":\"center\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1734, 'node', '5GC System Architecture', 'AMF', 'rect-animate-state', 18, -268.316, -235.06, '[80,40]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '', '', '', '', '', '5GC', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"#f5222d\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#f5222d\"}', 'AMF', '{\"offset\":0,\"position\":\"center\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1735, 'node', '5GC System Architecture', 'UDM', 'rect-animate-state', 17, 19.8172, -333.371, '[80,40]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '', '', '', '', '', '5GC', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"#f5222d\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#f5222d\"}', 'UDM', '{\"offset\":0,\"position\":\"center\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1736, 'node', '5GC System Architecture', 'AUSF', 'rect-animate-state', 16, -269.316, -335.56, '[80,40]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '', '', '', '', '', '5GC', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"#f5222d\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#f5222d\"}', 'AUSF', '{\"offset\":0,\"position\":\"center\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1737, 'node', '5GC System Architecture', 'NRF', 'rect', 15, 26.4865, -150.732, '[80,40]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '', '', '', '', '', '5GC', '', '', '', '{\"cursor\":\"pointer\",\"fill\":\"#f5222d\",\"lineWidth\":1,\"radius\":4,\"stroke\":\"#f5222d\"}', 'NRF', '{\"offset\":0,\"position\":\"center\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1738, 'node', '5GC System Architecture', 'LMF', 'rect', 14, -266.158, 48.8341, '[80,40]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '', '', '', '', '', '5GC', '', '', '', '{\"cursor\":\"pointer\",\"fill\":\"#f5222d\",\"lineWidth\":1,\"radius\":4,\"stroke\":\"#f5222d\"}', 'LMF', '{\"offset\":0,\"position\":\"center\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1739, 'node', '5GC System Architecture', 'NEF', 'rect', 13, -120.613, -149.621, '[80,40]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '', '', '', '', '', '5GC', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"#f5222d\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#f5222d\"}', 'NEF', '{\"offset\":0,\"position\":\"center\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1740, 'node', '5GC System Architecture', 'MME', 'rect', 12, -118.002, -233.655, '[80,40]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '', '', '', '', '', '5GC', '', '', '', '{\"cursor\":\"pointer\",\"fill\":\"#f5222d\",\"lineWidth\":1,\"radius\":4,\"stroke\":\"#f5222d\"}', 'MME', '{\"offset\":0,\"position\":\"center\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1741, 'node', '5GC System Architecture', 'N3IWF', 'rect', 11, 20.4198, -58.2659, '[80,40]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '', '', '', '', '', '5GC', '', '', '', '{\"cursor\":\"pointer\",\"fill\":\"#f5222d\",\"lineWidth\":1,\"radius\":4,\"stroke\":\"#f5222d\"}', 'N3IWF', '{\"offset\":0,\"position\":\"center\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1742, 'edge', '5GC System Architecture', '5GC~1704764825481~Base', 'cubic-animate-line-dash', 0, 0, 0, '', '', '', '', '', 'Base', '5GC', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":1,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', 'N2', '{\"autoRotate\":false,\"position\":\"middle\",\"refX\":0,\"refY\":0,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1743, 'edge', '5GC System Architecture', 'UE~1704534736553~AMF', 'cubic-animate-line-dash', 0, 0, 0, '', '', '', '', '', 'UE', 'Base', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":1,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', '', '{\"autoRotate\":false,\"position\":\"middle\",\"refX\":0,\"refY\":0,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1744, 'edge', '5GC System Architecture', 'RAN~1704534829539~UPF', 'line-animate-state', 0, 0, 0, '', '', '', '', '', 'Base', 'UPF', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":1,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', 'N3', '{\"autoRotate\":false,\"position\":\"middle\",\"refX\":0,\"refY\":0,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1745, 'edge', '5GC System Architecture', 'DN~1704534869360~UPF', 'cubic-animate-line-dash', 0, 0, 0, '', '', '', '', '', 'DN', 'UPF', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":1,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', 'N6', '{\"autoRotate\":false,\"position\":\"middle\",\"refX\":0,\"refY\":0,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1746, 'edge', '5GC System Architecture', 'OMC~1704535021073~5GC', 'line-animate-state', 0, 0, 0, '', '', '', '', '', 'OMC', '5GC', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":1,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', '', '{\"autoRotate\":false,\"position\":\"middle\",\"refX\":0,\"refY\":0,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1747, 'edge', '5GC System Architecture', 'SMF~1704765447548~UPF', 'line', 0, 0, 0, '', '', '', '', '', 'SMF', 'UPF', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":1,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', 'N4', '{\"autoRotate\":true,\"position\":\"end\",\"refX\":-12,\"refY\":0,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1748, 'combo', '5GC System Architecture', '5GC', 'rect', 10, -121.415, -143.363, '[40,40]', '', '', '', '', '', '', '', '[40,45,40,45]', '', '[{\"comboId\":\"5GC\",\"depth\":12,\"id\":\"IMS\",\"itemType\":\"node\"},{\"comboId\":\"5GC\",\"depth\":12,\"id\":\"NSSF\",\"itemType\":\"node\"},{\"comboId\":\"5GC\",\"depth\":12,\"id\":\"UPF\",\"itemType\":\"node\"},{\"comboId\":\"5GC\",\"depth\":12,\"id\":\"PCF\",\"itemType\":\"node\"},{\"comboId\":\"5GC\",\"depth\":12,\"id\":\"SMF\",\"itemType\":\"node\"},{\"comboId\":\"5GC\",\"depth\":12,\"id\":\"AMF\",\"itemType\":\"node\"},{\"comboId\":\"5GC\",\"depth\":12,\"id\":\"UDM\",\"itemType\":\"node\"},{\"comboId\":\"5GC\",\"depth\":12,\"id\":\"AUSF\",\"itemType\":\"node\"},{\"comboId\":\"5GC\",\"depth\":12,\"id\":\"NRF\",\"itemType\":\"node\"},{\"comboId\":\"5GC\",\"depth\":12,\"id\":\"LMF\",\"itemType\":\"node\"},{\"comboId\":\"5GC\",\"depth\":12,\"id\":\"NEF\",\"itemType\":\"node\"},{\"comboId\":\"5GC\",\"depth\":12,\"id\":\"MME\",\"itemType\":\"node\"},{\"comboId\":\"5GC\",\"depth\":12,\"id\":\"N3IWF\",\"itemType\":\"node\"}]', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"grab\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"fill\":\"#ffffff\",\"fillOpacity\":0.1,\"height\":425.39430000000004,\"highlight\":{\"fill\":\"rgb(253, 253, 253)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(253, 253, 253)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"lineWidth\":1,\"r\":212.69715000000002,\"radius\":2,\"selected\":{\"fill\":\"rgb(253, 253, 253)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\",\"width\":376.8029}', 'Core Network', '{\"position\":\"top\",\"refX\":10,\"refY\":10,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1869, 'node', '5GC System Architecture2', 'Base', 'image-animate-state', 0, -530.671, -66.6639, '[64,64]', '{\"height\":25,\"img\":\"\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/base.svg', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '', '', '', '', '{\"cursor\":\"pointer\",\"fill\":\"transparent\",\"lineWidth\":1,\"radius\":4,\"stroke\":\"#ffffff\"}', '(R)AN', '{\"offset\":4,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1870, 'node', '5GC System Architecture2', 'DN', 'image-animate-state', 0, -544.46, 45.62, '[60,60]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/cloud6.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '', '', '', '', '{\"cursor\":\"pointer\",\"fill\":\"transparent\",\"lineWidth\":1,\"radius\":4,\"stroke\":\"#ffffff\"}', 'DN', '{\"offset\":0,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1871, 'node', '5GC System Architecture2', 'OMC', 'image-animate-state', 0, -531.746, -291.76, '[64,64]', '{\"height\":25,\"img\":\"\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/omc6.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '', '', '', '', '{\"cursor\":\"pointer\",\"fill\":\"transparent\",\"lineWidth\":1,\"radius\":4,\"stroke\":\"#783636\"}', 'OMC', '{\"offset\":4,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1872, 'node', '5GC System Architecture2', 'IMS', 'image-animate-state', 23, 32.8038, -208.015, '[60,50]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/ims6.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '5GC', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"transparent\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#f1212c\"}', 'IMS', '{\"offset\":0,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1873, 'node', '5GC System Architecture2', 'NSSF', 'image-animate-state', 22, -103.637, -294.34, '[60,50]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/nssf6.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '5GC', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"transparent\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#f5222d\"}', 'NSSF', '{\"offset\":0,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1874, 'node', '5GC System Architecture2', 'UPF', 'image-animate-state', 21, -251.745, -30.487, '[60,50]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/upf6.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '5GC', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"transparent\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#f5222d\"}', 'UPF', '{\"offset\":0,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1875, 'node', '5GC System Architecture2', 'UE', 'image', 14, -535.589, -178.622, '[64,64]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/mobile.svg', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"transparent\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', 'UE', '{\"offset\":4,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1876, 'node', '5GC System Architecture2', 'PCF', 'image-animate-state', 20, -251.569, -121.754, '[60,50]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/pcf6.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '5GC', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"transparent\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#f5222d\"}', 'PCF', '{\"offset\":0,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1877, 'node', '5GC System Architecture2', 'SMF', 'image-animate-state', 19, -102.324, -30.9759, '[60,50]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/smf6.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '5GC', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"transparent\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#f0212c\"}', 'SMF', '{\"offset\":0,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1878, 'node', '5GC System Architecture2', 'AMF', 'image-animate-state', 18, -252.824, -212.92, '[60,50]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/amf6.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '5GC', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"transparent\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#f5222d\"}', 'AMF', '{\"offset\":0,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1879, 'node', '5GC System Architecture2', 'UDM', 'image-animate-state', 17, 30.371, -283.065, '[60,50]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/udm6.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '5GC', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"transparent\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#f5222d\"}', 'UDM', '{\"offset\":0,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1880, 'node', '5GC System Architecture2', 'AUSF', 'image-animate-state', 16, -248.56, -291.872, '[60,50]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/ausf6.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '5GC', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"transparent\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#f5222d\"}', 'AUSF', '{\"offset\":0,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1881, 'node', '5GC System Architecture2', 'NRF', 'image-animate-state', 15, 31.0121, -130.814, '[60,50]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/nrf6.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '5GC', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"transparent\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#f5222d\"}', 'NRF', '{\"offset\":0,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1882, 'node', '5GC System Architecture2', 'LMF', 'image-animate-state', 14, -247.573, 58.3507, '[60,50]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/lmf.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '5GC', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"transparent\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#f5222d\"}', 'LMF', '{\"offset\":0,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1883, 'node', '5GC System Architecture2', 'NEF', 'image-animate-state', 13, -102.277, -127.481, '[60,50]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/nef6.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '5GC', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"transparent\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#f5222d\"}', 'NEF', '{\"offset\":0,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1884, 'node', '5GC System Architecture2', 'MME', 'image-animate-state', 12, -102.666, -211.515, '[60,50]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/mme6.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '5GC', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"transparent\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#f5222d\"}', 'MME', '{\"offset\":0,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1885, 'node', '5GC System Architecture2', 'N3IWF', 'image-animate-state', 11, 32.0232, -36.1257, '[60,50]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/n3iwf61.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '5GC', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"transparent\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#f5222d\"}', 'N3IWF', '{\"offset\":0,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1886, 'edge', '5GC System Architecture2', 'RAN~1704534829539~UPF', 'line-animate-state', 0, 0, 0, '', '', '', '', '', 'Base', 'UPF', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":1,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', 'N3', '{\"autoRotate\":false,\"position\":\"middle\",\"refX\":0,\"refY\":0,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1887, 'edge', '5GC System Architecture2', 'DN~1704534869360~UPF', 'cubic-animate-line-dash', 0, 0, 0, '', '', '', '', '', 'DN', 'UPF', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":1,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', 'N6', '{\"autoRotate\":false,\"position\":\"middle\",\"refX\":0,\"refY\":0,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1888, 'edge', '5GC System Architecture2', 'OMC~1704535021073~5GC', 'line-animate-state', 0, 0, 0, '', '', '', '', '', 'OMC', '5GC', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":1,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', '', '{\"autoRotate\":false,\"position\":\"middle\",\"refX\":0,\"refY\":0,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1889, 'edge', '5GC System Architecture2', 'SMF~1704765447548~UPF', 'line', 0, 0, 0, '', '', '', '', '', 'SMF', 'UPF', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":1,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', 'N4', '{\"autoRotate\":true,\"position\":\"end\",\"refX\":-12,\"refY\":0,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1890, 'edge', '5GC System Architecture2', '5GC~1704764825481~Base', 'cubic-animate-line-dash', 0, 0, 0, '', '', '', '', '', 'Base', '5GC', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":1,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', 'N2', '{\"autoRotate\":false,\"position\":\"middle\",\"refX\":0,\"refY\":0,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1891, 'edge', '5GC System Architecture2', 'UE~1704534736553~AMF', 'cubic-animate-line-dash', 0, 0, 0, '', '', '', '', '', 'UE', 'Base', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":1,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', '', '{\"autoRotate\":false,\"position\":\"middle\",\"refX\":0,\"refY\":0,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (1892, 'combo', '5GC System Architecture2', '5GC', 'rect', 10, -110.01, -117.995, '[40,40]', '', '', '', '', '', '', '', '[40,45,45,40]', '', '[{\"comboId\":\"5GC\",\"depth\":12,\"id\":\"IMS\",\"itemType\":\"node\"},{\"comboId\":\"5GC\",\"depth\":12,\"id\":\"NSSF\",\"itemType\":\"node\"},{\"comboId\":\"5GC\",\"depth\":12,\"id\":\"UPF\",\"itemType\":\"node\"},{\"comboId\":\"5GC\",\"depth\":12,\"id\":\"PCF\",\"itemType\":\"node\"},{\"comboId\":\"5GC\",\"depth\":12,\"id\":\"SMF\",\"itemType\":\"node\"},{\"comboId\":\"5GC\",\"depth\":12,\"id\":\"AMF\",\"itemType\":\"node\"},{\"comboId\":\"5GC\",\"depth\":12,\"id\":\"UDM\",\"itemType\":\"node\"},{\"comboId\":\"5GC\",\"depth\":12,\"id\":\"AUSF\",\"itemType\":\"node\"},{\"comboId\":\"5GC\",\"depth\":12,\"id\":\"NRF\",\"itemType\":\"node\"},{\"comboId\":\"5GC\",\"depth\":12,\"id\":\"LMF\",\"itemType\":\"node\"},{\"comboId\":\"5GC\",\"depth\":12,\"id\":\"NEF\",\"itemType\":\"node\"},{\"comboId\":\"5GC\",\"depth\":12,\"id\":\"MME\",\"itemType\":\"node\"},{\"comboId\":\"5GC\",\"depth\":12,\"id\":\"N3IWF\",\"itemType\":\"node\"}]', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"grab\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"fill\":\"#318c7d\",\"fillOpacity\":0.1,\"height\":402.691157,\"highlight\":{\"fill\":\"rgb(253, 253, 253)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(253, 253, 253)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"lineWidth\":1,\"r\":201.3455785,\"radius\":2,\"selected\":{\"fill\":\"rgb(253, 253, 253)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\",\"width\":345.628003}', 'Core Network', '{\"position\":\"top\",\"refX\":10,\"refY\":10,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (2304, 'node', '5GC System Architecture3', 'Base', 'image-animate-state', 0, -371.671, -129.664, '[64,64]', '{\"height\":25,\"img\":\"\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/base.svg', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '', '', '', '', '{\"cursor\":\"pointer\",\"fill\":\"transparent\",\"lineWidth\":1,\"radius\":4,\"stroke\":\"#ffffff\"}', '(R)AN', '{\"offset\":-4,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (2305, 'node', '5GC System Architecture3', 'DN', 'image-animate-state', 0, 325.54, -71.38, '[80,80]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/earth3d-1.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '', '', '', '', '{\"cursor\":\"pointer\",\"fill\":\"transparent\",\"lineWidth\":1,\"radius\":4,\"stroke\":\"#ffffff\"}', 'DN', '{\"offset\":0,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (2306, 'node', '5GC System Architecture3', 'OMC', 'image-animate-state', 0, 327.254, -266.76, '[64,64]', '{\"height\":25,\"img\":\"\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/omc6.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '', '', '', '', '{\"cursor\":\"pointer\",\"fill\":\"transparent\",\"lineWidth\":1,\"radius\":4,\"stroke\":\"#783636\"}', 'OMC', '{\"offset\":4,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (2307, 'node', '5GC System Architecture3', 'IMS', 'image-animate-state', 24, 40.3237, -119.48, '[60,50]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/ims6.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '5GC', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"transparent\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#f1212c\"}', 'IMS', '{\"offset\":0,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (2308, 'node', '5GC System Architecture3', 'NSSF', 'image-animate-state', 23, 49.2396, -291.854, '[60,50]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/nssf6.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '5GC', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"transparent\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#f5222d\"}', 'NSSF', '{\"offset\":0,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (2309, 'node', '5GC System Architecture3', 'UPF', 'image-animate-state', 22, -31.0923, -18.3086, '[60,50]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/upf6.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '5GC', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"transparent\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#f5222d\"}', 'UPF', '{\"offset\":0,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (2310, 'node', '5GC System Architecture3', 'UE', 'image', 14, -366.589, 0.378, '[64,64]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/mobile.svg', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"transparent\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', 'UE', '{\"offset\":-10,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (2311, 'node', '5GC System Architecture3', 'PCF', 'image-animate-state', 21, 114.148, -293.478, '[60,50]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/pcf6.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '5GC', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"transparent\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#f5222d\"}', 'PCF', '{\"offset\":0,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (2312, 'node', '5GC System Architecture3', 'SMF', 'image-animate-state', 20, -28.5624, -116.024, '[60,50]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/smf6.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '5GC', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"transparent\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#f0212c\"}', 'SMF', '{\"offset\":0,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (2313, 'node', '5GC System Architecture3', 'AMF', 'image-animate-state', 19, -166.037, -115.898, '[60,50]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/amf6.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '5GC', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"transparent\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#f5222d\"}', 'AMF', '{\"offset\":0,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (2314, 'node', '5GC System Architecture3', 'UDM', 'image-animate-state', 18, -21.8787, -293.295, '[60,50]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/udm6.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '5GC', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"transparent\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#f5222d\"}', 'UDM', '{\"offset\":0,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (2315, 'node', '5GC System Architecture3', 'AUSF', 'image-animate-state', 17, -89.9143, -291.872, '[60,50]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/ausf6.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '5GC', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"transparent\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#f5222d\"}', 'AUSF', '{\"offset\":0,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (2316, 'node', '5GC System Architecture3', 'NRF', 'image-animate-state', 16, 107.349, -117.955, '[60,50]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/nrf6.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '5GC', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"transparent\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#f5222d\"}', 'NRF', '{\"offset\":0,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (2317, 'node', '5GC System Architecture3', 'LMF', 'image-animate-state', 15, 178.417, -292.559, '[60,50]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/lmf.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '5GC', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"transparent\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#f5222d\"}', 'LMF', '{\"offset\":0,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (2318, 'node', '5GC System Architecture3', 'NEF', 'image-animate-state', 14, -89.82, -113.764, '[60,50]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/nef6.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '5GC', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"transparent\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#f5222d\"}', 'NEF', '{\"offset\":0,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (2319, 'node', '5GC System Architecture3', 'MME', 'image-animate-state', 13, -169.465, -291.82, '[60,50]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/mme6.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '5GC', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"transparent\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#f5222d\"}', 'MME', '{\"offset\":0,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (2320, 'node', '5GC System Architecture3', 'N3IWF', 'image-animate-state', 12, 178.037, -121.058, '[60,50]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/n3iwf6.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '5GC', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"transparent\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#f5222d\"}', 'N3IWF', '{\"offset\":0,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (2321, 'node', '5GC System Architecture3', 'lan', 'image-animate-state', 11, 10, -193, '[300,30]', '{\"height\":25,\"img\":\"\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/router3d-3.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '5GC', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"transparent\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#fafafa\"}', 'Router', '{\"offset\":0,\"position\":\"center\",\"style\":{\"fill\":\"#2e0b7f\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (2322, 'edge', '5GC System Architecture3', 'RAN~1704534829539~UPF', 'cubic-animate-line-dash', 0, 0, 0, '', '', '', '', '', 'Base', 'UPF', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":4,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', 'N3', '{\"autoRotate\":false,\"position\":\"middle\",\"refX\":0,\"refY\":-15,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (2323, 'edge', '5GC System Architecture3', 'DN~1704534869360~UPF', 'cubic-animate-line-dash', 0, 0, 0, '', '', '', '', '', 'UPF', 'DN', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":4,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', 'N6', '{\"autoRotate\":false,\"position\":\"middle\",\"refX\":0,\"refY\":-8,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (2324, 'edge', '5GC System Architecture3', 'OMC~1704535021073~5GC', 'line-animate-state', 0, 0, 0, '', '', '', '', '', 'OMC', '5GC', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":2,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', '', '{\"autoRotate\":false,\"position\":\"middle\",\"refX\":0,\"refY\":0,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (2325, 'edge', '5GC System Architecture3', 'SMF~1704765447548~UPF', 'line', 0, 0, 0, '', '', '', '', '', 'SMF', 'UPF', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":2,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', 'N4', '{\"autoRotate\":false,\"position\":\"middle\",\"refX\":5,\"refY\":-4,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (2326, 'edge', '5GC System Architecture3', '5GC~1704764825481~Base', 'cubic-animate-circle-move', 0, 0, 0, '', '', '', '', '', 'Base', 'AMF', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":2,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', 'N2', '{\"autoRotate\":false,\"position\":\"end\",\"refX\":-10,\"refY\":6,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (2327, 'edge', '5GC System Architecture3', 'UE~1704534736553~AMF', 'cubic-animate-circle-move', 0, 0, 0, '', '', '', '', '', 'UE', 'Base', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":2,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', '', '{\"autoRotate\":false,\"position\":\"middle\",\"refX\":0,\"refY\":0,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (2328, 'edge', '5GC System Architecture3', 'IMS~1706170983368~lan', 'line', 0, 0, 0, '', '', '', '', '', 'IMS', 'lan', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":2,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', '', '{\"autoRotate\":false,\"position\":\"middle\",\"refX\":0,\"refY\":0,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (2329, 'edge', '5GC System Architecture3', 'NSSF~1706171150530~lan', 'line', 0, 0, 0, '', '', '', '', '', 'NSSF', 'lan', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":2,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', '', '{\"autoRotate\":false,\"position\":\"middle\",\"refX\":0,\"refY\":0,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (2330, 'edge', '5GC System Architecture3', 'PCF~1706171215279~lan', 'line', 0, 0, 0, '', '', '', '', '', 'PCF', 'lan', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":2,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', '', '{\"autoRotate\":false,\"position\":\"middle\",\"refX\":0,\"refY\":0,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (2331, 'edge', '5GC System Architecture3', 'AMF~1706171248818~lan', 'line', 0, 0, 0, '', '', '', '', '', 'AMF', 'lan', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":2,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', '', '{\"autoRotate\":false,\"position\":\"middle\",\"refX\":0,\"refY\":0,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (2332, 'edge', '5GC System Architecture3', 'AUSF~1706171282723~lan', 'line', 0, 0, 0, '', '', '', '', '', 'AUSF', 'lan', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":2,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', '', '{\"autoRotate\":false,\"position\":\"middle\",\"refX\":0,\"refY\":0,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (2333, 'edge', '5GC System Architecture3', 'MME~1706173575994~lan', 'line', 0, 0, 0, '', '', '', '', '', 'MME', 'lan', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":2,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', '', '{\"autoRotate\":false,\"position\":\"middle\",\"refX\":0,\"refY\":0,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (2334, 'edge', '5GC System Architecture3', 'NEF~1706173617894~lan', 'line', 0, 0, 0, '', '', '', '', '', 'NEF', 'lan', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":2,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', '', '{\"autoRotate\":false,\"position\":\"middle\",\"refX\":0,\"refY\":0,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (2335, 'edge', '5GC System Architecture3', 'SMF~1706173671962~lan', 'line', 0, 0, 0, '', '', '', '', '', 'SMF', 'lan', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":2,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', '', '{\"autoRotate\":false,\"position\":\"middle\",\"refX\":0,\"refY\":0,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (2336, 'edge', '5GC System Architecture3', 'UDM~1706173695080~lan', 'line', 0, 0, 0, '', '', '', '', '', 'UDM', 'lan', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":2,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', '', '{\"autoRotate\":false,\"position\":\"middle\",\"refX\":0,\"refY\":0,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (2337, 'edge', '5GC System Architecture3', 'NRF~1706173798165~lan', 'line', 0, 0, 0, '', '', '', '', '', 'NRF', 'lan', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":2,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', '', '{\"autoRotate\":false,\"position\":\"middle\",\"refX\":0,\"refY\":0,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (2338, 'edge', '5GC System Architecture3', 'N3IWF~1706173823374~lan', 'line', 0, 0, 0, '', '', '', '', '', 'N3IWF', 'lan', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":2,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', '', '{\"autoRotate\":false,\"position\":\"middle\",\"refX\":0,\"refY\":0,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (2339, 'edge', '5GC System Architecture3', 'LMF~1706173845506~lan', 'line', 0, 0, 0, '', '', '', '', '', 'LMF', 'lan', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":2,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', '', '{\"autoRotate\":false,\"position\":\"middle\",\"refX\":0,\"refY\":0,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (2340, 'edge', '5GC System Architecture3', 'Base~1706176128676~MME', 'cubic-animate-circle-move', 0, 0, 0, '', '', '', '', '', 'Base', 'MME', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":2,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', 'S1-MME', '{\"autoRotate\":false,\"position\":\"end\",\"refX\":-15,\"refY\":-35,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (2341, 'combo', '5GC System Architecture3', '5GC', 'rect', 10, 4.47597, -155.893, '[40,40]', '', '', '', '', '', '', '', '[40,40,40,40]', '', '[{\"comboId\":\"5GC\",\"depth\":12,\"id\":\"IMS\",\"itemType\":\"node\"},{\"comboId\":\"5GC\",\"depth\":12,\"id\":\"NSSF\",\"itemType\":\"node\"},{\"comboId\":\"5GC\",\"depth\":12,\"id\":\"UPF\",\"itemType\":\"node\"},{\"comboId\":\"5GC\",\"depth\":12,\"id\":\"PCF\",\"itemType\":\"node\"},{\"comboId\":\"5GC\",\"depth\":12,\"id\":\"SMF\",\"itemType\":\"node\"},{\"comboId\":\"5GC\",\"depth\":12,\"id\":\"AMF\",\"itemType\":\"node\"},{\"comboId\":\"5GC\",\"depth\":12,\"id\":\"UDM\",\"itemType\":\"node\"},{\"comboId\":\"5GC\",\"depth\":12,\"id\":\"AUSF\",\"itemType\":\"node\"},{\"comboId\":\"5GC\",\"depth\":12,\"id\":\"NRF\",\"itemType\":\"node\"},{\"comboId\":\"5GC\",\"depth\":12,\"id\":\"LMF\",\"itemType\":\"node\"},{\"comboId\":\"5GC\",\"depth\":12,\"id\":\"NEF\",\"itemType\":\"node\"},{\"comboId\":\"5GC\",\"depth\":12,\"id\":\"MME\",\"itemType\":\"node\"},{\"comboId\":\"5GC\",\"depth\":12,\"id\":\"N3IWF\",\"itemType\":\"node\"},{\"comboId\":\"5GC\",\"depth\":12,\"id\":\"lan\",\"itemType\":\"node\"}]', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"grab\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"fill\":\"#318c7d\",\"fillOpacity\":0.1,\"height\":325.169599,\"highlight\":{\"fill\":\"rgb(253, 253, 253)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(253, 253, 253)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"lineWidth\":1,\"r\":203.94142,\"radius\":2,\"selected\":{\"fill\":\"rgb(253, 253, 253)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\",\"width\":407.88284}', 'Core Network', '{\"position\":\"top\",\"refX\":10,\"refY\":10,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (4278, 'node', '5GC System Architecture5', 'Base', 'image-animate-state', 0, -110, -30, '[60,50]', '{\"height\":25,\"img\":\"\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/base.svg', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '', '', '', '', '{\"cursor\":\"pointer\",\"fill\":\"transparent\",\"lineWidth\":1,\"radius\":4,\"stroke\":\"#ffffff\"}', '(R)AN', '{\"offset\":-5,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (4279, 'node', '5GC System Architecture5', 'DN', 'image-animate-state', 0, 240, -30, '[60,60]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/earth3d-1.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '', '', '', '', '{\"cursor\":\"pointer\",\"fill\":\"transparent\",\"lineWidth\":1,\"radius\":4,\"stroke\":\"#ffffff\"}', 'DN', '{\"offset\":-5,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (4280, 'node', '5GC System Architecture5', 'OMC', 'image-animate-state', 0, 240, -330, '[60,60]', '{\"height\":25,\"img\":\"\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/omc62.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '', '', '', '', '{\"cursor\":\"pointer\",\"fill\":\"transparent\",\"lineWidth\":1,\"radius\":4,\"stroke\":\"#783636\"}', 'OMC', '{\"offset\":-15,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (4281, 'node', '5GC System Architecture5', 'NR', 'image', 0, -153, -27, '[30,30]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/lightning1.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '', '', '', '', '{\"cursor\":\"pointer\",\"fill\":\"transparent\",\"lineWidth\":1,\"radius\":4,\"stroke\":\"#ffffff\"}', '', '{\"offset\":0,\"position\":\"center\",\"style\":{\"fill\":\"#000000\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (4282, 'node', '5GC System Architecture5', 'IMS', 'image-animate-state', 11, 170, -130, '[60,50]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/ims62.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"transparent\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#f1212c\"}', 'IMS', '{\"offset\":-15,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (4283, 'node', '5GC System Architecture5', 'NSSF', 'image-animate-state', 12, -110, -260, '[60,50]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/nssf62.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"transparent\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#f5222d\"}', 'NSSF', '{\"offset\":-15,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (4284, 'node', '5GC System Architecture5', 'UPF', 'image-animate-state', 13, 30, -30, '[60,50]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/upf6.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"transparent\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#f5222d\"}', 'UPF', '{\"offset\":-5,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (4285, 'node', '5GC System Architecture5', 'PCF', 'image-animate-state', 14, 100, -260, '[60,50]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/pcf62.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"transparent\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#f5222d\"}', 'PCF', '{\"offset\":-15,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (4286, 'node', '5GC System Architecture5', 'UE', 'image', 14, -201.589, -29.622, '[64,64]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/mobile.svg', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"transparent\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', 'UE', '{\"offset\":-10,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (4287, 'node', '5GC System Architecture5', 'SMF', 'image-animate-state', 15, 30, -130, '[60,50]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/smf62.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"transparent\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#f0212c\"}', 'SMF', '{\"offset\":-15,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (4288, 'node', '5GC System Architecture5', 'AMF', 'image-animate-state', 16, -110, -130, '[60,50]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/amf62.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"transparent\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#f5222d\"}', 'AMF', '{\"offset\":-15,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (4289, 'node', '5GC System Architecture5', 'AUSF', 'image-animate-state', 16, -180, -260, '[60,50]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/ausf62.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"transparent\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', 'AUSF', '{\"offset\":-15,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (4290, 'node', '5GC System Architecture5', 'UDM', 'image-animate-state', 17, -40, -260, '[60,50]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/udm62.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"transparent\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#f5222d\"}', 'UDM', '{\"offset\":-15,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (4291, 'node', '5GC System Architecture5', 'NRF', 'image-animate-state', 19, 100, -130, '[60,50]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/nrf62.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"transparent\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#f5222d\"}', 'NRF', '{\"offset\":-15,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (4292, 'node', '5GC System Architecture5', 'LMF', 'image-animate-state', 20, 170, -260, '[60,50]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/lmf62.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"transparent\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#f5222d\"}', 'LMF', '{\"offset\":-15,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (4293, 'node', '5GC System Architecture5', 'NEF', 'image-animate-state', 21, 30, -260, '[60,50]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/nef62.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"transparent\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#f5222d\"}', 'NEF', '{\"offset\":-15,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (4294, 'node', '5GC System Architecture5', 'MME', 'image-animate-state', 22, -180, -130, '[60,50]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/mme62.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"transparent\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#f5222d\"}', 'MME', '{\"offset\":-15,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (4295, 'node', '5GC System Architecture5', 'N3IWF', 'image-animate-state', 23, -40, -130, '[60,50]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/n3iwf62.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"transparent\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#f5222d\"}', 'N3IWF', '{\"offset\":-15,\"position\":\"bottom\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":14,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (4296, 'node', '5GC System Architecture5', 'lan1', 'image', 24, -180, -195, '[70,10]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/lan2.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '', '', '', '', '{\"cursor\":\"pointer\",\"fill\":\"transparent\",\"lineWidth\":1,\"radius\":4,\"stroke\":\"#ffffff\"}', 'LAN', '{\"offset\":0,\"position\":\"center\",\"style\":{\"fill\":\"#f6f4f4\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (4297, 'node', '5GC System Architecture5', 'lan2', 'image', 24, -110, -195, '[70,10]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/lan2.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"transparent\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', 'LAN', '{\"offset\":0,\"position\":\"center\",\"style\":{\"fill\":\"#f8f7f7\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (4298, 'node', '5GC System Architecture5', 'lan3', 'image', 24, -40, -195, '[70,10]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/lan2.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '', '', '', '', '{\"cursor\":\"pointer\",\"fill\":\"transparent\",\"lineWidth\":1,\"radius\":4,\"stroke\":\"#ffffff\"}', 'LAN', '{\"offset\":0,\"position\":\"center\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (4299, 'node', '5GC System Architecture5', 'lan4', 'image', 24, 30, -195, '[70,10]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/lan2.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '', '', '', '', '{\"cursor\":\"pointer\",\"fill\":\"transparent\",\"lineWidth\":1,\"radius\":4,\"stroke\":\"#ffffff\"}', 'LAN', '{\"offset\":0,\"position\":\"center\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (4300, 'node', '5GC System Architecture5', 'lan5', 'image', 24, 100, -195, '[70,10]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/lan2.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '', '', '', '', '{\"cursor\":\"pointer\",\"fill\":\"transparent\",\"lineWidth\":1,\"radius\":4,\"stroke\":\"#ffffff\"}', 'LAN', '{\"offset\":0,\"position\":\"center\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (4301, 'node', '5GC System Architecture5', 'lan6', 'image', 24, 170, -195, '[70,10]', '{\"height\":25,\"img\":\"\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/lan2.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '', '', '', '', '{\"cursor\":\"pointer\",\"fill\":\"transparent\",\"lineWidth\":1,\"radius\":4,\"stroke\":\"#ffffff\"}', 'LAN', '{\"offset\":0,\"position\":\"center\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (4302, 'node', '5GC System Architecture5', 'lan7', 'image', 24, 240, -195, '[70,10]', '{\"height\":25,\"img\":\"\",\"offset\":20,\"show\":false,\"width\":25}', '/svg/lan2.png', '{\"height\":0,\"show\":false,\"type\":\"circle\",\"width\":0}', '', '', '', '', '', '', '', '{\"cursor\":\"pointer\",\"fill\":\"transparent\",\"lineWidth\":1,\"radius\":4,\"stroke\":\"#ffffff\"}', 'LAN', '{\"offset\":0,\"position\":\"center\",\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (4303, 'node', '5GC System Architecture5', 'LAN', 'rect', 30, 30, -195, '[500,10]', '{\"height\":25,\"img\":\"/svg/service.svg\",\"offset\":20,\"show\":false,\"width\":25}', '', '', '', '', '', '', '', '', '', '{\"active\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"fill\":\"rgb(250, 250, 250)\",\"lineWidth\":1,\"stroke\":\"rgb(224, 224, 224)\"},\"fill\":\"#87cefa\",\"highlight\":{\"fill\":\"rgb(223, 234, 255)\",\"lineWidth\":2,\"stroke\":\"#4572d9\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"fill\":\"rgb(247, 250, 255)\",\"lineWidth\":1,\"stroke\":\"rgb(191, 213, 255)\"},\"lineWidth\":1,\"radius\":4,\"selected\":{\"fill\":\"rgb(255, 255, 255)\",\"lineWidth\":4,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#87cefa\"}', '', '{\"offset\":0,\"position\":\"center\",\"style\":{\"fill\":\"#000000\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (4304, 'edge', '5GC System Architecture5', 'NEF~1706494552592~lan5', 'line', 0, 0, 0, '', '', '', '', '', 'NEF', 'lan4', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":2,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', '', '{\"autoRotate\":false,\"position\":\"middle\",\"refX\":0,\"refY\":0,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (4305, 'edge', '5GC System Architecture5', 'LMF~1706495015507~lan6', 'polyline', 0, 0, 0, '', '', '', '', '', 'LMF', 'lan6', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":2,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', '', '{\"autoRotate\":false,\"position\":\"middle\",\"refX\":0,\"refY\":0,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (4306, 'edge', '5GC System Architecture5', 'OMC~1706495150020~lan7', 'polyline', 0, 0, 0, '', '', '', '', '', 'OMC', 'lan7', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":2,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', '', '{\"autoRotate\":false,\"position\":\"middle\",\"refX\":0,\"refY\":0,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (4307, 'edge', '5GC System Architecture5', 'AUSF~1706495243932~lan1', 'polyline', 0, 0, 0, '', '', '', '', '', 'AUSF', 'lan1', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":2,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', '', '{\"autoRotate\":false,\"position\":\"middle\",\"refX\":0,\"refY\":0,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (4308, 'edge', '5GC System Architecture5', 'AMF~1706495271064~lan2', 'polyline', 0, 0, 0, '', '', '', '', '', 'AMF', 'lan2', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":2,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', '', '{\"autoRotate\":false,\"position\":\"middle\",\"refX\":0,\"refY\":0,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (4309, 'edge', '5GC System Architecture5', 'NRF~1706495715971~lan3', 'polyline', 0, 0, 0, '', '', '', '', '', 'NRF', 'lan5', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":2,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', '', '{\"autoRotate\":false,\"position\":\"middle\",\"refX\":0,\"refY\":0,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (4310, 'edge', '5GC System Architecture5', 'SMF~1706495739277~lan4', 'polyline', 0, 0, 0, '', '', '', '', '', 'SMF', 'lan4', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":2,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', '', '{\"autoRotate\":false,\"position\":\"middle\",\"refX\":0,\"refY\":0,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (4311, 'edge', '5GC System Architecture5', 'IMS~1706496047466~lan5', 'polyline', 0, 0, 0, '', '', '', '', '', 'IMS', 'lan6', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":2,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', '', '{\"autoRotate\":false,\"position\":\"middle\",\"refX\":0,\"refY\":0,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (4312, 'edge', '5GC System Architecture5', 'N3IWF~1706496082968~lan6', 'polyline', 0, 0, 0, '', '', '', '', '', 'N3IWF', 'lan3', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":2,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', '', '{\"autoRotate\":false,\"position\":\"middle\",\"refX\":0,\"refY\":0,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (4313, 'edge', '5GC System Architecture5', 'RAN~1704534829539~UPF', 'line-animate-state', 0, 0, 0, '', '', '', '', '', 'Base', 'UPF', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":5,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#7b68ee\"}', 'N3', '{\"autoRotate\":false,\"position\":\"middle\",\"refX\":0,\"refY\":-10,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (4314, 'edge', '5GC System Architecture5', 'DN~1704534869360~UPF', 'line-animate-state', 0, 0, 0, '', '', '', '', '', 'UPF', 'DN', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":5,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#7b68ee\"}', 'N6', '{\"autoRotate\":false,\"position\":\"middle\",\"refX\":0,\"refY\":-10,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (4315, 'edge', '5GC System Architecture5', 'SMF~1704765447548~UPF', 'line-animate-state', 0, 0, 0, '', '', '', '', '', 'SMF', 'UPF', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":2,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', 'N4', '{\"autoRotate\":false,\"position\":\"middle\",\"refX\":0,\"refY\":3,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (4316, 'edge', '5GC System Architecture5', '5GC~1704764825481~Base', 'line-animate-state', 0, 0, 0, '', '', '', '', '', 'Base', 'AMF', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":2,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', 'N2', '{\"autoRotate\":false,\"position\":\"middle\",\"refX\":-5,\"refY\":-2,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (4317, 'edge', '5GC System Architecture5', 'MME~1706492758830~lan1', 'polyline', 0, 0, 0, '', '', '', '', '', 'MME', 'lan1', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":2,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', '', '{\"autoRotate\":false,\"position\":\"middle\",\"refX\":0,\"refY\":0,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (4318, 'edge', '5GC System Architecture5', 'UDM~1706493787944~lan2', 'line', 0, 0, 0, '', '', '', '', '', 'UDM', 'lan3', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":2,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', '', '{\"autoRotate\":false,\"position\":\"middle\",\"refX\":0,\"refY\":0,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (4319, 'edge', '5GC System Architecture5', 'PCF~1706494120334~lan3', 'line', 0, 0, 0, '', '', '', '', '', 'PCF', 'lan5', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":2,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', '', '{\"autoRotate\":false,\"position\":\"middle\",\"refX\":0,\"refY\":0,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); -INSERT IGNORE INTO `chart_graph` VALUES (4320, 'edge', '5GC System Architecture5', 'NSSF~1706494145341~lan4', 'polyline', 0, 0, 0, '', '', '', '', '', 'NSSF', 'lan2', '', '', '', '', '{\"active\":{\"lineWidth\":1,\"stroke\":\"rgb(95, 149, 255)\"},\"cursor\":\"pointer\",\"disable\":{\"lineWidth\":1,\"stroke\":\"rgb(245, 245, 245)\"},\"highlight\":{\"lineWidth\":2,\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"inactive\":{\"lineWidth\":1,\"stroke\":\"rgb(234, 234, 234)\"},\"lineWidth\":2,\"offset\":20,\"radius\":2,\"selected\":{\"lineWidth\":2,\"shadowBlur\":10,\"shadowColor\":\"rgb(95, 149, 255)\",\"stroke\":\"rgb(95, 149, 255)\",\"text-shape\":{\"fontWeight\":500}},\"stroke\":\"#ffffff\"}', '', '{\"autoRotate\":false,\"position\":\"middle\",\"refX\":0,\"refY\":0,\"style\":{\"fill\":\"#ffffff\",\"fontSize\":12,\"fontWeight\":500}}'); - -SET FOREIGN_KEY_CHECKS = 1; diff --git a/database/upgvue3/upg_kpi_report.sql b/database/upgvue3/upg_kpi_report.sql deleted file mode 100644 index b66dcfe6..00000000 --- a/database/upgvue3/upg_kpi_report.sql +++ /dev/null @@ -1,40 +0,0 @@ -/* - Navicat Premium Data Transfer - - Source Server : root@192.168.2.166 - Source Server Type : MariaDB - Source Server Version : 100616 (10.6.16-MariaDB-0ubuntu0.22.04.1) - Source Host : 192.168.2.166:33066 - Source Schema : omc_db - - Target Server Type : MariaDB - Target Server Version : 100616 (10.6.16-MariaDB-0ubuntu0.22.04.1) - File Encoding : 65001 - - Date: 26/04/2024 17:21:10 -*/ - -SET NAMES utf8mb4; -SET FOREIGN_KEY_CHECKS = 0; - --- ---------------------------- --- Table structure for kpi_report --- ---------------------------- -CREATE TABLE IF NOT EXISTS `kpi_report` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `ne_type` varchar(16) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, - `ne_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '', - `rm_uid` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, - `date` date NOT NULL, - `start_time` time NULL DEFAULT NULL, - `end_time` time NULL DEFAULT NULL, - `index` smallint(6) NOT NULL, - `granularity` tinyint(4) NULL DEFAULT 60 COMMENT 'Time granualarity: 5/10/.../60/300 (second)', - `kpi_values` text CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL, - `created_at` bigint(20) NULL DEFAULT NULL, - PRIMARY KEY (`id`) USING BTREE, - INDEX `idx_timestamp`(`created_at`) USING BTREE, - INDEX `idx_uid_datetime`(`rm_uid`, `date`, `start_time`) USING BTREE -) ENGINE = InnoDB AUTO_INCREMENT = 10660 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic; - -SET FOREIGN_KEY_CHECKS = 1; diff --git a/database/upgvue3/upg_sys_config.sql b/database/upgvue3/upg_sys_config.sql deleted file mode 100644 index 9a7398a0..00000000 --- a/database/upgvue3/upg_sys_config.sql +++ /dev/null @@ -1,502 +0,0 @@ -SET FOREIGN_KEY_CHECKS=0; - --- 参数配置value长度 - -ALTER TABLE - `sys_config` MODIFY COLUMN `config_value` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '参数键值' AFTER `config_key`; - -INSERT - IGNORE INTO `sys_config` ( - `config_id`, - `config_name`, - `config_key`, - `config_value`, - `config_type`, - `create_by`, - `create_time`, - `update_by`, - `update_time`, - `remark` - ) -VALUES ( - 1, - 'config.sys.user.initPassword', - 'sys.user.initPassword', - 'Abcd@1234..', - 'Y', - 'supervisor', - 1698110000000, - NULL, - 0, - 'config.sys.user.initPasswordRemark' - ); - -INSERT - IGNORE INTO `sys_config` ( - `config_id`, - `config_name`, - `config_key`, - `config_value`, - `config_type`, - `create_by`, - `create_time`, - `update_by`, - `update_time`, - `remark` - ) -VALUES ( - 2, - 'config.sys.account.captchaEnabled', - 'sys.account.captchaEnabled', - 'false', - 'Y', - 'supervisor', - 1698110000000, - NULL, - 0, - 'config.sys.account.captchaEnabledRemark' - ); - -INSERT - IGNORE INTO `sys_config` ( - `config_id`, - `config_name`, - `config_key`, - `config_value`, - `config_type`, - `create_by`, - `create_time`, - `update_by`, - `update_time`, - `remark` - ) -VALUES ( - 3, - 'config.sys.account.registerUser', - 'sys.account.registerUser', - 'false', - 'Y', - 'supervisor', - 1698110000000, - NULL, - 0, - 'config.sys.account.registerUserRemark' - ); - -INSERT - IGNORE INTO `sys_config` ( - `config_id`, - `config_name`, - `config_key`, - `config_value`, - `config_type`, - `create_by`, - `create_time`, - `update_by`, - `update_time`, - `remark` - ) -VALUES ( - 4, - 'config.sys.user.maxRetryCount', - 'sys.user.maxRetryCount', - '5', - 'Y', - 'supervisor', - 1698110000000, - NULL, - 0, - 'config.sys.user.maxRetryCountRemark' - ); - -INSERT - IGNORE INTO `sys_config` ( - `config_id`, - `config_name`, - `config_key`, - `config_value`, - `config_type`, - `create_by`, - `create_time`, - `update_by`, - `update_time`, - `remark` - ) -VALUES ( - 5, - 'config.sys.user.lockTime', - 'sys.user.lockTime', - '10', - 'Y', - 'supervisor', - 1698110000000, - NULL, - 0, - 'config.sys.user.lockTimeRemark' - ); - -INSERT - IGNORE INTO `sys_config` ( - `config_id`, - `config_name`, - `config_key`, - `config_value`, - `config_type`, - `create_by`, - `create_time`, - `update_by`, - `update_time`, - `remark` - ) -VALUES ( - 6, - 'config.sys.officialUrl', - 'sys.officialUrl', - 'https://www.agrandtech.com', - 'Y', - 'supervisor', - 1698110000000, - 'admin', - 1700809804330, - 'config.sys.officialUrlRemark' - ); - -INSERT - IGNORE INTO `sys_config` ( - `config_id`, - `config_name`, - `config_key`, - `config_value`, - `config_type`, - `create_by`, - `create_time`, - `update_by`, - `update_time`, - `remark` - ) -VALUES ( - 7, - 'config.sys.helpDoc', - 'sys.helpDoc', - '/static/helpDoc/{language}_doc.pdf', - 'Y', - 'supervisor', - 1698110000000, - NULL, - 0, - 'config.sys.helpDocRemark' - ); - -INSERT - IGNORE INTO `sys_config` ( - `config_id`, - `config_name`, - `config_key`, - `config_value`, - `config_type`, - `create_by`, - `create_time`, - `update_by`, - `update_time`, - `remark` - ) -VALUES ( - 10, - 'config.monitor.sysResource.storeDays', - 'monitor.sysResource.storeDays', - '30', - 'Y', - 'supervisor', - 1698110000000, - NULL, - 0, - 'config.monitor.sysResource.storeDaysRemark' - ); - -INSERT - IGNORE INTO `sys_config` ( - `config_id`, - `config_name`, - `config_key`, - `config_value`, - `config_type`, - `create_by`, - `create_time`, - `update_by`, - `update_time`, - `remark` - ) -VALUES ( - 102, - 'config.sys.logo.type', - 'sys.logo.type', - 'icon', - 'Y', - 'supervisor', - 1698110000000, - 'admin', - 1701252674635, - 'config.sys.logo.typeRemark' - ); - -INSERT - IGNORE INTO `sys_config` ( - `config_id`, - `config_name`, - `config_key`, - `config_value`, - `config_type`, - `create_by`, - `create_time`, - `update_by`, - `update_time`, - `remark` - ) -VALUES ( - 103, - 'config.sys.logo.filePathIcon', - 'sys.logo.filePathIcon', - '#', - 'Y', - 'supervisor', - 1698110000000, - 'admin', - 1701251070089, - 'config.sys.logo.filePathIconRemark' - ); - -INSERT - IGNORE INTO `sys_config` ( - `config_id`, - `config_name`, - `config_key`, - `config_value`, - `config_type`, - `create_by`, - `create_time`, - `update_by`, - `update_time`, - `remark` - ) -VALUES ( - 104, - 'config.sys.logo.filePathBrand', - 'sys.logo.filePathBrand', - '#', - 'Y', - 'supervisor', - 1698110000000, - 'admin', - 1701251023781, - 'config.sys.logo.filePathBrandRemark' - ); - -INSERT - IGNORE INTO `sys_config` ( - `config_id`, - `config_name`, - `config_key`, - `config_value`, - `config_type`, - `create_by`, - `create_time`, - `update_by`, - `update_time`, - `remark` - ) -VALUES ( - 105, - 'config.sys.loginBackground', - 'sys.loginBackground', - '#', - 'Y', - 'supervisor', - 1698110000000, - NULL, - 0, - 'config.sys.loginBackgroundRemark' - ); - -INSERT - IGNORE INTO `sys_config` ( - `config_id`, - `config_name`, - `config_key`, - `config_value`, - `config_type`, - `create_by`, - `create_time`, - `update_by`, - `update_time`, - `remark` - ) -VALUES ( - 106, - 'config.sys.title', - 'sys.title', - 'config.sys.titleValue', - 'Y', - 'supervisor', - 1698110000000, - NULL, - 0, - 'config.sys.titleRemark' - ); - -INSERT - IGNORE INTO `sys_config` ( - `config_id`, - `config_name`, - `config_key`, - `config_value`, - `config_type`, - `create_by`, - `create_time`, - `update_by`, - `update_time`, - `remark` - ) -VALUES ( - 107, - 'config.sys.copyright', - 'sys.copyright', - 'config.sys.copyrightValue', - 'Y', - 'supervisor', - 1698110000000, - NULL, - 0, - 'config.sys.copyrightRemark' - ); - -INSERT IGNORE INTO - `sys_config` ( - `config_id`, - `config_name`, - `config_key`, - `config_value`, - `config_type`, - `create_by`, - `create_time`, - `update_by`, - `update_time`, - `remark` - ) -VALUES ( - 108, - 'config.sys.i18nOpen', - 'sys.i18n.open', - 'true', - 'Y', - 'supervisor', - 1698110000000, - NULL, - 0, - 'config.sys.i18nOpenRemark' - ); - -INSERT IGNORE INTO - `sys_config` ( - `config_id`, - `config_name`, - `config_key`, - `config_value`, - `config_type`, - `create_by`, - `create_time`, - `update_by`, - `update_time`, - `remark` - ) -VALUES ( - 109, - 'config.sys.i18nDefault', - 'sys.i18n.default', - 'en_US', - 'Y', - 'supervisor', - 1698110000000, - NULL, - 0, - 'config.sys.i18nDefaultRemark' - ); - -UPDATE `sys_config` -SET - `config_name` = 'config.sys.helpDoc', - `config_key` = 'sys.helpDoc', - `config_value` = '/static/helpDoc/{language}_doc.pdf', - `config_type` = 'Y', - `create_by` = 'supervisor', - `create_time` = 1698110000000, - `update_by` = NULL, - `update_time` = 0, - `remark` = 'config.sys.helpDocRemark' -WHERE `config_id` = 7; - -UPDATE `sys_config` -SET - `config_name` = 'config.sys.logo.type', - `config_key` = 'sys.logo.type', - `config_value` = 'brand', - `config_type` = 'Y', - `create_by` = 'supervisor', - `create_time` = 1698110000000, - `update_by` = 'admin', - `update_time` = 1701834845928, - `remark` = 'config.sys.logo.typeRemark' -WHERE `config_id` = 102; - -UPDATE `sys_config` -SET - `config_name` = 'config.sys.logo.filePathIcon', - `config_key` = 'sys.logo.filePathIcon', - `config_value` = '/static/logo/{language}_icon.png', - `config_type` = 'Y', - `create_by` = 'supervisor', - `create_time` = 1698110000000, - `update_by` = NULL, - `update_time` = 0, - `remark` = 'config.sys.logo.filePathIconRemark' -WHERE `config_id` = 103; - -UPDATE `sys_config` -SET - `config_name` = 'config.sys.logo.filePathBrand', - `config_key` = 'sys.logo.filePathBrand', - `config_value` = '/static/logo/{language}_brand.png', - `config_type` = 'Y', - `create_by` = 'supervisor', - `create_time` = 1698110000000, - `update_by` = NULL, - `update_time` = 0, - `remark` = 'config.sys.logo.filePathBrandRemark' -WHERE `config_id` = 104; - -INSERT - IGNORE INTO `sys_config` ( - `config_id`, - `config_name`, - `config_key`, - `config_value`, - `config_type`, - `create_by`, - `create_time`, - `update_by`, - `update_time`, - `remark` - ) -VALUES ( - 110, - 'config.sys.lockTime', - 'sys.lockTime', - '0', - 'Y', - 'supervisor', - 1704960008300, - 'admin', - 1705030367279, - 'config.sys.lockTimeRemark' - ); - -SET FOREIGN_KEY_CHECKS=1; \ No newline at end of file diff --git a/database/upgvue3/upg_sys_dept.sql b/database/upgvue3/upg_sys_dept.sql deleted file mode 100644 index 7a6f79d2..00000000 --- a/database/upgvue3/upg_sys_dept.sql +++ /dev/null @@ -1,127 +0,0 @@ -SET FOREIGN_KEY_CHECKS=0; - -DROP TABLE IF EXISTS `sys_dept`; -CREATE TABLE `sys_dept` ( - `dept_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '部门id', - `parent_id` bigint(20) NULL DEFAULT 0 COMMENT '父部门id 默认0', - `ancestors` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '祖级列表', - `dept_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '部门名称', - `order_num` int(11) NULL DEFAULT 0 COMMENT '显示顺序', - `leader` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '负责人', - `phone` varchar(11) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '联系电话', - `email` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '邮箱', - `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '部门状态(0停用 1正常)', - `del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '删除标志(0代表存在 1代表删除)', - `create_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '创建者', - `create_time` bigint(20) NULL DEFAULT 0 COMMENT '创建时间', - `update_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '更新者', - `update_time` bigint(20) NULL DEFAULT 0 COMMENT '更新时间', - PRIMARY KEY (`dept_id`) USING BTREE - ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '部门表' ROW_FORMAT = Dynamic; - --- -- add default dept - -INSERT - IGNORE INTO `sys_dept` ( - `dept_id`, - `parent_id`, - `ancestors`, - `dept_name`, - `order_num`, - `leader`, - `phone`, - `email`, - `status`, - `del_flag`, - `create_by`, - `create_time`, - `update_by`, - `update_time` - ) -VALUES ( - 100, - 0, - '0', - '系统维护部', - 0, - 'admin', - '', - '', - '1', - '0', - 'admin', - 1697091866188, - '', - NULL - ); - -INSERT - IGNORE INTO `sys_dept` ( - `dept_id`, - `parent_id`, - `ancestors`, - `dept_name`, - `order_num`, - `leader`, - `phone`, - `email`, - `status`, - `del_flag`, - `create_by`, - `create_time`, - `update_by`, - `update_time` - ) -VALUES ( - 101, - 100, - '0,100', - '运维一部', - 1, - 'admin', - '', - '', - '1', - '0', - 'admin', - 1697091866192, - '', - NULL - ); - --- for cn/en locale -UPDATE `sys_dept` -SET - `parent_id` = 0, - `ancestors` = '0', - `dept_name` = 'dept.root', - `order_num` = 0, - `leader` = 'supervisor', - `phone` = NULL, - `email` = NULL, - `status` = '1', - `del_flag` = '0', - `create_by` = 'supervisor', - `create_time` = 1699348237468, - `update_by` = NULL, - `update_time` = 0 -WHERE `dept_id` = 100; - -UPDATE `sys_dept` -SET - `parent_id` = 100, - `ancestors` = '0,100', - `dept_name` = 'dept.root.item1', - `order_num` = 1, - `leader` = 'supervisor', - `phone` = NULL, - `email` = NULL, - `status` = '1', - `del_flag` = '0', - `create_by` = 'supervisor', - `create_time` = 1699348237468, - `update_by` = NULL, - `update_time` = 0 -WHERE `dept_id` = 101; - -SET FOREIGN_KEY_CHECKS=1; \ No newline at end of file diff --git a/database/upgvue3/upg_sys_dict_data0.sql b/database/upgvue3/upg_sys_dict_data0.sql deleted file mode 100644 index f77017dc..00000000 --- a/database/upgvue3/upg_sys_dict_data0.sql +++ /dev/null @@ -1,161 +0,0 @@ -/* - Navicat Premium Data Transfer - - Source Server : root@192.168.2.166 - Source Server Type : MariaDB - Source Server Version : 100616 (10.6.16-MariaDB-0ubuntu0.22.04.1) - Source Host : 192.168.2.166:33066 - Source Schema : omc_db - - Target Server Type : MariaDB - Target Server Version : 100616 (10.6.16-MariaDB-0ubuntu0.22.04.1) - File Encoding : 65001 - - Date: 29/01/2024 20:33:11 -*/ - -SET NAMES utf8mb4; -SET FOREIGN_KEY_CHECKS = 0; - --- ---------------------------- --- Table structure for sys_dict_data --- ---------------------------- -CREATE TABLE IF NOT EXISTS `sys_dict_data` ( - `dict_code` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '字典编码', - `dict_sort` int(11) NULL DEFAULT 0 COMMENT '字典排序', - `dict_label` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '字典标签', - `dict_value` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '字典键值', - `dict_type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '字典类型', - `tag_class` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '样式属性(样式扩展)', - `tag_type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '标签类型(预设颜色)', - `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '状态(0停用 1正常)', - `create_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '创建者', - `create_time` bigint(20) NULL DEFAULT NULL COMMENT '创建时间', - `update_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '更新者', - `update_time` bigint(20) NULL DEFAULT 0 COMMENT '更新时间', - `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注', - PRIMARY KEY (`dict_code`) USING BTREE -) ENGINE = InnoDB AUTO_INCREMENT = 4036 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '字典数据表' ROW_FORMAT = Dynamic; - --- ---------------------------- --- Records of sys_dict_data --- ---------------------------- -INSERT IGNORE INTO `sys_dict_data` VALUES (1, 1, 'dictData.sex.un', '0', 'sys_user_sex', NULL, NULL, '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2, 2, 'dictData.sex.male', '1', 'sys_user_sex', NULL, NULL, '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3, 3, 'dictData.sex.female', '2', 'sys_user_sex', NULL, NULL, '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4, 1, 'dictData.show', '1', 'sys_show_hide', NULL, 'success', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (5, 2, 'dictData.hide', '0', 'sys_show_hide', NULL, 'error', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (6, 1, 'dictData.normal', '1', 'sys_normal_disable', NULL, 'success', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (7, 2, 'dictData.disable', '0', 'sys_normal_disable', NULL, 'error', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (8, 1, 'dictData.yes', 'Y', 'sys_yes_no', NULL, 'success', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (9, 2, 'dictData.no', 'N', 'sys_yes_no', NULL, 'error', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (10, 1, 'dictData.success', '1', 'sys_common_status', NULL, 'success', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (11, 2, 'dictData.fail', '0', 'sys_common_status', NULL, 'error', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (12, 1, 'dictData.jobStatus.normal', '1', 'sys_job_status', NULL, NULL, '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (13, 2, 'dictData.jobStatus.pause', '0', 'sys_job_status', NULL, NULL, '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (14, 1, 'dictData.jobGroup.Default', 'DEFAULT', 'sys_job_group', NULL, NULL, '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (15, 2, 'dictData.jobGroup.System', 'SYSTEM', 'sys_job_group', NULL, NULL, '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (16, 1, 'dictData.operType.other', '0', 'sys_oper_type', NULL, 'processing', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (17, 2, 'dictData.operType.add', '1', 'sys_oper_type', NULL, 'processing', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (18, 3, 'dictData.operType.edit', '2', 'sys_oper_type', NULL, 'processing', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (19, 4, 'dictData.operType.delete', '3', 'sys_oper_type', NULL, 'error', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (20, 5, 'dictData.operType.auth', '4', 'sys_oper_type', NULL, 'success', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (21, 6, 'dictData.operType.export', '5', 'sys_oper_type', NULL, 'warning', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (22, 7, 'dictData.operType.import', '6', 'sys_oper_type', NULL, 'warning', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (23, 8, 'dictData.operType.forced quit', '7', 'sys_oper_type', NULL, 'error', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (24, 9, 'dictData.operType.clear', '8', 'sys_oper_type', NULL, 'error', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (25, 1, 'dictData.trace.interface', 'Interface', 'trace_type', NULL, NULL, '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (26, 2, 'dictData.trace.device', 'Device', 'trace_type', NULL, NULL, '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (27, 3, 'dictData.trace.user', 'UE', 'trace_type', NULL, NULL, '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (28, 1, 'dictData.logType.download', 'DOWNLOAD', 'operation_log_type', NULL, 'pink', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (29, 2, 'dictData.logType.activation', 'Activation', 'operation_log_type', NULL, 'blue ', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (30, 3, 'dictData.logType.add', 'ADD', 'operation_log_type', NULL, 'cyan', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (31, 4, 'dictData.logType.other', 'AUTO', 'operation_log_type', NULL, 'gold', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (32, 5, 'dictData.logType.back', 'BACK', 'operation_log_type', NULL, 'blue ', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (33, 6, 'dictData.logType.delete', 'DELETE', 'operation_log_type', NULL, 'red', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (34, 7, 'dictData.logType.distribute', 'Distribute', 'operation_log_type', NULL, 'yellow', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (35, 8, 'dictData.logType.export', 'EXPORT', 'operation_log_type', NULL, 'green', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (36, 9, 'dictData.logType.query', 'SELECT', 'operation_log_type', NULL, 'gold', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (37, 10, 'dictData.logType.setup', 'SET', 'operation_log_type', NULL, NULL, '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (38, 11, 'dictData.logType.update', 'UPDATE', 'operation_log_type', NULL, 'magenta', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (39, 12, 'dictData.logType.upload', 'UPLOAD', 'operation_log_type', NULL, 'yellow', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (40, 13, 'dictData.logType.view', 'View', 'operation_log_type', NULL, 'purple', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (41, 14, 'dictData.logType.login', '0', 'security_log_type', NULL, NULL, '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (42, 15, 'dictData.logType.logout', '1', 'security_log_type', NULL, 'cyan', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (43, 1, 'dictData.securityLogType.add', '2', 'security_log_type', NULL, 'green', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (44, 2, 'dictData.securityLogType.update', '3', 'security_log_type', NULL, 'lime', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (45, 3, 'dictData.securityLogType.delete', '4', 'security_log_type', NULL, NULL, '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (46, 4, 'dictData.securityLogType.lock', '5', 'security_log_type', NULL, NULL, '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (47, 5, 'dictData.securityLogType.unlock', '6', 'security_log_type', NULL, 'gold', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (48, 6, 'dictData.securityLogType.reset', '7', 'security_log_type', NULL, 'cyan', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (49, 7, 'dictData.securityLogType.deactivate', '8', 'security_log_type', NULL, 'blue ', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (50, 8, 'dictData.jobSaveLog.no', '0', 'sys_job_save_log', NULL, NULL, '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (51, 9, 'dictData.jobSaveLog.yes', '1', 'sys_job_save_log', NULL, NULL, '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (52, 1, 'dictData.neVersionStatus.upload', 'Uploaded', 'ne_version_status', NULL, 'processing', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (53, 2, 'dictData.neVersionStatus.inactive', 'Inactive', 'ne_version_status', NULL, 'gold', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (54, 3, 'dictData.neVersionStatus.active', 'Active', 'ne_version_status', NULL, 'success', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (55, 1, 'dictData.alarmStatus.history', '0', 'alarm_status', NULL, NULL, '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (56, 2, 'dictData.alarmStatus.active', '1', 'alarm_status', NULL, NULL, '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (57, 1, 'dictData.datascope.all', '1', 'sys_role_datascope', NULL, NULL, '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (58, 2, 'dictData.datascope.custom', '2', 'sys_role_datascope', NULL, NULL, '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (59, 3, 'dictData.datascope.dept', '3', 'sys_role_datascope', NULL, NULL, '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (60, 4, 'dictData.datascope.deptAndChid', '4', 'sys_role_datascope', NULL, NULL, '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (61, 5, 'dictData.datascope.self', '5', 'sys_role_datascope', NULL, NULL, '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (62, 1, 'dictData.active_alarm_type.communication', 'CommunicationAlarm', 'active_alarm_type', NULL, 'gold', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (63, 2, 'dictData.active_alarm_type.equipment', 'EquipmentAlarm', 'active_alarm_type', NULL, 'cyan', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (64, 3, 'dictData.active_alarm_type.processing', 'ProcessingFailure', 'active_alarm_type', NULL, 'blue ', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (65, 4, 'dictData.active_alarm_type.environmental', 'EnvironmentalAlarm', 'active_alarm_type', NULL, 'yellow', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (66, 5, 'dictData.active_alarm_type.qualityOfService', 'QualityOfServiceAlarm', 'active_alarm_type', NULL, 'purple', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (67, 0, 'dictData.active_clear_type.notCleared', '0', 'active_clear_type', NULL, 'processing', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (68, 1, 'dictData.active_clear_type.auto', '1', 'active_clear_type', NULL, 'gold', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (69, 2, 'dictData.active_clear_type.hand', '2', 'active_clear_type', NULL, 'success', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (70, 0, 'dictData.active_ack_state.unconfirmed', '0', 'active_ack_state', NULL, 'processing', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (71, 1, 'dictData.active_ack_state.confirmed', '1', 'active_ack_state', NULL, 'success', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (72, 1, 'dictData.active_alarm_severity.critical', 'Critical', 'active_alarm_severity', NULL, 'gold', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (73, 2, 'dictData.active_alarm_severity.major', 'Major', 'active_alarm_severity', NULL, 'cyan', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (74, 3, 'dictData.active_alarm_severity.minor', 'Minor', 'active_alarm_severity', NULL, 'blue ', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (75, 4, 'dictData.active_alarm_severity.warning', 'Warning', 'active_alarm_severity', NULL, 'yellow', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (76, 5, 'dictData.active_alarm_severity.event', 'Event', 'active_alarm_severity', NULL, 'purple', '1', 'supervisor', 1699350000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (77, 1, 'dictType.index_status.normal', 'normal', 'index_status', '#91cc75', NULL, '1', 'supervisor', 1702019464083, 'supervisor', 1702021768318, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (78, 2, 'dictType.index_status.abnormal', 'abnormal', 'index_status', '#ee6666', NULL, '1', 'supervisor', 1702019496965, 'supervisor', 1702021757053, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (79, 1, 'dictData.cdr_sip_code.200', '200', 'cdr_sip_code', NULL, NULL, '1', 'supervisor', 1706611926184, 'supervisor', 1706611931945, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (80, 3, 'dictData.cdr_sip_code.403', '403', 'cdr_sip_code', NULL, NULL, '1', 'supervisor', 1706612097209, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (81, 8, 'dictData.cdr_sip_code.408', '408', 'cdr_sip_code', NULL, NULL, '1', 'supervisor', 1706612130088, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (82, 10, 'dictData.cdr_sip_code.500', '500', 'cdr_sip_code', NULL, NULL, '1', 'supervisor', 1706612145510, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (83, 1, 'dictData.cdr_call_type.audio', 'audio', 'cdr_call_type', NULL, NULL, '1', 'supervisor', 1706612401539, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (84, 2, 'dictData.cdr_call_type.video', 'video', 'cdr_call_type', NULL, NULL, '1', 'supervisor', 1706615174291, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (85, 1, 'dictData.ue_auth_code.200', '200', 'ue_auth_code', NULL, NULL, '1', 'supervisor', 1706616391409, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (86, 1, 'dictData.ue_auth_code.001', '001', 'ue_auth_code', NULL, NULL, '1', 'supervisor', 1706616413353, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (87, 2, 'dictData.ue_auth_code.002', '002', 'ue_auth_code', NULL, NULL, '1', 'supervisor', 1706616433726, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (88, 3, 'dictData.ue_auth_code.003', '003', 'ue_auth_code', NULL, NULL, '1', 'supervisor', 1706616454965, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (89, 4, 'dictData.ue_auth_code.004', '004', 'ue_auth_code', NULL, NULL, '1', 'supervisor', 1706616471395, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (90, 5, 'dictData.ue_auth_code.005', '005', 'ue_auth_code', NULL, NULL, '1', 'supervisor', 1706616492215, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (91, 6, 'dictData.ue_auth_code.006', '006', 'ue_auth_code', NULL, NULL, '1', 'supervisor', 1706616510265, 'supervisor', 1706616531154, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (92, 7, 'dictData.ue_auth_code.007', '007', 'ue_auth_code', NULL, NULL, '1', 'supervisor', 1706616527896, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (93, 1, 'dictData.ue_event_type.auth', 'auth-result', 'ue_event_type', NULL, NULL, '1', 'supervisor', 1706617140742, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (94, 2, 'dictData.ue_event_type.detach', 'detach', 'ue_event_type', NULL, NULL, '1', 'supervisor', 1706617173633, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (95, 3, 'dictData.ue_event_type.state', 'cm-state', 'ue_event_type', NULL, NULL, '1', 'supervisor', 1706617219238, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (96, 1, 'dictData.ue_event_cm_state.connected', '1', 'ue_event_cm_state', '', '', '1', 'supervisor', 1706620000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (97, 2, 'dictData.ue_event_cm_state.idle', '2', 'ue_event_cm_state', '', '', '1', 'supervisor', 1706620000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (98, 3, 'dictData.ue_event_cm_state.inactive', '3', 'ue_event_cm_state', '', '', '1', 'supervisor', 1706620000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (99, 4, 'dictData.cdr_sip_code.404', '404', 'cdr_sip_code', '', '', '1', 'supervisor', 1706610000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (100, 6, 'dictData.cdr_sip_code.487', '487', 'cdr_sip_code', '', '', '1', 'supervisor', 1706610000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (101, 12, 'dictData.cdr_sip_code.503', '503', 'cdr_sip_code', '', '', '1', 'supervisor', 1706610000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (102, 13, 'dictData.cdr_sip_code.504', '504', 'cdr_sip_code', '', '', '1', 'supervisor', 1706610000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (103, 15, 'dictData.cdr_sip_code.603', '603', 'cdr_sip_code', '', '', '1', 'supervisor', 1706610000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (104, 16, 'dictData.cdr_sip_code.606', '606', 'cdr_sip_code', '', '', '1', 'supervisor', 1706610000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (105, 17, 'dictData.cdr_sip_code.202', '202', 'cdr_sip_code', '', '', '1', 'supervisor', 1706610000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (106, 3, 'dictData.cdr_call_type.sms', 'sms', 'cdr_call_type', '', '', '1', 'supervisor', 1706620000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (107, 9, 'dictData.cdr_sip_code.488', '488', 'cdr_sip_code', '', '', '1', 'supervisor', 1706610000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (108, 0, 'dictData.cdr_sip_code.0', '0', 'cdr_sip_code', '', '', '1', 'supervisor', 1706610000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (109, 0, 'dictData.ne_host_type.ssh', 'ssh', 'ne_host_type', '', '', '1', 'supervisor', 1706620000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (110, 1, 'dictData.ne_host_type.telnet', 'telnet', 'ne_host_type', '', '', '1', 'supervisor', 1706620000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (111, 0, 'dictData.ne_host_groupId.0', '0', 'ne_host_groupId', '', '', '1', 'supervisor', 1706620000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (112, 1, 'dictData.ne_host_groupId.1', '1', 'ne_host_groupId', '', '', '1', 'supervisor', 1706620000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (113, 2, 'dictData.ne_host_groupId.2', '2', 'ne_host_groupId', '', '', '1', 'supervisor', 1706620000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (114, 0, 'dictData.ne_host_authMode.0', '0', 'ne_host_authMode', '', '', '1', 'supervisor', 1706620000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (115, 1, 'dictData.ne_host_authMode.1', '1', 'ne_host_authMode', '', '', '1', 'supervisor', 1706620000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (116, 0, 'dictData.ne_host_cmd_groupId.0', '0', 'ne_host_cmd_groupId', '', '', '1', 'supervisor', 1706620000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (117, 1, 'dictData.ne_host_cmd_groupId.1', '1', 'ne_host_cmd_groupId', '', '', '1', 'supervisor', 1706620000000, '', 0, ''); - -SET FOREIGN_KEY_CHECKS = 1; diff --git a/database/upgvue3/upg_sys_dict_data1_i18n_zh.sql b/database/upgvue3/upg_sys_dict_data1_i18n_zh.sql deleted file mode 100644 index 3108f432..00000000 --- a/database/upgvue3/upg_sys_dict_data1_i18n_zh.sql +++ /dev/null @@ -1,659 +0,0 @@ -/* - Navicat Premium Data Transfer - - Source Server : root@192.168.2.166 - Source Server Type : MariaDB - Source Server Version : 100616 (10.6.16-MariaDB-0ubuntu0.22.04.1) - Source Host : 192.168.2.166:33066 - Source Schema : omc_db - - Target Server Type : MariaDB - Target Server Version : 100616 (10.6.16-MariaDB-0ubuntu0.22.04.1) - File Encoding : 65001 - - Date: 29/01/2024 20:33:11 -*/ - -SET NAMES utf8mb4; -SET FOREIGN_KEY_CHECKS = 0; - -INSERT IGNORE INTO `sys_dict_data` VALUES (1000, 1000, 'i18n', '中文', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1001, 1001, 'hello', '你好', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1002, 1002, 'menu.system', '系统', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1003, 1003, 'menu.monitor', '监控', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1004, 1004, 'menu.tools', '工具', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1005, 1005, 'menu.config', '配置', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1006, 1006, 'menu.ueUser', '终端', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1007, 1007, 'menu.systemRemark', '系统管理目录', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1008, 1008, 'menu.monitorRemark', '系统监控目录', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1009, 1009, 'menu.toolsRemark', '系统工具目录', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1010, 1010, 'menu.configRemark', 'OMC配置管理目录', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1011, 1011, 'menu.ueUserRemark', '网元终端信息目录', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1012, 1012, 'menu.security.user', '用户管理', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1013, 1013, 'menu.security.role', '角色管理', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1014, 1014, 'menu.security.roleUser', '分配角色', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1015, 1015, 'menu.system.menu', '菜单管理', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1016, 1016, 'menu.security.dept', '部门管理', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1017, 1017, 'menu.security.post', '岗位管理', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1018, 1018, 'menu.system.dictType', '字典管理', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1019, 1019, 'menu.system.dictData', '字典数据', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1020, 1020, 'menu.system.paramSet', '参数设置', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1021, 1021, 'menu.system.systemLog', '系统日志', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1022, 1022, 'menu.system.systemInfo', '系统信息', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1023, 1023, 'menu.system.cacheInfo', '缓存信息', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1024, 1024, 'menu.system.cache', '缓存管理', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1025, 1025, 'menu.security.onlineUser', '在线用户', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1026, 1026, 'menu.system.job', '调度任务', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1027, 1027, 'menu.system.jobLog', '调度日志', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1028, 1028, 'menu.tools.help', '帮助文档', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1029, 1029, 'menu.log.operat', '操作日志', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1030, 1030, 'menu.log.login', '安全日志', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1031, 1031, 'menu.security.userRemark', '用户管理菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1032, 1032, 'menu.security.roleRemark', '角色管理菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1033, 1033, 'menu.security.roleUserRemark', '分配角色内嵌隐藏菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1034, 1034, 'menu.system.menuRemark', '菜单管理菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1035, 1035, 'menu.security.deptRemark', '部门管理菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1036, 1036, 'menu.security.postRemark', '岗位管理菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1037, 1037, 'menu.system.dictTypeRemark', '字典管理菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1038, 1038, 'menu.system.dictDataRemark', '字典数据内嵌隐藏菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1039, 1039, 'menu.system.paramSetRemark', '参数设置菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1040, 1040, 'menu.system.systemLogRemark', '系统日志目录', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1041, 1041, 'menu.system.systemInfoRemark', '系统信息菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1042, 1042, 'menu.system.cacheInfoRemark', '缓存信息菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1043, 1043, 'menu.system.cacheRemark', '缓存列表菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1044, 1044, 'menu.security.onlineUserRemark', '在线用户菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1045, 1045, 'menu.system.jobRemark', '调度任务菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1046, 1046, 'menu.system.jobLogRemark', '调度日志内嵌隐藏菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1047, 1047, 'menu.tools.helpRemark', '帮助文档菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1048, 1048, 'menu.log.operatRemark', '操作日志菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1049, 1049, 'menu.log.loginRemark', '登录日志菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1050, 1050, 'menu.common.query', '查询', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1051, 1051, 'menu.common.add', '新增', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1052, 1052, 'menu.common.edit', '修改', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1053, 1053, 'menu.common.delete', '删除', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1054, 1054, 'menu.common.export', '导出', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1055, 1055, 'menu.common.import', '导入', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1056, 1056, 'menu.common.reset', '重置', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1057, 1057, 'menu.common.unlock', '账户解锁', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1058, 1058, 'menu.forcedQuit.batch ', '批量强退', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1059, 1059, 'menu.forcedQuit.single', '单条强退', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1060, 1060, 'menu.ueUser.authUDM', 'UDM鉴权用户', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1061, 1061, 'menu.ueUser.subUDM', 'UDM签约用户', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1062, 1062, 'menu.ueUser.authUDMRemark', 'UDM鉴权用户菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1063, 1063, 'menu.ueUser.subUDMRemark', 'UDM签约用户菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1064, 1064, 'menu.config.neManage', '网元管理', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1065, 1065, 'menu.config.configNE', '参数配置Original', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1066, 1066, 'menu.config.neManageRemark', '网元管理菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1067, 1067, 'menu.config.configNERemark', '参数配置菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1068, 1068, 'menu.config.backupManage', '备份管理', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1069, 1069, 'menu.config.softwareManage', '软件管理', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1070, 1070, 'menu.ueUser.onlineIMS', 'IMS在线用户', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1071, 1071, 'menu.ueUser.onlineUE', 'UE在线信息', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1072, 1072, 'menu.ueUser.base5G', '基站信息', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1073, 1073, 'menu.trace', '跟踪', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1074, 1074, 'menu.trace.task', '跟踪任务', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1075, 1075, 'menu.trace.analysis', '信令分析', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1076, 1076, 'menu.trace.pcap', '信令抓包', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1077, 1077, 'menu.fault', '监控', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1078, 1078, 'menu.config.backupManageRemark', '备份管理菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1079, 1079, 'menu.config.softwareManageRemark', '软件管理菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1080, 1080, 'menu.ueUser.onlineIMSRemark', 'IMS在线用户菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1081, 1081, 'menu.ueUser.onlineUERemark', 'UE在线信息菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1082, 1082, 'menu.ueUser.base5GRemark', '5G基站信息菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1083, 1083, 'menu.traceRemark', '跟踪管理目录', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1084, 1084, 'menu.trace.taskRemark', '跟踪任务菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1085, 1085, 'menu.trace.analysisRemark', '信令分析菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1086, 1086, 'menu.trace.pcapRemark', '信令抓包菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1087, 1087, 'menu.faultRemark', '故障管理目录', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1088, 1088, 'menu.fault.active', '活动告警', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1089, 1089, 'menu.log', '日志', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1090, 1090, 'menu.log.operatOld', '操作日志(旧)', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1091, 1091, 'menu.log.mml', 'MML日志', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1092, 1092, 'menu.log.alarm', '告警日志', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1093, 1093, 'menu.log.securityOld', '安全日志(旧)', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1094, 1094, 'menu.log.forwarding', '告警前转日志', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1095, 1095, 'menu.log.set', '日志设置', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1096, 1096, 'menu.monitor.sessionUser', '用户会话', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1097, 1097, 'menu.fault.history', '历史告警', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1098, 1098, 'menu.fault.set', '设置', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1099, 1099, 'menu.perf', '性能', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1100, 1100, 'menu.fault.activemRemark', '活动告警菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1101, 1101, 'menu.logRemark', '日志管理目录', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1102, 1102, 'menu.log.operatOldRemark', '操作日志旧layui菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1103, 1103, 'menu.log.mmlRemark', '操作MML日志', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1104, 1104, 'menu.log.alarmRemark', '告警日志菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1105, 1105, 'menu.log.securityOldRemark', '安全日志旧layui菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1106, 1106, 'menu.log.forwardingRemark', '告警前转日志菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1107, 1107, 'menu.log.setRemark', '日志设置菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1108, 1108, 'menu.monitor.sessionUserRemark', '用户会话旧layui菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1109, 1109, 'menu.fault.historyRemark', '历史告警菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1110, 1110, 'menu.fault.setRemark', '故障通用设置菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1111, 1111, 'menu.perfRemark', '性能目录', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1112, 1112, 'menu.perf.task', '任务管理', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1113, 1113, 'menu.perf.data', '性能数据', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1114, 1114, 'menu.perf.report', '性能报表', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1115, 1115, 'menu.perf.threshold', '性能门限', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1116, 1116, 'menu.perf.kpi', '黄金指标', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1117, 1117, 'menu.perf.customTarget', '自定义指标', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1118, 1118, 'menu.perf.set', '性能通用设置', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1119, 1119, 'menu.mml', 'MML', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1120, 1120, 'menu.mml.ne', '网元操作', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1121, 1121, 'menu.mml.udm', 'UDM操作', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1122, 1122, 'menu.mml.set', 'MML设置', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1123, 1123, 'menu.mml.omc', 'OMC操作', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1124, 1124, 'menu.perf.taskRemark', '任务管理菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1125, 1125, 'menu.perf.dataRemark', '性能数据菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1126, 1126, 'menu.perf.reportRemark', '性能报表菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1127, 1127, 'menu.perf.thresholdRemark', '性能门限菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1128, 1128, 'menu.perf.kpiRemark', '黄金指标菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1129, 1129, 'menu.perf.customTargetRemark', '自定义指标菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1130, 1130, 'menu.perf.setRemark', '性能通用设置菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1131, 1131, 'menu.mmlRemark', 'MML管理目录', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1132, 1132, 'menu.mml.neRemark', '网元操作菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1133, 1133, 'menu.mml.udmRemark', '网元UDM用户数据菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1134, 1134, 'menu.mml.setRemark', 'MML设置菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1135, 1135, 'menu.mml.omcRemark', 'OMC操作菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1136, 1136, 'menu.config.licenseManage', '许可证管理', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1137, 1137, 'menu.security', '安全', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1138, 1138, 'menu.system.systemSet', '系统设置', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1139, 1139, 'menu.system.systemResource', '系统资源', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1140, 1140, 'menu.config.configNEForm', '参数配置Form', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1141, 1141, 'menu.config.configNETree', '参数配置Tree', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1142, 1142, 'menu.config.configNETreeTable', '参数配置', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1143, 1143, 'menu.config.licenseManageRemark', '许可证管理菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1144, 1144, 'menu.securityRemark', '安全管理目录', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1145, 1145, 'menu.system.systemSetRemark', '系统设置菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1146, 1146, 'menu.system.systemResourceRemark', '系统资源 cpu io network菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1147, 1147, 'menu.config.configNEFormRemark', '参数配置Form菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1148, 1148, 'menu.config.configNETreeRemark', '参数配置Tree菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1149, 1149, 'menu.config.configNETreeTableRemark', '参数配置TreeTable菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1150, 1150, 'menu.noData', '没有可访问菜单数据!', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1151, 1151, 'menu.errNameExists', '操作菜单【{name}】失败,菜单名称已存在', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1152, 1152, 'menu.errPathExists', '操作菜单【{name}】失败,菜单路由地址已存在', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1153, 1153, 'menu.errFramePath', '操作菜单【{name}】失败,非内部地址请以http(s)://开头', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1154, 1154, 'menu.errParentStatus', '上级菜单未启用!', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1155, 1155, 'menu.errHasChildUse', '操作菜单【{name}】失败,存在使用子菜单数:{num}', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1156, 1156, 'menu.errHasRoleUse', '操作菜单【{name}】失败,菜单已分配给角色数:{num}', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1400, 1400, 'dictData.sex.un', '未选择', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1401, 1401, 'dictData.sex.male', '男', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1402, 1402, 'dictData.sex.female', '女', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1403, 1403, 'dictData.show', '显示', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1404, 1404, 'dictData.hide', '隐藏', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1405, 1405, 'dictData.normal', '正常', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1406, 1406, 'dictData.disable', '停用', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1407, 1407, 'dictData.yes', '是', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1408, 1408, 'dictData.no', '否', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1409, 1409, 'dictData.success', '成功', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1410, 1410, 'dictData.fail', '失败', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1411, 1411, 'dictData.jobStatus.normal', '正常', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1412, 1412, 'dictData.jobStatus.pause', '暂停', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1413, 1413, 'dictData.jobGroup.Default', '默认', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1414, 1414, 'dictData.jobGroup.System', '系统', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1415, 1415, 'dictData.operType.other', '其他', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1416, 1416, 'dictData.operType.add', '新增', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1417, 1417, 'dictData.operType.edit', '修改', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1418, 1418, 'dictData.operType.delete', '删除', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1419, 1419, 'dictData.operType.auth', '授权', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1420, 1420, 'dictData.operType.export', '导出', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1421, 1421, 'dictData.operType.import', '导入', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1422, 1422, 'dictData.operType.forced quit', '强退', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1423, 1423, 'dictData.operType.clear', '清空', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1424, 1424, 'dictData.trace.interface', '接口跟踪', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1425, 1425, 'dictData.trace.device', '设备跟踪', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1426, 1426, 'dictData.trace.user', '用户跟踪', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1427, 1427, 'dictData.logType.download', '下载', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1428, 1428, 'dictData.logType.activation', '激活', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1429, 1429, 'dictData.logType.add', '新增', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1430, 1430, 'dictData.logType.other', '其他', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1431, 1431, 'dictData.logType.back', '回退', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1432, 1432, 'dictData.logType.delete', '删除', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1433, 1433, 'dictData.logType.distribute', '分配', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1434, 1434, 'dictData.logType.export', '导出', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1435, 1435, 'dictData.logType.query', '查询', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1436, 1436, 'dictData.logType.setup', '设置', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1437, 1437, 'dictData.logType.update', '更新', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1438, 1438, 'dictData.logType.upload', '上传', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1439, 1439, 'dictData.logType.view', '查看', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1440, 1440, 'dictData.logType.login', '登录', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1441, 1441, 'dictData.logType.logout', '登出', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1442, 1442, 'dictData.securityLogType.add', '新增', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1443, 1443, 'dictData.securityLogType.update', '更新', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1444, 1444, 'dictData.securityLogType.delete', '删除', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1445, 1445, 'dictData.securityLogType.lock', '锁定', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1446, 1446, 'dictData.securityLogType.unlock', '解锁', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1447, 1447, 'dictData.securityLogType.reset', '重置', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1448, 1448, 'dictData.securityLogType.deactivate', '停用', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1449, 1449, 'dictData.jobSaveLog.no', '不记录', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1450, 1450, 'dictData.jobSaveLog.yes', '记录', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1451, 1451, 'dictData.neVersionStatus.upload', '已上传', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1452, 1452, 'dictData.neVersionStatus.inactive', '未激活', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1453, 1453, 'dictData.neVersionStatus.active', '已激活', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1454, 1454, 'dictData.alarmStatus.history', '历史告警', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1455, 1455, 'dictData.alarmStatus.active', '活动告警', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1456, 1456, 'dictData.export.code', '数据代码', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1457, 1457, 'dictData.export.sort', '数据排序', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1458, 1458, 'dictData.export.label', '数据标签', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1459, 1459, 'dictData.export.value', '数据键值', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1460, 1460, 'dictData.export.type', '数据排序', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1461, 1461, 'dictData.export.status', '数据状态', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1462, 1462, 'dictData.datascope.all', '全部数据权限', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1463, 1463, 'dictData.datascope.custom', '自定数据权限', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1464, 1464, 'dictData.datascope.dept', '部门数据权限', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1465, 1465, 'dictData.datascope.deptAndChid', '部门及以下数据权限', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1466, 1466, 'dictData.datascope.self', '仅本人数据权限', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1467, 1467, 'dictData.noData', '没有可访问字典编码数据!', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1468, 1468, 'dictData.errLabelExists', '操作数据【{name}】失败,该字典类型下标签名已存在', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1500, 1500, 'dictType.sys_user_sex', '用户性别', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1501, 1501, 'dictType.sys_show_hide', '菜单状态', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1502, 1502, 'dictType.sys_normal_disable', '系统开关', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1503, 1503, 'dictType.sys_job_status', '任务状态', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1504, 1504, 'dictType.sys_job_group', '任务分组', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1505, 1505, 'dictType.sys_yes_no', '系统是否', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1506, 1506, 'dictType.sys_oper_type', '操作类型', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1507, 1507, 'dictType.sys_common_status', '系统状态', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1508, 1508, 'dictType.trace_type', '跟踪类型', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1509, 1509, 'dictType.operation_log_type', '操作日志类型', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1510, 1510, 'dictType.alarm_status', '告警日志类型', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1511, 1511, 'dictType.security_log_type', '安全日志类型', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1512, 1512, 'dictType.ne_version_status', '网元软件版本状态', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1513, 1513, 'dictType.i18n_en', '多语言-英文', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1514, 1514, 'dictType.i18n_zh', '多语言-中文', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1515, 1515, 'dictType.sys_user_sex_remark', '用户性别列表', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1516, 1516, 'dictType.sys_show_hide_remark', '菜单状态列表', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1517, 1517, 'dictType.sys_normal_disable_remark', '系统开关列表', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1518, 1518, 'dictType.sys_job_status_remark', '任务状态列表', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1519, 1519, 'dictType.sys_job_group_remark', '任务分组列表', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1520, 1520, 'dictType.sys_yes_no_remark', '系统是否列表', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1521, 1521, 'dictType.sys_oper_type_remark', '操作类型列表', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1522, 1522, 'dictType.sys_common_status_remark', '登录状态列表', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1523, 1523, 'dictType.trace_type_remark', '跟踪类型', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1524, 1524, 'dictType.operation_log_type_remark', '操作日志类型', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1525, 1525, 'dictType.alarm_status_remark', 'alarm_status', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1526, 1526, 'dictType.security_log_type_remark', '安全日志类型', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1527, 1527, 'dictType.ne_version_status_remark', '网元软件版本状态', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1528, 1528, 'dictType.i18n_en_remark', 'Internationalization - English', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1529, 1529, 'dictType.i18n_zh_remark', 'Internationalization - Chinese', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1530, 1530, 'dictType.export.id', '字典编号', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1531, 1531, 'dictType.export.name', '字典名称', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1532, 1532, 'dictType.export.type', '字典类型', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1533, 1533, 'dictType.export.status', '字典状态', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1534, 1534, 'dictType.sys_role_datascope', '系统角色数据范围', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1535, 1535, 'dictType.sys_role_datascope_remark', '系统角色数据范围映射', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1536, 1536, 'dictType.noData', '没有可访问字典类型数据!', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1537, 1537, 'dictType.errNameExists', '操作字典【{name}】失败,字典名称已存在', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1538, 1538, 'dictType.errTypeExists', '操作字典【{name}】失败,字典类型已存在', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1600, 1600, 'dept.root', '系统维护部', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1601, 1601, 'dept.root.item1', '运维一部', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1602, 1602, 'dept.noData', '没有可访问部门数据!', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1603, 1603, 'dept.errParentDelFlag', '上级部门【{name}】已删除,不允许新增', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1604, 1604, 'dept.errParentStatus', '上级部门【{name}】停用,不允许新增', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1605, 1605, 'dept.errNameExists', '操作部门【{name}】失败,部门名称已存在', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1606, 1606, 'dept.errParentID', '操作部门【{name}】失败,上级部门不能是自己', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1607, 1607, 'dept.errHasChildUse', '操作失败,该部门包含未停用的子部门数量:{num}', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1608, 1608, 'dept.errHasUserUse', '不允许删除,部门已分配给用户数:{num}', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1630, 1630, 'config.sys.user.initPassword', '用户管理-账号初始密码', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1631, 1631, 'config.sys.account.captchaEnabled', '账号自助-验证码开关', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1632, 1632, 'config.sys.account.registerUser', '账号自助-是否开启用户注册功能', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1633, 1633, 'config.sys.user.maxRetryCount', '用户管理-密码最大错误次数', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1634, 1634, 'config.sys.user.lockTime', '用户管理-密码锁定时间', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1635, 1635, 'config.monitor.sysResource.storeDays', '监控-系统资源-数据保留时长', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1636, 1636, 'config.sys.logo.type', '系统设置-LOGO类型', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1637, 1637, 'config.sys.logo.filePathIcon', '系统设置-LOGO文件icon', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1638, 1638, 'config.sys.logo.filePathBrand', '系统设置-LOGO文件brand', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1639, 1639, 'config.sys.loginBackground', '系统设置-登录界面背景', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1640, 1640, 'config.sys.title', '系统设置-系统名称', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1641, 1641, 'config.sys.copyright', '系统设置-版权声明', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1642, 1642, 'config.sys.user.initPasswordRemark', '导入用户初始化密码 123456', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1643, 1643, 'config.sys.account.captchaEnabledRemark', '是否开启验证码功能(true开启,false关闭)', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1644, 1644, 'config.sys.account.registerUserRemark', '是否开启注册用户功能(true开启,false关闭)', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1645, 1645, 'config.sys.user.maxRetryCountRemark', '密码最大错误次数', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1646, 1646, 'config.sys.user.lockTimeRemark', '密码锁定时间,单位分钟(默认10分钟)', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1647, 1647, 'config.monitor.sysResource.storeDaysRemark', '监控-系统资源-数据保留时长,单位天。根据当前日期,删除超过保留时长的日期数据信息。', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1648, 1648, 'config.sys.logo.typeRemark', '全图:brand\r\n小图:icon', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1649, 1649, 'config.sys.logo.filePathIconRemark', '文件支持网络地址图片和内部上传的文件路径', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1650, 1650, 'config.sys.logo.filePathBrandRemark', '文件支持网络地址图片和内部上传的文件路径', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1651, 1651, 'config.sys.loginBackgroundRemark', '文件支持网络地址图片和内部上传的文件路径,默认背景用#号', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1652, 1652, 'config.sys.titleRemark', '系统名称长度限制11位字符串', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1653, 1653, 'config.sys.copyrightRemark', '底脚固定条,左侧放置版权声明', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1654, 1654, 'config..export.id', '参数编号', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1655, 1655, 'config..export.name', '参数名称', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1656, 1656, 'config..export.key', '参数键名', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1657, 1657, 'config..export.value', '参数键值', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1658, 1658, 'config..export.type', '系统内置', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1659, 1659, 'config..export.remark', '参数说明', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1660, 1660, 'config.sys.titleValue', 'AGrandEMS', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1661, 1661, 'config.sys.copyrightValue', 'Copyright ©2024 千通科技', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1662, 1662, 'config.noData', '没有可访问参数配置数据!', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1663, 1663, 'config.errKey', '无效 key', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1664, 1664, 'config.errValueEq', '变更状态与旧值相等!', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1665, 1665, 'config.errKeyExists', '操作参数配置【{name}】失败,参数键名已存在', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1666, 1666, 'config.errDelete', '删除参数配置信息失败!', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1667, 1667, 'config.errType', '操作含有内置参数,禁止删除!', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1700, 1700, 'job.monitor_sys_resource', '监控-系统资源', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1701, 1701, 'job.monitor_sys_resource_remark', '系统资源CPU/IO/Netword收集\r\ninterval单位分钟,平均分钟资源情况\r\n注:请根据cron表达式的时间单位分钟,传入参数interva值', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1702, 1702, 'job.delExpiredNeBackup', '删除过期网元备份文件', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1703, 1703, 'job.delExpiredNeBackupRemark', '删除过期网元etc备份文件, 传入参数表示保留{duration}天的备份文件, 默认60天', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1704, 1704, 'job.deleteExpiredAlarmRecord', '删除过期历史告警记录', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1705, 1705, 'job.deleteExpiredAlarmRecordRemark', '删除过期历史告警记录,传入参数表示保留{duration}天的历史告警记录', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1706, 1706, 'job.deleteExpiredKpiRecord', '删除过期黄金指标记录', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1707, 1707, 'job.deleteExpiredKpiRecordRemark', '黄金指标记录保留{duration}天', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1708, 1708, 'job.backupEtcFromNE', '网元配置自动备份任务', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1709, 1709, 'job.backupEtcFromNERemark', '自动备份网元etc目录下的配置文件', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1710, 1710, 'job.export.jobID', '任务编号', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1711, 1711, 'job.export.jobName', '任务名称', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1712, 1712, 'job.export.jobGroupName', '任务组名', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1713, 1713, 'job.export.invokeTarget', '调用目标', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1714, 1714, 'job.export.targetParams', '传入参数', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1715, 1715, 'job.export.cronExpression', 'cron表达式', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1716, 1716, 'job.export.status', '状态', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1717, 1717, 'job.export.remark', '备注说明', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1718, 1718, 'job.export.jobLogID', '任务日志编号', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1719, 1719, 'job.export.jobLogStatus', '任务日志状态', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1720, 1720, 'job.export.jobLogTime', '任务日志时间', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1721, 1721, 'job.noData', '没有可访问调度任务数据!', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1722, 1722, 'job.errTargetParams', '操作调度任务【{name}】失败,任务传入参数json字符串不正确', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1723, 1723, 'job.errCronExpression', '操作调度任务【{name}】失败,Cron表达式不正确', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1724, 1724, 'job.errJobExists', '调度任务新增【{name}】失败,同任务组内有相同任务名称', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1725, 1725, 'job.statusEq', '变更状态与旧值相等!', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1750, 1750, 'role.admin', '超级管理员', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1751, 1751, 'role.adminAssign', '管理人员', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1752, 1752, 'role.operator', '运维人员', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1753, 1753, 'role.monitor', '监控人员', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1754, 1754, 'role.vistor', '普通用户', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1755, 1755, 'role.adminRemark', '超级管理员,无法修改删除', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1756, 1756, 'role.adminAssignRemark', '管理人员 可以对设备进行任何操作', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1757, 1757, 'role.operatorRemark', '运维人员 可以从设备读取数据,并对设备进行配置,但是不能对设备进行软件升级操作。', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1758, 1758, 'role.monitorRemark', '监控人员 只能从设备读取数据,而不能对设备进行任何设置', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1759, 1759, 'role.vistorRemark', '普通用户 只可看系统相关信息', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1760, 1760, 'role.export.id', '角色编号', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1761, 1761, 'role.export.name', '角色名称 ', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1762, 1762, 'role.export.key', '角色键值', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1763, 1763, 'role.export.sort', '角色顺序', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1764, 1764, 'role.export.dataScope', '角色数据范围', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1765, 1765, 'role.export.status', '角色状态', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1766, 1766, 'role.noData', '没有可访问角色数据!', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1767, 1767, 'role.statusEq', '变更状态与旧值相等!', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1768, 1768, 'role.errNameExists', '操作角色【{name}】失败,角色名称已存在', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1769, 1769, 'role.errKeyExists', '操作角色【{name}】失败,角色键值已存在', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1800, 1800, 'post.admin', '系统', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1801, 1801, 'post.operator', '管理', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1802, 1802, 'post.monitor', '运维', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1803, 1803, 'post.visitor', '监控', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1804, 1804, 'post.export.id', '岗位编号 ', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1805, 1805, 'post.export.code', '岗位编码', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1806, 1806, 'post.export.name', '岗位名称', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1807, 1807, 'post.export.sort', '岗位排序', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1808, 1808, 'post.export.status', '岗位状态', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1809, 1809, 'post.noData', '没有可访问岗位数据!', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1810, 1810, 'post.errNameExists', '操作岗位【{name}】失败,岗位名称已存在已存在', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1811, 1811, 'post.errCodeExists', '操作角色【{name}】失败,角色键值已存在', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1830, 1830, 'user.export.id', '用户编号', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1831, 1831, 'user.export.name', '登录账号', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1832, 1832, 'user.export.nick', '用户昵称', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1833, 1833, 'user.export.email', '电子邮箱', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1834, 1834, 'user.export.phone', '手机号码', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1835, 1835, 'user.export.sex', '用户性别', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1836, 1836, 'user.export.status', '用户状态', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1837, 1837, 'user.export.deptID', '部门编号', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1838, 1838, 'user.export.deptName', '部门名称', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1839, 1839, 'user.export.deptLeader', '部门负责人', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1840, 1840, 'user.export.loginIP', '用户登录IP', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1841, 1841, 'user.export.loginDate', '用户登录时间', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1842, 1842, 'user.noData', '没有可访问用户数据!', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1843, 1843, 'user.statusEq', '变更状态与旧值相等!', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1844, 1844, 'user.errPasswdOld', '修改密码失败,旧密码错误', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1845, 1845, 'user.errPasswdEqOld', '新密码不能与旧密码相同', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1846, 1846, 'user.errPasswd', '登录密码至少包含大小写字母、数字、特殊符号,且不少于6位', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1847, 1847, 'user.errEmailFormat', '操作用户【{name}】失败,邮箱格式错误', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1848, 1848, 'user.errEmailExists', '操作用户【{name}】失败,邮箱已存在', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1849, 1849, 'user.errPhoneFormat', '操作用户【{name}】失败,手机号码格式错误', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1850, 1850, 'user.errPhoneExists', '操作用户【{name}】失败,手机号码已存在', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1851, 1851, 'user.errNameExists', '操作用户【{name}】失败,登录账号已存在', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1852, 1852, 'user.import.mustItem', '表格中必填列表项,{text}', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1853, 1853, 'user.import.phoneExist', '用户编号:{id} 手机号码 {phone} 已存在', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1854, 1854, 'user.import.phoneFormat', '用户编号:{id} 手机号码 {phone} 格式错误', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1855, 1855, 'user.import.emailExist', '用户编号:{id} 用户邮箱:{email} 已存在', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1856, 1856, 'user.import.emailFormat', '用户编号:{id} 用户邮箱:{email} 格式错误', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1857, 1857, 'user.import.success', '用户编号:{id} 登录名称:{name} 导入成功', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1858, 1858, 'user.import.fail', '用户编号:{id} 登录名称:{name} 导入失败', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1859, 1859, 'user.import.successUpdate', '用户编号:{id} 登录名称:{name} 更新成功', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1860, 1860, 'user.import.failUpdate', '用户编号:{id} 登录名称:{name} 更新失败', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1861, 1861, 'user.import.failTip', '很抱歉,导入失败!共 {num} 条数据格式不正确,错误如下:', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1862, 1862, 'user.import.successTip', '恭喜您,数据已全部导入成功!共 {num} 条,数据如下:', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1900, 1900, 'app.common.err403', '无权访问 {method} {requestURI}', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1901, 1901, 'app.common.err401', '无效身份授权', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1902, 1902, 'app.common.err400', '参数错误', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1903, 1903, 'app.common.exportEmpty', '导出数据记录为空', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1904, 1904, 'app.common.errOperateAdmin', '不允许操作内置用户', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1905, 1905, 'app.common.errOperateRole', '不允许操作内置角色', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1906, 1906, 'app.common.deleteSuccess', '删除成功:{num}', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1907, 1907, 'app.common.loginSuccess', '登录成功', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1908, 1908, 'app.common.logoutSuccess', '注销成功', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1909, 1909, 'app.common.errUnlock', '该用户未被锁定', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1910, 1910, 'app.common.noLoginUser', '登录用户信息无效', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1911, 1911, 'app.common.rateLimitTip', '访问过于频繁,请稍候再试', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1912, 1912, 'log.operate.export.id', '操作编号', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1913, 1913, 'log.operate.export.title', '模块名称', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1914, 1914, 'log.operate.export.businessType', '业务类型', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1915, 1915, 'log.operate.export.method', '操作方法', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1916, 1916, 'log.operate.export.requestMethod', '请求方式 ', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1917, 1917, 'log.operate.export.operatorType', '操作类型', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1918, 1918, 'log.operate.export.operName', '操作人员', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1919, 1919, 'log.operate.export.deptName', '操作人员部门名称', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1920, 1920, 'log.operate.export.url', '请求链接地址', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1921, 1921, 'log.operate.export.ip', '请求主机 ', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1922, 1922, 'log.operate.export.location', '请求地址', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1923, 1923, 'log.operate.export.param', '请求参数', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1924, 1924, 'log.operate.export.msg', '操作信息', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1925, 1925, 'log.operate.export.status', '操作状态', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1926, 1926, 'log.operate.export.costTime', '消耗时间(毫秒)', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1927, 1927, 'log.operate.export.operTime', '操作时间', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1928, 1928, 'log.login.export.id', '记录编号', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1929, 1929, 'log.login.export.userName', '登录账号', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1930, 1930, 'log.login.export.status', '登录状态', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1931, 1931, 'log.login.export.ip', '登录地址', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1932, 1932, 'log.login.export.location', '登录地点', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1933, 1933, 'log.login.export.browser', '浏览器', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1934, 1934, 'log.login.export.os', '操作系统', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1935, 1935, 'log.login.export.msg', '登录信息', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1936, 1936, 'log.login.export.time', '登录时间', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1937, 1937, 'trace.tcpdump.noData', '找不到 {type} {id} 对应网元信息', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1938, 1938, 'register.errUsername', '账号不能以数字开头,可包含大写小写字母,数字,且不少于5位', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1939, 1939, 'register.errPasswd', '登录密码至少包含大小写字母、数字、特殊符号,且不少于6位', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1940, 1940, 'register.errPasswdNotEq', '用户确认输入密码不一致', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1941, 1941, 'register.success', '注册成功', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1942, 1942, 'register.successMsg', '{name} 注册成功 {id}', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1943, 1943, 'log.operate.title.sysJobLog', '调度任务日志', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1944, 1944, 'log.operate.title.sysJob', '调度任务', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1945, 1945, 'log.operate.title.tcpdump', '信令抓包', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1946, 1946, 'log.operate.title.sysConfig', '参数配置', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1947, 1947, 'log.operate.title.sysDept', '部门', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1948, 1948, 'log.operate.title.sysDictData', '字典数据', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1949, 1949, 'log.operate.title.sysDictType', '字典类型', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1950, 1950, 'log.operate.title.sysMenu', '菜单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1951, 1951, 'log.operate.title.sysPost', '岗位', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1952, 1952, 'log.operate.title.sysProfile', '个人信息', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1953, 1953, 'log.operate.title.sysProfileAvatar', '个人头像', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1954, 1954, 'log.operate.title.sysRole', '角色', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1955, 1955, 'log.operate.title.sysUser', '用户', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1956, 1956, 'log.operate.title.sysLogOper', '操作日志记录', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1957, 1957, 'log.operate.title.sysLogLogin', '登录日志记录', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1958, 1958, 'login.errNameOrPasswd', '用户不存在或密码错误', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1959, 1959, 'login.errDelFlag', '对不起,您的账号已被删除', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1960, 1960, 'login.errStatus', '对不起,您的帐户已被禁用', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1961, 1961, 'login.errRetryPasswd', '密码输入错误多次,帐户已被锁定', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1962, 1962, 'captcha.err', '验证码错误', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1963, 1963, 'captcha.errValid', '验证码已失效', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1964, 1964, 'app.common.noUaOsBrowser', '未知 未知', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1965, 1965, 'app.common.noIPregion', '内网', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1966, 1966, 'app.common.unknown', '未知', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1967, 1967, 'app.common.noNEInfo', '未找到匹配网元信息', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1968, 1968, 'ne.udm.errImportUserAuthFileFormat', '请上传.csv或.txt的格式文件。英文逗号分割txt格式:imsi, ki, algo, amf, opc', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1969, 1969, 'ne.udm.errExportType', '导出文件类型支持CSV和txt', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1970, 1970, 'ne.udm.errImportUserSubFileFormat', '请上传.csv或.txt的格式文件。英文逗号分割txt格式:imsi, msisdn, ambr, nssai, arfb, sar, rat, cn, smf_sel, sm_dat, eps_dat', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1971, 1971, 'log.operate.title.udmAuth', 'UDM鉴权用户', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1972, 1972, 'log.operate.title.udmSub', 'UDM签约用户', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1973, 1973, 'dictType.active_alarm_type', '活动告警类型', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1974, 1974, 'dictType.active_alarm_type_remark', '活动告警类型列表', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1975, 1975, 'dictData.active_alarm_type.communication', '通信告警', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1976, 1976, 'dictData.active_alarm_type.equipment', '设备告警', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1977, 1977, 'dictData.active_alarm_type.processing', '处理错误', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1978, 1978, 'dictData.active_alarm_type.environmental', '环境告警', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1979, 1979, 'dictData.active_alarm_type.qualityOfService', '服务质量', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1980, 1980, 'dictType.active_clear_type', '告警清除类型', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1981, 1981, 'dictType.active_clear_type_remark', '告警清除类型列表', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1982, 1982, 'dictData.active_clear_type.notCleared', '告警未清除', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1983, 1983, 'dictData.active_clear_type.hand', '手动清除', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1984, 1984, 'dictData.active_clear_type.auto', '自动清除', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1985, 1985, 'dictType.active_ack_state', '告警确认类型', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1986, 1986, 'dictType.active_ack_state_remark', '告警确认类型列表', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1987, 1987, 'dictData.active_ack_state.unconfirmed', '未确认', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1988, 1988, 'dictData.active_ack_state.confirmed', '已确认', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1989, 1989, 'dictType.active_alarm_severity', '严重程度', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1990, 1990, 'dictType.active_alarm_severity_remark', '严重程度列表', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1991, 1991, 'dictData.active_alarm_severity.critical', '严重告警', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1992, 1992, 'dictData.active_alarm_severity.major', '主要告警', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1993, 1993, 'dictData.active_alarm_severity.minor', '次要告警', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1994, 1994, 'dictData.active_alarm_severity.warning', '警告告警', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1995, 1995, 'dictData.active_alarm_severity.event', '事件告警', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1996, 1996, 'config.sys.officialUrl', '系统设置-官网链接', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1997, 1997, 'config.sys.helpDoc', '系统设置-系统使用文档', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1998, 1998, 'config.sys.officialUrlRemark', '默认无地址用#号', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (1999, 1999, 'config.sys.helpDocRemark', '静态文件目录地址,使用{language}区分语言文件', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2000, 2000, 'log.operate.title.neAction', '网元处理', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2001, 2001, 'log.operate.title.helpDoc', '系统使用文档', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2002, 2002, 'menu.ueUser.n3iwf', 'N3IWF在线用户', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2003, 2003, 'menu.ueUser.pcf', '用户策略控制信息', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2004, 2004, 'menu.system.user.editRole', '修改用户角色', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2005, 2005, 'config.sys.i18nOpen', '国际化切换', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2006, 2006, 'config.sys.i18nDefault', '国际化默认语言', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2007, 2007, 'user.export.role', '用户角色', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2008, 2008, 'menu.system.setting.i18n', '国际化切换', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2009, 2009, 'menu.system.setting.i18nRemark', '国际化多语言的切换选择', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2010, 2010, 'dictType.index_status', '首页状态', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2011, 2011, 'dictType.index_status_remark', '首页的网元状态颜色', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2012, 2012, 'dictType.index_status.normal', '正常', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2013, 2013, 'dictType.index_status.abnormal', '异常', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2014, 2014, 'menu.log.neFile', '网元日志文件', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2015, 2015, 'job.deleteExpiredNeStateRecord', '删除过期网元状态记录', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2016, 2016, 'job.deleteExpiredNeStateRecordRemark', '定期删除过期的网元状态记录, 默认保留{duration}天', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2017, 2017, 'job.getStateFromNE', '获取网元状态信息', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2018, 2018, 'job.getStateFromNERemark', '获取所有网元状态信息', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2019, 2019, 'job.genNeStateAlarm', '网元健康状态巡检', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2020, 2020, 'job.genNeStateAlarmRemark', '网元健康状态巡检,异常时产生告警', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2021, 2021, 'menu.neUser.nssf', 'NSSF在线订阅数', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2022, 2022, 'menu.neUser.nssfAmf', 'NSSF可用的注册AMF', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2023, 2023, 'menu.monitor.topology', '拓扑信息', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2024, 2024, 'menu.monitor.topologyBuild', '拓扑图组编辑', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2025, 2025, 'log.operate.title.chartGraph', '拓扑图组', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2026, 2026, 'menu.monitor.topologyArchitecture', '网元拓扑组网', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2027, 2027, 'menu.alarm', '告警', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2028, 2028, 'menu.topology', '拓扑', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2029, 2029, 'config.sys.lockTime', '系统设置-锁屏超时时长', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2030, 2030, 'config.sys.lockTimeRemark', '无操作时锁屏超时时长,单位(秒)', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2031, 2031, 'sys.account.captchaType', '账号自助-验证码类型', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2032, 2032, 'sys.account.captchaTypeRemark', '使用验证码类型(math数值计算,char字符验证)', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2033, 2033, 'menu.dashboard', '仪表盘', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2034, 2034, 'menu.dashboard.overview', '总览', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2035, 2035, 'menu.dashboard.cdr', 'IMS 话单', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2036, 2036, 'dictType.cdr_sip_code', 'CDR SIP响应代码类别类型', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2037, 2037, 'dictType.cdr_call_type', 'CDR 呼叫类型', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2038, 2038, 'dictType.ue_auth_code', 'UE 事件认证代码类型', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2039, 2039, 'dictType.ue_event_type', 'UE 事件类型', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2040, 2040, 'dictData.cdr_sip_code.200', '正常挂机', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2041, 2041, 'dictData.cdr_sip_code.403', '被禁止的', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2042, 2042, 'dictData.cdr_sip_code.408', '请求超时', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2043, 2043, 'dictData.cdr_sip_code.500', '服务器内部错误', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2044, 2044, 'dictData.cdr_call_type.audio', '语音', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2045, 2045, 'dictData.cdr_call_type.video', '视频', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2046, 2046, 'dictData.ue_auth_code.200', '成功', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2047, 2047, 'dictData.ue_auth_code.001', '网络失败', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2048, 2048, 'dictData.ue_auth_code.002', '空口接口失败', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2049, 2049, 'dictData.ue_auth_code.003', 'MAC失败', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2050, 2050, 'dictData.ue_auth_code.004', '同步失败', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2051, 2051, 'dictData.ue_auth_code.005', '不接受非5G认证', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2052, 2052, 'dictData.ue_auth_code.006', '响应失败', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2053, 2053, 'dictData.ue_auth_code.007', '未知', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2054, 2054, 'dictData.ue_event_type.auth', '认证', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2055, 2055, 'dictData.ue_event_type.detach', '注销', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2056, 2056, 'dictData.ue_event_type.state', 'CM状态', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2057, 2057, 'dictType.ue_event_cm_state', 'UE 事件CM状态', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2058, 2058, 'dictData.ue_event_cm_state.connected', '连接', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2059, 2059, 'dictData.ue_event_cm_state.idle', '空闲', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2060, 2060, 'dictData.ue_event_cm_state.inactive', '不活动', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2061, 2061, 'dictData.cdr_sip_code.404', '未找到', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2062, 2062, 'dictData.cdr_sip_code.487', '请求终止', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2063, 2063, 'dictData.cdr_sip_code.503', '服务不可用', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2064, 2064, 'dictData.cdr_sip_code.504', '服务器超时', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2065, 2065, 'dictData.cdr_sip_code.603', '拒绝', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2066, 2066, 'dictData.cdr_sip_code.606', '不可接受', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2067, 2067, 'cache.name.user', '登录用户', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2068, 2068, 'cache.name.sys_config', '参数管理', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2069, 2069, 'cache.name.sys_dict', '字典管理', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2070, 2070, 'cache.name.captcha_codes', '验证码', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2071, 2071, 'cache.name.repeat_submit', '防重提交', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2072, 2072, 'cache.name.rate_limit', '限流', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2073, 2073, 'cache.name.pwd_err_cnt', '登录账户密码错误次数', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2074, 2074, 'cache.name.ne_info', '网元信息管理', 'i18n_zh', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (2075, 2075, 'cache.name.ne_data', '网元数据管理', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2076, 2076, 'dictData.cdr_call_type.sms', '短信', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2077, 2077, 'dictData.cdr_sip_code.202', '已接受', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2078, 2078, 'dictData.cdr_sip_code.488', '这里不能接受', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2079, 2079, 'dictData.cdr_sip_code.0', '其他', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2080, 2080, 'log.operate.title.ws', 'WS会话', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2081, 2081, 'log.operate.title.neHost', '网元主机', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2082, 2082, 'neHost.noData', '没有可访问主机信息数据!', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2083, 2083, 'neHost.errKeyExists', '主机信息操作【{name}】失败,同组内名称已存在', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2084, 2084, 'neHost.errByHostInfo', '连接主机失败,请检查连接参数后重试', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2085, 2085, 'dictType.ne_host_type', '网元主机连接类型', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2086, 2086, 'dictType.ne_host_groupId', '网元主机分组', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2087, 2087, 'dictType.ne_host_authMode', '网元主机认证模式', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2088, 2088, 'dictData.ne_host_type.ssh', 'SSH', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2089, 2089, 'dictData.ne_host_type.telnet', 'Telnet', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2090, 2090, 'dictData.ne_host_groupId.0', '其他', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2091, 2091, 'dictData.ne_host_groupId.1', '网元', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2092, 2092, 'dictData.ne_host_groupId.2', '系统', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2093, 2093, 'dictData.ne_host_authMode.0', '密码认证', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2094, 2094, 'dictData.ne_host_authMode.1', '私钥认证', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2095, 2095, 'menu.tools.terminal', '网元主机终端', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2096, 2096, 'menu.config.neHost', '网元主机', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2097, 2097, 'menu.config.neHostCommand', '网元主机命令', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2098, 2098, 'log.operate.title.neHostCmd', '网元主机命令', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2099, 2099, 'neHostCmd.noData', '没有可访问主机命令数据!', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2100, 2100, 'neHostCmd.errKeyExists', '主机命令操作【{name}】失败,同组内名称已存在', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2101, 2101, 'dictType.ne_host_cmd_groupId', '网元主机命令分组', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2102, 2102, 'dictData.ne_host_cmd_groupId.0', '默认', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2103, 2103, 'dictData.ne_host_cmd_groupId.1', '快速命令', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2104, 2104, 'menu.config.neInfo', '网元信息', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2105, 2105, 'log.operate.title.neInfo', '网元信息', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2106, 2106, 'neInfo.noData', '没有可访问网元信息数据!', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2107, 2107, 'neInfo.errKeyExists', '网元信息操作【{key}】失败,同类型下标识已存在', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2108, 2108, 'log.operate.title.imsCDR', 'IMS-CDR会话', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2109, 2109, 'menu.dashboard.amfUE', '用户事件', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2110, 2110, 'log.operate.title.amfUE', 'AMF-UE事件', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2111, 2111, 'dictData.ne_info_status.0', '离线', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2112, 2112, 'dictData.ne_info_status.1', '在线', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2113, 2113, 'dictData.ne_info_status.2', '等待同步', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2114, 2114, 'dictData.ne_info_status.3', '-', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2115, 2115, 'dictType.ne_info_status', '网元信息状态', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2116, 2116, 'menu.ne.neQuickSetup', '网元快速安装', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2117, 2117, 'log.operate.title.neConfig', '网元参数配置', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2118, 2118, 'menu.config.neLicense', '网元授权', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2119, 2119, 'log.operate.title.neLicense', '网元授权', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2120, 2120, 'menu.config.neSoftware', '网元软件包', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2121, 2121, 'log.operate.title.neSoftware', '网元软件包', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2122, 2122, 'log.operate.title.neVersion', '网元版本', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2123, 2123, 'menu.config.neVersion', '网元版本', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2124, 2124, 'dictType.ne_license_status', '网元授权状态', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2125, 2125, 'ne_license_status.0', '无效', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2126, 2126, 'ne_license_status.1', '有效', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2127, 2127, 'menu.dashboard.mocn', 'MOCN', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2128, 2128, 'menu.monitor.cdr', '话单', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2129, 2129, 'menu.monitor.event', '事件', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2130, 2130, 'post.export.time', '创建时间', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2131, 2131, 'role.export.time', '创建时间', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2132, 2132, 'dictData.ne_host_authMode.2', '免密认证', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2133, 2133, 'menu.ne.neConfPara5G', '网元公共配置', 'i18n_zh', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (2134, 2134, 'menu.fault.event', '事件通知', 'i18n_zh', '', '', '1', 'supervisor', 1717051745866, '', 0, ''); - -SET FOREIGN_KEY_CHECKS = 1; diff --git a/database/upgvue3/upg_sys_dict_data2_i18n_en.sql b/database/upgvue3/upg_sys_dict_data2_i18n_en.sql deleted file mode 100644 index d1293982..00000000 --- a/database/upgvue3/upg_sys_dict_data2_i18n_en.sql +++ /dev/null @@ -1,660 +0,0 @@ -/* - Navicat Premium Data Transfer - - Source Server : root@192.168.2.166 - Source Server Type : MariaDB - Source Server Version : 100616 (10.6.16-MariaDB-0ubuntu0.22.04.1) - Source Host : 192.168.2.166:33066 - Source Schema : omc_db - - Target Server Type : MariaDB - Target Server Version : 100616 (10.6.16-MariaDB-0ubuntu0.22.04.1) - File Encoding : 65001 - - Date: 29/01/2024 20:33:11 -*/ - -SET NAMES utf8mb4; -SET FOREIGN_KEY_CHECKS = 0; - -INSERT IGNORE INTO `sys_dict_data` VALUES (3000, 3000, 'i18n', 'English', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3001, 3001, 'hello', 'Hello', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3002, 3002, 'menu.system', 'System', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3003, 3003, 'menu.monitor', 'Monitor', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3004, 3004, 'menu.tools', 'Tools', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3005, 3005, 'menu.config', 'Configuration', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3006, 3006, 'menu.ueUser', 'UE', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3007, 3007, 'menu.systemRemark', 'System Management Catalog', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3008, 3008, 'menu.monitorRemark', 'System Monitor Catalog', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3009, 3009, 'menu.toolsRemark', 'System Tools Catalog', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3010, 3010, 'menu.configRemark', 'OMC Configuration Management Catalog', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3011, 3011, 'menu.ueUserRemark', 'Network Element Terminal Information Catalog', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3012, 3012, 'menu.security.user', 'User Management', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3013, 3013, 'menu.security.role', 'Role Management', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3014, 3014, 'menu.security.roleUser', 'Assigning Roles', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3015, 3015, 'menu.system.menu', 'Menu Management', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3016, 3016, 'menu.security.dept', 'Department Management', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3017, 3017, 'menu.security.post', 'Position Management', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3018, 3018, 'menu.system.dictType', 'Dictionary Management', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3019, 3019, 'menu.system.dictData', 'Dictionary Data', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3020, 3020, 'menu.system.paramSet', 'Parameter Settings', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3021, 3021, 'menu.system.systemLog', 'System Log', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3022, 3022, 'menu.system.systemInfo', 'System Information', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3023, 3023, 'menu.system.cacheInfo', 'Cache Information', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3024, 3024, 'menu.system.cache', 'Cache Management', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3025, 3025, 'menu.security.onlineUser', 'Online Users', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3026, 3026, 'menu.system.job', 'Scheduling Tasks', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3027, 3027, 'menu.system.jobLog', 'Scheduling Logs', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3028, 3028, 'menu.tools.help', 'Help Documentation', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3029, 3029, 'menu.log.operat', 'Operation logs', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3030, 3030, 'menu.log.login', 'Security logs', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3031, 3031, 'menu.security.userRemark', 'User Management Menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3032, 3032, 'menu.security.roleRemark', 'Role Management Menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3033, 3033, 'menu.security.roleUserRemark', 'Assign Roles Embedded Hidden Menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3034, 3034, 'menu.system.menuRemark', 'Menu Management Menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3035, 3035, 'menu.security.deptRemark', 'Department management menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3036, 3036, 'menu.security.postRemark', 'Job Management Menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3037, 3037, 'menu.system.dictTypeRemark', 'Dictionary management menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3038, 3038, 'menu.system.dictDataRemark', 'Dictionary data embedded hidden menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3039, 3039, 'menu.system.paramSetRemark', 'Parameter setting menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3040, 3040, 'menu.system.systemLogRemark', 'System Log Catalog', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3041, 3041, 'menu.system.systemInfoRemark', 'System information menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3042, 3042, 'menu.system.cacheInfoRemark', 'Cache Information Menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3043, 3043, 'menu.system.cacheRemark', 'Cache List Menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3044, 3044, 'menu.security.onlineUserRemark', 'Online User Menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3045, 3045, 'menu.system.jobRemark', 'Scheduling Tasks menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3046, 3046, 'menu.system.jobLogRemark', 'Scheduling Log Embedded Hidden Menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3047, 3047, 'menu.tools.helpRemark', 'Help file menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3048, 3048, 'menu.log.operatRemark', 'Operation log menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3049, 3049, 'menu.log.loginRemark', 'Login log menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3050, 3050, 'menu.common.query', 'Inquiry', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3051, 3051, 'menu.common.add', 'Add', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3052, 3052, 'menu.common.edit', 'Modify', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3053, 3053, 'menu.common.delete', 'Delete', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3054, 3054, 'menu.common.export', 'Export', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3055, 3055, 'menu.common.import', 'Import', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3056, 3056, 'menu.common.reset', 'Reset', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3057, 3057, 'menu.common.unlock', 'Account Unlock', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3058, 3058, 'menu.forcedQuit.batch ', 'Batch Undo', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3059, 3059, 'menu.forcedQuit.single', 'Individual Forced Retirement', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3060, 3060, 'menu.ueUser.authUDM', 'UDM Authentication', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3061, 3061, 'menu.ueUser.subUDM', 'UDM Subscribers', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3062, 3062, 'menu.ueUser.authUDMRemark', 'UDM Authentication Menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3063, 3063, 'menu.ueUser.subUDMRemark', 'UDM Subscriber Menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3064, 3064, 'menu.config.neManage', 'NE Management', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3065, 3065, 'menu.config.configNE', 'Parameter Configuration Original', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3066, 3066, 'menu.config.neManageRemark', 'Network Element Management Menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3067, 3067, 'menu.config.configNERemark', 'Parameter Configuration Menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3068, 3068, 'menu.config.backupManage', 'Backup Management', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3069, 3069, 'menu.config.softwareManage', 'Software Management', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3070, 3070, 'menu.ueUser.onlineIMS', 'IMS Online Users', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3071, 3071, 'menu.ueUser.onlineUE', 'UE Online Information', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3072, 3072, 'menu.ueUser.base5G', 'Radio Information', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3073, 3073, 'menu.trace', 'Trace', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3074, 3074, 'menu.trace.task', 'Trace Tasks', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3075, 3075, 'menu.trace.analysis', 'Signaling Analysis', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3076, 3076, 'menu.trace.pcap', 'Signaling Capture', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3077, 3077, 'menu.fault', 'Monitor', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3078, 3078, 'menu.config.backupManageRemark', 'Backup Management Menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3079, 3079, 'menu.config.softwareManageRemark', 'Software Management Menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3080, 3080, 'menu.ueUser.onlineIMSRemark', 'IMS Online User Menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3081, 3081, 'menu.ueUser.onlineUERemark', 'UE Online Information Menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3082, 3082, 'menu.ueUser.base5GRemark', '5G Base Station Information Menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3083, 3083, 'menu.traceRemark', 'Tracking Management Menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3084, 3084, 'menu.trace.taskRemark', 'Tracking Task Menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3085, 3085, 'menu.trace.analysisRemark', 'Signaling Analysis Menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3086, 3086, 'menu.trace.pcapRemark', 'Signaling Capture Menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3087, 3087, 'menu.faultRemark', 'Fault Management Catalog', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3088, 3088, 'menu.fault.active', 'Active Alarms', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3089, 3089, 'menu.log', 'Logs', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3090, 3090, 'menu.log.operatOld', 'Operation Logs (old)', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3091, 3091, 'menu.log.mml', 'MML Logs', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3092, 3092, 'menu.log.alarm', 'Alarm Logs', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3093, 3093, 'menu.log.securityOld', 'Security Logs (old)', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3094, 3094, 'menu.log.forwarding', 'Alarm Forwarding Logs', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3095, 3095, 'menu.log.set', 'Log Settings', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3096, 3096, 'menu.monitor.sessionUser', 'User Sessions', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3097, 3097, 'menu.fault.history', 'Historical Alarms', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3098, 3098, 'menu.fault.set', 'Settings', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3099, 3099, 'menu.perf', 'Performance', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3100, 3100, 'menu.fault.activemRemark', 'Active Alarm Menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3101, 3101, 'menu.logRemark', 'Log Management Catalog', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3102, 3102, 'menu.log.operatOldRemark', 'Operation log old layui menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3103, 3103, 'menu.log.mmlRemark', 'Operation MML Log', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3104, 3104, 'menu.log.alarmRemark', 'Alarm Log Menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3105, 3105, 'menu.log.securityOldRemark', 'Security Log Old Layui Menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3106, 3106, 'menu.log.forwardingRemark', 'Alarm forward log menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3107, 3107, 'menu.log.setRemark', 'Log Settings menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3108, 3108, 'menu.monitor.sessionUserRemark', 'User Session Old Layui Menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3109, 3109, 'menu.fault.historyRemark', 'Alarm history menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3110, 3110, 'menu.fault.setRemark', 'Fault General Setup Menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3111, 3111, 'menu.perfRemark', 'Performance Catalog', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3112, 3112, 'menu.perf.task', 'Performance Tasks', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3113, 3113, 'menu.perf.data', 'Performance Data', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3114, 3114, 'menu.perf.report', 'Performance Reports', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3115, 3115, 'menu.perf.threshold', 'Performance Thresholds', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3116, 3116, 'menu.perf.kpi', 'Key Performance Indicators', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3117, 3117, 'menu.perf.customTarget', 'Custom Indicator Management', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3118, 3118, 'menu.perf.set', 'Performance General Settings', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3119, 3119, 'menu.mml', 'MML', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3120, 3120, 'menu.mml.ne', 'NE Operation', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3121, 3121, 'menu.mml.udm', 'UDM Operation', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3122, 3122, 'menu.mml.set', 'MML Settings', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3123, 3123, 'menu.mml.omc', 'OMC Operation', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3124, 3124, 'menu.perf.taskRemark', 'Task Management Menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3125, 3125, 'menu.perf.dataRemark', 'Performance Data Menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3126, 3126, 'menu.perf.reportRemark', 'Performance Report Menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3127, 3127, 'menu.perf.thresholdRemark', 'Performance Threshold Menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3128, 3128, 'menu.perf.kpiRemark', 'Key Performance Indicator Menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3129, 3129, 'menu.perf.customTargetRemark', 'Custom Indicator Management Menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3130, 3130, 'menu.perf.setRemark', 'Performance General Settings Menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3131, 3131, 'menu.mmlRemark', 'MML Management Catalog', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3132, 3132, 'menu.mml.neRemark', 'Network Element Operations Menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3133, 3133, 'menu.mml.udmRemark', 'Network Element UDM User Data Menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3134, 3134, 'menu.mml.setRemark', 'MML Setup Menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3135, 3135, 'menu.mml.omcRemark', 'OMC Operation Menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3136, 3136, 'menu.config.licenseManage', 'License Management', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3137, 3137, 'menu.security', 'Security', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3138, 3138, 'menu.system.systemSet', 'System Settings', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3139, 3139, 'menu.system.systemResource', 'System Resources', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3140, 3140, 'menu.config.configNEForm', 'Parameter Configuration Form', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3141, 3141, 'menu.config.configNETree', 'Parameter Configuration Tree', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3142, 3142, 'menu.config.configNETreeTable', 'Parameter Configuration', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3143, 3143, 'menu.config.licenseManageRemark', 'License Management Menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3144, 3144, 'menu.securityRemark', 'Security Management Catalog', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3145, 3145, 'menu.system.systemSetRemark', 'System Settings Menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3146, 3146, 'menu.system.systemResourceRemark', 'System Resources cpu io network menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3147, 3147, 'menu.config.configNEFormRemark', 'Parameter Configuration Form Menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3148, 3148, 'menu.config.configNETreeRemark', 'Parameter Configuration Tree Menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3149, 3149, 'menu.config.configNETreeTableRemark', 'Configuring the TreeTable menu with parameters', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3150, 3150, 'menu.noData', 'There is no accessible menu data!', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3151, 3151, 'menu.errNameExists', 'Failed to operate menu [{name}], menu name already exists!', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3152, 3152, 'menu.errPathExists', 'Failed to operate menu [{name}], menu routing address already exists!', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3153, 3153, 'menu.errFramePath', 'Failed to manipulate menu [{name}], non-internal address should start with http(s)://', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3154, 3154, 'menu.errParentStatus', 'The parent menu is not enabled!', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3155, 3155, 'menu.errHasChildUse', 'Operation menu [{name}] failed, number of submenus in use exists: {num}', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3156, 3156, 'menu.errHasRoleUse', 'Operation menu [{name}] failed, number of roles the menu has been assigned to: {num}', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3400, 3400, 'dictData.sex.un', 'Not selected', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3401, 3401, 'dictData.sex.male', 'Male', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3402, 3402, 'dictData.sex.female', 'Female', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3403, 3403, 'dictData.show', 'Show', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3404, 3404, 'dictData.hide', 'Hide', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3405, 3405, 'dictData.normal', 'Active', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3406, 3406, 'dictData.disable', 'Inactive', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3407, 3407, 'dictData.yes', 'Yes', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3408, 3408, 'dictData.no', 'No', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3409, 3409, 'dictData.success', 'Successful', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3410, 3410, 'dictData.fail', 'Failed', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3411, 3411, 'dictData.jobStatus.normal', 'Active', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3412, 3412, 'dictData.jobStatus.pause', 'Inactive', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3413, 3413, 'dictData.jobGroup.Default', 'Default', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3414, 3414, 'dictData.jobGroup.System', 'System', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3415, 3415, 'dictData.operType.other', 'Other', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3416, 3416, 'dictData.operType.add', 'New', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3417, 3417, 'dictData.operType.edit', 'Modify', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3418, 3418, 'dictData.operType.delete', 'Delete', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3419, 3419, 'dictData.operType.auth', 'Authorization', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3420, 3420, 'dictData.operType.export', 'Export', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3421, 3421, 'dictData.operType.import', 'Import', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3422, 3422, 'dictData.operType.forced quit', 'Forced Retirement', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3423, 3423, 'dictData.operType.clear', 'Clear', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3424, 3424, 'dictData.trace.interface', 'Interface Tracing', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3425, 3425, 'dictData.trace.device', 'Module Tracing', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3426, 3426, 'dictData.trace.user', 'User Tracing', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3427, 3427, 'dictData.logType.download', 'Download', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3428, 3428, 'dictData.logType.activation', 'Activation', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3429, 3429, 'dictData.logType.add', 'New', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3430, 3430, 'dictData.logType.other', 'Other', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3431, 3431, 'dictData.logType.back', 'Rollback', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3432, 3432, 'dictData.logType.delete', 'Delete', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3433, 3433, 'dictData.logType.distribute', 'Assign', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3434, 3434, 'dictData.logType.export', 'Export', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3435, 3435, 'dictData.logType.query', 'Query', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3436, 3436, 'dictData.logType.setup', 'Setup', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3437, 3437, 'dictData.logType.update', 'Update', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3438, 3438, 'dictData.logType.upload', 'Upload', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3439, 3439, 'dictData.logType.view', 'View', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3440, 3440, 'dictData.logType.login', 'Login', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3441, 3441, 'dictData.logType.logout', 'Logout', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3442, 3442, 'dictData.securityLogType.add', 'New', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3443, 3443, 'dictData.securityLogType.update', 'Update', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3444, 3444, 'dictData.securityLogType.delete', 'Delete', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3445, 3445, 'dictData.securityLogType.lock', 'Locked', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3446, 3446, 'dictData.securityLogType.unlock', 'Unlock', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3447, 3447, 'dictData.securityLogType.reset', 'Reset', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3448, 3448, 'dictData.securityLogType.deactivate', 'Deactivate', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3449, 3449, 'dictData.jobSaveLog.no', 'No Record', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3450, 3450, 'dictData.jobSaveLog.yes', 'Recorded', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3451, 3451, 'dictData.neVersionStatus.upload', 'Uploaded', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3452, 3452, 'dictData.neVersionStatus.inactive', 'Inactivated', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3453, 3453, 'dictData.neVersionStatus.active', 'Activated', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3454, 3454, 'dictData.alarmStatus.history', 'Historical Alarm', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3455, 3455, 'dictData.alarmStatus.active', 'Active Alarm', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3456, 3456, 'dictData.export.code', 'Data Code', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3457, 3457, 'dictData.export.sort', 'Data Sort', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3458, 3458, 'dictData.export.label', 'Data Key', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3459, 3459, 'dictData.export.value', 'Data Value', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3460, 3460, 'dictData.export.type', 'Data Type', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3461, 3461, 'dictData.export.status', 'Status', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3462, 3462, 'dictData.datascope.all', 'All data permissions', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3463, 3463, 'dictData.datascope.custom', 'Customized Data Rights', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3464, 3464, 'dictData.datascope.dept', 'Departmental Data Permissions', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3465, 3465, 'dictData.datascope.deptAndChid', 'Department and below', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3466, 3466, 'dictData.datascope.self', 'Personal data access only', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3467, 3467, 'dictData.noData', 'There is no accessible dictionary code data!', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3468, 3468, 'dictData.errLabelExists', 'Failed to manipulate data [{name}], tag name already exists under this dictionary type!', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3500, 3500, 'dictType.sys_user_sex', 'User Gender', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3501, 3501, 'dictType.sys_show_hide', 'Menu Status', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3502, 3502, 'dictType.sys_normal_disable', 'System switches', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3503, 3503, 'dictType.sys_job_status', 'Task Status', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3504, 3504, 'dictType.sys_job_group', 'Task Grouping', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3505, 3505, 'dictType.sys_yes_no', 'System or not', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3506, 3506, 'dictType.sys_oper_type', 'Operation Type', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3507, 3507, 'dictType.sys_common_status', 'System Status', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3508, 3508, 'dictType.trace_type', 'Trace Types', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3509, 3509, 'dictType.operation_log_type', 'Operation Log Type', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3510, 3510, 'dictType.alarm_status', 'Alarm Log Type', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3511, 3511, 'dictType.security_log_type', 'Security Log Type', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3512, 3512, 'dictType.ne_version_status', 'Network element software version status', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3513, 3513, 'dictType.i18n_en', 'Multi-language - English', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3514, 3514, 'dictType.i18n_zh', 'Multi-language - Chinese', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3515, 3515, 'dictType.sys_user_sex_remark', 'User gender list', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3516, 3516, 'dictType.sys_show_hide_remark', 'Menu Status List', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3517, 3517, 'dictType.sys_normal_disable_remark', 'System switch list', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3518, 3518, 'dictType.sys_job_status_remark', 'Task Status List', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3519, 3519, 'dictType.sys_job_group_remark', 'Task Grouping List', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3520, 3520, 'dictType.sys_yes_no_remark', 'System whether list', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3521, 3521, 'dictType.sys_oper_type_remark', 'Operation type list', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3522, 3522, 'dictType.sys_common_status_remark', 'Login Status List', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3523, 3523, 'dictType.trace_type_remark', 'Trace Types', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3524, 3524, 'dictType.operation_log_type_remark', 'Operation log type', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3525, 3525, 'dictType.alarm_status_remark', 'alarm_status', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3526, 3526, 'dictType.security_log_type_remark', 'Security Log Type', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3527, 3527, 'dictType.ne_version_status_remark', 'Network element software version status', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3528, 3528, 'dictType.i18n_en_remark', 'Internationalization - English', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3529, 3529, 'dictType.i18n_zh_remark', 'Internationalization - Chinese', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3530, 3530, 'dictType.export.id', 'Dictionary Number', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3531, 3531, 'dictType.export.name', 'Dictionary Name', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3532, 3532, 'dictType.export.type', 'Dictionary Type', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3533, 3533, 'dictType.export.status', 'Status', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3534, 3534, 'dictType.sys_role_datascope', 'System Role Data Range', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3535, 3535, 'dictType.sys_role_datascope_remark', 'System Role Data Range Mapping', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3536, 3536, 'dictType.noData', 'There is no accessible dictionary type data!', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3537, 3537, 'dictType.errNameExists', 'Failed to manipulate dictionary [{name}], dictionary name already exists!', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3538, 3538, 'dictType.errTypeExists', 'Failed to manipulate dictionary [{name}], dictionary type already exists!', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3600, 3600, 'dept.root', 'System Maintenance Department', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3601, 3601, 'dept.root.item1', 'Operation and Maintenance Department One', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3602, 3602, 'dept.noData', 'There is no accessible department data!', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3603, 3603, 'dept.errParentDelFlag', 'The parent department [{name}] has been deleted and is not allowed to be added.', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3604, 3604, 'dept.errParentStatus', 'Parent department [{name}] is deactivated, additions are not allowed!', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3605, 3605, 'dept.errNameExists', 'Manipulate department [{name}] failed, department name already exists!', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3606, 3606, 'dept.errParentID', 'Failed to operate department [{name}], the parent department cannot be itself.', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3607, 3607, 'dept.errHasChildUse', 'Operation failed, the department contains undeactivated sub-departments number: {num}', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3608, 3608, 'dept.errHasUserUse', 'Deletion is not allowed, number of users the department has been assigned to: {num}', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3630, 3630, 'config.sys.user.initPassword', 'User Management-Account Initial Password', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3631, 3631, 'config.sys.account.captchaEnabled', 'Account self-help-Certification code switch', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3632, 3632, 'config.sys.account.registerUser', 'Account self-service-Whether to enable the user registration function', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3633, 3633, 'config.sys.user.maxRetryCount', 'User Management-Maximum number of password errors', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3634, 3634, 'config.sys.user.lockTime', 'User Management-Password Lock Time', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3635, 3635, 'config.monitor.sysResource.storeDays', 'Monitor-System Resources-Data retention time', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3636, 3636, 'config.sys.logo.type', 'System Settings-Logo Type', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3637, 3637, 'config.sys.logo.filePathIcon', 'System Settings-Logo File icon', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3638, 3638, 'config.sys.logo.filePathBrand', 'System Settings-Logo File Brand', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3639, 3639, 'config.sys.loginBackground', 'System Settings-Login Interface Background', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3640, 3640, 'config.sys.title', 'System Settings-System Name', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3641, 3641, 'config.sys.copyright', 'System Settings-Copyright Notice', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3642, 3642, 'config.sys.user.initPasswordRemark', 'Import user initialization password 123456', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3643, 3643, 'config.sys.account.captchaEnabledRemark', 'Whether to enable the verification code function (true on, false off)', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3644, 3644, 'config.sys.account.registerUserRemark', 'Whether to enable the function of registered users (true on, false off)', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3645, 3645, 'config.sys.user.maxRetryCountRemark', 'Maximum number of password errors', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3646, 3646, 'config.sys.user.lockTimeRemark', 'Password lock time in minutes (default 10 minutes)', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3647, 3647, 'config.monitor.sysResource.storeDaysRemark', 'Monitor-System Resources-Data retention time, in days. According to the current date, delete the date data information that exceeds the retention time.', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3648, 3648, 'config.sys.logo.typeRemark', 'Full image: brand\r\nSmall image: icon', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3649, 3649, 'config.sys.logo.filePathIconRemark', 'File support for web address images and file paths for internal uploads', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3650, 3650, 'config.sys.logo.filePathBrandRemark', 'File support for web address images and paths to internally uploaded files', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3651, 3651, 'config.sys.loginBackgroundRemark', 'The file supports web address images and internal upload file paths with a # in the default background', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3652, 3652, 'config.sys.titleRemark', 'System name length limit of 11-digit string', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3653, 3653, 'config.sys.copyrightRemark', 'Footer fixing strip with copyright notice on the left side', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3654, 3654, 'config..export.id', 'ID', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3655, 3655, 'config..export.name', 'Config Name', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3656, 3656, 'config..export.key', 'Config Key', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3657, 3657, 'config..export.value', 'Config Value', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3658, 3658, 'config..export.type', 'Built In', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3659, 3659, 'config..export.remark', 'Config Description', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3660, 3660, 'config.sys.titleValue', 'AGrandEMS', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3661, 3661, 'config.sys.copyrightValue', 'Copyright ©2024 AGrandTech', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3662, 3662, 'config.noData', 'No parameter configuration data is accessible!', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3663, 3663, 'config.errKey', 'Invalid key', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3664, 3664, 'config.errValueEq', 'Change state is equal to the old value!', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3665, 3665, 'config.errKeyExists', 'Failed to manipulate parameter configuration [{name}], parameter key name already exists!', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3666, 3666, 'config.errDelete', 'Deletion of parameter configuration information failed!', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3667, 3667, 'config.errType', 'The operation contains built-in parameters and deletion is prohibited!', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3700, 3700, 'job.monitor_sys_resource', 'Monitor-System Resources', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3701, 3701, 'job.monitor_sys_resource_remark', 'System Resource CPU/IO/Netword Collection\r\ninterval unit minutes, average minute resource situation\r\nNote: Please pass the value of the parameter interva according to the time unit minutes of the cron expression', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3702, 3702, 'job.delExpiredNeBackup', 'Delete expired NE etc backup file', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3703, 3703, 'job.delExpiredNeBackupRemark', 'Delete expired network element etc backup file, pass in the parameter to keep the backup file for {duration} days, default is 60 days.', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3704, 3704, 'job.deleteExpiredAlarmRecord', 'Delete expired historical alarm', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3705, 3705, 'job.deleteExpiredAlarmRecordRemark', 'Delete expired history alarm records, pass in the parameter to keep the history alarm records for {duration} days.', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3706, 3706, 'job.deleteExpiredKpiRecord', 'Delete expired KPI records', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3707, 3707, 'job.deleteExpiredKpiRecordRemark', 'KPI record retention for {duration} days', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3708, 3708, 'job.backupEtcFromNE', 'Network Element Configuration Auto Backup Task', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3709, 3709, 'job.backupEtcFromNERemark', 'Automatically backs up the configuration files in the network element\'s etc directory.', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3710, 3710, 'job.export.jobID', 'ID', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3711, 3711, 'job.export.jobName', 'Name', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3712, 3712, 'job.export.jobGroupName', 'Group', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3713, 3713, 'job.export.invokeTarget', 'Invoke', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3714, 3714, 'job.export.targetParams', 'Incoming Parameters', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3715, 3715, 'job.export.cronExpression', 'Cron', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3716, 3716, 'job.export.status', 'Status', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3717, 3717, 'job.export.remark', 'Description', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3718, 3718, 'job.export.jobLogID', 'ID', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3719, 3719, 'job.export.jobLogStatus', 'Status', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3720, 3720, 'job.export.jobLogTime', 'Time', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3710, 3710, 'job.export.jobID', 'Task Code', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3721, 3721, 'job.noData', 'There is no accessible scheduling task data!', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3722, 3722, 'job.errTargetParams', 'Failed to operate scheduling task [{name}] with incorrect task incoming parameter json string!', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3723, 3723, 'job.errCronExpression', 'Scheduled task [{name}] failed with incorrect Cron expression!', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3724, 3724, 'job.errJobExists', 'Failed to add a new task [{name}] to a scheduling task, same task name in the same task group', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3725, 3725, 'job.statusEq', 'The change state is equal to the old value!', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3750, 3750, 'role.admin', 'Super Administrator', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3751, 3751, 'role.adminAssign', 'Managers', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3752, 3752, 'role.operator', 'Operators', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3753, 3753, 'role.monitor', 'Monitor', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3754, 3754, 'role.vistor', 'General Users', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3755, 3755, 'role.adminRemark', 'Super Administrator, cannot modify or delete', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3756, 3756, 'role.adminAssignRemark', 'Administrators can perform any operation on the device', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3757, 3757, 'role.operatorRemark', 'Operation and maintenance personnel can read data from the device and configure the device, but cannot perform software upgrade operations on the device.', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3758, 3758, 'role.monitorRemark', 'Monitoring personnel Can only read data from the device, but cannot make any settings on the device', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3759, 3759, 'role.vistorRemark', 'Ordinary users can only see system-related information', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3760, 3760, 'role.export.id', 'Role Number', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3761, 3761, 'role.export.name', 'Role Name', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3762, 3762, 'role.export.key', 'Role Key', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3763, 3763, 'role.export.sort', 'Role Sort', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3764, 3764, 'role.export.dataScope', 'Role Data Range', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3765, 3765, 'role.export.status', 'Role Status', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3766, 3766, 'role.noData', 'There is no accessible role data!', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3767, 3767, 'role.statusEq', 'The change status is equal to the old value!', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3768, 3768, 'role.errNameExists', 'Manipulating role [{name}] failed, role name already exists!', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3769, 3769, 'role.errKeyExists', 'Failed to manipulate role [{name}], role key already exists!', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3800, 3800, 'post.admin', 'Systems', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3801, 3801, 'post.operator', 'Management', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3802, 3802, 'post.monitor', 'Operation & Maintenance', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3803, 3803, 'post.visitor', 'Monitoring', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3804, 3804, 'post.export.id', 'Position Number', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3805, 3805, 'post.export.code', 'Position Code', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3806, 3806, 'post.export.name', 'Position Name', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3807, 3807, 'post.export.sort', 'Position Sort', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3808, 3808, 'post.export.status', 'Position Status', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3809, 3809, 'post.noData', 'There is no accessible post data!', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3810, 3810, 'post.errNameExists', 'Failed to manipulate post [{name}], post name already exists already exists', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3811, 3811, 'post.errCodeExists', 'Failed to manipulate role [{name}], role key already exists.', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3830, 3830, 'user.export.id', 'User Number', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3831, 3831, 'user.export.name', 'Account', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3832, 3832, 'user.export.nick', 'Nick Name', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3833, 3833, 'user.export.email', 'E-Mail', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3834, 3834, 'user.export.phone', 'Cell phone number', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3835, 3835, 'user.export.sex', 'Gender', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3836, 3836, 'user.export.status', 'Status', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3837, 3837, 'user.export.deptID', 'Department number', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3838, 3838, 'user.export.deptName', 'Department', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3839, 3839, 'user.export.deptLeader', 'Department Head', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3840, 3840, 'user.export.loginIP', 'Login Address', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3841, 3841, 'user.export.loginDate', 'Login Time', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3842, 3842, 'user.noData', 'No accessible user data!', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3843, 3843, 'user.statusEq', 'The change status is equal to the old value!', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3844, 3844, 'user.errPasswdOld', 'Change password failed, old password is wrong', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3845, 3845, 'user.errPasswdEqOld', 'New password cannot be the same as the old one', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3846, 3846, 'user.errPasswd', 'Login password contains at least upper and lower case letters, numbers, special symbols, and not less than 6 digits.', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3847, 3847, 'user.errEmailFormat', 'Failed to operate user [{name}], mailbox format error', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3848, 3848, 'user.errEmailExists', 'Failed to operate user [{name}], mailbox already exists.', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3849, 3849, 'user.errPhoneFormat', 'Failed to operate user [{name}], cell phone number format is wrong.', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3850, 3850, 'user.errPhoneExists', 'Failed to operate user [{name}], cell phone number already exists.', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3851, 3851, 'user.errNameExists', 'Failed to operate user [{name}], login account already exists.', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3852, 3852, 'user.import.mustItem', 'Required list item in form, {text}', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3853, 3853, 'user.import.phoneExist', 'User ID: {id} cell phone number {phone} Existing', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3854, 3854, 'user.import.phoneFormat', 'User ID: {id} cell phone number {phone} Wrong format', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3855, 3855, 'user.import.emailExist', 'User ID: {id} User Email: {email} Existing', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3856, 3856, 'user.import.emailFormat', 'User ID: {id} Email: {email} Wrong Format', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3857, 3857, 'user.import.success', 'User ID:{id} Login name:{name} Imported successfully!', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3858, 3858, 'user.import.fail', 'User ID: {id} Login name: {name} Import failed', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3859, 3859, 'user.import.successUpdate', 'User ID: {id} Login name: {name} Update success', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3860, 3860, 'user.import.failUpdate', 'User ID: {id} Login Name: {name} Update Failed', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3861, 3861, 'user.import.failTip', 'Sorry, the import failed! A total of {num} entries were not formatted correctly, the error is below:', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3862, 3862, 'user.import.successTip', 'Congratulations, the data has been imported successfully! There are {num} entries with the following data:', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3900, 3900, 'app.common.err403', 'Unauthorized access {method} {requestURI}', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3901, 3901, 'app.common.err401', 'Invalid authorization', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3902, 3902, 'app.common.err400', 'Parameter error', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3903, 3903, 'app.common.exportEmpty', 'Export data record is empty', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3904, 3904, 'app.common.errOperateAdmin', 'Built-in users are not allowed to operate', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3905, 3905, 'app.common.errOperateRole', 'Built-in roles are not allowed to be operated', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3906, 3906, 'app.common.deleteSuccess', 'Deleted successfully: {num}', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3907, 3907, 'app.common.loginSuccess', 'Login Success', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3908, 3908, 'app.common.logoutSuccess', 'Logout Successful', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3909, 3909, 'app.common.errUnlock', 'The user is not locked', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3910, 3910, 'app.common.noLoginUser', 'Invalid login user information', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3911, 3911, 'app.common.rateLimitTip', 'Access too often, please try again later', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3912, 3912, 'log.operate.export.id', 'Log ID', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3913, 3913, 'log.operate.export.title', 'Module Name', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3914, 3914, 'log.operate.export.businessType', 'Business Type', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3915, 3915, 'log.operate.export.method', 'Operation Method', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3916, 3916, 'log.operate.export.requestMethod', 'Request Method', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3917, 3917, 'log.operate.export.operatorType', 'Operation Type', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3918, 3918, 'log.operate.export.operName', 'Operator', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3919, 3919, 'log.operate.export.deptName', 'Operator Department Name', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3920, 3920, 'log.operate.export.url', 'Request URL', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3921, 3921, 'log.operate.export.ip', 'Request Host', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3922, 3922, 'log.operate.export.location', 'Request Address', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3923, 3923, 'log.operate.export.param', 'Request Parameters', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3924, 3924, 'log.operate.export.msg', 'Operation Information', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3925, 3925, 'log.operate.export.status', 'Status', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3926, 3926, 'log.operate.export.costTime', 'Time Consumption (ms)', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3927, 3927, 'log.operate.export.operTime', 'Time', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3928, 3928, 'log.login.export.id', 'Log ID', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3929, 3929, 'log.login.export.userName', 'Login Account', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3930, 3930, 'log.login.export.status', 'Status', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3931, 3931, 'log.login.export.ip', 'Login Address', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3932, 3932, 'log.login.export.location', 'Login Location', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3933, 3933, 'log.login.export.browser', 'Browser', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3934, 3934, 'log.login.export.os', 'Operating System', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3935, 3935, 'log.login.export.msg', 'Login Information', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3936, 3936, 'log.login.export.time', 'Login Time', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3937, 3937, 'trace.tcpdump.noData', 'Can\'t find {type} {id} information of the corresponding network element.', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3938, 3938, 'register.errUsername', 'The account number cannot start with a number, but can contain upper and lower case letters, numbers, and not less than 5 digits.', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3939, 3939, 'register.errPasswd', 'The password must contain at least 6 upper and lower case letters, numbers, and special symbols.', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3940, 3940, 'register.errPasswdNotEq', 'User confirms password inconsistency', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3941, 3941, 'register.success', 'Successful registration', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3942, 3942, 'register.successMsg', '{name} Register Successful {id}', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3943, 3943, 'log.operate.title.sysJobLog', 'Scheduling Task Logs', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3944, 3944, 'log.operate.title.sysJob', 'Scheduling Tasks', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3945, 3945, 'log.operate.title.tcpdump', 'Signaling Capture', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3946, 3946, 'log.operate.title.sysConfig', 'Parameter Configuration', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3947, 3947, 'log.operate.title.sysDept', 'Sector', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3948, 3948, 'log.operate.title.sysDictData', 'Dictionary Data', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3949, 3949, 'log.operate.title.sysDictType', 'Dictionary type', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3950, 3950, 'log.operate.title.sysMenu', 'Menu', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3951, 3951, 'log.operate.title.sysPost', 'Positions', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3952, 3952, 'log.operate.title.sysProfile', 'Personal Information', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3953, 3953, 'log.operate.title.sysProfileAvatar', 'Personal avatar', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3954, 3954, 'log.operate.title.sysRole', 'Roles', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3955, 3955, 'log.operate.title.sysUser', 'User', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3956, 3956, 'log.operate.title.sysLogOper', 'Operation Logging', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3957, 3957, 'log.operate.title.sysLogLogin', 'Operation Logging', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3958, 3958, 'login.errNameOrPasswd', 'User does not exist or password is wrong', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3959, 3959, 'login.errDelFlag', 'Sorry, your account has been deleted', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3960, 3960, 'login.errStatus', 'Sorry, your account has been disabled', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3961, 3961, 'login.errRetryPasswd', 'Password was entered incorrectly several times, account has been locked', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3962, 3962, 'captcha.err', 'Captcha Error', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3963, 3963, 'captcha.errValid', 'Captcha is invalid', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3964, 3964, 'app.common.noUaOsBrowser', 'Unknown Unknown', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3965, 3965, 'app.common.noIPregion', 'Intranet', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3966, 3966, 'app.common.unknown', 'Unknown', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3967, 3967, 'app.common.noNEInfo', 'No matching network element information found', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3968, 3968, 'ne.udm.errImportUserAuthFileFormat', 'Please upload a file in the format of. csv or. txt. English comma separated txt format: imsi, ki, algo, amf, opc', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3969, 3969, 'ne.udm.errExportType', 'Export file types support CSV and txt', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3970, 3970, 'ne.udm.errImportUserSubFileFormat', 'Please upload files in .csv or .txt format. English comma-separated txt format: imsi, msisdn, ambr, nssai, arfb, sar, rat, cn, smf_sel, sm_dat, eps_dat', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3971, 3971, 'log.operate.title.udmAuth', 'UDM Authentication User', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3972, 3972, 'log.operate.title.udmSub', 'UDM Subscribers', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3973, 3973, 'dictType.active_alarm_type', 'Event Alarm Types', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3974, 3974, 'dictType.active_alarm_type_remark', 'List of Active Alarm Types', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3975, 3975, 'dictData.active_alarm_type.communication', 'Communication Alarm', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3976, 3976, 'dictData.active_alarm_type.equipment', 'Equipment Alarm', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3977, 3977, 'dictData.active_alarm_type.processing', 'Processing Failure Alarm', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3978, 3978, 'dictData.active_alarm_type.environmental', 'Environmental Alarm', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3979, 3979, 'dictData.active_alarm_type.qualityOfService', 'Quality of Service Alarm', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3980, 3980, 'dictType.active_clear_type', 'Alarm Clearing Types', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3981, 3981, 'dictType.active_clear_type_remark', 'List of Alarm Clearing Types', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3982, 3982, 'dictData.active_clear_type.notCleared', 'Not cleared', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3983, 3983, 'dictData.active_clear_type.hand', 'Manually cleared', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3984, 3984, 'dictData.active_clear_type.auto', 'Automatically cleared', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3985, 3985, 'dictType.active_ack_state', 'Alarm Acknowledgement Types', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3986, 3986, 'dictType.active_ack_state_remark', 'Alarm Acknowledgement Type List', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3987, 3987, 'dictData.active_ack_state.unconfirmed', 'Not Confirm', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3988, 3988, 'dictData.active_ack_state.confirmed', 'Confirm', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3989, 3989, 'dictType.active_alarm_severity', 'Severity', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3990, 3990, 'dictType.active_alarm_severity_remark', 'Severity List', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3991, 3991, 'dictData.active_alarm_severity.critical', 'Critical', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3992, 3992, 'dictData.active_alarm_severity.major', 'Major', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3993, 3993, 'dictData.active_alarm_severity.minor', 'Minor', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3994, 3994, 'dictData.active_alarm_severity.warning', 'Warning', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3995, 3995, 'dictData.active_alarm_severity.event', 'Event', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3996, 3996, 'config.sys.officialUrl', 'System Settings - Official Website Links', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3997, 3997, 'config.sys.helpDoc', 'System Settings-System Documentation', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3998, 3998, 'config.sys.officialUrlRemark', 'Default no address with # sign', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (3999, 3999, 'config.sys.helpDocRemark', 'Static file directory address, use {language} to distinguish language files', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4000, 4000, 'log.operate.title.neAction', 'Network Element Processing', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4001, 4001, 'log.operate.title.helpDoc', 'System Usage Documentation', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4002, 4002, 'menu.ueUser.n3iwf', 'N3IWF Online User', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4003, 4003, 'menu.ueUser.pcf', 'User PCC Information', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4004, 4004, 'menu.system.user.editRole', 'Modifying user roles', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4005, 4005, 'config.sys.i18nOpen', 'Internationalization Switching', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4006, 4006, 'config.sys.i18nDefault', 'Internationalization Default Language', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4007, 4007, 'user.export.role', 'Role', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4008, 4008, 'menu.system.setting.i18n', 'Internationalization Switch', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4009, 4009, 'menu.system.setting.i18nRemark', 'Internationalized multilingual switching options', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4010, 4010, 'dictType.index_status', 'Home Status', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4011, 4011, 'dictType.index_status_remark', 'Network element status colors on the home page', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4012, 4012, 'dictType.index_status.normal', 'Normal', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4013, 4013, 'dictType.index_status.abnormal', 'Abnormal', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4014, 4014, 'menu.log.neFile', 'NE Log File', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4015, 4015, 'job.deleteExpiredNeStateRecord', 'Delete Expired NE State Record', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4016, 4016, 'job.deleteExpiredNeStateRecordRemark', 'Delete expired NE state records regularly and keep them for {duration} days by default.', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4017, 4017, 'job.getStateFromNE', 'Get state from NEs', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4018, 4018, 'job.getStateFromNERemark', 'Get state information from all NEs', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4019, 4019, 'job.genNeStateAlarm', 'Network Element Health Check', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4020, 4020, 'job.genNeStateAlarmRemark', 'Health status inspection of network elements, generating alarms in case of abnormalities.', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4021, 4021, 'menu.neUser.nssf', 'NSSF Subscription Info', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4022, 4022, 'menu.neUser.nssfAmf', 'NSSF Available AMFs', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4023, 4023, 'menu.monitor.topology', 'Topology Info', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4024, 4024, 'menu.monitor.topologyBuild', 'Topological Graph Build', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4025, 4025, 'log.operate.title.chartGraph', 'Topological Graph', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 1, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4026, 4026, 'menu.monitor.topologyArchitecture', 'NE System Topology', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4027, 4027, 'menu.alarm', 'Alarm', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4028, 4028, 'menu.topology', 'Topology', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4029, 4029, 'config.sys.lockTime', 'System Settings - Screen Lock Timeout Duration', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4030, 4030, 'config.sys.lockTimeRemark', 'Screen lock timeout duration when idle, in seconds.', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4031, 4031, 'sys.account.captchaType', 'Account Self Service - Captcha Type', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4032, 4032, 'sys.account.captchaTypeRemark', 'Using CAPTCHA types (math numeric calculation, char character validation)', 'i18n_en', NULL, NULL, '1', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4033, 4033, 'menu.dashboard', 'Dashboard', 'i18n_en', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4034, 4034, 'menu.dashboard.overview', 'Overview', 'i18n_en', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4035, 4035, 'menu.dashboard.cdr', 'IMS CDR', 'i18n_en', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4036, 4036, 'dictType.cdr_sip_code', 'CDR SIP Response Code Category Type', 'i18n_en', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4037, 4037, 'dictType.cdr_call_type', 'CDR Call Type', 'i18n_en', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4038, 4038, 'dictType.ue_auth_code', 'UE Event Authentication Code Type', 'i18n_en', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4039, 4039, 'dictType.ue_event_type', 'UE Event Type', 'i18n_en', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4040, 4040, 'dictData.cdr_sip_code.200', 'Normal Cleaning', 'i18n_en', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4041, 4041, 'dictData.cdr_sip_code.403', 'Banned', 'i18n_en', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4042, 4042, 'dictData.cdr_sip_code.408', 'Request Timeout', 'i18n_en', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4043, 4043, 'dictData.cdr_sip_code.500', 'Internal Server Error', 'i18n_en', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4044, 4044, 'dictData.cdr_call_type.audio', 'Voice', 'i18n_en', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4045, 4045, 'dictData.cdr_call_type.video', 'Video', 'i18n_en', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4046, 4046, 'dictData.ue_auth_code.200', 'Success', 'i18n_en', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4047, 4047, 'dictData.ue_auth_code.001', 'Network Failure', 'i18n_en', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4048, 4048, 'dictData.ue_auth_code.002', 'Air Interface Failure', 'i18n_en', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4049, 4049, 'dictData.ue_auth_code.003', 'MAC Failure', 'i18n_en', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4050, 4050, 'dictData.ue_auth_code.004', 'Synchronization failure', 'i18n_en', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4051, 4051, 'dictData.ue_auth_code.005', 'Non-5G Authentication Not Accepted', 'i18n_en', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4052, 4052, 'dictData.ue_auth_code.006', 'Response Failure', 'i18n_en', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4053, 4053, 'dictData.ue_auth_code.007', 'Unknown', 'i18n_en', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4054, 4054, 'dictData.ue_event_type.auth', 'Authentication', 'i18n_en', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4055, 4055, 'dictData.ue_event_type.detach', 'Detach', 'i18n_en', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4056, 4056, 'dictData.ue_event_type.state', 'CM Status', 'i18n_en', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4057, 4057, 'dictType.ue_event_cm_state', 'UE Event CM Status', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4058, 4058, 'dictData.ue_event_cm_state.connected', 'Connected', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4059, 4059, 'dictData.ue_event_cm_state.idle', 'Idle', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4060, 4060, 'dictData.ue_event_cm_state.inactive', 'Inactive', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4061, 4061, 'dictData.cdr_sip_code.404', 'Not Found', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4062, 4062, 'dictData.cdr_sip_code.487', 'Request Terminated', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4063, 4063, 'dictData.cdr_sip_code.503', 'Service Unavailable', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4064, 4064, 'dictData.cdr_sip_code.504', 'Server Time Out', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4065, 4065, 'dictData.cdr_sip_code.603', 'Decline', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4066, 4066, 'dictData.cdr_sip_code.606', 'Not Acceptable', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4067, 4067, 'cache.name.user', 'Login User', 'i18n_en', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4068, 4068, 'cache.name.sys_config', 'Parameters Management', 'i18n_en', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4069, 4069, 'cache.name.sys_dict', 'Dictionary Management', 'i18n_en', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4070, 4070, 'cache.name.captcha_codes', 'Captcha', 'i18n_en', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4071, 4071, 'cache.name.repeat_submit', 'Resubmit', 'i18n_en', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4072, 4072, 'cache.name.rate_limit', 'Limit Traffic', 'i18n_en', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4073, 4073, 'cache.name.pwd_err_cnt', 'Number of Password Errors', 'i18n_en', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4074, 4074, 'cache.name.ne_info', 'NE Info Management', 'i18n_en', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_data` VALUES (4075, 4075, 'cache.name.ne_data', 'NE Data Management', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4076, 4076, 'dictData.cdr_call_type.sms', 'SMS', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4077, 4077, 'dictData.cdr_sip_code.202', 'Accepted', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4078, 4078, 'dictData.cdr_sip_code.488', 'Not Aceptable Here', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4079, 4079, 'dictData.cdr_sip_code.0', 'Other', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4080, 4080, 'log.operate.title.ws', 'WS Sessions', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4081, 4081, 'log.operate.title.neHost', 'NE Host', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4082, 4082, 'neHost.noData', 'There is no accessible host information data!', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4083, 4083, 'neHost.errKeyExists', 'Host information operation [{name}] failed, name already exists in the same group', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4084, 4084, 'neHost.errByHostInfo', 'Failed to connect to the host, please check the connection parameters and try again', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4085, 4085, 'dictType.ne_host_type', 'Network element host connection type', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4086, 4086, 'dictType.ne_host_groupId', 'Network element host grouping', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4087, 4087, 'dictType.ne_host_authMode', 'Network element host authentication mode', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4088, 4088, 'dictData.ne_host_type.ssh', 'SSH', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4089, 4089, 'dictData.ne_host_type.telnet', 'Telnet', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4090, 4090, 'dictData.ne_host_groupId.0', 'Other', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4091, 4091, 'dictData.ne_host_groupId.1', 'Network Elements', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4092, 4092, 'dictData.ne_host_groupId.2', 'System', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4093, 4093, 'dictData.ne_host_authMode.0', 'Password Auth Mode', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4094, 4094, 'dictData.ne_host_authMode.1', 'PrivateKey Auth Mode', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4095, 4095, 'menu.tools.terminal', 'NE Host Terminal', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4096, 4096, 'menu.config.neHost', 'NE Host', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4097, 4097, 'menu.config.neHostCommand', 'NE Host CMD', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4098, 4098, 'log.operate.title.neHostCmd', 'NE Host CMD', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4099, 4099, 'neHostCmd.noData', 'No accessible host command data!', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4100, 4100, 'neHostCmd.errKeyExists', 'Host command operation [{name}] failed, name already exists in the same group', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4101, 4101, 'dictType.ne_host_cmd_groupId', 'Network element host command grouping', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4102, 4102, 'dictData.ne_host_cmd_groupId.0', 'Default', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4103, 4103, 'dictData.ne_host_cmd_groupId.1', 'Quick Commands', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4104, 4104, 'menu.config.neInfo', 'NE Info', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4105, 4105, 'log.operate.title.neInfo', 'NE Info', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4106, 4106, 'neInfo.noData', 'There is no accessible network element information data!', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4107, 4107, 'neInfo.errKeyExists', 'NE info operation [{key}] failed, identifier already exists under the same type', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4108, 4108, 'log.operate.title.imsCDR', 'IMS-CDR session', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4109, 4109, 'menu.dashboard.amfUE', 'UE Event', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4110, 4110, 'log.operate.title.amfUE', 'AMF-UE event', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4111, 4111, 'dictData.ne_info_status.0', 'Offline', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4112, 4112, 'dictData.ne_info_status.1', 'Online', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4113, 4113, 'dictData.ne_info_status.2', 'Wait Sync', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4114, 4114, 'dictData.ne_info_status.3', '-', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4115, 4115, 'dictType.ne_info_status', 'NE Info State', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4116, 4116, 'menu.ne.neQuickSetup', 'NE Quick Setup', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4117, 4117, 'log.operate.title.neConfig', 'NE Parameter Configuration', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4118, 4118, 'menu.config.neLicense', 'NE License', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4119, 4119, 'log.operate.title.neLicense', 'NE License', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4120, 4120, 'menu.config.neSoftware', 'NE Software', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4121, 4121, 'log.operate.title.neSoftware', 'NE Software', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4122, 4122, 'menu.config.neVersion', 'Ne Version', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4123, 4123, 'log.operate.title.neVersion', 'Ne Version', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4124, 4124, 'dictType.ne_license_status', 'NE License Status', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4125, 4125, 'ne_license_status.0', 'Invalid', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4126, 4126, 'ne_license_status.1', 'Valid', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4127, 4127, 'menu.dashboard.mocn', 'MOCN', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4128, 4128, 'menu.monitor.cdr', 'CDR', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4129, 4129, 'menu.monitor.event', 'Event', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4130, 4130, 'post.export.time', 'Creation Time', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4131, 4131, 'role.export.time', 'Creation Time', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4132, 4132, 'dictData.ne_host_authMode.2', 'Confidentiality Auth Mode', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4133, 4133, 'menu.ne.neConfPara5G', 'NE Config Public 5G', 'i18n_en', '', '', '1', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_data` VALUES (4134, 4134, 'menu.fault.event', 'Event Notification', 'i18n_en', NULL, NULL, '1', 'supervisor', 1717051688260, '', 0, NULL); - -SET FOREIGN_KEY_CHECKS = 1; diff --git a/database/upgvue3/upg_sys_dict_type.sql b/database/upgvue3/upg_sys_dict_type.sql deleted file mode 100644 index 15423005..00000000 --- a/database/upgvue3/upg_sys_dict_type.sql +++ /dev/null @@ -1,71 +0,0 @@ -/* - Navicat Premium Data Transfer - - Source Server : root@192.168.2.166 - Source Server Type : MariaDB - Source Server Version : 100616 (10.6.16-MariaDB-0ubuntu0.22.04.1) - Source Host : 192.168.2.166:33066 - Source Schema : omc_db - - Target Server Type : MariaDB - Target Server Version : 100616 (10.6.16-MariaDB-0ubuntu0.22.04.1) - File Encoding : 65001 - - Date: 29/01/2024 20:32:50 -*/ - -SET NAMES utf8mb4; -SET FOREIGN_KEY_CHECKS = 0; - --- ---------------------------- --- Table structure for sys_dict_type --- ---------------------------- -CREATE TABLE IF NOT EXISTS `sys_dict_type` ( - `dict_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '字典主键', - `dict_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '字典名称', - `dict_type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '字典类型', - `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '状态(0停用 1正常)', - `create_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '创建者', - `create_time` bigint(20) NULL DEFAULT 0 COMMENT '创建时间', - `update_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '更新者', - `update_time` bigint(20) NULL DEFAULT 0 COMMENT '更新时间', - `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注', - PRIMARY KEY (`dict_id`) USING BTREE, - UNIQUE INDEX `dict_type`(`dict_type`) USING BTREE -) ENGINE = InnoDB AUTO_INCREMENT = 115 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '字典类型表' ROW_FORMAT = Dynamic; - --- ---------------------------- --- Records of sys_dict_type --- ---------------------------- -INSERT IGNORE INTO `sys_dict_type` VALUES (1, 'dictType.sys_user_sex', 'sys_user_sex', '1', 'supervisor', 1699350000000, NULL, 0, 'dictType.sys_user_sex_remark'); -INSERT IGNORE INTO `sys_dict_type` VALUES (2, 'dictType.sys_show_hide', 'sys_show_hide', '1', 'supervisor', 1699350000000, NULL, 0, 'dictType.sys_show_hide_remark'); -INSERT IGNORE INTO `sys_dict_type` VALUES (3, 'dictType.sys_normal_disable', 'sys_normal_disable', '1', 'supervisor', 1699350000000, NULL, 0, 'dictType.sys_normal_disable_remark'); -INSERT IGNORE INTO `sys_dict_type` VALUES (4, 'dictType.sys_job_status', 'sys_job_status', '1', 'supervisor', 1699350000000, NULL, 0, 'dictType.sys_job_status_remark'); -INSERT IGNORE INTO `sys_dict_type` VALUES (5, 'dictType.sys_job_group', 'sys_job_group', '1', 'supervisor', 1699350000000, NULL, 0, 'dictType.sys_job_group_remark'); -INSERT IGNORE INTO `sys_dict_type` VALUES (6, 'dictType.sys_yes_no', 'sys_yes_no', '1', 'supervisor', 1699350000000, NULL, 0, 'dictType.sys_yes_no_remark'); -INSERT IGNORE INTO `sys_dict_type` VALUES (9, 'dictType.sys_oper_type', 'sys_oper_type', '1', 'supervisor', 1699350000000, NULL, 0, 'dictType.sys_oper_type_remark'); -INSERT IGNORE INTO `sys_dict_type` VALUES (10, 'dictType.sys_common_status', 'sys_common_status', '1', 'supervisor', 1699350000000, NULL, 0, 'dictType.sys_common_status_remark'); -INSERT IGNORE INTO `sys_dict_type` VALUES (100, 'dictType.trace_type', 'trace_type', '1', 'supervisor', 1699350000000, NULL, 0, 'dictType.trace_type_remark'); -INSERT IGNORE INTO `sys_dict_type` VALUES (101, 'dictType.operation_log_type', 'operation_log_type', '1', 'supervisor', 1699350000000, NULL, 0, 'dictType.operation_log_type_remark'); -INSERT IGNORE INTO `sys_dict_type` VALUES (102, 'dictType.alarm_status', 'alarm_status', '1', 'supervisor', 1699350000000, NULL, 0, 'dictType.alarm_status_remark'); -INSERT IGNORE INTO `sys_dict_type` VALUES (103, 'dictType.security_log_type', 'security_log_type', '1', 'supervisor', 1699350000000, NULL, 0, 'dictType.security_log_type_remark'); -INSERT IGNORE INTO `sys_dict_type` VALUES (104, 'dictType.ne_version_status', 'ne_version_status', '1', 'supervisor', 1699350000000, NULL, 0, 'dictType.ne_version_status_remark'); -INSERT IGNORE INTO `sys_dict_type` VALUES (105, 'dictType.i18n_en', 'i18n_en', '1', 'supervisor', 1699350000000, NULL, 0, 'dictType.i18n_en_remark'); -INSERT IGNORE INTO `sys_dict_type` VALUES (106, 'dictType.i18n_zh', 'i18n_zh', '1', 'supervisor', 1699350000000, NULL, 0, 'dictType.i18n_zh_remark'); -INSERT IGNORE INTO `sys_dict_type` VALUES (107, 'dictType.sys_role_datascope', 'sys_role_datascope', '1', 'supervisor', 1699350000000, NULL, 0, 'dictType.sys_role_datascope_remark'); -INSERT IGNORE INTO `sys_dict_type` VALUES (108, 'dictType.active_alarm_type', 'active_alarm_type', '1', 'supervisor', 1699350000000, NULL, 0, 'dictType.active_alarm_type_remark'); -INSERT IGNORE INTO `sys_dict_type` VALUES (109, 'dictType.active_clear_type', 'active_clear_type', '1', 'supervisor', 1699350000000, NULL, 0, 'dictType.active_clear_type_remark'); -INSERT IGNORE INTO `sys_dict_type` VALUES (110, 'dictType.active_ack_state', 'active_ack_state', '1', 'supervisor', 1699350000000, NULL, 0, 'dictType.active_ack_state_remark'); -INSERT IGNORE INTO `sys_dict_type` VALUES (111, 'dictType.active_alarm_severity', 'active_alarm_severity', '1', 'supervisor', 1699350000000, NULL, 0, 'dictType.active_alarm_severity_remark'); -INSERT IGNORE INTO `sys_dict_type` VALUES (112, 'dictType.index_status', 'index_status', '1', 'supervisor', 1702019398308, NULL, 0, 'dictType.index_status_remark'); -INSERT IGNORE INTO `sys_dict_type` VALUES (113, 'dictType.cdr_sip_code', 'cdr_sip_code', '1', 'supervisor', 1706611609998, 'supervisor', 1706612186095, NULL); -INSERT IGNORE INTO `sys_dict_type` VALUES (114, 'dictType.cdr_call_type', 'cdr_call_type', '1', 'supervisor', 1706612292095, NULL, 0, NULL); -INSERT IGNORE INTO `sys_dict_type` VALUES (115, 'dictType.ue_auth_code', 'ue_auth_code', '1', 'supervisor', 1706615964700, 'supervisor', 1706617253275, NULL); -INSERT IGNORE INTO `sys_dict_type` VALUES (116, 'dictType.ue_event_type', 'ue_event_type', '1', 'supervisor', 1706617070548, 'supervisor', 1706617236965, NULL); -INSERT IGNORE INTO `sys_dict_type` VALUES (117, 'dictType.ue_event_cm_state', 'ue_event_cm_state', '1', 'supervisor', 1706617070548, 'supervisor', 1706617236965, ''); -INSERT IGNORE INTO `sys_dict_type` VALUES (118, 'dictType.ne_host_type', 'ne_host_type', '1', 'supervisor', 1702020000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_type` VALUES (119, 'dictType.ne_host_groupId', 'ne_host_groupId', '1', 'supervisor', 1702020000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_type` VALUES (120, 'dictType.ne_host_authMode', 'ne_host_authMode', '1', 'supervisor', 1702020000000, '', 0, ''); -INSERT IGNORE INTO `sys_dict_type` VALUES (121, 'dictType.ne_host_cmd_groupId', 'ne_host_cmd_groupId', '1', 'supervisor', 1702020000000, '', 0, ''); - -SET FOREIGN_KEY_CHECKS = 1; diff --git a/database/upgvue3/upg_sys_job.sql b/database/upgvue3/upg_sys_job.sql deleted file mode 100644 index 16c0b267..00000000 --- a/database/upgvue3/upg_sys_job.sql +++ /dev/null @@ -1,344 +0,0 @@ -/* - Navicat Premium Data Transfer - - Source Server : local_mariadb - Source Server Type : MariaDB - Source Server Version : 100338 (10.3.38-MariaDB) - Source Host : localhost:33066 - Source Schema : omc_db - - Target Server Type : MariaDB - Target Server Version : 100338 (10.3.38-MariaDB) - File Encoding : 65001 - - Date: 25/10/2023 18:24:04 - */ -SET NAMES utf8mb4; -SET FOREIGN_KEY_CHECKS = 0; --- ---------------------------- --- Table structure for sys_job --- ---------------------------- -CREATE TABLE IF NOT EXISTS `sys_job` ( - `job_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '任务ID', - `job_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '任务名称', - `job_group` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'DEFAULT' COMMENT '任务组名', - `invoke_target` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '调用目标字符串', - `target_params` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '调用目标传入参数', - `cron_expression` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT 'cron执行表达式', - `misfire_policy` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '3' COMMENT '计划执行错误策略(1立即执行 2执行一次 3放弃执行)', - `concurrent` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '是否并发执行(0禁止 1允许)', - `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '任务状态(0暂停 1正常)', - `save_log` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '是否记录任务日志(0不记录 1记录)', - `create_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '创建者', - `create_time` bigint(20) NULL DEFAULT 0 COMMENT '创建时间', - `update_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '更新者', - `update_time` bigint(20) NULL DEFAULT 0 COMMENT '更新时间', - `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '备注', - PRIMARY KEY (`job_id`, `job_name`, `job_group`) USING BTREE -) ENGINE = InnoDB AUTO_INCREMENT = 8 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '调度任务调度表' ROW_FORMAT = Dynamic; - -ALTER TABLE - `sys_job` DROP PRIMARY KEY, -ADD - PRIMARY KEY (`job_id`) USING BTREE, -ADD - UNIQUE INDEX IF NOT EXISTS `idx_uni_name_group`(`job_name`, `job_group`) USING BTREE COMMENT 'unique index for job_name and job_group'; - --- ---------------------------- --- Records of sys_job --- ---------------------------- -INSERT IGNORE INTO - `sys_job` ( - `job_id`, - `job_name`, - `job_group`, - `invoke_target`, - `target_params`, - `cron_expression`, - `misfire_policy`, - `concurrent`, - `status`, - `save_log`, - `create_by`, - `create_time`, - `update_by`, - `update_time`, - `remark` - ) -VALUES ( - 1, - 'job.monitor_sys_resource', - 'SYSTEM', - 'monitor_sys_resource', - '{\"interval\":5}', - '0 0/5 * * * ?', - '3', - '0', - '1', - '0', - 'supervisor', - 1698478134839, - 'supervisor', - 1700571615807, - 'job.monitor_sys_resource_remark' - ); - -INSERT IGNORE INTO - `sys_job` ( - `job_id`, - `job_name`, - `job_group`, - `invoke_target`, - `target_params`, - `cron_expression`, - `misfire_policy`, - `concurrent`, - `status`, - `save_log`, - `create_by`, - `create_time`, - `update_by`, - `update_time`, - `remark` - ) -VALUES ( - 4, - 'job.delExpiredNeBackup', - 'SYSTEM', - 'delExpiredNeBackup', - '{\"duration\":60}', - '0 20 0 * * ?', - '3', - '0', - '1', - '1', - 'supervisor', - 1698478134840, - NULL, - 0, - 'job.delExpiredNeBackupRemark' - ); - -INSERT IGNORE INTO - `sys_job` ( - `job_id`, - `job_name`, - `job_group`, - `invoke_target`, - `target_params`, - `cron_expression`, - `misfire_policy`, - `concurrent`, - `status`, - `save_log`, - `create_by`, - `create_time`, - `update_by`, - `update_time`, - `remark` - ) -VALUES ( - 5, - 'job.deleteExpiredAlarmRecord', - 'SYSTEM', - 'deleteExpiredRecord', - '{\"duration\":90,\"tableName\":\"alarm\",\"colName\":\"event_time\",\"extras\":\"alarm_status=\'0\'\"}', - '0 10 0 * * ?', - '3', - '0', - '1', - '1', - 'supervisor', - 1698478134841, - NULL, - 0, - 'job.deleteExpiredAlarmRecordRemark' - ); - -INSERT IGNORE INTO - `sys_job` ( - `job_id`, - `job_name`, - `job_group`, - `invoke_target`, - `target_params`, - `cron_expression`, - `misfire_policy`, - `concurrent`, - `status`, - `save_log`, - `create_by`, - `create_time`, - `update_by`, - `update_time`, - `remark` - ) -VALUES ( - 6, - 'job.deleteExpiredKpiRecord', - 'SYSTEM', - 'deleteExpiredRecord', - '{\"duration\":30,\"tableName\":\"gold_kpi\",\"colName\":\"date\"}', - '0 15 0 * * ?', - '3', - '0', - '1', - '1', - 'supervisor', - 1698478134842, - 'supervisor', - 1700570673113, - 'job.deleteExpiredKpiRecordRemark' - ); - -INSERT IGNORE INTO - `sys_job` ( - `job_id`, - `job_name`, - `job_group`, - `invoke_target`, - `target_params`, - `cron_expression`, - `misfire_policy`, - `concurrent`, - `status`, - `save_log`, - `create_by`, - `create_time`, - `update_by`, - `update_time`, - `remark` - ) -VALUES ( - 7, - 'job.backupEtcFromNE', - 'SYSTEM', - 'backupEtcFromNE', - NULL, - '0 30 0 * * ?', - '3', - '0', - '1', - '1', - 'supervisor', - 1698478134843, - NULL, - 0, - 'job.backupEtcFromNERemark' - ); - -INSERT IGNORE INTO - `sys_job` ( - `job_id`, - `job_name`, - `job_group`, - `invoke_target`, - `target_params`, - `cron_expression`, - `misfire_policy`, - `concurrent`, - `status`, - `save_log`, - `create_by`, - `create_time`, - `update_by`, - `update_time`, - `remark` - ) -VALUES ( - 8, - 'job.deleteExpiredNeStateRecord', - 'SYSTEM', - 'deleteExpiredRecord', - '{\"duration\":7,\"tableName\":\"ne_state\",\"colName\":\"timestamp\"}', - '0 25 0 * * ?', - '3', - '0', - '1', - '1', - 'supervisor', - 1698478134842, - 'admin', - 1703668901929, - 'job.deleteExpiredNeStateRecordRemark' - ); - -INSERT IGNORE INTO - `sys_job` ( - `job_id`, - `job_name`, - `job_group`, - `invoke_target`, - `target_params`, - `cron_expression`, - `misfire_policy`, - `concurrent`, - `status`, - `save_log`, - `create_by`, - `create_time`, - `update_by`, - `update_time`, - `remark` - ) -VALUES ( - 9, - 'job.getStateFromNE', - 'SYSTEM', - 'getStateFromNE', - '', - '0/10 * * * * ?', - '3', - '0', - '1', - '0', - 'supervisor', - 1698478134842, - 'admin', - 1703669877919, - 'job.getStateFromNERemark' - ); - -INSERT IGNORE INTO - `sys_job` ( - `job_id`, - `job_name`, - `job_group`, - `invoke_target`, - `target_params`, - `cron_expression`, - `misfire_policy`, - `concurrent`, - `status`, - `save_log`, - `create_by`, - `create_time`, - `update_by`, - `update_time`, - `remark` - ) -VALUES ( - 10, - 'job.genNeStateAlarm', - 'SYSTEM', - 'genNeStateAlarm', - '{\"alarmID\":\"HXEMSSM10000\",\"alarmCode\":10000,\"alarmTitle\":\"The system state is abnormal\",\"neType\":\"OMC\",\"alarmType\":\"EquipmentAlarm\",\"origSeverity\": \"Major\",\"objectName\":\"EMS;SystemManagement;Heartbeat\",\"objectType\":\"SystemState\",\"specificProblem\":\"Alarm cause: the system state of target NE has not been received for {threshold} seconds\", \"specificProblemID\":\"AC10000\",\"threshold\":30}', - '0/5 * * * * ?', - '3', - '0', - '1', - '0', - 'supervisor', - 1698478134842, - 'admin', - 1703768623188, - 'job.genNeStateAlarmRemark' - ); - -UPDATE `sys_job` -SET - `target_params` = '{\"duration\":1,\"tableName\":\"ne_state\",\"colName\":\"timestamp\"}' -WHERE - `job_id` = 8; - -SET FOREIGN_KEY_CHECKS = 1; \ No newline at end of file diff --git a/database/upgvue3/upg_sys_menu.sql b/database/upgvue3/upg_sys_menu.sql deleted file mode 100644 index 452fe7c6..00000000 --- a/database/upgvue3/upg_sys_menu.sql +++ /dev/null @@ -1,1191 +0,0 @@ -/* - Navicat Premium Data Transfer - - Source Server : local_mariadb - Source Server Type : MariaDB - Source Server Version : 100338 (10.3.38-MariaDB) - Source Host : localhost:33066 - Source Schema : omc_db - - Target Server Type : MariaDB - Target Server Version : 100338 (10.3.38-MariaDB) - File Encoding : 65001 - - Date: 20/01/2024 15:03:44 -*/ - -SET NAMES utf8mb4; -SET FOREIGN_KEY_CHECKS = 0; - --- ---------------------------- --- Table structure for sys_menu --- ---------------------------- - -CREATE TABLE IF NOT EXISTS `sys_menu` ( - `menu_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '菜单ID', - `menu_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '菜单名称', - `parent_id` bigint(20) NULL DEFAULT 0 COMMENT '父菜单ID 默认0', - `menu_sort` int(11) NULL DEFAULT 0 COMMENT '显示顺序', - `path` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '路由地址', - `component` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '组件路径', - `is_frame` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '1' COMMENT '是否内部跳转(0否 1是)', - `is_cache` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '是否缓存(0不缓存 1缓存)', - `menu_type` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '菜单类型(D目录 M菜单 B按钮)', - `visible` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '是否显示(0隐藏 1显示)', - `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '菜单状态(0停用 1正常)', - `perms` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '权限标识', - `icon` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '#' COMMENT '菜单图标(#无图标)', - `create_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '创建者', - `create_time` bigint(20) NULL DEFAULT 0 COMMENT '创建时间', - `update_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '更新者', - `update_time` bigint(20) NULL DEFAULT 0 COMMENT '更新时间', - `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '备注', - PRIMARY KEY (`menu_id`) USING BTREE -) ENGINE = InnoDB AUTO_INCREMENT = 2134 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '菜单权限表' ROW_FORMAT = Dynamic; - --- ---------------------------- --- Records of sys_menu --- ---------------------------- -INSERT IGNORE INTO `sys_menu` VALUES (1, 'menu.system', 0, 16, 'system', NULL, '1', '1', 'D', '1', '1', NULL, 'icon-xiangmu', 'supervisor', 1700000000000, NULL, 0, 'menu.systemRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (2, 'menu.monitor', 0, 2, 'monitor', NULL, '1', '1', 'D', '0', '0', NULL, 'icon-wenjian', 'supervisor', 1700000000000, NULL, 0, 'menu.monitorRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (3, 'menu.tools', 0, 15, 'tool', NULL, '1', '1', 'D', '1', '1', NULL, 'icon-wenjian', 'supervisor', 1700000000000, NULL, 0, 'menu.toolsRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (4, 'menu.config', 0, 3, 'configManage', NULL, '1', '0', 'D', '1', '1', NULL, 'icon-huizhiguize', 'supervisor', 1700000000000, NULL, 0, 'menu.configRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (5, 'menu.ueUser', 0, 7, 'neUser', NULL, '1', '0', 'D', '1', '1', NULL, 'icon-wocanyu', 'supervisor', 1700000000000, NULL, 0, 'menu.ueUserRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (6, '故障管理', 0, 50, 'page', NULL, '1', '0', 'D', '0', '1', 'page', 'fa fa-home', 'admin', 1690000000000, 'admin', 1690000000000, '故障管理'); -INSERT IGNORE INTO `sys_menu` VALUES (7, '配置管理', 0, 550, 'page', NULL, '1', '0', 'D', '0', '1', 'page', 'fa fa-home', 'admin', 1690000000000, 'admin', 0, '配置管理'); -INSERT IGNORE INTO `sys_menu` VALUES (8, '性能管理', 0, 551, 'page', NULL, '1', '0', 'D', '0', '1', 'page', 'fa fa-home', 'admin', 1690000000000, 'admin', 0, '性能管理'); -INSERT IGNORE INTO `sys_menu` VALUES (9, '操作维护', 0, 552, 'page', NULL, '1', '0', 'D', '0', '1', 'page', 'fa fa-home', 'admin', 1690000000000, 'admin', 0, '操作维护'); -INSERT IGNORE INTO `sys_menu` VALUES (10, '跟踪管理', 0, 553, 'page', NULL, '1', '0', 'D', '0', '1', 'page', 'fa fa-home', 'admin', 1690000000000, 'admin', 1690000000000, '跟踪管理'); -INSERT IGNORE INTO `sys_menu` VALUES (11, '日志管理', 0, 554, 'page', NULL, '1', '0', 'D', '0', '1', 'page', 'fa fa-home', 'admin', 1690000000000, 'admin', 0, '日志管理'); -INSERT IGNORE INTO `sys_menu` VALUES (12, '安全管理', 0, 555, 'page', NULL, '1', '0', 'D', '0', '1', 'page', 'fa fa-home', 'admin', 1690000000000, 'admin', 0, '安全管理'); -INSERT IGNORE INTO `sys_menu` VALUES (13, '北向管理', 0, 556, 'page', NULL, '1', '0', 'D', '0', '0', 'page', 'fa fa-home', 'admin', 1690000000000, 'admin', 1690000000000, '北向管理'); -INSERT IGNORE INTO `sys_menu` VALUES (14, '系统管理', 0, 557, 'page', NULL, '1', '0', 'D', '0', '1', 'page', 'fa fa-home', 'admin', 1690000000000, 'admin', 0, '系统管理'); -INSERT IGNORE INTO `sys_menu` VALUES (15, '拓扑管理', 0, 558, 'page', NULL, '1', '0', 'D', '0', '0', 'page', 'fa fa-home', 'admin', 1690000000000, 'admin', 0, '拓扑管理'); -INSERT IGNORE INTO `sys_menu` VALUES (100, 'menu.security.user', 2113, 1, 'user', 'system/user/index', '1', '1', 'M', '1', '1', 'system:user:list', 'icon-wocanyu', 'supervisor', 1700000000000, NULL, 0, 'menu.security.userRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (101, 'menu.security.role', 2113, 3, 'role', 'system/role/index', '1', '1', 'M', '1', '1', 'system:role:list', 'icon-anzhuo', 'supervisor', 1700000000000, NULL, 0, 'menu.security.roleRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (102, 'menu.security.roleUser', 2113, 3, 'role/inline/auth-user/:roleId', 'system/role/auth-user', '1', '1', 'M', '0', '1', 'system:role:auth', '#', 'supervisor', 1700000000000, NULL, 0, 'menu.security.roleUserRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (103, 'menu.system.menu', 1, 4, 'menu', 'system/menu/index', '1', '1', 'M', '1', '1', 'system:menu:list', 'icon-wofaqi', 'supervisor', 1700000000000, NULL, 0, 'menu.system.menuRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (104, 'menu.security.dept', 2113, 5, 'dept', 'system/dept/index', '1', '1', 'M', '1', '1', 'system:dept:list', 'icon-yuzhanghao1', 'supervisor', 1700000000000, NULL, 0, 'menu.security.deptRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (105, 'menu.security.post', 2113, 6, 'post', 'system/post/index', '1', '1', 'M', '1', '1', 'system:post:list', 'icon-gonggaodayi', 'supervisor', 1700000000000, NULL, 0, 'menu.security.postRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (106, 'menu.system.dictType', 1, 7, 'dict', 'system/dict/index', '1', '1', 'M', '1', '1', 'system:dict:list', 'icon-tubiaoku', 'supervisor', 1700000000000, NULL, 0, 'menu.system.dictTypeRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (107, 'menu.system.dictData', 1, 8, 'dict/inline/data/:dictId', 'system/dict/data', '1', '1', 'M', '0', '1', 'system:dict:data', '#', 'supervisor', 1700000000000, NULL, 0, 'menu.system.dictDataRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (108, 'menu.system.paramSet', 1, 9, 'config', 'system/config/index', '1', '1', 'M', '1', '1', 'system:config:list', 'icon-gongnengjieshao', 'supervisor', 1700000000000, NULL, 0, 'menu.system.paramSetRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (111, 'menu.system.systemLog', 1, 11, 'log', NULL, '1', '1', 'D', '0', '0', NULL, '#', 'supervisor', 1700000000000, NULL, 0, 'menu.system.systemLogRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (112, 'menu.system.systemInfo', 1, 3, 'system-info', 'monitor/system/info', '1', '1', 'M', '1', '1', 'monitor:system:info', 'icon-fuzhidaima', 'supervisor', 1700000000000, NULL, 0, 'menu.system.systemInfoRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (113, 'menu.system.cacheInfo', 1, 2, 'cache-info', 'monitor/cache/info', '1', '1', 'M', '1', '1', 'monitor:cache:info', 'icon-gongnengjieshao', 'supervisor', 1700000000000, NULL, 0, 'menu.system.cacheInfoRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (114, 'menu.system.cache', 1, 3, 'cache', 'monitor/cache/index', '1', '1', 'M', '1', '1', 'monitor:cache:list', 'icon-tubiaoku', 'supervisor', 1700000000000, NULL, 0, 'menu.system.cacheRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (115, 'menu.security.onlineUser', 2113, 2, 'online', 'monitor/online/index', '1', '1', 'M', '1', '1', 'monitor:online:list', 'icon-xiangmuchengyuan', 'supervisor', 1700000000000, NULL, 0, 'menu.security.onlineUserRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (116, 'menu.system.job', 1, 1, 'job', 'monitor/job/index', '1', '1', 'M', '1', '1', 'monitor:job:list', 'icon-lishi', 'supervisor', 1700000000000, NULL, 0, 'menu.system.jobRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (117, 'menu.system.jobLog', 1, 2, '/system/job/inline/log/:jobId', 'monitor/job/log', '1', '1', 'M', '0', '1', 'monitor:job:log', '#', 'supervisor', 1700000000000, NULL, 0, 'menu.system.jobLogRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (118, 'menu.tools.help', 3, 1, 'help', 'tool/help/index', '1', '1', 'M', '1', '1', 'monitor:help:list', '#', 'supervisor', 1700000000000, NULL, 0, 'menu.tools.helpRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (500, 'menu.log.operat', 2089, 1, 'operate', 'system/log/operate/index', '1', '1', 'M', '1', '1', 'system:log:operate:list', 'icon-fuzhidaima', 'supervisor', 1700000000000, NULL, 0, 'menu.log.operatRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (501, 'menu.log.login', 2089, 2, 'login', 'system/log/login/index', '1', '1', 'M', '1', '1', 'system:log:login:list', 'icon-fuzhidaima', 'supervisor', 1700000000000, NULL, 0, 'menu.log.loginRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (1000, 'menu.common.query', 100, 1, NULL, NULL, '1', '1', 'B', '1', '1', 'system:user:query', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1001, 'menu.common.add', 100, 2, NULL, NULL, '1', '1', 'B', '1', '1', 'system:user:add', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1002, 'menu.common.edit', 100, 3, NULL, NULL, '1', '1', 'B', '1', '1', 'system:user:edit', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1003, 'menu.common.delete', 100, 4, NULL, NULL, '1', '1', 'B', '1', '1', 'system:user:remove', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1004, 'menu.common.export', 100, 5, NULL, NULL, '1', '1', 'B', '1', '1', 'system:user:export', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1005, 'menu.common.import', 100, 6, NULL, NULL, '1', '1', 'B', '1', '1', 'system:user:import', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1006, 'menu.common.reset', 100, 7, NULL, NULL, '1', '1', 'B', '1', '1', 'system:user:resetPwd', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1007, 'menu.common.query', 101, 1, NULL, NULL, '1', '1', 'B', '1', '1', 'system:role:query', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1008, 'menu.common.add', 101, 2, NULL, NULL, '1', '1', 'B', '1', '1', 'system:role:add', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1009, 'menu.common.edit', 101, 3, NULL, NULL, '1', '1', 'B', '1', '1', 'system:role:edit', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1010, 'menu.common.delete', 101, 4, NULL, NULL, '1', '1', 'B', '1', '1', 'system:role:remove', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1011, 'menu.common.export', 101, 5, NULL, NULL, '1', '1', 'B', '1', '1', 'system:role:export', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1012, 'menu.common.query', 103, 1, NULL, NULL, '1', '1', 'B', '1', '1', 'system:menu:query', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1013, 'menu.common.add', 103, 2, NULL, NULL, '1', '1', 'B', '1', '1', 'system:menu:add', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1014, 'menu.common.edit', 103, 3, NULL, NULL, '1', '1', 'B', '1', '1', 'system:menu:edit', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1015, 'menu.common.delete', 103, 4, NULL, NULL, '1', '1', 'B', '1', '1', 'system:menu:remove', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1016, 'menu.common.query', 104, 1, NULL, NULL, '1', '1', 'B', '1', '1', 'system:dept:query', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1017, 'menu.common.add', 104, 2, NULL, NULL, '1', '1', 'B', '1', '1', 'system:dept:add', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1018, 'menu.common.edit', 104, 3, NULL, NULL, '1', '1', 'B', '1', '1', 'system:dept:edit', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1019, 'menu.common.delete', 104, 4, NULL, NULL, '1', '1', 'B', '1', '1', 'system:dept:remove', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1020, 'menu.common.query', 105, 1, NULL, NULL, '1', '1', 'B', '1', '1', 'system:post:query', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1021, 'menu.common.add', 105, 2, NULL, NULL, '1', '1', 'B', '1', '1', 'system:post:add', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1022, 'menu.common.edit', 105, 3, NULL, NULL, '1', '1', 'B', '1', '1', 'system:post:edit', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1023, 'menu.common.delete', 105, 4, NULL, NULL, '1', '1', 'B', '1', '1', 'system:post:remove', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1024, 'menu.common.export', 105, 5, NULL, NULL, '1', '1', 'B', '1', '1', 'system:post:export', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1025, 'menu.common.query', 106, 1, '#', NULL, '1', '1', 'B', '1', '1', 'system:dict:query', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1026, 'menu.common.add', 106, 2, '#', NULL, '1', '1', 'B', '1', '1', 'system:dict:add', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1027, 'menu.common.edit', 106, 3, '#', NULL, '1', '1', 'B', '1', '1', 'system:dict:edit', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1028, 'menu.common.delete', 106, 4, '#', NULL, '1', '1', 'B', '1', '1', 'system:dict:remove', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1029, 'menu.common.export', 106, 5, '#', NULL, '1', '1', 'B', '1', '1', 'system:dict:export', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1030, 'menu.common.query', 108, 1, '#', NULL, '1', '1', 'B', '1', '1', 'system:config:query', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1031, 'menu.common.add', 108, 2, '#', NULL, '1', '1', 'B', '1', '1', 'system:config:add', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1032, 'menu.common.edit', 108, 3, '#', NULL, '1', '1', 'B', '1', '1', 'system:config:edit', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1033, 'menu.common.delete', 108, 4, '#', NULL, '1', '1', 'B', '1', '1', 'system:config:remove', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1034, 'menu.common.export', 108, 5, '#', NULL, '1', '1', 'B', '1', '1', 'system:config:export', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1039, 'menu.common.query', 500, 1, '#', NULL, '1', '1', 'B', '1', '1', 'system:log:operate:query', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1040, 'menu.common.delete', 500, 2, '#', NULL, '1', '1', 'B', '1', '1', 'system:log:operate:remove', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1041, 'menu.common.export', 500, 3, '#', NULL, '1', '1', 'B', '1', '1', 'system:log:operate:export', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1042, 'menu.common.query', 501, 1, '#', NULL, '1', '1', 'B', '1', '1', 'system:log:login:query', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1043, 'menu.common.delete', 501, 2, '#', NULL, '1', '1', 'B', '1', '1', 'system:log:login:remove', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1044, 'menu.common.export', 501, 3, '#', NULL, '1', '1', 'B', '1', '1', 'system:log:login:export', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1045, 'menu.common.unlock', 501, 4, '#', NULL, '1', '1', 'B', '1', '1', 'system:log:login:unlock', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1046, 'menu.common.query', 114, 1, '#', NULL, '1', '1', 'B', '1', '1', 'monitor:cache:query', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1047, 'menu.common.delete', 114, 2, '#', NULL, '1', '1', 'B', '1', '1', 'monitor:cache:remove', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1048, 'menu.common.query', 115, 1, '#', NULL, '1', '1', 'B', '1', '1', 'monitor:online:query', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1049, 'menu.forcedQuit.batch ', 115, 2, '#', NULL, '1', '1', 'B', '1', '1', 'monitor:online:batchLogout', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1050, 'menu.forcedQuit.single', 115, 3, '#', NULL, '1', '1', 'B', '1', '1', 'monitor:online:forceLogout', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1051, 'menu.common.query', 116, 1, '#', NULL, '1', '1', 'B', '1', '1', 'monitor:job:query', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1052, 'menu.common.add', 116, 2, '#', NULL, '1', '1', 'B', '1', '1', 'monitor:job:add', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1053, 'menu.common.edit', 116, 3, '#', NULL, '1', '1', 'B', '1', '1', 'monitor:job:edit', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1054, 'menu.common.delete', 116, 4, '#', NULL, '1', '1', 'B', '1', '1', 'monitor:job:remove', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1055, 'menu.common.edit', 116, 5, '#', NULL, '1', '1', 'B', '1', '1', 'monitor:job:changeStatus', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (1056, 'menu.common.export', 116, 6, '#', NULL, '1', '1', 'B', '1', '1', 'monitor:job:export', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (2009, 'menu.ueUser.authUDM', 5, 1, 'auth', 'neUser/auth/index', '1', '1', 'M', '1', '1', 'neUser:auth:index', 'icon-xiangmuchengyuan', 'supervisor', 1700000000000, NULL, 0, 'menu.ueUser.authUDMRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (2010, 'menu.ueUser.subUDM', 5, 2, 'sub', 'neUser/sub/index', '1', '1', 'M', '1', '1', 'neUser:sub:index', 'icon-xiangmuchengyuan', 'supervisor', 1700000000000, NULL, 0, 'menu.ueUser.subUDMRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (2011, '活动告警', 6, 1, NULL, 'page/alarm/alarmListDown.html', '1', '0', 'M', '1', '1', 'page', '#', 'admin', 1690000000000, 'admin', 1690000000000, '活动告警'); -INSERT IGNORE INTO `sys_menu` VALUES (2012, '历史告警', 6, 2, NULL, 'page/alarm/AlarmListHistory.html', '1', '0', 'M', '1', '1', 'page', '#', 'admin', 1690000000000, 'admin', 0, '历史告警'); -INSERT IGNORE INTO `sys_menu` VALUES (2013, '故障通用设置', 6, 3, NULL, 'page/alarm/alarmInfoConfig.html', '1', '0', 'M', '1', '1', 'page', '#', 'admin', 1690000000000, 'admin', 0, '故障通用设置'); -INSERT IGNORE INTO `sys_menu` VALUES (2014, '定时同步设置', 6, 4, NULL, 'page/alarm/synchronous.html', '1', '0', 'M', '1', '0', 'page', '#', 'admin', 1690000000000, 'admin', 1690000000000, '定时同步设置'); -INSERT IGNORE INTO `sys_menu` VALUES (2015, '健康状态检查', 6, 5, NULL, 'page/alarm/healthCheck.html', '1', '0', 'M', '1', '0', 'page', '#', 'admin', 1690000000000, 'admin', 1690000000000, '健康状态检查'); -INSERT IGNORE INTO `sys_menu` VALUES (2016, '告警前转', 6, 6, NULL, 'page/alarm/alarmForwarding.html', '1', '0', 'M', '1', '1', 'page', '#', 'admin', 1690000000000, 'admin', 0, '告警前转'); -INSERT IGNORE INTO `sys_menu` VALUES (2017, '网元管理', 7, 1, NULL, 'page/nfManage/list.html', '1', '0', 'M', '1', '1', 'page', '#', 'admin', 1690000000000, 'admin', 0, '网元管理'); -INSERT IGNORE INTO `sys_menu` VALUES (2018, '参数配置', 7, 2, NULL, 'page/configParam/list.html', '1', '0', 'M', '1', '1', 'page', '#', 'admin', 1690000000000, 'admin', 0, '参数配置'); -INSERT IGNORE INTO `sys_menu` VALUES (2019, '软件管理', 7, 3, NULL, 'page/softwareManage/softwareManage.html', '1', '0', 'M', '1', '1', 'page', '#', 'admin', 1690000000000, 'admin', 0, '软件管理'); -INSERT IGNORE INTO `sys_menu` VALUES (2020, '备份管理', 7, 5, NULL, 'page/softwareManage/backupManage.html', '1', '0', 'M', '1', '1', 'page', '#', 'admin', 1690000000000, 'admin', 0, '备份管理'); -INSERT IGNORE INTO `sys_menu` VALUES (2021, '配置参数设置', 7, 6, NULL, 'page/configParam/configParamSet.html', '1', '0', 'M', '1', '1', 'page', '#', 'admin', 1690000000000, 'admin', 0, '配置参数设置'); -INSERT IGNORE INTO `sys_menu` VALUES (2022, '任务管理', 8, 1, NULL, 'page/task/list.html', '1', '0', 'M', '1', '1', 'page', '#', 'admin', 1690000000000, 'admin', 0, '任务管理'); -INSERT IGNORE INTO `sys_menu` VALUES (2023, '性能数据', 8, 2, NULL, 'page/repair/list.html', '1', '0', 'M', '1', '1', 'page', '#', 'admin', 1690000000000, 'admin', 0, '性能数据'); -INSERT IGNORE INTO `sys_menu` VALUES (2024, '性能报表', 8, 3, NULL, 'page/task/perfReport.html', '1', '0', 'M', '1', '1', 'page', '#', 'admin', 1690000000000, 'admin', 0, '性能报表'); -INSERT IGNORE INTO `sys_menu` VALUES (2025, '性能门限', 8, 4, NULL, 'page/task/threshold.html', '1', '0', 'M', '1', '1', 'page', '#', 'admin', 1690000000000, 'admin', 0, '性能门限'); -INSERT IGNORE INTO `sys_menu` VALUES (2026, '黄金指标', 8, 5, NULL, 'page/gold/list.html', '1', '0', 'M', '1', '1', 'page', '#', 'admin', 1690000000000, 'admin', 0, '黄金指标'); -INSERT IGNORE INTO `sys_menu` VALUES (2027, '性能通用设置', 8, 7, NULL, 'page/task/perfReportSet.html', '1', '0', 'M', '0', '0', 'page', '#', 'admin', 1690000000000, 'admin', 0, '性能通用设置'); -INSERT IGNORE INTO `sys_menu` VALUES (2028, '自定义指标', 8, 8, NULL, 'page/indicators/list.html', '1', '0', 'M', '1', '1', 'page', '#', 'admin', 1690000000000, 'admin', 0, '自定义指标'); -INSERT IGNORE INTO `sys_menu` VALUES (2029, '对象模板', 8, 8, NULL, 'page/objectTemplate/list.html', '1', '0', 'M', '1', '0', 'page', '#', 'admin', 1690000000000, 'admin', 1690000000000, '对象模板'); -INSERT IGNORE INTO `sys_menu` VALUES (2030, '自定义测量数据', 8, 9, NULL, 'page/indicators/measuringData.html', '1', '0', 'M', '1', '0', 'page', '#', 'admin', 1690000000000, 'admin', 1690000000000, '自定义测量数据'); -INSERT IGNORE INTO `sys_menu` VALUES (2031, '拓扑视图', 15, 1, NULL, 'page/topology/topologyList.html', '1', '0', 'M', '1', '0', 'page', '#', 'admin', 1690000000000, 'admin', 0, '拓扑视图'); -INSERT IGNORE INTO `sys_menu` VALUES (2032, '系统维护', 14, 1, NULL, 'page/systemManage/systemOperation.html', '1', '0', 'M', '1', '1', 'page', '#', 'admin', 1690000000000, 'admin', 0, '系统维护'); -INSERT IGNORE INTO `sys_menu` VALUES (2033, '稳定性事件列表', 14, 2, NULL, 'page/systemManage/stabilityEvents.html', '1', '0', 'M', '1', '0', 'page', '#', 'admin', 1690000000000, 'admin', 1690000000000, '稳定性事件列表'); -INSERT IGNORE INTO `sys_menu` VALUES (2034, '稳定性统计报告', 14, 3, NULL, 'page/systemManage/stabilityReports.html', '1', '0', 'M', '1', '0', 'page', '#', 'admin', 1690000000000, 'admin', 1690000000000, '稳定性统计报告'); -INSERT IGNORE INTO `sys_menu` VALUES (2035, '系统备份', 14, 4, NULL, 'page/systemManage/systemBackup.html', '1', '0', 'M', '1', '0', 'page', '#', 'admin', 1690000000000, 'admin', 1690000000000, '系统备份'); -INSERT IGNORE INTO `sys_menu` VALUES (2036, '系统可扩展', 14, 5, NULL, 'page/systemManage/systemExtended.html', '1', '0', 'M', '1', '0', 'page', '#', 'admin', 1690000000000, 'admin', 1690000000000, '\"系统可扩展'); -INSERT IGNORE INTO `sys_menu` VALUES (2037, '证书管理', 14, 6, NULL, 'page/systemManage/certificateManage.html', '1', '0', 'M', '1', '0', 'page', '#', 'admin', 1690000000000, 'admin', 1690000000000, '证书管理'); -INSERT IGNORE INTO `sys_menu` VALUES (2038, '北向操作日志', 13, 0, NULL, 'page/log/nbiOperLogList.html', '1', '0', 'M', '0', '0', 'page', '#', 'admin', 1690000000000, 'admin', 0, '北向操作日志'); -INSERT IGNORE INTO `sys_menu` VALUES (2039, '北向告警日志', 13, 2, NULL, 'page/log/nbiAlarmLog.html', '1', '0', 'M', '0', '0', 'page', '#', 'admin', 1690000000000, 'admin', 1690000000000, '北向告警日志'); -INSERT IGNORE INTO `sys_menu` VALUES (2040, '北向通用设置', 13, 3, NULL, 'page/log/nbiSet.html', '1', '0', 'M', '0', '0', 'page', '#', 'admin', 1690000000000, 'admin', 0, '北向通用设置'); -INSERT IGNORE INTO `sys_menu` VALUES (2041, '用户管理', 12, 1, NULL, 'page/user/list.html', '1', '0', 'M', '0', '1', 'page', '#', 'admin', 1690000000000, 'admin', 0, '用户管理'); -INSERT IGNORE INTO `sys_menu` VALUES (2042, '在线状态', 12, 2, NULL, 'page/user/online.html', '1', '0', 'M', '0', '1', 'page', '#', 'admin', 1690000000000, 'admin', 0, '在线状态'); -INSERT IGNORE INTO `sys_menu` VALUES (2043, '用户组管理', 12, 2, NULL, 'page/group/list.html', '1', '0', 'M', '0', '0', 'page', '#', 'admin', 1690000000000, 'admin', 1690000000000, '用户组管理'); -INSERT IGNORE INTO `sys_menu` VALUES (2044, '安全策略', 12, 3, NULL, 'page/user/securityPolicy.html', '1', '0', 'M', '0', '0', 'page', '#', 'admin', 1690000000000, 'admin', 1690000000000, '安全策略'); -INSERT IGNORE INTO `sys_menu` VALUES (2045, '操作日志', 11, 1, NULL, 'page/log/operLogList.html', '1', '0', 'M', '0', '1', 'page', '#', 'admin', 1690000000000, 'admin', 0, '操作日志'); -INSERT IGNORE INTO `sys_menu` VALUES (2046, 'mml操作日志', 11, 2, NULL, 'page/log/mmlOperLogList.html', '1', '0', 'M', '0', '1', 'page', '#', 'admin', 1690000000000, 'admin', 0, 'mml操作日志'); -INSERT IGNORE INTO `sys_menu` VALUES (2047, '告警日志', 11, 3, NULL, 'page/log/alarmLogList.html', '1', '0', 'M', '0', '1', 'page', '#', 'admin', 1690000000000, 'admin', 0, '告警日志'); -INSERT IGNORE INTO `sys_menu` VALUES (2048, '安全日志', 11, 4, NULL, 'page/log/securityLogList.html', '1', '0', 'M', '0', '1', 'page', '#', 'admin', 1690000000000, 'admin', 0, '安全日志'); -INSERT IGNORE INTO `sys_menu` VALUES (2049, '告警前转日志', 11, 7, NULL, 'page/log/forwardingLog.html', '1', '0', 'M', '0', '1', 'page', '#', 'admin', 1690000000000, 'admin', 0, '告警前转日志'); -INSERT IGNORE INTO `sys_menu` VALUES (2050, '日志通用管理', 11, 8, NULL, 'page/log/logSet.html', '1', '0', 'M', '0', '1', 'page', '#', 'admin', 1690000000000, 'admin', 0, '日志通用管理'); -INSERT IGNORE INTO `sys_menu` VALUES (2051, '系统日志', 11, 9, NULL, 'page/log/systemLog.html', '1', '0', 'M', '0', '1', 'page', '#', 'admin', 1690000000000, 'admin', 0, '系统日志'); -INSERT IGNORE INTO `sys_menu` VALUES (2052, '跟踪任务', 10, 1, NULL, 'page/trace/taskList.html', '1', '0', 'M', '0', '1', 'page', '#', 'admin', 1690000000000, 'admin', 1690000000000, '跟踪任务'); -INSERT IGNORE INTO `sys_menu` VALUES (2053, '信令分析', 10, 2, NULL, 'page/trace/traceShow.html', '1', '0', 'M', '0', '1', 'page', '#', 'admin', 1690000000000, 'admin', 1690000000000, '信令分析'); -INSERT IGNORE INTO `sys_menu` VALUES (2054, '核心网池', 9, 0, NULL, 'page/mml/poolList.html', '1', '0', 'M', '0', '0', 'page', '#', 'admin', 1690000000000, 'admin', 1690000000000, '核心网池'); -INSERT IGNORE INTO `sys_menu` VALUES (2055, '操作维护MML', 9, 1, NULL, 'page/mml/omcList.html', '1', '0', 'M', '0', '1', 'page', '#', 'admin', 1690000000000, 'admin', 0, '操作维护MML'); -INSERT IGNORE INTO `sys_menu` VALUES (2056, '网元操作MML', 9, 3, NULL, 'page/mml/list.html', '1', '0', 'M', '0', '1', 'page', '#', 'admin', 1690000000000, 'admin', 0, '网元操作MML'); -INSERT IGNORE INTO `sys_menu` VALUES (2057, '用户数据MML', 9, 4, NULL, 'page/mml/udmList.html', '1', '0', 'M', '0', '1', 'page', '#', 'admin', 1690000000000, 'admin', 0, '用户数据MML'); -INSERT IGNORE INTO `sys_menu` VALUES (2058, '操作维护设置', 9, 5, NULL, 'page/mml/mmlSet.html', '1', '0', 'M', '0', '1', 'page', '#', 'admin', 1690000000000, 'admin', 0, '操作维护设置'); -INSERT IGNORE INTO `sys_menu` VALUES (2059, '角色管理', 12, 6, NULL, 'page/role/list.html', '1', '0', 'M', '0', '1', 'page', '#', 'admin', 1690000000000, 'admin', 0, '角色管理'); -INSERT IGNORE INTO `sys_menu` VALUES (2060, '菜单管理', 12, 7, NULL, 'page/menu/list.html', '1', '0', 'M', '0', '1', 'page', '#', 'admin', 1690000000000, 'admin', 0, '菜单管理'); -INSERT IGNORE INTO `sys_menu` VALUES (2065, '数据库URL查询', 0, 10011, NULL, NULL, '1', '1', 'B', '0', '0', 'page', '#', 'admin', 1690000000000, 'admin', 0, '数据库查询操作'); -INSERT IGNORE INTO `sys_menu` VALUES (2066, '数据库URL新增', 0, 10012, NULL, NULL, '1', '1', 'B', '0', '0', 'page', '#', 'admin', 1690000000000, 'admin', 0, '数据库URL新增'); -INSERT IGNORE INTO `sys_menu` VALUES (2067, '数据库URL更新', 0, 10013, NULL, NULL, '1', '1', 'B', '0', '0', 'page', '#', 'admin', 1690000000000, 'admin', 0, '数据库URL更新'); -INSERT IGNORE INTO `sys_menu` VALUES (2068, '数据库URL删除', 0, 10014, NULL, NULL, '1', '1', 'B', '0', '0', 'page', '#', 'admin', 1690000000000, 'admin', 0, '数据库URL删除'); -INSERT IGNORE INTO `sys_menu` VALUES (2069, '用户信息', 0, 559, 'page', NULL, '1', '0', 'D', '0', '1', 'page', 'fa fa-home', 'admin', 1690000000000, 'admin', 1690000000000, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (2070, 'UDM鉴权用户', 2069, 1, NULL, 'page/nfUserInfo/authList.html', '1', '0', 'M', '1', '1', 'page', '#', 'admin', 1690000000000, 'admin', 1690000000000, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (2071, '5G基站信息', 2069, 4, NULL, 'page/nfUserInfo/5gBase.html', '1', '0', 'M', '1', '1', 'page', '#', 'admin', 1690000000000, 'admin', 1690000000000, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (2072, 'IMS在线用户', 2069, 3, NULL, 'page/baseInfo/imsOnline.html', '1', '0', 'M', '1', '1', 'page', '#', 'admin', 1690000000000, 'admin', 1690000000000, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (2073, 'UDM签约用户', 2069, 2, NULL, 'page/nfUserInfo/subsList.html', '1', '0', 'M', '1', '1', 'page', '#', 'admin', 1690000000000, 'admin', 1690000000000, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (2074, 'UE在线信息', 2069, 4, NULL, 'page/baseInfo/ueInfoList.html', '1', '0', 'M', '1', '1', 'page', '#', 'admin', 1690000000000, 'admin', 1690000000000, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (2075, 'menu.config.neManage', 4, 1, 'neManage', 'configManage/neManage/index', '1', '1', 'M', '1', '1', 'configManage:neManage:index', 'icon-biaoqing', 'supervisor', 1700000000000, NULL, 0, 'menu.config.neManageRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (2076, 'menu.config.configNE', 4, 2, 'configParam', 'configManage/configParam/index', '1', '1', 'M', '1', '1', 'configManage:configParam:index', 'icon-piliang', 'supervisor', 1700000000000, NULL, 0, 'menu.config.configNERemark'); -INSERT IGNORE INTO `sys_menu` VALUES (2077, '信令抓包', 10, 3, NULL, 'page/trace/pcap.html', '1', '0', 'M', '1', '1', 'page', '#', 'admin', 1690000000000, 'admin', 0, 'tcpdump抓包pcap文件'); -INSERT IGNORE INTO `sys_menu` VALUES (2078, 'menu.config.backupManage', 4, 3, 'backupManage', 'configManage/backupManage/index', '1', '1', 'M', '1', '1', 'configManage:backupManage:index', 'icon-soutubiao', 'supervisor', 1700000000000, NULL, 0, 'menu.config.backupManageRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (2079, 'menu.config.softwareManage', 4, 4, 'softwareManage', 'configManage/softwareManage/index', '1', '1', 'M', '1', '1', 'configManage:softwareManage:index', 'icon-huidingbu', 'supervisor', 1700000000000, NULL, 0, 'menu.config.softwareManageRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (2080, 'menu.ueUser.onlineIMS', 5, 4, 'ims', 'neUser/ims/index', '1', '1', 'M', '1', '1', 'neUser:ims:index', 'icon-xiangmuchengyuan', 'supervisor', 1700000000000, NULL, 0, 'menu.ueUser.onlineIMSRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (2081, 'menu.ueUser.onlineUE', 5, 6, 'ue', 'neUser/ue/index', '1', '1', 'M', '1', '1', 'neUser:ue:index', 'icon-xiangmuchengyuan', 'supervisor', 1700000000000, NULL, 0, 'menu.ueUser.onlineUERemark'); -INSERT IGNORE INTO `sys_menu` VALUES (2082, 'menu.ueUser.base5G', 5, 7, 'base5G', 'neUser/base5G/index', '1', '1', 'M', '1', '1', 'neUser:base5G:index', 'icon-paixu', 'supervisor', 1700000000000, NULL, 0, 'menu.ueUser.base5GRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (2083, 'menu.trace', 2087, 30, 'traceManage', NULL, '1', '0', 'D', '1', '1', NULL, 'icon-paixu', 'supervisor', 1700000000000, NULL, 0, 'menu.traceRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (2084, 'menu.trace.task', 2083, 1, 'task', 'traceManage/task/index', '1', '1', 'M', '1', '1', 'traceManage:task:index', 'icon-chexiao', 'supervisor', 1700000000000, NULL, 0, 'menu.trace.taskRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (2085, 'menu.trace.analysis', 2083, 2, 'analysis', 'traceManage/analysis/index', '1', '1', 'M', '1', '1', 'traceManage:analysis:index', 'icon-gongnengjieshao', 'supervisor', 1700000000000, NULL, 0, 'menu.trace.analysisRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (2086, 'menu.trace.pcap', 2083, 3, 'pcap', 'traceManage/pcap/index', '1', '1', 'M', '1', '1', 'traceManage:pcap:index', 'icon-soutubiao', 'supervisor', 1700000000000, NULL, 0, 'menu.trace.pcapRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (2087, 'menu.fault', 0, 2, 'faultManage', NULL, '1', '0', 'D', '1', '1', NULL, 'icon-jinggao', 'supervisor', 1700000000000, NULL, 0, 'menu.faultRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (2088, 'menu.fault.active', 2129, 1, 'active-alarm', 'faultManage/active-alarm/index', '1', '1', 'M', '1', '1', 'faultManage:active-alarm:index', 'icon-wenjian', 'supervisor', 1700000000000, NULL, 0, 'menu.fault.activemRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (2089, 'menu.log', 0, 9, 'logManage', NULL, '1', '0', 'D', '1', '1', NULL, 'icon-fuzhidaima', 'supervisor', 1700000000000, NULL, 0, 'menu.logRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (2090, 'menu.log.operatOld', 2089, 1, 'operation', 'logManage/operation/index', '1', '0', 'M', '0', '0', 'logManage:operation:index', 'icon-fuzhidaima', 'supervisor', 1700000000000, NULL, 0, 'menu.log.operatOldRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (2091, 'menu.log.mml', 2089, 2, 'mml', 'logManage/mml/index', '1', '1', 'M', '1', '1', 'logManage:mml:index', 'icon-wocanyu', 'supervisor', 1700000000000, NULL, 0, 'menu.log.mmlRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (2092, 'menu.log.alarm', 2089, 3, 'alarm-log', 'logManage/alarm/index', '1', '1', 'M', '1', '1', 'logManage:alarm:index', 'icon-fuzhidaima', 'supervisor', 1700000000000, NULL, 0, 'menu.log.alarmRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (2093, 'menu.log.securityOld', 2089, 6, 'security-log', 'logManage/security/index', '1', '0', 'M', '0', '0', 'logManage/security/index', 'icon-gongnengjieshao', 'supervisor', 1700000000000, NULL, 0, 'menu.log.securityOldRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (2094, 'menu.log.forwarding', 2089, 7, 'forwarding', 'logManage/forwarding/index', '1', '0', 'M', '1', '1', 'logManage:forwarding:index', 'icon-huizhiguize', 'supervisor', 1700000000000, NULL, 0, 'menu.log.forwardingRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (2095, 'menu.log.set', 2089, 15, 'logSet', 'logManage/logSet/index', '1', '0', 'M', '1', '1', 'logManage:logSet:index', 'icon-you', 'supervisor', 1700000000000, NULL, 0, 'menu.log.setRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (2096, 'menu.monitor.sessionUser', 2, 10, 'session', 'monitor/session/index', '1', '0', 'M', '0', '0', 'monitor:session:index', 'icon-gerenzhanghu', 'supervisor', 1700000000000, NULL, 0, 'menu.monitor.sessionUserRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (2097, 'menu.fault.history', 2129, 2, 'history-alarm', 'faultManage/history-alarm/index', '1', '1', 'M', '1', '1', 'faultManage/history-alarm/index', 'icon-huizhiguize', 'supervisor', 1700000000000, NULL, 0, 'menu.fault.historyRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (2098, 'menu.fault.set', 2129, 100, 'fault-setting', 'faultManage/fault-setting/index', '1', '0', 'M', '1', '1', 'faultManage/fault-setting/index', 'icon-gonggaodayi', 'supervisor', 1700000000000, NULL, 0, 'menu.fault.setRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (2099, 'menu.perf', 0, 5, 'perfManage', NULL, '1', '0', 'D', '1', '1', NULL, 'icon-soutubiao', 'supervisor', 1700000000000, NULL, 0, 'menu.perfRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (2100, 'menu.perf.task', 2099, 1, 'taskManage', 'perfManage/taskManage/index', '1', '1', 'M', '1', '1', 'perfManage:taskManage:index', 'icon-wofaqi', 'supervisor', 1700000000000, NULL, 0, 'menu.perf.taskRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (2101, 'menu.perf.data', 2099, 2, 'perfData', 'perfManage/perfData/index', '1', '1', 'M', '1', '1', 'perfManage:perfData:index', 'icon-soutubiao', 'supervisor', 1700000000000, NULL, 0, 'menu.perf.dataRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (2102, 'menu.perf.report', 2099, 3, 'perfReport', 'perfManage/perfReport/index', '1', '0', 'M', '0', '0', 'perfManage:perfReport:index', 'icon-gonggaodayi', 'supervisor', 1700000000000, NULL, 0, 'menu.perf.reportRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (2103, 'menu.perf.threshold', 2099, 4, 'perfThreshold', 'perfManage/perfThreshold/index', '1', '0', 'M', '1', '1', 'perfManage:perfThreshold:index', 'icon-zhuanrang', 'supervisor', 1700000000000, NULL, 0, 'menu.perf.thresholdRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (2104, 'menu.perf.kpi', 2099, 5, 'goldTarget', 'perfManage/goldTarget/index', '1', '1', 'M', '1', '1', 'perfManage:goldTarget:index', 'icon-soutubiao', 'supervisor', 1700000000000, NULL, 0, 'menu.perf.kpiRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (2105, 'menu.perf.customTarget', 2099, 6, 'customTarget', 'perfManage/customTarget/index', '1', '1', 'M', '0', '0', 'perfManage:customTarget:index', 'icon-fanhui1', 'supervisor', 1700000000000, NULL, 0, 'menu.perf.customTargetRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (2106, 'menu.perf.set', 2099, 7, 'perfSet', 'perfManage/perfSet/index', '1', '0', 'M', '0', '0', 'perfManage:perfSet:index', 'icon-gonggao', 'supervisor', 1700000000000, NULL, 0, 'menu.perf.setRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (2107, 'menu.mml', 0, 8, 'mmlManage', NULL, '1', '0', 'D', '1', '1', NULL, 'icon-zhizuoliucheng', 'supervisor', 1700000000000, NULL, 0, 'menu.mmlRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (2108, 'menu.mml.ne', 2107, 1, 'neOperate', 'mmlManage/neOperate/index', '1', '1', 'M', '1', '1', 'mmlManage:neOperate:index', 'icon-huizhiguize', 'supervisor', 1700000000000, NULL, 0, 'menu.mml.neRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (2109, 'menu.mml.udm', 2107, 2, 'udmOperate', 'mmlManage/udmOperate/index', '1', '1', 'M', '1', '1', 'mmlManage:udmOperate:index', 'icon-gonggaodayi', 'supervisor', 1700000000000, NULL, 0, 'menu.mml.udmRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (2110, 'menu.mml.set', 2107, 4, 'mmlSet', 'mmlManage/mmlSet/index', '1', '1', 'M', '1', '1', 'mmlManage:mmlSet:index', 'icon-wofaqi', 'supervisor', 1700000000000, NULL, 0, 'menu.mml.setRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (2111, 'menu.mml.omc', 2107, 3, 'omcOperate', 'mmlManage/omcOperate/index', '1', '1', 'M', '1', '1', 'mmlManage:omcOperate:index', 'icon-huizhiguize', 'supervisor', 1700000000000, NULL, 0, 'menu.mml.omcRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (2112, 'menu.config.licenseManage', 4, 5, 'license', 'configManage/license/index', '1', '1', 'M', '1', '1', 'configManage/license/index', 'icon-shang', 'supervisor', 1700000000000, NULL, 0, 'menu.config.licenseManageRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (2113, 'menu.security', 0, 14, 'security', NULL, '1', '0', 'D', '1', '1', NULL, 'icon-suofang', 'supervisor', 1700000000000, NULL, 0, 'menu.securityRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (2114, 'menu.system.systemSet', 1, 12, 'setting', 'system/setting/index', '1', '1', 'M', '1', '1', 'system:setting:index', 'icon-piliang', 'supervisor', 1700000000000, NULL, 0, 'menu.system.systemSetRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (2115, 'menu.system.systemResource', 1, 13, 'monitor', 'monitor/monitor/index', '1', '1', 'M', '1', '1', 'monitor:monitor:info', 'icon-soutubiao', 'supervisor', 1700000000000, NULL, 0, 'menu.system.systemResourceRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (2116, 'menu.config.configNEForm', 4, 2, 'configParamForm', 'configManage/configParamForm/index', '1', '0', 'M', '1', '1', 'configManage:configParam:index', 'icon-wofaqi', 'supervisor', 1700000000000, NULL, 0, 'menu.config.configNEFormRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (2117, 'menu.config.configNETree', 4, 2, 'configParamTree', 'configManage/configParamTree/index', '1', '0', 'M', '1', '1', 'configManage:configParam:index', 'icon-wofaqi', 'supervisor', 1700000000000, NULL, 0, 'menu.config.configNETreeRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (2118, 'menu.config.configNETreeTable', 4, 2, 'configNETreeTable', 'configManage/configParamTreeTable/index', '1', '1', 'M', '1', '1', 'configManage:configParam:index', 'icon-wofaqi', 'supervisor', 1700000000000, NULL, 0, 'menu.config.configNETreeTableRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (2119, 'menu.ueUser.n3iwf', 5, 8, 'n3iwf', 'neUser/n3iwf/index', '1', '0', 'M', '0', '1', 'neUser:n3iwf:index', 'icon-paixu', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (2120, 'menu.ueUser.pcf', 5, 9, 'pcf', 'neUser/pcf/index', '1', '0', 'M', '1', '1', 'neUser:pcf:index', 'icon-paixu', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (2121, 'menu.system.user.editRole', 100, 8, NULL, NULL, '1', '1', 'B', '1', '1', 'system:user:editRole', '#', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (2122, 'menu.system.setting.i18n', 2114, 1, NULL, NULL, '1', '1', 'B', '1', '1', 'system:setting:i18n', '#', 'supervisor', 1700000000000, 'supervisor', 1700000000000, 'menu.system.setting.i18nRemark'); -INSERT IGNORE INTO `sys_menu` VALUES (2123, 'menu.log.neFile', 2089, 9, 'neFile', 'logManage/neFile/index', '1', '0', 'M', '1', '1', 'logManage:neFile:index', 'icon-tubiaohuizhi', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (2124, 'menu.neUser.nssf', 5, 10, 'nssf', 'neUser/nssf/index', '1', '0', 'M', '0', '1', 'neUser:nssf:index', 'icon-daimayingyong', 'supervisor', 1700000000000, 'supervisor', 1700000000000, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (2125, 'menu.neUser.nssfAmf', 5, 11, 'nssfAmf', 'neUser/nssfAmf/index', '1', '0', 'M', '0', '1', 'neUser:nssfAmf:index', 'icon-paixu', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (2126, 'menu.monitor.topology', 2130, 10, 'topology', 'monitor/topology/index', '1', '0', 'M', '1', '1', 'monitor:topology:index', 'icon-fangda', 'supervisor', 1700000000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (2127, 'menu.monitor.topologyBuild', 2130, 30, 'topologyBuild', 'monitor/topologyBuild/index', '1', '0', 'M', '1', '1', 'monitor:topologyBuild:index', 'icon-fangda', 'supervisor', 1700000000000, 'supervisor', 1700000000000, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (2128, 'menu.monitor.topologyArchitecture', 2130, 20, 'topologyArchitecture', 'monitor/topologyArchitecture/index', '1', '0', 'M', '1', '1', 'monitor:topologyArchitecture:index', 'icon-soutubiao', 'supervisor', 1700000000000, 'supervisor', 1700000000000, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (2129, 'menu.alarm', 2087, 10, 'alarm', NULL, '1', '0', 'D', '1', '1', NULL, 'icon-jinggao', 'supervisor', 1704800000000, 'supervisor', 1704847028995, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (2130, 'menu.topology', 2087, 20, 'topology', NULL, '1', '0', 'D', '1', '1', NULL, 'icon-anzhuo', 'supervisor', 1704800000000, 'supervisor', 1704847055540, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (2131, 'menu.dashboard', 2087, 0, 'dashboard', NULL, '1', '0', 'D', '1', '1', NULL, 'icon-soutubiao', 'supervisor', 1705550000000, 'supervisor', 1705550000000, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (2132, 'menu.dashboard.overview', 2131, 1, 'overview', 'dashboard/overview/index', '1', '0', 'M', '1', '1', 'dashboard:overview:index', 'icon-paixu', 'supervisor', 1705550000000, NULL, 0, NULL); -INSERT IGNORE INTO `sys_menu` VALUES (2133, 'menu.dashboard.cdr', 2131, 3, 'imsCDR', 'dashboard/imsCDR/index', '1', '0', 'M', '1', '1', 'dashboard:cdr:index', 'icon-paixu', 'supervisor', 1705550000000, '', 0, ''); -INSERT IGNORE INTO `sys_menu` VALUES (2134, 'menu.tools.terminal', 3, 3, 'terminal', 'tool/terminal/index', '1', '1', 'M', '1', '1', 'tool:terminal:index', 'icon-pcduan', 'supervisor', 1708481172778, '', 0, ''); -INSERT IGNORE INTO `sys_menu` VALUES (2135, 'menu.config.neHost', 4, 15, 'neHost', 'ne/neHost/index', '1', '1', 'M', '1', '1', 'ne:neHost:list', 'icon-fuzhidaima', 'supervisor', 1708583596871, '', 0, ''); -INSERT IGNORE INTO `sys_menu` VALUES (2136, 'menu.config.neHostCommand', 4, 18, 'neHostCommand', 'ne/neHostCommand/index', '1', '0', 'M', '1', '1', 'ne:neHostCommand:list', 'icon-fuzhidaima', 'supervisor', 1708583596871, '', 0, ''); -INSERT IGNORE INTO `sys_menu` VALUES (2137, 'menu.config.neInfo', 4, 14, 'neInfo', 'ne/neInfo/index', '1', '0', 'M', '1', '1', 'ne:neInfo:list', 'icon-fuzhidaima', 'supervisor', 1708583596871, '', 0, ''); -INSERT IGNORE INTO `sys_menu` VALUES (2138, 'menu.dashboard.amfUE', 2141, 1, 'amfUE', 'dashboard/amfUE/index', '1', '0', 'M', '1', '1', 'dashboard:amfUE:index', 'icon-paixu', 'supervisor', 1705550000000, 'supervisor', 1711354049893, ''); -INSERT IGNORE INTO `sys_menu` VALUES (2139, 'menu.logs.log', 2089, 0, 'log', '', '1', '0', 'D', '0', '1', '', 'icon-wenjian', 'supervisor', 1711352535855, 'supervisor', 1712751078161, ''); -INSERT IGNORE INTO `sys_menu` VALUES (2140, 'menu.monitor.cdr', 2087, 40, 'cdr', '', '1', '0', 'D', '1', '1', '', 'icon-tubiaoku', 'supervisor', 1711352709786, 'supervisor', 1712751135878, ''); -INSERT IGNORE INTO `sys_menu` VALUES (2141, 'menu.monitor.event', 2087, 50, 'event', '', '1', '0', 'D', '1', '1', '', 'icon-gengduo', 'supervisor', 1711352768797, 'supervisor', 1712751125648, ''); - --- 指定记录条件更新 - -UPDATE `sys_menu` SET `is_cache` = '1' WHERE `menu_id` = 2118; -UPDATE `sys_menu` SET `is_cache` = '1' WHERE `menu_id` = 2134; -UPDATE `sys_menu` SET `path` = 'imsCDR', `component` = 'dashboard/imsCDR/index' WHERE `menu_id` = 2133; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2142; -DELETE FROM `sys_menu` WHERE `menu_id` = 2143; - -UPDATE `sys_menu` -SET - `menu_name` = 'menu.system.cacheInfo', - `parent_id` = 1, - `menu_sort` = 2, - `path` = 'cache-info', - `component` = 'monitor/cache/info', - `is_frame` = '1', - `is_cache` = '1', - `menu_type` = 'M', - `visible` = '1', - `status` = '1', - `perms` = 'monitor:cache:info', - `icon` = 'icon-gongnengjieshao', - `create_by` = 'supervisor', - `create_time` = 1700000000000, - `update_by` = NULL, - `update_time` = 0, - `remark` = 'menu.system.cacheInfoRemark' -WHERE - `menu_id` = 113; - -UPDATE `sys_menu` -SET - `menu_name` = 'menu.system.cache', - `parent_id` = 1, - `menu_sort` = 3, - `path` = 'cache', - `component` = 'monitor/cache/index', - `is_frame` = '1', - `is_cache` = '1', - `menu_type` = 'M', - `visible` = '1', - `status` = '1', - `perms` = 'monitor:cache:list', - `icon` = 'icon-tubiaoku', - `create_by` = 'supervisor', - `create_time` = 1700000000000, - `update_by` = NULL, - `update_time` = 0, - `remark` = 'menu.system.cacheRemark' -WHERE - `menu_id` = 114; - -UPDATE `sys_menu` -SET - `menu_name` = 'menu.ueUser.authUDM', - `parent_id` = 5, - `menu_sort` = 1, - `path` = 'auth', - `component` = 'neUser/auth/index', - `is_frame` = '1', - `is_cache` = '0', - `menu_type` = 'M', - `visible` = '1', - `status` = '1', - `perms` = 'neUser:auth:index', - `icon` = 'icon-xiangmuchengyuan', - `create_by` = 'supervisor', - `create_time` = 1700000000000, - `update_by` = NULL, - `update_time` = 0, - `remark` = 'menu.ueUser.authUDMRemark' -WHERE - `menu_id` = 2009; - -UPDATE `sys_menu` -SET - `menu_name` = 'menu.ueUser.subUDM', - `parent_id` = 5, - `menu_sort` = 2, - `path` = 'sub', - `component` = 'neUser/sub/index', - `is_frame` = '1', - `is_cache` = '0', - `menu_type` = 'M', - `visible` = '1', - `status` = '1', - `perms` = 'neUser:sub:index', - `icon` = 'icon-xiangmuchengyuan', - `create_by` = 'supervisor', - `create_time` = 1700000000000, - `update_by` = NULL, - `update_time` = 0, - `remark` = 'menu.ueUser.subUDMRemark' -WHERE - `menu_id` = 2010; - -UPDATE `sys_menu` -SET - `menu_name` = 'menu.ueUser.onlineIMS', - `parent_id` = 5, - `menu_sort` = 4, - `path` = 'ims', - `component` = 'neUser/ims/index', - `is_frame` = '1', - `is_cache` = '0', - `menu_type` = 'M', - `visible` = '1', - `status` = '1', - `perms` = 'neUser:ims:index', - `icon` = 'icon-xiangmuchengyuan', - `create_by` = 'supervisor', - `create_time` = 1700000000000, - `update_by` = NULL, - `update_time` = 0, - `remark` = 'menu.ueUser.onlineIMSRemark' -WHERE - `menu_id` = 2080; - -UPDATE `sys_menu` -SET - `menu_name` = 'menu.ueUser.onlineUE', - `parent_id` = 5, - `menu_sort` = 6, - `path` = 'ue', - `component` = 'neUser/ue/index', - `is_frame` = '1', - `is_cache` = '0', - `menu_type` = 'M', - `visible` = '1', - `status` = '1', - `perms` = 'neUser:ue:index', - `icon` = 'icon-xiangmuchengyuan', - `create_by` = 'supervisor', - `create_time` = 1700000000000, - `update_by` = NULL, - `update_time` = 0, - `remark` = 'menu.ueUser.onlineUERemark' -WHERE - `menu_id` = 2081; - -UPDATE `sys_menu` -SET - `menu_name` = 'menu.ueUser.base5G', - `parent_id` = 5, - `menu_sort` = 7, - `path` = 'base5G', - `component` = 'neUser/base5G/index', - `is_frame` = '1', - `is_cache` = '0', - `menu_type` = 'M', - `visible` = '1', - `status` = '1', - `perms` = 'neUser:base5G:index', - `icon` = 'icon-paixu', - `create_by` = 'supervisor', - `create_time` = 1700000000000, - `update_by` = 'admin', - `update_time` = 1708508177149, - `remark` = 'menu.ueUser.base5GRemark' -WHERE - `menu_id` = 2082; - -UPDATE `sys_menu` -SET - `menu_name` = 'menu.perf.customTarget', - `parent_id` = 2099, - `menu_sort` = 6, - `path` = 'customTarget', - `component` = 'perfManage/customTarget/index', - `is_frame` = '1', - `is_cache` = '0', - `menu_type` = 'M', - `visible` = '0', - `status` = '0', - `perms` = 'perfManage:customTarget:index', - `icon` = 'icon-fanhui1', - `create_by` = 'supervisor', - `create_time` = 1700000000000, - `update_by` = NULL, - `update_time` = 0, - `remark` = 'menu.perf.customTargetRemark' -WHERE - `menu_id` = 2105; - - - -UPDATE `sys_menu` -SET - `menu_name` = 'menu.tools.help', - `parent_id` = 3, - `menu_sort` = 1, - `path` = 'help', - `component` = 'tool/help/index', - `is_frame` = '1', - `is_cache` = '1', - `menu_type` = 'M', - `visible` = '1', - `status` = '1', - `perms` = 'tool:help:list', - `icon` = '#', - `create_by` = 'supervisor', - `create_time` = 1700000000000, - `update_by` = 'supervisor', - `update_time` = 1708480983482, - `remark` = 'menu.tools.helpRemark' -WHERE - `menu_id` = 118; - -UPDATE `sys_menu` -SET - `menu_name` = 'menu.ueUser.authUDM', - `parent_id` = 5, - `menu_sort` = 1, - `path` = 'auth', - `component` = 'neUser/auth/index', - `is_frame` = '1', - `is_cache` = '1', - `menu_type` = 'M', - `visible` = '1', - `status` = '1', - `perms` = 'neUser:auth:index', - `icon` = 'icon-xiangmuchengyuan', - `create_by` = 'supervisor', - `create_time` = 1700000000000, - `update_by` = NULL, - `update_time` = 0, - `remark` = 'menu.ueUser.authUDMRemark' -WHERE - `menu_id` = 2009; - -UPDATE `sys_menu` -SET - `menu_name` = 'menu.ueUser.subUDM', - `parent_id` = 5, - `menu_sort` = 2, - `path` = 'sub', - `component` = 'neUser/sub/index', - `is_frame` = '1', - `is_cache` = '1', - `menu_type` = 'M', - `visible` = '1', - `status` = '1', - `perms` = 'neUser:sub:index', - `icon` = 'icon-xiangmuchengyuan', - `create_by` = 'supervisor', - `create_time` = 1700000000000, - `update_by` = NULL, - `update_time` = 0, - `remark` = 'menu.ueUser.subUDMRemark' -WHERE - `menu_id` = 2010; - -UPDATE `sys_menu` -SET - `menu_name` = 'menu.config.neManage', - `parent_id` = 4, - `menu_sort` = 1, - `path` = 'neManage', - `component` = 'configManage/neManage/index', - `is_frame` = '1', - `is_cache` = '0', - `menu_type` = 'M', - `visible` = '1', - `status` = '1', - `perms` = 'configManage:neManage:index', - `icon` = 'icon-biaoqing', - `create_by` = 'supervisor', - `create_time` = 1700000000000, - `update_by` = NULL, - `update_time` = 0, - `remark` = 'menu.config.neManageRemark' -WHERE - `menu_id` = 2075; - -UPDATE `sys_menu` -SET - `menu_name` = 'menu.config.configNE', - `parent_id` = 4, - `menu_sort` = 2, - `path` = 'configParam', - `component` = 'configManage/configParam/index', - `is_frame` = '1', - `is_cache` = '0', - `menu_type` = 'M', - `visible` = '1', - `status` = '1', - `perms` = 'configManage:configParam:index', - `icon` = 'icon-piliang', - `create_by` = 'supervisor', - `create_time` = 1700000000000, - `update_by` = NULL, - `update_time` = 0, - `remark` = 'menu.config.configNERemark' -WHERE - `menu_id` = 2076; - -UPDATE `sys_menu` -SET - `menu_name` = 'menu.config.backupManage', - `parent_id` = 4, - `menu_sort` = 3, - `path` = 'backupManage', - `component` = 'configManage/backupManage/index', - `is_frame` = '1', - `is_cache` = '0', - `menu_type` = 'M', - `visible` = '1', - `status` = '1', - `perms` = 'configManage:backupManage:index', - `icon` = 'icon-soutubiao', - `create_by` = 'supervisor', - `create_time` = 1700000000000, - `update_by` = NULL, - `update_time` = 0, - `remark` = 'menu.config.backupManageRemark' -WHERE - `menu_id` = 2078; - -UPDATE `sys_menu` -SET - `menu_name` = 'menu.config.softwareManage', - `parent_id` = 4, - `menu_sort` = 4, - `path` = 'softwareManage', - `component` = 'configManage/softwareManage/index', - `is_frame` = '1', - `is_cache` = '0', - `menu_type` = 'M', - `visible` = '1', - `status` = '1', - `perms` = 'configManage:softwareManage:index', - `icon` = 'icon-huidingbu', - `create_by` = 'supervisor', - `create_time` = 1700000000000, - `update_by` = NULL, - `update_time` = 0, - `remark` = 'menu.config.softwareManageRemark' -WHERE - `menu_id` = 2079; - -UPDATE `sys_menu` -SET - `menu_name` = 'menu.ueUser.base5G', - `parent_id` = 5, - `menu_sort` = 7, - `path` = 'base5G', - `component` = 'neUser/base5G/index', - `is_frame` = '1', - `is_cache` = '0', - `menu_type` = 'M', - `visible` = '1', - `status` = '1', - `perms` = 'neUser:base5G:index', - `icon` = 'icon-paixu', - `create_by` = 'supervisor', - `create_time` = 1700000000000, - `update_by` = NULL, - `update_time` = 0, - `remark` = 'menu.ueUser.base5GRemark' -WHERE - `menu_id` = 2082; - -UPDATE `sys_menu` -SET - `menu_name` = 'menu.trace.task', - `parent_id` = 2083, - `menu_sort` = 1, - `path` = 'task', - `component` = 'traceManage/task/index', - `is_frame` = '1', - `is_cache` = '0', - `menu_type` = 'M', - `visible` = '0', - `status` = '1', - `perms` = 'traceManage:task:index', - `icon` = 'icon-chexiao', - `create_by` = 'supervisor', - `create_time` = 1700000000000, - `update_by` = 'admin', - `update_time` = 1712807894783, - `remark` = 'menu.trace.taskRemark' -WHERE - `menu_id` = 2084; - -UPDATE `sys_menu` -SET - `menu_name` = 'menu.trace.analysis', - `parent_id` = 2083, - `menu_sort` = 2, - `path` = 'analysis', - `component` = 'traceManage/analysis/index', - `is_frame` = '1', - `is_cache` = '0', - `menu_type` = 'M', - `visible` = '0', - `status` = '1', - `perms` = 'traceManage:analysis:index', - `icon` = 'icon-gongnengjieshao', - `create_by` = 'supervisor', - `create_time` = 1700000000000, - `update_by` = 'supervisor', - `update_time` = 1712751454668, - `remark` = 'menu.trace.analysisRemark' -WHERE - `menu_id` = 2085; - -UPDATE `sys_menu` -SET - `menu_name` = 'menu.log.alarm', - `parent_id` = 2089, - `menu_sort` = 3, - `path` = 'alarm-log', - `component` = 'logManage/alarm/index', - `is_frame` = '1', - `is_cache` = '0', - `menu_type` = 'M', - `visible` = '1', - `status` = '1', - `perms` = 'logManage:alarm:index', - `icon` = 'icon-fuzhidaima', - `create_by` = 'supervisor', - `create_time` = 1700000000000, - `update_by` = NULL, - `update_time` = 0, - `remark` = 'menu.log.alarmRemark' -WHERE - `menu_id` = 2092; - -UPDATE `sys_menu` -SET - `menu_name` = 'menu.perf.task', - `parent_id` = 2099, - `menu_sort` = 1, - `path` = 'taskManage', - `component` = 'perfManage/taskManage/index', - `is_frame` = '1', - `is_cache` = '1', - `menu_type` = 'M', - `visible` = '0', - `status` = '1', - `perms` = 'perfManage:taskManage:index', - `icon` = 'icon-wofaqi', - `create_by` = 'supervisor', - `create_time` = 1700000000000, - `update_by` = 'admin', - `update_time` = 1712807912947, - `remark` = 'menu.perf.taskRemark' -WHERE - `menu_id` = 2100; - -UPDATE `sys_menu` -SET - `menu_name` = 'menu.perf.data', - `parent_id` = 2099, - `menu_sort` = 2, - `path` = 'perfData', - `component` = 'perfManage/perfData/index', - `is_frame` = '1', - `is_cache` = '1', - `menu_type` = 'M', - `visible` = '0', - `status` = '1', - `perms` = 'perfManage:perfData:index', - `icon` = 'icon-soutubiao', - `create_by` = 'supervisor', - `create_time` = 1700000000000, - `update_by` = 'admin', - `update_time` = 1712807920148, - `remark` = 'menu.perf.dataRemark' -WHERE - `menu_id` = 2101; - -UPDATE `sys_menu` -SET - `menu_name` = 'menu.perf.threshold', - `parent_id` = 2099, - `menu_sort` = 4, - `path` = 'perfThreshold', - `component` = 'perfManage/perfThreshold/index', - `is_frame` = '1', - `is_cache` = '0', - `menu_type` = 'M', - `visible` = '0', - `status` = '1', - `perms` = 'perfManage:perfThreshold:index', - `icon` = 'icon-zhuanrang', - `create_by` = 'supervisor', - `create_time` = 1700000000000, - `update_by` = 'admin', - `update_time` = 1712807935215, - `remark` = 'menu.perf.thresholdRemark' -WHERE - `menu_id` = 2103; - -UPDATE `sys_menu` -SET - `menu_name` = 'menu.perf.customTarget', - `parent_id` = 2099, - `menu_sort` = 6, - `path` = 'customTarget', - `component` = 'perfManage/customTarget/index', - `is_frame` = '1', - `is_cache` = '1', - `menu_type` = 'M', - `visible` = '0', - `status` = '0', - `perms` = 'perfManage:customTarget:index', - `icon` = 'icon-fanhui1', - `create_by` = 'supervisor', - `create_time` = 1700000000000, - `update_by` = 'admin', - `update_time` = 1712807948673, - `remark` = 'menu.perf.customTargetRemark' -WHERE - `menu_id` = 2105; - -UPDATE `sys_menu` -SET - `menu_name` = 'menu.mml.set', - `parent_id` = 2107, - `menu_sort` = 4, - `path` = 'mmlSet', - `component` = 'mmlManage/mmlSet/index', - `is_frame` = '1', - `is_cache` = '0', - `menu_type` = 'M', - `visible` = '1', - `status` = '1', - `perms` = 'mmlManage:mmlSet:index', - `icon` = 'icon-wofaqi', - `create_by` = 'supervisor', - `create_time` = 1700000000000, - `update_by` = NULL, - `update_time` = 0, - `remark` = 'menu.mml.setRemark' -WHERE - `menu_id` = 2110; - -UPDATE `sys_menu` -SET - `menu_name` = 'menu.dashboard.cdr', - `parent_id` = 2140, - `menu_sort` = 40, - `path` = 'imsCDR', - `component` = 'dashboard/imsCDR/index', - `is_frame` = '1', - `is_cache` = '0', - `menu_type` = 'M', - `visible` = '1', - `status` = '1', - `perms` = 'dashboard:cdr:index', - `icon` = 'icon-paixu', - `create_by` = 'supervisor', - `create_time` = 1705550000000, - `update_by` = 'supervisor', - `update_time` = 1712751038982, - `remark` = '' -WHERE - `menu_id` = 2133; - -UPDATE `sys_menu` -SET - `menu_name` = 'menu.config.neHost', - `parent_id` = 4, - `menu_sort` = 15, - `path` = 'neHost', - `component` = 'ne/neHost/index', - `is_frame` = '1', - `is_cache` = '1', - `menu_type` = 'M', - `visible` = '1', - `status` = '1', - `perms` = 'ne:neHost:list', - `icon` = 'icon-fuzhidaima', - `create_by` = 'supervisor', - `create_time` = 1708583596871, - `update_by` = '', - `update_time` = 0, - `remark` = '' -WHERE - `menu_id` = 2135; - -UPDATE `sys_menu` -SET - `menu_name` = 'menu.dashboard.amfUE', - `parent_id` = 2141, - `menu_sort` = 1, - `path` = 'amfUE', - `component` = 'dashboard/amfUE/index', - `is_frame` = '1', - `is_cache` = '0', - `menu_type` = 'M', - `visible` = '1', - `status` = '1', - `perms` = 'dashboard:amfUE:index', - `icon` = 'icon-paixu', - `create_by` = 'supervisor', - `create_time` = 1705550000000, - `update_by` = 'supervisor', - `update_time` = 1711354049893, - `remark` = '' -WHERE - `menu_id` = 2138; - -UPDATE `sys_menu` -SET - `menu_name` = 'menu.logs.log', - `parent_id` = 2089, - `menu_sort` = 0, - `path` = 'log', - `component` = '', - `is_frame` = '1', - `is_cache` = '0', - `menu_type` = 'D', - `visible` = '0', - `status` = '1', - `perms` = '', - `icon` = 'icon-wenjian', - `create_by` = 'supervisor', - `create_time` = 1711352535855, - `update_by` = 'supervisor', - `update_time` = 1712751078161, - `remark` = '' -WHERE - `menu_id` = 2139; - -UPDATE `sys_menu` -SET - `menu_name` = 'menu.monitor.cdr', - `parent_id` = 2087, - `menu_sort` = 40, - `path` = 'cdr', - `component` = '', - `is_frame` = '1', - `is_cache` = '0', - `menu_type` = 'D', - `visible` = '1', - `status` = '1', - `perms` = '', - `icon` = 'icon-tubiaoku', - `create_by` = 'supervisor', - `create_time` = 1711352709786, - `update_by` = 'supervisor', - `update_time` = 1712751135878, - `remark` = '' -WHERE - `menu_id` = 2140; - -UPDATE `sys_menu` -SET - `menu_name` = 'menu.monitor.event', - `parent_id` = 2087, - `menu_sort` = 50, - `path` = 'event', - `component` = '', - `is_frame` = '1', - `is_cache` = '0', - `menu_type` = 'D', - `visible` = '1', - `status` = '1', - `perms` = '', - `icon` = 'icon-gengduo', - `create_by` = 'supervisor', - `create_time` = 1711352768797, - `update_by` = 'supervisor', - `update_time` = 1712751125648, - `remark` = '' -WHERE - `menu_id` = 2141; - --- begin: remove some excess old menus at 2024/05/10, r2.2405.1 -DELETE FROM `sys_menu` WHERE `menu_id` = 2; - -DELETE FROM `sys_menu` WHERE `menu_id` = 3; - -DELETE FROM `sys_menu` WHERE `menu_id` = 6; - -DELETE FROM `sys_menu` WHERE `menu_id` = 7; - -DELETE FROM `sys_menu` WHERE `menu_id` = 8; - -DELETE FROM `sys_menu` WHERE `menu_id` = 9; - -DELETE FROM `sys_menu` WHERE `menu_id` = 10; - -DELETE FROM `sys_menu` WHERE `menu_id` = 11; - -DELETE FROM `sys_menu` WHERE `menu_id` = 12; - -DELETE FROM `sys_menu` WHERE `menu_id` = 13; - -DELETE FROM `sys_menu` WHERE `menu_id` = 14; - -DELETE FROM `sys_menu` WHERE `menu_id` = 15; - -DELETE FROM `sys_menu` WHERE `menu_id` = 118; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2011; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2012; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2013; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2014; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2015; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2016; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2017; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2018; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2019; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2020; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2021; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2022; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2023; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2024; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2025; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2026; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2027; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2028; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2029; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2030; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2031; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2032; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2033; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2034; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2035; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2036; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2037; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2038; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2039; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2040; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2041; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2042; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2043; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2044; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2045; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2046; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2047; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2048; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2049; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2050; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2051; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2052; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2053; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2054; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2055; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2056; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2057; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2058; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2059; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2060; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2065; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2066; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2067; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2068; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2069; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2070; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2071; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2072; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2073; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2074; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2076; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2077; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2090; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2093; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2096; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2116; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2117; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2134; - -DELETE FROM `sys_menu` WHERE `menu_id` = 2139; - -UPDATE `sys_menu` -SET - `menu_name` = 'menu.log.set', - `parent_id` = 2089, - `menu_sort` = 15, - `path` = 'logSet', - `component` = 'logManage/logSet/index', - `is_frame` = '1', - `is_cache` = '0', - `menu_type` = 'M', - `visible` = '0', - `status` = '0', - `perms` = 'logManage:logSet:index', - `icon` = 'icon-you', - `create_by` = 'supervisor', - `create_time` = 1700000000000, - `update_by` = 'supervisor', - `update_time` = 1715332370830, - `remark` = 'menu.log.setRemark' -WHERE - `menu_id` = 2095; - -UPDATE `sys_menu` -SET - `menu_name` = 'menu.perf.threshold', - `parent_id` = 2099, - `menu_sort` = 4, - `path` = 'perfThreshold', - `component` = 'perfManage/perfThreshold/index', - `is_frame` = '1', - `is_cache` = '0', - `menu_type` = 'M', - `visible` = '0', - `status` = '1', - `perms` = 'perfManage:perfThreshold:index', - `icon` = 'icon-zhuanrang', - `create_by` = 'supervisor', - `create_time` = 1700000000000, - `update_by` = 'supervisor', - `update_time` = 1715417264697, - `remark` = 'menu.perf.thresholdRemark' -WHERE - `menu_id` = 2103; - --- end: remove - -INSERT IGNORE INTO - `sys_menu` ( - `menu_id`, - `menu_name`, - `parent_id`, - `menu_sort`, - `path`, - `component`, - `is_frame`, - `is_cache`, - `menu_type`, - `visible`, - `status`, - `perms`, - `icon`, - `create_by`, - `create_time`, - `update_by`, - `update_time`, - `remark` - ) -VALUES ( - 2144, - 'menu.fault.event', - 2129, - 3, - 'event', - 'faultManage/event/index', - '1', - '0', - 'M', - '1', - '1', - 'faultManage:event:index', - 'icon-tubiaoku', - 'supervisor', - 1717051993146, - 'supervisor', - 1717052106943, - '' - ); - - -SET FOREIGN_KEY_CHECKS = 1; diff --git a/database/upgvue3/upg_sys_post.sql b/database/upgvue3/upg_sys_post.sql deleted file mode 100644 index d119edfb..00000000 --- a/database/upgvue3/upg_sys_post.sql +++ /dev/null @@ -1,175 +0,0 @@ -SET FOREIGN_KEY_CHECKS=0; - -DROP TABLE IF EXISTS `sys_post`; -CREATE TABLE `sys_post` ( - `post_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '岗位ID', - `post_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '岗位编码', - `post_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '岗位名称', - `post_sort` int(11) NULL DEFAULT 0 COMMENT '显示顺序', - `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '状态(0停用 1正常)', - `create_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '创建者', - `create_time` bigint(20) NULL DEFAULT 0 COMMENT '创建时间', - `update_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '更新者', - `update_time` bigint(20) NULL DEFAULT 0 COMMENT '更新时间', - `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注', - PRIMARY KEY (`post_id`) USING BTREE - ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '岗位信息表' ROW_FORMAT = Dynamic; - -INSERT IGNORE INTO - `sys_post` ( - `post_id`, - `post_code`, - `post_name`, - `post_sort`, - `status`, - `create_by`, - `create_time`, - `update_by`, - `update_time`, - `remark` - ) -VALUES ( - 1, - 'Administrator', - '管理人员', - 1, - '1', - 'admin', - 1697110106499, - 'admin', - 1698487012626, - '' - ); - -INSERT IGNORE INTO - `sys_post` ( - `post_id`, - `post_code`, - `post_name`, - `post_sort`, - `status`, - `create_by`, - `create_time`, - `update_by`, - `update_time`, - `remark` - ) -VALUES ( - 2, - 'Operator', - '运维人员', - 2, - '1', - 'admin', - 1697110106502, - 'admin', - 1698487019898, - '' - ); - -INSERT IGNORE INTO - `sys_post` ( - `post_id`, - `post_code`, - `post_name`, - `post_sort`, - `status`, - `create_by`, - `create_time`, - `update_by`, - `update_time`, - `remark` - ) -VALUES ( - 3, - 'Monitor', - '监控人员', - 3, - '1', - 'admin', - 1697110106504, - 'admin', - 1698487031259, - '' - ); - -INSERT IGNORE INTO - `sys_post` ( - `post_id`, - `post_code`, - `post_name`, - `post_sort`, - `status`, - `create_by`, - `create_time`, - `update_by`, - `update_time`, - `remark` - ) -VALUES ( - 4, - 'Visitor', - '普通用户', - 4, - '1', - 'admin', - 1697110106507, - 'admin', - 1698487043293, - '' - ); - --- for cn/en locales -UPDATE `sys_post` -SET - `post_code` = 'administator', - `post_name` = 'post.admin', - `post_sort` = 1, - `status` = '1', - `create_by` = 'supervisor', - `create_time` = 1697110106499, - `update_by` = NULL, - `update_time` = 0, - `remark` = NULL -WHERE `post_id` = 1; - -UPDATE `sys_post` -SET - `post_code` = 'operator', - `post_name` = 'post.operator', - `post_sort` = 2, - `status` = '1', - `create_by` = 'supervisor', - `create_time` = 1697110106499, - `update_by` = NULL, - `update_time` = 0, - `remark` = NULL -WHERE `post_id` = 2; - -UPDATE `sys_post` -SET - `post_code` = 'monitor', - `post_name` = 'post.monitor', - `post_sort` = 3, - `status` = '1', - `create_by` = 'supervisor', - `create_time` = 1697110106499, - `update_by` = NULL, - `update_time` = 0, - `remark` = NULL -WHERE `post_id` = 3; - -UPDATE `sys_post` -SET - `post_code` = 'visitor', - `post_name` = 'post.visitor', - `post_sort` = 4, - `status` = '1', - `create_by` = 'supervisor', - `create_time` = 1697110106499, - `update_by` = NULL, - `update_time` = 0, - `remark` = NULL -WHERE `post_id` = 4; - -SET FOREIGN_KEY_CHECKS=1; \ No newline at end of file diff --git a/database/upgvue3/upg_sys_role.sql b/database/upgvue3/upg_sys_role.sql deleted file mode 100644 index 26b2959c..00000000 --- a/database/upgvue3/upg_sys_role.sql +++ /dev/null @@ -1,261 +0,0 @@ -SET FOREIGN_KEY_CHECKS=0; - -DELETE FROM `sys_role` WHERE `role_id` IN (1,2,3,4,5); - -INSERT IGNORE INTO - `sys_role` ( - `role_id`, - `role_name`, - `role_key`, - `role_sort`, - `data_scope`, - `menu_check_strictly`, - `dept_check_strictly`, - `status`, - `del_flag`, - `create_by`, - `create_time`, - `update_by`, - `update_time`, - `remark` - ) -VALUES ( - 1, - 'Supervisor', - 'supervisor', - 1, - '1', - '1', - '1', - '1', - '0', - 'admin', - 1697091437683, - '', - 0, - '超级管理员,无法修改删除' - ); - -INSERT IGNORE INTO - `sys_role` ( - `role_id`, - `role_name`, - `role_key`, - `role_sort`, - `data_scope`, - `menu_check_strictly`, - `dept_check_strictly`, - `status`, - `del_flag`, - `create_by`, - `create_time`, - `update_by`, - `update_time`, - `remark` - ) -VALUES ( - 2, - 'Administrator', - 'administrator', - 2, - '1', - '1', - '1', - '1', - '0', - 'admin', - 1698486915894, - 'supervisor', - 1698739249610, - '管理人员 可以对设备进行任何操作' - ); - -INSERT IGNORE INTO - `sys_role` ( - `role_id`, - `role_name`, - `role_key`, - `role_sort`, - `data_scope`, - `menu_check_strictly`, - `dept_check_strictly`, - `status`, - `del_flag`, - `create_by`, - `create_time`, - `update_by`, - `update_time`, - `remark` - ) -VALUES ( - 3, - 'Operator', - 'operator', - 3, - '1', - '1', - '1', - '1', - '0', - 'admin', - 1698486934900, - 'supervisor', - 1698739285488, - '运维人员 可以从设备读取数据,并对设备进行配置,但是不能对设备进行软件升级操作。' - ); - -INSERT IGNORE INTO - `sys_role` ( - `role_id`, - `role_name`, - `role_key`, - `role_sort`, - `data_scope`, - `menu_check_strictly`, - `dept_check_strictly`, - `status`, - `del_flag`, - `create_by`, - `create_time`, - `update_by`, - `update_time`, - `remark` - ) -VALUES ( - 4, - 'Monitor', - 'monitor', - 4, - '1', - '1', - '1', - '1', - '0', - 'admin', - 1698486950714, - 'admin', - 1698718807790, - '监控人员 只能从设备读取数据,而不能对设备进行任何设置' - ); - -INSERT IGNORE INTO - `sys_role` ( - `role_id`, - `role_name`, - `role_key`, - `role_sort`, - `data_scope`, - `menu_check_strictly`, - `dept_check_strictly`, - `status`, - `del_flag`, - `create_by`, - `create_time`, - `update_by`, - `update_time`, - `remark` - ) -VALUES ( - 5, - 'Visitor', - 'vistor', - 5, - '1', - '1', - '1', - '1', - '0', - 'admin', - 1698486975779, - 'admin', - 1698718839597, - '普通用户 只可看系统相关信息' - ); - --- for cn/en locales -UPDATE `sys_role` -SET - `role_name` = 'role.admin', - `role_key` = 'supervisor', - `role_sort` = 1, - `data_scope` = '1', - `menu_check_strictly` = '1', - `dept_check_strictly` = '1', - `status` = '1', - `del_flag` = '0', - `create_by` = 'supervisor', - `create_time` = 1697091437683, - `update_by` = NULL, - `update_time` = 0, - `remark` = 'role.adminRemark' -WHERE `role_id` = 1; - -UPDATE `sys_role` -SET - `role_name` = 'role.adminAssign', - `role_key` = 'administrator', - `role_sort` = 2, - `data_scope` = '1', - `menu_check_strictly` = '1', - `dept_check_strictly` = '1', - `status` = '1', - `del_flag` = '0', - `create_by` = 'supervisor', - `create_time` = 1698486915894, - `update_by` = NULL, - `update_time` = 0, - `remark` = 'role.adminAssignRemark' -WHERE `role_id` = 2; - -UPDATE `sys_role` -SET - `role_name` = 'role.operator', - `role_key` = 'operator', - `role_sort` = 3, - `data_scope` = '1', - `menu_check_strictly` = '1', - `dept_check_strictly` = '1', - `status` = '1', - `del_flag` = '0', - `create_by` = 'supervisor', - `create_time` = 1698486934900, - `update_by` = NULL, - `update_time` = 0, - `remark` = 'role.operatorRemark' -WHERE `role_id` = 3; - -UPDATE `sys_role` -SET - `role_name` = 'role.monitor', - `role_key` = 'monitor', - `role_sort` = 4, - `data_scope` = '1', - `menu_check_strictly` = '1', - `dept_check_strictly` = '1', - `status` = '1', - `del_flag` = '0', - `create_by` = 'supervisor', - `create_time` = 1698486950714, - `update_by` = NULL, - `update_time` = 0, - `remark` = 'role.monitorRemark' -WHERE `role_id` = 4; - -UPDATE `sys_role` -SET - `role_name` = 'role.vistor', - `role_key` = 'vistor', - `role_sort` = 5, - `data_scope` = '1', - `menu_check_strictly` = '1', - `dept_check_strictly` = '1', - `status` = '1', - `del_flag` = '0', - `create_by` = 'supervisor', - `create_time` = 1698486975779, - `update_by` = NULL, - `update_time` = 0, - `remark` = 'role.vistorRemark' -WHERE `role_id` = 5; - -SET FOREIGN_KEY_CHECKS=1; \ No newline at end of file diff --git a/database/upgvue3/upg_sys_role_dept.sql b/database/upgvue3/upg_sys_role_dept.sql deleted file mode 100644 index f8e2b11a..00000000 --- a/database/upgvue3/upg_sys_role_dept.sql +++ /dev/null @@ -1,10 +0,0 @@ -SET FOREIGN_KEY_CHECKS=0; - -CREATE TABLE - IF NOT EXISTS `sys_role_dept` ( - `role_id` bigint(20) NOT NULL COMMENT '角色ID', - `dept_id` bigint(20) NOT NULL COMMENT '部门ID', - PRIMARY KEY (`role_id`, `dept_id`) USING BTREE - ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '角色和部门关联表' ROW_FORMAT = Dynamic; - -SET FOREIGN_KEY_CHECKS=1; \ No newline at end of file diff --git a/database/upgvue3/upg_sys_role_menu.sql b/database/upgvue3/upg_sys_role_menu.sql deleted file mode 100644 index d591703d..00000000 --- a/database/upgvue3/upg_sys_role_menu.sql +++ /dev/null @@ -1,325 +0,0 @@ -/* - Navicat Premium Data Transfer - - Source Server : local_mariadb - Source Server Type : MariaDB - Source Server Version : 100338 (10.3.38-MariaDB) - Source Host : localhost:33066 - Source Schema : omc_db - - Target Server Type : MariaDB - Target Server Version : 100338 (10.3.38-MariaDB) - File Encoding : 65001 - - Date: 01/02/2024 16:05:38 -*/ - -SET NAMES utf8mb4; -SET FOREIGN_KEY_CHECKS = 0; - --- ---------------------------- --- Table structure for sys_role_menu --- ---------------------------- -CREATE TABLE IF NOT EXISTS `sys_role_menu` ( - `role_id` bigint(20) NOT NULL COMMENT '角色ID', - `menu_id` bigint(20) NOT NULL COMMENT '菜单ID', - PRIMARY KEY (`role_id`, `menu_id`) USING BTREE -) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '角色和菜单关联表' ROW_FORMAT = Dynamic; - --- ---------------------------- --- Records of sys_role_menu --- ---------------------------- -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 4); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 5); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 100); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 101); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 102); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 103); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 104); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 105); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 106); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 107); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 108); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 111); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 112); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 113); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 115); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 116); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 117); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 500); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 501); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1000); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1001); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1002); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1003); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1004); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1005); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1006); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1007); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1008); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1009); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1010); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1011); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1012); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1013); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1014); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1015); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1016); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1017); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1018); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1019); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1020); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1021); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1022); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1023); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1024); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1025); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1026); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1027); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1028); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1029); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1030); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1031); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1032); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1033); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1034); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1039); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1040); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1041); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1042); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1043); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1044); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1045); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1048); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1049); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1050); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1051); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1052); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1053); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1054); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1055); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 1056); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2009); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2010); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2075); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2078); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2079); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2080); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2081); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2082); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2083); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2084); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2085); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2086); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2087); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2088); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2089); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2091); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2092); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2094); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2097); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2098); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2099); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2100); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2101); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2102); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2103); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2104); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2105); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2106); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2107); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2108); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2109); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2111); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2112); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2113); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2114); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2118); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2119); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2120); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2121); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2122); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2123); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2124); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2125); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2126); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2128); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2129); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2130); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2131); -INSERT IGNORE INTO `sys_role_menu` VALUES (2, 2132); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 1); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 4); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 5); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 108); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 112); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 115); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 500); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 501); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 1030); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 1031); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 1032); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 1034); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 1039); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 1042); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 1048); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 2009); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 2010); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 2075); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 2078); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 2080); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 2081); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 2082); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 2083); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 2084); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 2085); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 2086); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 2087); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 2088); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 2089); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 2091); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 2092); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 2094); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 2097); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 2098); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 2099); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 2100); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 2101); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 2102); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 2103); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 2104); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 2105); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 2106); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 2107); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 2108); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 2109); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 2111); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 2112); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 2113); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 2118); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 2119); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 2120); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 2123); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 2124); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 2125); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 2126); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 2127); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 2128); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 2129); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 2130); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 2131); -INSERT IGNORE INTO `sys_role_menu` VALUES (3, 2132); -INSERT IGNORE INTO `sys_role_menu` VALUES (4, 1); -INSERT IGNORE INTO `sys_role_menu` VALUES (4, 5); -INSERT IGNORE INTO `sys_role_menu` VALUES (4, 112); -INSERT IGNORE INTO `sys_role_menu` VALUES (4, 115); -INSERT IGNORE INTO `sys_role_menu` VALUES (4, 500); -INSERT IGNORE INTO `sys_role_menu` VALUES (4, 501); -INSERT IGNORE INTO `sys_role_menu` VALUES (4, 1039); -INSERT IGNORE INTO `sys_role_menu` VALUES (4, 1041); -INSERT IGNORE INTO `sys_role_menu` VALUES (4, 1042); -INSERT IGNORE INTO `sys_role_menu` VALUES (4, 1044); -INSERT IGNORE INTO `sys_role_menu` VALUES (4, 1048); -INSERT IGNORE INTO `sys_role_menu` VALUES (4, 2080); -INSERT IGNORE INTO `sys_role_menu` VALUES (4, 2081); -INSERT IGNORE INTO `sys_role_menu` VALUES (4, 2082); -INSERT IGNORE INTO `sys_role_menu` VALUES (4, 2083); -INSERT IGNORE INTO `sys_role_menu` VALUES (4, 2084); -INSERT IGNORE INTO `sys_role_menu` VALUES (4, 2085); -INSERT IGNORE INTO `sys_role_menu` VALUES (4, 2086); -INSERT IGNORE INTO `sys_role_menu` VALUES (4, 2087); -INSERT IGNORE INTO `sys_role_menu` VALUES (4, 2088); -INSERT IGNORE INTO `sys_role_menu` VALUES (4, 2089); -INSERT IGNORE INTO `sys_role_menu` VALUES (4, 2091); -INSERT IGNORE INTO `sys_role_menu` VALUES (4, 2092); -INSERT IGNORE INTO `sys_role_menu` VALUES (4, 2094); -INSERT IGNORE INTO `sys_role_menu` VALUES (4, 2097); -INSERT IGNORE INTO `sys_role_menu` VALUES (4, 2098); -INSERT IGNORE INTO `sys_role_menu` VALUES (4, 2099); -INSERT IGNORE INTO `sys_role_menu` VALUES (4, 2101); -INSERT IGNORE INTO `sys_role_menu` VALUES (4, 2104); -INSERT IGNORE INTO `sys_role_menu` VALUES (4, 2113); -INSERT IGNORE INTO `sys_role_menu` VALUES (4, 2119); -INSERT IGNORE INTO `sys_role_menu` VALUES (4, 2120); -INSERT IGNORE INTO `sys_role_menu` VALUES (4, 2124); -INSERT IGNORE INTO `sys_role_menu` VALUES (4, 2125); -INSERT IGNORE INTO `sys_role_menu` VALUES (4, 2126); -INSERT IGNORE INTO `sys_role_menu` VALUES (4, 2127); -INSERT IGNORE INTO `sys_role_menu` VALUES (4, 2128); -INSERT IGNORE INTO `sys_role_menu` VALUES (4, 2129); -INSERT IGNORE INTO `sys_role_menu` VALUES (4, 2130); -INSERT IGNORE INTO `sys_role_menu` VALUES (4, 2131); -INSERT IGNORE INTO `sys_role_menu` VALUES (4, 2132); -INSERT IGNORE INTO `sys_role_menu` VALUES (5, 1); -INSERT IGNORE INTO `sys_role_menu` VALUES (5, 5); -INSERT IGNORE INTO `sys_role_menu` VALUES (5, 112); -INSERT IGNORE INTO `sys_role_menu` VALUES (5, 2080); -INSERT IGNORE INTO `sys_role_menu` VALUES (5, 2081); -INSERT IGNORE INTO `sys_role_menu` VALUES (5, 2082); -INSERT IGNORE INTO `sys_role_menu` VALUES (5, 2087); -INSERT IGNORE INTO `sys_role_menu` VALUES (5, 2131); -INSERT IGNORE INTO `sys_role_menu` VALUES (5, 2132); -INSERT IGNORE INTO `sys_role_menu` VALUES (100, 1); -INSERT IGNORE INTO `sys_role_menu` VALUES (100, 100); -INSERT IGNORE INTO `sys_role_menu` VALUES (100, 1000); - -DELETE FROM `sys_role_menu` -WHERE - `role_id` = 2 - AND `menu_id` = 106; - -DELETE FROM `sys_role_menu` -WHERE - `role_id` = 2 - AND `menu_id` = 107; - -DELETE FROM `sys_role_menu` -WHERE - `role_id` = 2 - AND `menu_id` = 113; - -DELETE FROM `sys_role_menu` -WHERE - `role_id` = 2 - AND `menu_id` = 1025; - -DELETE FROM `sys_role_menu` -WHERE - `role_id` = 2 - AND `menu_id` = 1026; - -DELETE FROM `sys_role_menu` -WHERE - `role_id` = 2 - AND `menu_id` = 1027; - -DELETE FROM `sys_role_menu` -WHERE - `role_id` = 2 - AND `menu_id` = 1028; - -DELETE FROM `sys_role_menu` -WHERE - `role_id` = 2 - AND `menu_id` = 1029; - -INSERT IGNORE INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 2133); -INSERT IGNORE INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 2138); -INSERT IGNORE INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 2140); -INSERT IGNORE INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 2141); -INSERT IGNORE INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 2133); -INSERT IGNORE INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 2138); -INSERT IGNORE INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 2140); -INSERT IGNORE INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 2141); -INSERT IGNORE INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (4, 2133); -INSERT IGNORE INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (4, 2138); -INSERT IGNORE INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (4, 2140); -INSERT IGNORE INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (4, 2141); - --- alarm event to role -INSERT IGNORE INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (2, 2144); -INSERT IGNORE INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 2144); -INSERT IGNORE INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (4, 2144); - -SET FOREIGN_KEY_CHECKS = 1; diff --git a/database/upgvue3/upg_sys_user.sql b/database/upgvue3/upg_sys_user.sql deleted file mode 100644 index 9107b7fb..00000000 --- a/database/upgvue3/upg_sys_user.sql +++ /dev/null @@ -1,203 +0,0 @@ -SET FOREIGN_KEY_CHECKS=0; - -DROP TABLE IF EXISTS `sys_user`; -CREATE TABLE `sys_user` ( - `user_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '用户ID', - `dept_id` bigint(20) NULL DEFAULT NULL COMMENT '部门ID', - `user_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户账号', - `nick_name` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户昵称', - `user_type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT 'sys' COMMENT '用户类型(sys系统用户)', - `email` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '用户邮箱', - `phonenumber` varchar(11) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '手机号码', - `sex` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '用户性别(0未知 1男 2女)', - `avatar` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '头像地址', - `password` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '密码', - `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '帐号状态(0停用 1正常)', - `del_flag` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '删除标志(0代表存在 1代表删除)', - `login_ip` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '最后登录IP', - `login_date` bigint(20) NULL DEFAULT 0 COMMENT '最后登录时间', - `create_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '创建者', - `create_time` bigint(20) NULL DEFAULT 0 COMMENT '创建时间', - `update_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '更新者', - `update_time` bigint(20) NULL DEFAULT 0 COMMENT '更新时间', - `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '备注', - PRIMARY KEY (`user_id`) USING BTREE -) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '用户信息表' ROW_FORMAT = Dynamic; - -INSERT IGNORE INTO - `sys_user` ( - `user_id`, - `dept_id`, - `user_name`, - `nick_name`, - `user_type`, - `email`, - `phonenumber`, - `sex`, - `avatar`, - `password`, - `status`, - `del_flag`, - `login_ip`, - `login_date`, - `create_by`, - `create_time`, - `update_by`, - `update_time`, - `remark` - ) -VALUES ( - 1, - NULL, - 'supervisor', - 'supervisor', - 'sys', - '', - '', - '', - '', - '$2a$10$QgIcp6yuOEGrEU0TNU12K.uQRLbcufesEU7hiRYlRSSdUO7OAkoTq', - '1', - '0', - '192.168.2.114', - 1698920815347, - 'admin', - 1697091656500, - 'supervisor', - 1698920815347, - '' - ); - -INSERT IGNORE INTO - `sys_user` ( - `user_id`, - `dept_id`, - `user_name`, - `nick_name`, - `user_type`, - `email`, - `phonenumber`, - `sex`, - `avatar`, - `password`, - `status`, - `del_flag`, - `login_ip`, - `login_date`, - `create_by`, - `create_time`, - `update_by`, - `update_time`, - `remark` - ) -VALUES ( - 2, - NULL, - 'admin', - 'admin', - 'sys', - '', - '', - '', - '', - '$2a$10$QgIcp6yuOEGrEU0TNU12K.uQRLbcufesEU7hiRYlRSSdUO7OAkoTq', - '1', - '0', - '192.168.2.219', - 1699338435424, - 'admin', - 1697091656500, - 'admin', - 1699338435425, - '' - ); - -INSERT IGNORE INTO - `sys_user` ( - `user_id`, - `dept_id`, - `user_name`, - `nick_name`, - `user_type`, - `email`, - `phonenumber`, - `sex`, - `avatar`, - `password`, - `status`, - `del_flag`, - `login_ip`, - `login_date`, - `create_by`, - `create_time`, - `update_by`, - `update_time`, - `remark` - ) -VALUES ( - 103, - NULL, - 'manager', - 'manager', - 'sys', - '', - '', - '1', - '', - '$2a$10$RND3fUw9Ai.WcggYSI57tu.u3OIlktdPxFzlWkmiHC1paV038t0I2', - '1', - '0', - '192.168.2.114', - 1698661596191, - 'admin', - 1698661521780, - 'admin', - 1699340083864, - 'manager' - ); - -INSERT IGNORE INTO - `sys_user` ( - `user_id`, - `dept_id`, - `user_name`, - `nick_name`, - `user_type`, - `email`, - `phonenumber`, - `sex`, - `avatar`, - `password`, - `status`, - `del_flag`, - `login_ip`, - `login_date`, - `create_by`, - `create_time`, - `update_by`, - `update_time`, - `remark` - ) -VALUES ( - 104, - NULL, - 'monitor', - 'monitor', - 'sys', - '', - '', - '1', - '', - '$2a$10$t3zpKQ0olECotFyI1yO43.tCoS0EXoSRBDcqwl09xvrsmn14qFHHy', - '1', - '0', - '', - 0, - 'admin', - 1698661684898, - 'admin', - 1698740853724, - '' - ); - -SET FOREIGN_KEY_CHECKS=1; \ No newline at end of file diff --git a/database/upgvue3/upg_sys_user_post.sql b/database/upgvue3/upg_sys_user_post.sql deleted file mode 100644 index a80ab08c..00000000 --- a/database/upgvue3/upg_sys_user_post.sql +++ /dev/null @@ -1,14 +0,0 @@ -SET FOREIGN_KEY_CHECKS=0; - -DROP TABLE IF EXISTS `sys_user_post`; -CREATE TABLE `sys_user_post` ( - `user_id` bigint(20) NOT NULL COMMENT '用户ID', - `post_id` bigint(20) NOT NULL COMMENT '岗位ID', - PRIMARY KEY (`user_id`, `post_id`) USING BTREE - ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '用户与岗位关联表' ROW_FORMAT = Dynamic; - -INSERT IGNORE INTO - `sys_user_post` (`user_id`, `post_id`) -VALUES (1, 1); - -SET FOREIGN_KEY_CHECKS=1; \ No newline at end of file diff --git a/database/upgvue3/upg_sys_user_role.sql b/database/upgvue3/upg_sys_user_role.sql deleted file mode 100644 index 77236c56..00000000 --- a/database/upgvue3/upg_sys_user_role.sql +++ /dev/null @@ -1,19 +0,0 @@ -SET FOREIGN_KEY_CHECKS=0; - -INSERT IGNORE INTO - `sys_user_role` (`user_id`, `role_id`) -VALUES (1, 1); - -INSERT IGNORE INTO - `sys_user_role` (`user_id`, `role_id`) -VALUES (2, 2); - -INSERT IGNORE INTO - `sys_user_role` (`user_id`, `role_id`) -VALUES (103, 3); - -INSERT IGNORE INTO - `sys_user_role` (`user_id`, `role_id`) -VALUES (104, 4); - -SET FOREIGN_KEY_CHECKS=1; \ No newline at end of file diff --git a/database/upgvue3/upg_ue_event.sql b/database/upgvue3/upg_ue_event.sql deleted file mode 100644 index b60f7382..00000000 --- a/database/upgvue3/upg_ue_event.sql +++ /dev/null @@ -1,36 +0,0 @@ -/* - Navicat Premium Data Transfer - - Source Server : local_mariadb - Source Server Type : MariaDB - Source Server Version : 100338 (10.3.38-MariaDB) - Source Host : localhost:33066 - Source Schema : omc_db - - Target Server Type : MariaDB - Target Server Version : 100338 (10.3.38-MariaDB) - File Encoding : 65001 - - Date: 22/01/2024 17:03:39 -*/ - -SET NAMES utf8mb4; -SET FOREIGN_KEY_CHECKS = 0; - --- ---------------------------- --- Table structure for ue_event --- ---------------------------- -CREATE TABLE IF NOT EXISTS `ue_event` ( - `id` int(11) NOT NULL AUTO_INCREMENT, - `ne_type` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, - `ne_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, - `rm_uid` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, - `timestamp` int(11) NULL DEFAULT NULL, - `event_type` varchar(16) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'auth-result/detach/cm-state', - `event_json` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL, - `created_at` datetime NULL DEFAULT current_timestamp(), - PRIMARY KEY (`id`) USING BTREE, - INDEX `id`(`id`) USING BTREE -) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic; - -SET FOREIGN_KEY_CHECKS = 1; diff --git a/database/upgvue3/vue3_20231017.sql b/database/upgvue3/vue3_20231017.sql deleted file mode 100644 index a53a6a25..00000000 --- a/database/upgvue3/vue3_20231017.sql +++ /dev/null @@ -1,52 +0,0 @@ -SET FOREIGN_KEY_CHECKS=0; - -DROP TABLE IF EXISTS `sys_job_log`; -CREATE TABLE `sys_job_log` ( - `job_log_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '任务日志ID', - `job_name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '任务名称', - `job_group` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '任务组名', - `invoke_target` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '调用目标字符串', - `target_params` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '调用目标传入参数', - `job_msg` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '日志信息', - `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '执行状态(0失败 1正常)', - `create_time` bigint(20) NULL DEFAULT 0 COMMENT '创建时间', - `cost_time` bigint(20) NULL DEFAULT 0 COMMENT '消耗时间(毫秒)', - PRIMARY KEY (`job_log_id`) USING BTREE -) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '调度任务调度日志表' ROW_FORMAT = Dynamic; - -DROP TABLE IF EXISTS `sys_log_login`; -CREATE TABLE `sys_log_login` ( - `login_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '登录ID', - `user_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '用户账号', - `ipaddr` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '登录IP地址', - `login_location` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '登录地点', - `browser` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '浏览器类型', - `os` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '操作系统', - `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '登录状态(0失败 1成功)', - `msg` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '提示消息', - `login_time` bigint(20) NULL DEFAULT 0 COMMENT '登录时间', - PRIMARY KEY (`login_id`) USING BTREE -) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '系统登录日志表' ROW_FORMAT = Dynamic; - -DROP TABLE IF EXISTS `sys_log_operate`; -CREATE TABLE `sys_log_operate` ( - `oper_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '日志主键', - `title` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '模块标题', - `business_type` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '业务类型(0其它 1新增 2修改 3删除 4授权 5导出 6导入 7强退 8清空数据)', - `method` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '方法名称', - `request_method` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '请求方式', - `operator_type` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '操作人员类别(0其它 1后台用户 2手机端用户)', - `oper_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '操作人员', - `dept_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '部门名称', - `oper_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '请求URL', - `oper_ip` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '主机地址', - `oper_location` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '操作地点', - `oper_param` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '请求参数', - `oper_msg` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '操作消息', - `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '0' COMMENT '操作状态(0异常 1正常)', - `oper_time` bigint(20) NULL DEFAULT 0 COMMENT '操作时间', - `cost_time` bigint(20) NULL DEFAULT 0 COMMENT '消耗时间(毫秒)', - PRIMARY KEY (`oper_id`) USING BTREE -) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '系统操作日志表' ROW_FORMAT = Dynamic; - -SET FOREIGN_KEY_CHECKS = 1; \ No newline at end of file diff --git a/database/upgvue3/vue3_20231028.sql b/database/upgvue3/vue3_20231028.sql deleted file mode 100644 index 56d2af30..00000000 --- a/database/upgvue3/vue3_20231028.sql +++ /dev/null @@ -1,94 +0,0 @@ - - --- 创建表 监控_基本信息 - -ALTER TABLE `monitor_base` DROP COLUMN IF EXISTS `created_at`; -ALTER TABLE - `monitor_base` DROP COLUMN IF EXISTS `updated_at`; -ALTER TABLE `monitor_base` DROP COLUMN IF EXISTS `db_size`; -ALTER TABLE - `monitor_base` MODIFY COLUMN `id` bigint(20) NOT NULL COMMENT 'id' FIRST; -ALTER TABLE - `monitor_base` -ADD - COLUMN IF NOT EXISTS `create_time` bigint(20) NULL DEFAULT 0 COMMENT '创建时间' AFTER `id`; -ALTER TABLE - `monitor_base` MODIFY COLUMN `cpu` float NULL DEFAULT 0 COMMENT 'cpu使用率' AFTER `create_time`; -ALTER TABLE - `monitor_base` MODIFY COLUMN `load_usage` float NULL DEFAULT 0 COMMENT 'cpu平均使用率' AFTER `cpu`; -ALTER TABLE - `monitor_base` MODIFY COLUMN `cpu_load1` float NULL DEFAULT 0 COMMENT 'cpu使用1分钟' AFTER `load_usage`; -ALTER TABLE - `monitor_base` MODIFY COLUMN `cpu_load5` float NULL DEFAULT 0 COMMENT 'cpu使用5分钟' AFTER `cpu_load1`; -ALTER TABLE - `monitor_base` MODIFY COLUMN `cpu_load15` float NULL DEFAULT 0 COMMENT 'cpu使用15分钟' AFTER `cpu_load5`; -ALTER TABLE - `monitor_base` MODIFY COLUMN `memory` float NULL DEFAULT 0 COMMENT '内存使用率' AFTER `cpu_load15`; -ALTER TABLE - `monitor_base` -ADD - COLUMN IF NOT EXISTS `ne_type` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '网元类型' AFTER `memory`; -ALTER TABLE - `monitor_base` -ADD - COLUMN IF NOT EXISTS `ne_id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '网元ID' AFTER `ne_type`; -ALTER TABLE - `monitor_base` MODIFY COLUMN `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id'; - --- 创建表 监控_磁盘IO - -ALTER TABLE `monitor_io` DROP COLUMN IF EXISTS `created_at`; -ALTER TABLE `monitor_io` DROP COLUMN IF EXISTS `updated_at`; -ALTER TABLE - `monitor_io` MODIFY COLUMN `id` bigint(20) NOT NULL COMMENT 'id' FIRST; -ALTER TABLE - `monitor_io` -ADD - COLUMN IF NOT EXISTS `create_time` bigint(20) NULL DEFAULT 0 COMMENT '创建时间' AFTER `id`; -ALTER TABLE - `monitor_io` MODIFY COLUMN `name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '磁盘名' AFTER `create_time`; -ALTER TABLE - `monitor_io` MODIFY COLUMN `read` int(11) NULL DEFAULT 0 COMMENT '读取K' AFTER `name`; -ALTER TABLE - `monitor_io` MODIFY COLUMN `write` int(11) NULL DEFAULT 0 COMMENT '写入K' AFTER `read`; -ALTER TABLE - `monitor_io` MODIFY COLUMN `count` int(11) NULL DEFAULT 0 COMMENT '次数' AFTER `write`; -ALTER TABLE - `monitor_io` MODIFY COLUMN `time` int(11) NULL DEFAULT 0 COMMENT '耗时' AFTER `count`; -ALTER TABLE - `monitor_io` -ADD - COLUMN IF NOT EXISTS `ne_type` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '网元类型' AFTER `time`; -ALTER TABLE - `monitor_io` -ADD - COLUMN IF NOT EXISTS `ne_id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '网元ID' AFTER `ne_type`; -ALTER TABLE - `monitor_io` MODIFY COLUMN `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id'; - --- 创建表 监控_网络IO - -ALTER TABLE `monitor_network` DROP COLUMN IF EXISTS `created_at`; -ALTER TABLE `monitor_network` DROP COLUMN IF EXISTS `updated_at`; -ALTER TABLE - `monitor_network` MODIFY COLUMN `id` bigint(20) NOT NULL COMMENT 'id' FIRST; -ALTER TABLE - `monitor_network` -ADD - COLUMN IF NOT EXISTS `create_time` bigint(20) NULL DEFAULT 0 COMMENT '创建时间' AFTER `id`; -ALTER TABLE - `monitor_network` MODIFY COLUMN `name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '网卡名' AFTER `create_time`; -ALTER TABLE - `monitor_network` MODIFY COLUMN `up` float NULL DEFAULT 0 COMMENT '上行' AFTER `name`; -ALTER TABLE - `monitor_network` MODIFY COLUMN `down` float NULL DEFAULT 0 COMMENT '下行' AFTER `up`; -ALTER TABLE - `monitor_network` -ADD - COLUMN IF NOT EXISTS `ne_type` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '网元类型' AFTER `down`; -ALTER TABLE - `monitor_network` -ADD - COLUMN IF NOT EXISTS `ne_id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '网元ID' AFTER `ne_type`; -ALTER TABLE - `monitor_network` MODIFY COLUMN `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'id'; diff --git a/database/upgvue3/zupgrade.sql b/database/upgvue3/zupgrade.sql deleted file mode 100644 index 207c1a42..00000000 --- a/database/upgvue3/zupgrade.sql +++ /dev/null @@ -1,192 +0,0 @@ -DROP TRIGGER IF EXISTS `tg_account_menu`; - -ALTER TABLE `gold_kpi` -MODIFY COLUMN `value` bigint NULL DEFAULT 0 AFTER `kpi_id`; - -ALTER TABLE `user` -DROP INDEX IF EXISTS `account_id`, -DROP INDEX IF EXISTS `idx_uni_user_acc_id`, -ADD UNIQUE INDEX `idx_uni_user_acc_id`(`account_id`) USING BTREE; - -ALTER TABLE `ne_link` DROP INDEX IF EXISTS `idx_netype_neid`; - -ALTER TABLE `user` -MODIFY COLUMN `password_expiration` date NULL DEFAULT NULL AFTER `change_password_flag`, -MODIFY COLUMN `user_expiration` date NULL DEFAULT NULL AFTER `status`; - -ALTER TABLE `config` -ADD COLUMN IF NOT EXISTS `comment` varchar(255) NULL AFTER `update_time`; - -ALTER TABLE `nbi_operation_log` -MODIFY COLUMN `created_at` datetime NULL DEFAULT NULL AFTER `log_time`; - -ALTER TABLE `permission` -ADD COLUMN IF NOT EXISTS `management` varchar(32) NULL DEFAULT '*' AFTER `method`; - -ALTER TABLE `permission` -CHANGE COLUMN IF EXISTS `create_at` `created_at` datetime NULL DEFAULT current_timestamp AFTER `description`, -MODIFY COLUMN `method` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '*' AFTER `permission_name`, -MODIFY COLUMN `management` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '*' AFTER `method`, -MODIFY COLUMN `element` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '*' AFTER `management`, -MODIFY COLUMN `object` varchar(16) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '*' AFTER `element`, -ADD COLUMN IF NOT EXISTS `updated_at` datetime NULL AFTER `created_at`, -ADD COLUMN IF NOT EXISTS `deleted_at` datetime NULL AFTER `updated_at`; - -ALTER TABLE `permission` -ADD UNIQUE INDEX IF NOT EXISTS `permission_name`(`permission_name`) USING BTREE; - -ALTER TABLE `alarm_log` -ADD COLUMN IF NOT EXISTS `alarm_seq` int NULL AFTER `ne_id`; - -ALTER TABLE `ne_software` -ADD COLUMN IF NOT EXISTS `patch_time` datetime NULL AFTER `update_time`; - -ALTER TABLE `nbi_alarm_log` -ADD COLUMN IF NOT EXISTS `alarm_status` int NULL COMMENT '0/1: 清除告警/活动告警' AFTER `alarm_code`; - -ALTER TABLE `cert_info` DROP INDEX IF EXISTS `idx_netype_neid`; - -ALTER TABLE `user` -MODIFY COLUMN `name` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL AFTER `account_id`; - -ALTER TABLE `measure_threshold` -CHANGE COLUMN IF EXISTS `alarm_id` `alarm_code` varchar(16) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '10200' AFTER `orig_severity`; - -ALTER TABLE `measure_task` -ADD COLUMN IF NOT EXISTS `account_id` varchar(32) NULL AFTER `status`, -ADD COLUMN IF NOT EXISTS `comment` varchar(255) NULL AFTER `account_id`; - -ALTER TABLE `trace_task` -ADD COLUMN IF NOT EXISTS `account_id` varchar(32) NULL AFTER `status`, -ADD COLUMN IF NOT EXISTS `comment` varchar(255) NULL AFTER `account_id`; - -ALTER TABLE `u_auth_user` ENGINE = InnoDB; -ALTER TABLE `u_sub_user` ENGINE = InnoDB; - -INSERT IGNORE INTO `config` (`id`, `module_name`, `config_tag`, `title_json`, `value`, `value_json`, `comment`) -VALUES ('37', 'System', 'logo', '{\"cn\":\"系统LOGO\",\"en\":\"System LOGO\"}', 'logo30.png', '', ''); - -ALTER TABLE `security_log` -MODIFY COLUMN `id` int(10) NOT NULL AUTO_INCREMENT FIRST; - -ALTER TABLE `param_config` -ADD COLUMN IF NOT EXISTS `method` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '*' COMMENT 'method allow: \"get\", \"get,post,put\", \"*\"' AFTER `top_display`; - -DELETE FROM trace_data WHERE timestamp LIKE '2023-%'; -ALTER TABLE `trace_data` -MODIFY COLUMN `timestamp` bigint NULL DEFAULT NULL AFTER `msg_direct`; - -ALTER TABLE `param_config` -MODIFY COLUMN `method` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT 'method allow: \"get\", \"get,post,put\", \"delete\"' AFTER `top_display`; - -ALTER TABLE `ne_license` -MODIFY COLUMN `status` enum('ACTIVE','INACTIVE','PENDING') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT 'ACTIVE' AFTER `expiration_date`, -ADD COLUMN IF NOT EXISTS `path` varchar(128) NULL AFTER `status`, -ADD COLUMN IF NOT EXISTS `file_name` varchar(64) NULL AFTER `path`, -ADD COLUMN IF NOT EXISTS `comment` varchar(255) NULL AFTER `file_name`; - -DELETE FROM ne_license WHERE file_name IS NULL; - -ALTER TABLE `trace_data` -ADD COLUMN IF NOT EXISTS `length` int NULL AFTER `msg_direct`; - --- UDM签约存储长度不足 -ALTER TABLE `u_sub_user` -MODIFY COLUMN `sm_data` varchar(1500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'smData' AFTER `cn`, -MODIFY COLUMN `eps_dat` varchar(1500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT 'Eps' AFTER `smf_sel`; - -ALTER TABLE - `ne_backup` -ADD - COLUMN IF NOT EXISTS `comment` varchar(255) NULL AFTER `md5_sum`; - -ALTER TABLE - `sys_dict_data` MODIFY COLUMN `dict_label` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '字典标签' AFTER `dict_sort`, - MODIFY COLUMN `dict_value` varchar(512) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '字典键值' AFTER `dict_label`; - -ALTER TABLE - `mml_command` -ADD - COLUMN IF NOT EXISTS `status` enum('Active', 'Inactive') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT 'Active' COMMENT '激活: Active 未激活: Inactive' AFTER `param_json`; - -UPDATE `mml_command` -SET `status` = 'Inactive' -WHERE - `category` = 'licenseManagement'; - -ALTER TABLE - `mml_subscriber` -ADD - COLUMN IF NOT EXISTS `status` enum('Active', 'Inactive') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT 'Active' COMMENT '激活: Active 未激活: Inactive' AFTER `param_json`; - -ALTER TABLE - `mml_system` -ADD - COLUMN IF NOT EXISTS `status` enum('Active', 'Inactive') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT 'Active' COMMENT '激活: Active 未激活: Inactive' AFTER `param_json`; - -ALTER TABLE - `system_log` -ADD - COLUMN IF NOT EXISTS `operation` varchar(16) NULL AFTER `process_id`; - -UPDATE ne_info SET `province` = '-' WHERE `province` = 'GD'; - -UPDATE ne_info -SET - `vendor_name` = "-" -WHERE `vendor_name` = "AGT"; - -UPDATE ne_info SET `dn` = "-" WHERE `dn` = "TN"; - -ALTER TABLE - `sys_dept` MODIFY COLUMN `dept_name` varchar(128) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '' COMMENT '部门名称' AFTER `ancestors`; - -ALTER TABLE `sys_dict_data` -MODIFY COLUMN `dict_code` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '字典编码' FIRST; - -ALTER TABLE `gold_kpi` -ADD COLUMN IF NOT EXISTS `granularity` tinyint NULL DEFAULT 60 COMMENT '时间颗粒度: 5/10/.../60/300 (秒)' AFTER `index`; - -ALTER TABLE `ne_info` -DROP PRIMARY KEY, -ADD PRIMARY KEY (`id`) USING BTREE; - -ALTER TABLE `gold_kpi` -ADD INDEX IF NOT EXISTS `idx_kpiid` (`kpi_id`) USING BTREE, -ADD INDEX IF NOT EXISTS `idx_timestamp` (`timestamp`) USING BTREE; - -ALTER TABLE `gold_kpi` -DROP INDEX `idx_st_nt_id`, -ADD INDEX IF NOT EXISTS `idx_nt_id` (`ne_type`, `rm_uid`) USING BTREE; - -ALTER TABLE `gold_kpi` -ADD INDEX IF NOT EXISTS `idx_date` (`date`) USING BTREE; - -ALTER TABLE `gold_kpi` -ADD UNIQUE INDEX IF NOT EXISTS `idx_pk_id` (`id`) USING BTREE; - -ALTER TABLE `kpi_title` -ADD INDEX IF NOT EXISTS `idx_kpi_id` (`kpi_id`) USING BTREE; - -ALTER TABLE `alarm` -ADD UNIQUE INDEX IF NOT EXISTS `idx_pk_id` (`id`) USING BTREE; - -REPLACE INTO - `sys_dict_data` -VALUES ( - 4034, 4034, 'menu.dashboard.overview', 'Overview', 'i18n_en', NULL, NULL, '1', 'supervisor', 1705550000000, NULL, 0, NULL - ); - -ALTER TABLE `alarm` -ADD INDEX IF NOT EXISTS `idx_severity_status` ( - `alarm_status`, `orig_severity` -) USING BTREE; - -ALTER TABLE `mml_system` -ADD COLUMN IF NOT EXISTS `object_type` varchar(16) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT 'mml' AFTER `mml_display`; - -ALTER TABLE `ne_state` -MODIFY COLUMN `expiry_date` varchar(11) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT '-' AFTER `serial_num`; - -ALTER TABLE `alarm_forward_log` -ADD COLUMN IF NOT EXISTS `interface` varchar(16) NULL AFTER `event_time`; \ No newline at end of file diff --git a/features/aaaa/aaaa.go b/features/aaaa/aaaa.go index 26c03700..c6dde188 100644 --- a/features/aaaa/aaaa.go +++ b/features/aaaa/aaaa.go @@ -9,11 +9,11 @@ import ( "github.com/go-resty/resty/v2" + "be.ems/lib/config" "be.ems/lib/dborm" "be.ems/lib/log" "be.ems/lib/oauth" "be.ems/lib/services" - "be.ems/restagent/config" ) var ( diff --git a/features/cdr/cdrevent.go b/features/cdr/cdrevent.go index ef6e3fb4..6fd05585 100644 --- a/features/cdr/cdrevent.go +++ b/features/cdr/cdrevent.go @@ -5,11 +5,11 @@ import ( "net/http" "strings" + "be.ems/lib/config" "be.ems/lib/core/ctx" "be.ems/lib/dborm" "be.ems/lib/log" "be.ems/lib/services" - "be.ems/restagent/config" neService "be.ems/src/modules/network_element/service" wsService "be.ems/src/modules/ws/service" ) diff --git a/features/cm/ne.go b/features/cm/ne.go index f5f10071..a00dbe92 100644 --- a/features/cm/ne.go +++ b/features/cm/ne.go @@ -10,11 +10,11 @@ import ( "strings" "time" + "be.ems/lib/config" "be.ems/lib/dborm" "be.ems/lib/global" "be.ems/lib/log" "be.ems/lib/services" - "be.ems/restagent/config" tokenConst "be.ems/src/framework/constants/token" neService "be.ems/src/modules/network_element/service" diff --git a/features/cm/omc/implement.go b/features/cm/omc/implement.go index 6ef2e65b..9d7a4300 100644 --- a/features/cm/omc/implement.go +++ b/features/cm/omc/implement.go @@ -3,7 +3,7 @@ package cm_omc import ( "fmt" - "be.ems/restagent/config" + "be.ems/lib/config" ) const ( diff --git a/features/cm/param.go b/features/cm/param.go index c44c9743..afaaea50 100644 --- a/features/cm/param.go +++ b/features/cm/param.go @@ -3,11 +3,11 @@ package cm import ( "strings" + "be.ems/lib/config" "be.ems/lib/core/ctx" "be.ems/lib/global" "be.ems/lib/log" "be.ems/lib/services" - "be.ems/restagent/config" "encoding/json" "fmt" diff --git a/features/cm/software.go b/features/cm/software.go index 2085b5c5..fd873702 100644 --- a/features/cm/software.go +++ b/features/cm/software.go @@ -10,11 +10,11 @@ import ( "strconv" "strings" + "be.ems/lib/config" "be.ems/lib/dborm" "be.ems/lib/global" "be.ems/lib/log" "be.ems/lib/services" - "be.ems/restagent/config" "github.com/gorilla/mux" ) diff --git a/features/dbrest/backup.go b/features/dbrest/backup.go deleted file mode 100644 index 3bf7bb7f..00000000 --- a/features/dbrest/backup.go +++ /dev/null @@ -1,134 +0,0 @@ -package dbrest - -import ( - "archive/tar" - "compress/gzip" - "io" - "net/http" - "os" - "os/exec" - "path/filepath" - "time" - - "be.ems/lib/core/conf" - "be.ems/lib/dborm" - "be.ems/lib/log" - "be.ems/lib/services" - "be.ems/restagent/config" - _ "github.com/go-sql-driver/mysql" -) - -var ( - // 系统备份-数据库备份 - UriDbBackup = config.DefaultUriPrefix + "/dataManagement/{apiVersion}/dbBackup" - CustomUriDbBackup = config.UriPrefix + "/dataManagement/{apiVersion}/dbBackup" // for external - - // 系统备份-文件备份 - UriConfBackup = config.DefaultUriPrefix + "/dataManagement/{apiVersion}/confBackup" - CustomUriConfBackup = config.UriPrefix + "/dataManagement/{apiVersion}/confBackup" // for external - -) - -// DbBackup 系统备份-数据库备份1 -func DbBackup(w http.ResponseWriter, r *http.Request) { - dbConfigHost := conf.Get("database.host").(string) - dbConfigUser := conf.Get("database.user").(string) - dbConfigPassword := conf.Get("database.password").(string) - dbConfigBackup := conf.Get("database.backup").(string) - - // 备份SQL文件路径 - fileName := "database_backup_" + time.Now().Format("20060102150405") + ".sql" - backupFile := dbConfigBackup + "/" + fileName - - // 执行mysqldump命令进行备份 - cmd := exec.Command("mysqldump", "-u", dbConfigUser, "-p"+dbConfigPassword, "-h", dbConfigHost, "--all-databases", ">", backupFile) - err := cmd.Start() - if err != nil { - services.ResponseErrorWithJson(w, 400, err.Error()) - return - } - - // 备份结果 - res, err := dborm.DbClient.XEngine.Exec("INSERT INTO `sys_backup`(`id`, `created_at`, `updated_at`, `backup_type`, `backup_way`, `name`, `path`) VALUES (null, ?, ?, '1', '0', ?, ?);", time.Now(), time.Now(), fileName, backupFile) - if err != nil { - services.ResponseErrorWithJson(w, 500, err.Error()) - return - } - services.ResponseWithJson(w, 200, res) - log.Info("Backup completed successfully.") -} - -// 系统备份-文件备份0 -func ConfBackup(w http.ResponseWriter, r *http.Request) { - dbConfigBackup := conf.Get("database.backup").(string) - etcDir := conf.Get("ne.omcdir").(string) - - // 文件名 - fileName := "conf_backup_" + time.Now().Format("20060102150405") + ".tar.gz" - backupFile := dbConfigBackup + "/" + fileName - - err := createTarGz(etcDir, backupFile) - if err != nil { - services.ResponseErrorWithJson(w, 500, err.Error()) - return - } - - // 备份结果 - res, err := dborm.DbClient.XEngine.Exec("INSERT INTO `sys_backup`(`id`, `created_at`, `updated_at`, `backup_type`, `backup_way`, `name`, `path`) VALUES (null, ?, ?, '1', '0', ?, ?);", time.Now(), time.Now(), fileName, backupFile) - if err != nil { - services.ResponseErrorWithJson(w, 500, err.Error()) - return - } - services.ResponseWithJson(w, 200, res) - log.Info("Backup completed successfully.") -} - -// 打压缩 -func createTarGz(source, target string) error { - tarFile, err := os.Create(target) - if err != nil { - return err - } - defer tarFile.Close() - - gw := gzip.NewWriter(tarFile) - defer gw.Close() - - tw := tar.NewWriter(gw) - defer tw.Close() - - return filepath.Walk(source, func(path string, info os.FileInfo, err error) error { - if err != nil { - return err - } - - header, err := tar.FileInfoHeader(info, "") - if err != nil { - return err - } - - relPath, err := filepath.Rel(source, path) - if err != nil { - return err - } - - header.Name = relPath - - if err := tw.WriteHeader(header); err != nil { - return err - } - - if !info.Mode().IsRegular() { - return nil - } - - file, err := os.Open(path) - if err != nil { - return err - } - defer file.Close() - - _, err = io.Copy(tw, file) - return err - }) -} diff --git a/features/dbrest/dbrest.go b/features/dbrest/dbrest.go index 4d3888ac..4524d516 100644 --- a/features/dbrest/dbrest.go +++ b/features/dbrest/dbrest.go @@ -9,12 +9,12 @@ import ( "strings" "time" + "be.ems/lib/config" "be.ems/lib/core/ctx" "be.ems/lib/dborm" "be.ems/lib/global" "be.ems/lib/log" "be.ems/lib/services" - "be.ems/restagent/config" "github.com/gorilla/mux" "xorm.io/xorm" diff --git a/features/event/event.go b/features/event/event.go index 23bc1c25..ee93eeeb 100644 --- a/features/event/event.go +++ b/features/event/event.go @@ -6,11 +6,11 @@ import ( "strings" "time" + "be.ems/lib/config" "be.ems/lib/core/ctx" "be.ems/lib/dborm" "be.ems/lib/log" "be.ems/lib/services" - "be.ems/restagent/config" "be.ems/src/framework/utils/parse" neService "be.ems/src/modules/network_element/service" wsService "be.ems/src/modules/ws/service" diff --git a/features/file/file.go b/features/file/file.go index 1906acf6..bdd971f8 100644 --- a/features/file/file.go +++ b/features/file/file.go @@ -4,9 +4,9 @@ import ( "net/http" "path/filepath" + "be.ems/lib/config" "be.ems/lib/log" "be.ems/lib/services" - "be.ems/restagent/config" "github.com/gorilla/mux" ) diff --git a/features/fm/alarm.go b/features/fm/alarm.go index e22eca17..7883ee1d 100644 --- a/features/fm/alarm.go +++ b/features/fm/alarm.go @@ -10,11 +10,11 @@ import ( "strings" "time" + "be.ems/lib/config" "be.ems/lib/dborm" "be.ems/lib/global" "be.ems/lib/log" "be.ems/lib/services" - "be.ems/restagent/config" "xorm.io/xorm" "github.com/go-resty/resty/v2" diff --git a/features/fm/email.go b/features/fm/email.go index aa25d929..bd4d0c3a 100644 --- a/features/fm/email.go +++ b/features/fm/email.go @@ -5,9 +5,9 @@ import ( "fmt" "strings" + "be.ems/lib/config" "be.ems/lib/dborm" "be.ems/lib/log" - "be.ems/restagent/config" "gopkg.in/gomail.v2" ) diff --git a/features/fm/smsforward.go b/features/fm/smsforward.go index 0cb4ac7f..6ba40eb8 100644 --- a/features/fm/smsforward.go +++ b/features/fm/smsforward.go @@ -8,9 +8,9 @@ import ( "strings" "time" + "be.ems/lib/config" "be.ems/lib/dborm" "be.ems/lib/log" - "be.ems/restagent/config" "github.com/linxGnu/gosmpp" "github.com/linxGnu/gosmpp/data" "github.com/linxGnu/gosmpp/pdu" diff --git a/features/handle/handle.go b/features/handle/handle.go index 654fd166..daeaf726 100644 --- a/features/handle/handle.go +++ b/features/handle/handle.go @@ -8,17 +8,15 @@ import ( "strconv" "strings" - "be.ems/lib/dborm" - "github.com/gorilla/mux" g "github.com/gosnmp/gosnmp" + "be.ems/lib/config" "be.ems/lib/global" "be.ems/lib/log" "be.ems/lib/oauth" "be.ems/lib/services" "be.ems/lib/session" - "be.ems/restagent/config" ) var TodoList []stTodo @@ -88,11 +86,7 @@ func IsWrongOAuthInfo(oAuthBody OAuthBody) bool { func IsValidOAuthUri(r *http.Request) bool { vars := mux.Vars(r) Uri := vars["apiCategory"] + "/" + vars["apiVersion"] // 获取Uri - if Uri != "securityManagement/v1" { - return false - } - - return true + return Uri == "securityManagement/v1" } func IsVallidContentType(r *http.Request) bool { @@ -164,26 +158,13 @@ func LoginFromOMC(w http.ResponseWriter, r *http.Request) { services.ResponseBadRequest400IncorrectLogin(w) } */ - validUser, changePassword, _ := dborm.XormCheckLoginUser(oAuthBody.UserName, - oAuthBody.Value, config.GetYamlConfig().Auth.Crypt) - if validUser { - // plist := config.GetPermissionFromConfig(oAuthBody.UserName, oAuthBody.GrantType) - plist := []bool{true, true, true, true} - log.Debug("Permission list:", plist) + // response 400-4 + log.Error("Authentication failed, mismatch user or password") - token := globalSession.NewSession(w, r, plist) - services.ResponseStatusOK200Login(w, token, changePassword) - } else { - // response 400-4 - log.Error("Authentication failed, mismatch user or password") - - services.ResponseBadRequest400IncorrectLogin(w) - } - return + services.ResponseBadRequest400IncorrectLogin(w) } func LogoutFromOMC(w http.ResponseWriter, r *http.Request) { - log.Debug("LogoutFromOMC processing... ") // check media type(content type) only support "application/json" if !IsVallidContentType(r) { @@ -202,14 +183,14 @@ func LogoutFromOMC(w http.ResponseWriter, r *http.Request) { // error processing ... // 401-1 response token, ret := globalSession.IsCarriedToken(r) - if ret == false { + if ret { log.Debug("AccessToken is not carried") services.ResponseUnauthorized401AccessTokenNotCarried(w) return } // 401-2 response - if globalSession.IsValidToken(token) == false { + if globalSession.IsValidToken(token) { log.Debug("AccessToken fails or does not exist") services.ResponseUnauthorized401AccessTokenNotExist(w) return @@ -217,7 +198,6 @@ func LogoutFromOMC(w http.ResponseWriter, r *http.Request) { globalSession.EndSession(w, r) services.ResponseStatusOK200Null(w) - return } func HandshakeFromOMC(w http.ResponseWriter, r *http.Request) { @@ -240,7 +220,7 @@ func HandshakeFromOMC(w http.ResponseWriter, r *http.Request) { // error processing ... // 401-1 response token, ret := globalSession.IsCarriedToken(r) - if ret == false { + if !ret { log.Debug("AccessToken is not carried") services.ResponseUnauthorized401AccessTokenNotCarried(w) return @@ -255,7 +235,6 @@ func HandshakeFromOMC(w http.ResponseWriter, r *http.Request) { // 200 response services.ResponseStatusOK200Null(w) - return } var ( @@ -363,14 +342,14 @@ func GetNRMByUri(w http.ResponseWriter, r *http.Request) { // error processing ... // 401-1 response token, ret := globalSession.IsCarriedToken(r) - if ret == false { + if !ret { log.Debug("AccessToken is not carried") services.ResponseUnauthorized401AccessTokenNotCarried(w) return } // 401-2 response - if globalSession.IsValidToken(token) == false { + if globalSession.IsValidToken(token) { log.Debug("AccessToken fails or does not exist") services.ResponseUnauthorized401AccessTokenNotExist(w) return @@ -379,7 +358,7 @@ func GetNRMByUri(w http.ResponseWriter, r *http.Request) { // todo... plist := globalSession.GetPermissionFromSession(token) log.Debug("permission list:", plist) - if len(plist) == 0 || plist[0] == false { + if len(plist) == 0 || !plist[0] { log.Debug("User permission deny") services.ResponseForbidden403NotPermission(w) return @@ -506,7 +485,7 @@ func GetNRMByUri(w http.ResponseWriter, r *http.Request) { } } - getResponse := services.DataResponse{nameValues} + getResponse := services.DataResponse{Data: nameValues} services.ResponseWithJson(w, http.StatusOK, getResponse) } diff --git a/features/lm/logbak.go b/features/lm/logbak.go index b744e826..0efd87fd 100644 --- a/features/lm/logbak.go +++ b/features/lm/logbak.go @@ -6,10 +6,10 @@ import ( "os/exec" "time" + "be.ems/lib/config" "be.ems/lib/global" "be.ems/lib/log" "be.ems/lib/services" - "be.ems/restagent/config" "github.com/gorilla/mux" "xorm.io/xorm" diff --git a/features/mml/mml.go b/features/mml/mml.go index feaa6910..6878ca71 100644 --- a/features/mml/mml.go +++ b/features/mml/mml.go @@ -10,12 +10,12 @@ import ( "strings" "time" + "be.ems/lib/config" "be.ems/lib/core/ctx" "be.ems/lib/global" "be.ems/lib/log" "be.ems/lib/mmlp" "be.ems/lib/services" - "be.ems/restagent/config" tokenConst "be.ems/src/framework/constants/token" neModel "be.ems/src/modules/network_element/model" neService "be.ems/src/modules/network_element/service" diff --git a/features/nbi/nbi.go b/features/nbi/nbi.go index 3686fe51..44ce90dd 100644 --- a/features/nbi/nbi.go +++ b/features/nbi/nbi.go @@ -11,11 +11,11 @@ import ( "github.com/gorilla/mux" + "be.ems/lib/config" "be.ems/lib/global" "be.ems/lib/log" "be.ems/lib/oauth" "be.ems/lib/services" - "be.ems/restagent/config" ) type ErrorOAuthResponse struct { diff --git a/features/nbi/snmp.go b/features/nbi/snmp.go index 1ab4c004..9e5e727b 100644 --- a/features/nbi/snmp.go +++ b/features/nbi/snmp.go @@ -9,9 +9,9 @@ import ( "github.com/gorilla/mux" g "github.com/gosnmp/gosnmp" + "be.ems/lib/config" "be.ems/lib/log" "be.ems/lib/services" - "be.ems/restagent/config" ) func init() { diff --git a/features/pm/performance.go b/features/pm/performance.go index cffa01a8..b5efe1e2 100644 --- a/features/pm/performance.go +++ b/features/pm/performance.go @@ -12,12 +12,12 @@ import ( "be.ems/features/pm/kpi_c_report" "be.ems/features/pm/kpi_c_title" + "be.ems/lib/config" "be.ems/lib/dborm" evaluate "be.ems/lib/eval" "be.ems/lib/global" "be.ems/lib/log" "be.ems/lib/services" - "be.ems/restagent/config" neService "be.ems/src/modules/network_element/service" wsService "be.ems/src/modules/ws/service" diff --git a/features/security/account.go b/features/security/account.go index 9440aba9..919b2bc7 100644 --- a/features/security/account.go +++ b/features/security/account.go @@ -6,12 +6,12 @@ import ( "net/http" "strings" + "be.ems/lib/config" "be.ems/lib/dborm" "be.ems/lib/global" "be.ems/lib/log" "be.ems/lib/oauth" "be.ems/lib/services" - "be.ems/restagent/config" ) var ( @@ -79,14 +79,6 @@ func LoginFromOMC(w http.ResponseWriter, r *http.Request) { services.ResponseBadRequest400IncorrectLogin(w) } */ - validUser, user, err := dborm.XormCheckLoginUser(oAuthBody.UserName, - oAuthBody.Value, config.GetYamlConfig().Auth.Crypt) - if !validUser || err != nil { - // response 400-4 - log.Error("Authentication failed, mismatch user or password") - services.ResponseErrorWithJson(w, 400, err.Error()) - return - } token := oauth.GenRandToken("omc") // Generate new token to session ID sourceAddr := r.RemoteAddr[:strings.Index(r.RemoteAddr, ":")] @@ -103,11 +95,6 @@ func LoginFromOMC(w http.ResponseWriter, r *http.Request) { return } - if user != nil { - empty := []string{} - services.ResponseStatusOK200LoginWhitRP(w, token, user, empty, empty) - return - } services.ResponseBadRequest400IncorrectLogin(w) } diff --git a/features/sm/backup.go b/features/sm/backup.go index a946de8a..84028f40 100644 --- a/features/sm/backup.go +++ b/features/sm/backup.go @@ -8,9 +8,9 @@ import ( "os/exec" "time" + "be.ems/lib/config" "be.ems/lib/log" "be.ems/lib/services" - "be.ems/restagent/config" _ "github.com/go-sql-driver/mysql" ) diff --git a/features/state/getstate.go b/features/state/getstate.go index 3898fef2..18a43477 100644 --- a/features/state/getstate.go +++ b/features/state/getstate.go @@ -14,11 +14,11 @@ import ( "github.com/go-resty/resty/v2" "github.com/gorilla/mux" + "be.ems/lib/config" "be.ems/lib/dborm" "be.ems/lib/global" "be.ems/lib/log" "be.ems/lib/services" - "be.ems/restagent/config" tokenConst "be.ems/src/framework/constants/token" ) diff --git a/features/trace/trace.go b/features/trace/trace.go index 73a8c829..252f47e3 100644 --- a/features/trace/trace.go +++ b/features/trace/trace.go @@ -12,12 +12,12 @@ import ( "github.com/go-resty/resty/v2" "github.com/gorilla/mux" + "be.ems/lib/config" "be.ems/lib/dborm" "be.ems/lib/global" "be.ems/lib/log" "be.ems/lib/run" "be.ems/lib/services" - "be.ems/restagent/config" ) var ( diff --git a/features/ue/ue.go b/features/ue/ue.go index f8a66dcc..6d417fb5 100644 --- a/features/ue/ue.go +++ b/features/ue/ue.go @@ -8,12 +8,12 @@ import ( "strings" "time" + "be.ems/lib/config" "be.ems/lib/core/ctx" "be.ems/lib/dborm" "be.ems/lib/global" "be.ems/lib/log" "be.ems/lib/services" - "be.ems/restagent/config" tokenConst "be.ems/src/framework/constants/token" "be.ems/src/modules/network_element/model" neService "be.ems/src/modules/network_element/service" diff --git a/go.mod b/go.mod index 8dc7c383..edfdad81 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module be.ems -go 1.21 +go 1.22.0 require ( github.com/dlclark/regexp2 v1.11.4 @@ -13,7 +13,6 @@ require ( github.com/gorilla/mux v1.8.1 github.com/gorilla/websocket v1.5.3 github.com/gosnmp/gosnmp v1.38.0 - github.com/jasonlvhit/gocron v0.0.1 github.com/lestrrat/go-file-rotatelogs v0.0.0-20180223000712-d3151e2a480f github.com/linxGnu/gosmpp v0.3.0 github.com/matoous/go-nanoid/v2 v2.1.0 @@ -22,19 +21,22 @@ require ( github.com/mssola/useragent v1.0.0 github.com/patrickmn/go-cache v2.1.0+incompatible github.com/pkg/sftp v1.13.6 - github.com/prometheus-community/pro-bing v0.4.1 - github.com/redis/go-redis/v9 v9.6.1 + github.com/prometheus-community/pro-bing v0.5.0 + github.com/redis/go-redis/v9 v9.7.0 github.com/robfig/cron/v3 v3.0.1 - github.com/shirou/gopsutil/v4 v4.24.7 + github.com/shirou/gopsutil/v4 v4.24.12 github.com/slayercat/GoSNMPServer v0.5.2 github.com/spf13/pflag v1.0.5 github.com/spf13/viper v1.19.0 - github.com/xuri/excelize/v2 v2.8.1 + github.com/swaggo/files v1.0.1 + github.com/swaggo/gin-swagger v1.6.0 + github.com/swaggo/swag v1.8.12 + github.com/xuri/excelize/v2 v2.9.0 github.com/xuri/xgen v0.0.0-20240722131518-d0691b701898 - golang.org/x/crypto v0.26.0 - golang.org/x/net v0.28.0 - golang.org/x/term v0.23.0 - golang.org/x/text v0.17.0 + golang.org/x/crypto v0.31.0 + golang.org/x/net v0.33.0 + golang.org/x/term v0.28.0 + golang.org/x/text v0.21.0 gopkg.in/gomail.v2 v2.0.0-20160411212932-81ebce5c23df gopkg.in/yaml.v3 v3.0.1 gorm.io/driver/mysql v1.5.7 @@ -43,21 +45,27 @@ require ( ) require ( - filippo.io/edwards25519 v1.1.0 // indirect // indirect - github.com/beorn7/perks v1.0.1 // indirect // indirect - github.com/bytedance/sonic v1.12.1 // indirect // indirect - github.com/bytedance/sonic/loader v0.2.0 // indirect // indirect - github.com/cespare/xxhash/v2 v2.3.0 // indirect // indirect + github.com/KyleBanks/depth v1.2.1 // indirect + github.com/ebitengine/purego v0.8.1 // indirect + filippo.io/edwards25519 v1.1.0 // indirect; indirect // indirect + github.com/beorn7/perks v1.0.1 // indirect; indirect // indirect + github.com/bytedance/sonic v1.12.1 // indirect; indirect // indirect + github.com/bytedance/sonic/loader v0.2.0 // indirect; indirect // indirect + github.com/cespare/xxhash/v2 v2.3.0 // indirect; indirect // indirect github.com/chenjiandongx/ginprom v0.0.0-20210617023641-6c809602c38a github.com/cloudwego/base64x v0.1.4 // indirect github.com/cloudwego/iasm v0.2.0 // indirect github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect github.com/fastly/go-utils v0.0.0-20180712184237-d95a45783239 // indirect - github.com/fsnotify/fsnotify v1.7.0 + github.com/fsnotify/fsnotify v1.7.0 // indirect github.com/gabriel-vasile/mimetype v1.4.5 // indirect github.com/gin-contrib/sse v0.1.0 // indirect github.com/go-forks/fsnotify v1.4.7 // indirect github.com/go-ole/go-ole v1.3.0 // indirect + github.com/go-openapi/jsonpointer v0.21.0 // indirect + github.com/go-openapi/jsonreference v0.21.0 // indirect + github.com/go-openapi/spec v0.21.0 // indirect + github.com/go-openapi/swag v0.23.0 // indirect github.com/go-playground/locales v0.14.1 // indirect github.com/go-playground/universal-translator v0.18.1 // indirect github.com/go-playground/validator/v10 v10.22.0 // indirect @@ -70,16 +78,18 @@ require ( github.com/jinzhu/inflection v1.0.0 // indirect github.com/jinzhu/now v1.1.5 // indirect github.com/jonboulle/clockwork v0.4.0 // indirect + github.com/josharian/intern v1.0.0 // indirect github.com/json-iterator/go v1.1.12 // indirect - github.com/klauspost/compress v1.17.9 // indirect // indirect - github.com/klauspost/cpuid/v2 v2.2.8 // indirect // indirect + github.com/klauspost/compress v1.17.9 // indirect; indirect // indirect + github.com/klauspost/cpuid/v2 v2.2.8 // indirect; indirect // indirect github.com/konsorten/go-windows-terminal-sequences v1.0.1 // indirect - github.com/kr/fs v0.1.0 // indirect // indirect - github.com/leodido/go-urn v1.4.0 // indirect // indirect + github.com/kr/fs v0.1.0 // indirect; indirect // indirect + github.com/leodido/go-urn v1.4.0 // indirect; indirect // indirect github.com/lestrrat/go-envload v0.0.0-20180220120943-6ed08b54a570 // indirect github.com/lestrrat/go-strftime v0.0.0-20180220042222-ba3bf9c1d042 // indirect github.com/lufia/plan9stats v0.0.0-20240513124658-fba389f38bae // indirect github.com/magiconair/properties v1.8.7 // indirect + github.com/mailru/easyjson v0.9.0 // indirect github.com/mattn/go-isatty v0.0.20 // indirect github.com/metaleap/go-util v0.0.0-20180330192724-a09253046f73 // indirect github.com/mitchellh/mapstructure v1.5.0 // indirect @@ -98,17 +108,17 @@ require ( github.com/prometheus/common v0.55.0 // indirect github.com/prometheus/procfs v0.15.1 // indirect github.com/richardlehane/mscfb v1.0.4 // indirect - github.com/richardlehane/msoleps v1.0.3 // indirect + github.com/richardlehane/msoleps v1.0.4 // indirect github.com/sagikazarmark/locafero v0.6.0 // indirect - github.com/sagikazarmark/slog-shim v0.1.0 // indirect // indirect + github.com/sagikazarmark/slog-shim v0.1.0 // indirect; indirect // indirect github.com/shirou/gopsutil/v3 v3.23.11 // indirect github.com/shoenig/go-m1cpu v0.1.6 // indirect github.com/sirupsen/logrus v1.4.2 // indirect - github.com/sourcegraph/conc v0.3.0 // indirect // indirect - github.com/spf13/afero v1.11.0 // indirect // indirect - github.com/spf13/cast v1.7.0 // indirect // indirect - github.com/subosito/gotenv v1.6.0 // indirect // indirect - github.com/syndtr/goleveldb v1.0.0 // indirect // indirect + github.com/sourcegraph/conc v0.3.0 // indirect; indirect // indirect + github.com/spf13/afero v1.11.0 // indirect; indirect // indirect + github.com/spf13/cast v1.7.0 // indirect; indirect // indirect + github.com/subosito/gotenv v1.6.0 // indirect; indirect // indirect + github.com/syndtr/goleveldb v1.0.0 // indirect; indirect // indirect github.com/tebeka/strftime v0.1.5 // indirect github.com/tklauser/go-sysconf v0.3.14 // indirect github.com/tklauser/numcpus v0.8.0 // indirect @@ -121,8 +131,9 @@ require ( golang.org/x/arch v0.9.0 // indirect golang.org/x/exp v0.0.0-20240808152545-0cdaa3abc0fa // indirect golang.org/x/image v0.19.0 // indirect - golang.org/x/sync v0.8.0 // indirect - golang.org/x/sys v0.24.0 // indirect + golang.org/x/sync v0.10.0 // indirect + golang.org/x/sys v0.29.0 // indirect + golang.org/x/tools v0.28.0 // indirect golang.org/x/tools/cmd/guru v0.1.1-deprecated // indirect google.golang.org/protobuf v1.34.2 // indirect gopkg.in/alexcesaro/quotedprintable.v3 v3.0.0-20150716171945-2caba252f4dc // indirect diff --git a/go.sum b/go.sum index 714cab42..41165f01 100644 --- a/go.sum +++ b/go.sum @@ -1,20 +1,10 @@ -cloud.google.com/go v0.112.1/go.mod h1:+Vbu+Y1UU+I1rjmzeMOb/8RfkKJK2Gyxi1X6jJCZLo4= -cloud.google.com/go/compute v1.24.0/go.mod h1:kw1/T+h/+tK2LJK0wiPPx1intgdAM3j/g3hFDlscY40= -cloud.google.com/go/compute/metadata v0.2.3/go.mod h1:VAV5nSsACxMJvgaAuX6Pk2AawlZn8kiOGuCv6gTkwuA= -cloud.google.com/go/firestore v1.15.0/go.mod h1:GWOxFXcv8GZUtYpWHw/w6IuYNux/BtmeVTMmjrm4yhk= -cloud.google.com/go/iam v1.1.5/go.mod h1:rB6P/Ic3mykPbFio+vo7403drjlgvoWfYpJhMXEbzv8= -cloud.google.com/go/longrunning v0.5.5/go.mod h1:WV2LAxD8/rg5Z1cNW6FJ/ZpX4E4VnDnoTk0yawPBB7s= -cloud.google.com/go/storage v1.35.1/go.mod h1:M6M/3V/D3KpzMTJyPOR/HU6n2Si5QdaXYEsng2xgOs8= filippo.io/edwards25519 v1.1.0 h1:FNf4tywRC1HmFuKW5xopWpigGjJKiJSV0Cqo0cJWDaA= filippo.io/edwards25519 v1.1.0/go.mod h1:BxyFTGdWcka3PhytdK4V28tE5sGfRvvvRV7EaN4VDT4= gitea.com/xorm/sqlfiddle v0.0.0-20180821085327-62ce714f951a h1:lSA0F4e9A2NcQSqGqTOXqu2aRi/XEQxDCBwM8yJtE6s= gitea.com/xorm/sqlfiddle v0.0.0-20180821085327-62ce714f951a/go.mod h1:EXuID2Zs0pAQhH8yz+DNjUbjppKQzKFAn28TMYPB6IU= -gitee.com/travelliu/dm v1.8.11192/go.mod h1:DHTzyhCrM843x9VdKVbZ+GKXGRbKM2sJ4LxihRxShkE= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= -github.com/alecthomas/kingpin/v2 v2.4.0/go.mod h1:0gyi0zQnjuFk8xrkNKamJoyUo382HRL7ATRpFZCw6tE= -github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137/go.mod h1:OMCwj8VM1Kc9e19TLln2VL61YJF0x1XFtfdL4JdbSyE= -github.com/allegro/bigcache/v3 v3.1.0/go.mod h1:aPyh7jEvrog9zAwx5N7+JUQX5dZTSGpxF1LAR4dr35I= -github.com/armon/go-metrics v0.4.1/go.mod h1:E6amYzXo6aW1tqzoZGT755KkbgrJsSdpwZ+3JqfkOG4= +github.com/KyleBanks/depth v1.2.1 h1:5h8fQADFrWtarTdtDudMmGsC7GPbOAu6RVB3ffsVFHc= +github.com/KyleBanks/depth v1.2.1/go.mod h1:jzSb9d0L43HxTQfT+oSA1EEp2q+ne2uh6XgeJcm8brE= github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= github.com/bsm/ginkgo/v2 v2.12.0 h1:Ny8MWAHyOepLGlLKYmXG4IEkioBysk6GpaRTLC8zwWs= @@ -34,8 +24,6 @@ github.com/cloudwego/base64x v0.1.4 h1:jwCgWpFanWmN8xoIUHa2rtzmkd5J2plF/dnLS6Xd/ github.com/cloudwego/base64x v0.1.4/go.mod h1:0zlkT4Wn5C6NdauXdJRhSKRlJvmclQ1hhJgA0rcu/8w= github.com/cloudwego/iasm v0.2.0 h1:1KNIy1I1H9hNNFEEH3DVnI4UujN+1zjpuk6gwHLTssg= github.com/cloudwego/iasm v0.2.0/go.mod h1:8rXZaNYT2n95jn+zTI1sDr+IgcD2GVs0nlbbQPiEFhY= -github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= -github.com/coreos/go-systemd/v22 v22.3.2/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc= github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -47,10 +35,10 @@ github.com/dlclark/regexp2 v1.11.4 h1:rPYF9/LECdNymJufQKmri9gV604RvvABwgOA8un7yA github.com/dlclark/regexp2 v1.11.4/go.mod h1:DHkYz0B9wPfa6wondMfaivmHpzrQ3v9q8cnmRbL6yW8= github.com/dustin/go-humanize v1.0.0 h1:VSnTsYCnlFHaM2/igO1h6X3HA71jcobQuxemgkq4zYo= github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= +github.com/ebitengine/purego v0.8.1 h1:sdRKd6plj7KYW33EH5As6YKfe8m9zbN9JMrOjNVF/BE= +github.com/ebitengine/purego v0.8.1/go.mod h1:iIjxzd6CiRiOG0UyXP+V1+jWqUXVjPKLAI0mRfJZTmQ= github.com/fastly/go-utils v0.0.0-20180712184237-d95a45783239 h1:Ghm4eQYC0nEPnSJdVkTrXpu9KtoVCSo1hg7mtI7G9KU= github.com/fastly/go-utils v0.0.0-20180712184237-d95a45783239/go.mod h1:Gdwt2ce0yfBxPvZrHkprdPPTTS3N5rwmLE8T22KBXlw= -github.com/fatih/color v1.14.1/go.mod h1:2oHN61fhTpgcxD3TSWCgKDiH1+x4OiDVVGH8WlgGZGg= -github.com/felixge/httpsnoop v1.0.4/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= github.com/frankban/quicktest v1.14.6 h1:7Xjx+VpznH+oBnejlPUj8oUpdxnVs4f8XU8WnHkI4W8= github.com/frankban/quicktest v1.14.6/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= @@ -59,19 +47,25 @@ github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nos github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM= github.com/gabriel-vasile/mimetype v1.4.5 h1:J7wGKdGu33ocBOhGy0z653k/lFKLFDPJMG8Gql0kxn4= github.com/gabriel-vasile/mimetype v1.4.5/go.mod h1:ibHel+/kbxn9x2407k1izTA1S81ku1z/DlgOW2QE0M4= +github.com/gin-contrib/gzip v0.0.6 h1:NjcunTcGAj5CO1gn4N8jHOSIeRFHIbn51z6K+xaN4d4= +github.com/gin-contrib/gzip v0.0.6/go.mod h1:QOJlmV2xmayAjkNS2Y8NQsMneuRShOU/kjovCXNuzzk= github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE= github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI= github.com/gin-gonic/gin v1.10.0 h1:nTuyha1TYqgedzytsKYqna+DfLos46nTv2ygFy86HFU= github.com/gin-gonic/gin v1.10.0/go.mod h1:4PMNQiOhvDRa013RKVbsiNwoyezlm2rm0uX/T7kzp5Y= github.com/go-forks/fsnotify v1.4.7 h1:lyiU2Wqd4fNGCQDn9dZ4UxSiSFgeU1rM6yIfahk8haY= github.com/go-forks/fsnotify v1.4.7/go.mod h1:AU8mot+GznW5+B4jRJHxKg/2EeO+jMORGRkKSxs0biw= -github.com/go-kit/log v0.2.1/go.mod h1:NwTd00d/i8cPZ3xOwwiv2PO5MOcx78fFErGNcVmBjv0= -github.com/go-logfmt/logfmt v0.5.1/go.mod h1:WYhtIu8zTZfxdn5+rREduYbwxfcBr/Vr6KEVveWlfTs= -github.com/go-logr/logr v1.4.1/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= -github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0= github.com/go-ole/go-ole v1.3.0 h1:Dt6ye7+vXGIKZ7Xtk4s6/xVdGDQynvom7xCFEdWr6uE= github.com/go-ole/go-ole v1.3.0/go.mod h1:5LS6F96DhAwUc7C+1HLexzMXY1xGRSryjyPPKW6zv78= +github.com/go-openapi/jsonpointer v0.21.0 h1:YgdVicSA9vH5RiHs9TZW5oyafXZFc6+2Vc1rr/O9oNQ= +github.com/go-openapi/jsonpointer v0.21.0/go.mod h1:IUyH9l/+uyhIYQ/PXVA41Rexl+kOkAPDdXEYns6fzUY= +github.com/go-openapi/jsonreference v0.21.0 h1:Rs+Y7hSXT83Jacb7kFyjn4ijOuVGSvOdF2+tg1TRrwQ= +github.com/go-openapi/jsonreference v0.21.0/go.mod h1:LmZmgsrTkVg9LG4EaHeY8cBDslNPMo06cago5JNLkm4= +github.com/go-openapi/spec v0.21.0 h1:LTVzPc3p/RzRnkQqLRndbAzjY0d0BCL72A6j3CdL9ZY= +github.com/go-openapi/spec v0.21.0/go.mod h1:78u6VdPw81XU44qEWGhtr982gJ5BWg2c0I5XwVMotYk= +github.com/go-openapi/swag v0.23.0 h1:vsEVJDUo2hPJ2tu0/Xc+4noaxyEffXNIs3cOULZ+GrE= +github.com/go-openapi/swag v0.23.0/go.mod h1:esZ8ITTYEsH1V2trKHjAN8Ai7xHb8RV+YSZ577vPjgQ= github.com/go-playground/assert/v2 v2.2.0 h1:JvknZsQTYeFEAhQwI4qEt9cyV5ONwRHC+lYKSsYSR8s= github.com/go-playground/assert/v2 v2.2.0/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4= github.com/go-playground/locales v0.14.1 h1:EWaQ/wswjilfKLTECiXz7Rh+3BjFhfDFKv/oXslEjJA= @@ -80,7 +74,6 @@ github.com/go-playground/universal-translator v0.18.1 h1:Bcnm0ZwsGyWbCzImXv+pAJn github.com/go-playground/universal-translator v0.18.1/go.mod h1:xekY+UJKNuX9WP91TpwSH2VMlDf28Uj24BCp08ZFTUY= github.com/go-playground/validator/v10 v10.22.0 h1:k6HsTZ0sTnROkhS//R0O+55JgM8C4Bx7ia+JlgcnOao= github.com/go-playground/validator/v10 v10.22.0/go.mod h1:dbuPbCMFw/DrkbEynArYaCwl3amGuJotoKCe95atGMM= -github.com/go-redis/redis v6.15.5+incompatible/go.mod h1:NAIEuMOZ/fxfXJIrKDQDz8wamY7mA7PouImQ2Jvg6kA= github.com/go-resty/resty/v2 v2.14.0 h1:/rhkzsAqGQkozwfKS5aFAbb6TyKd3zyFRWcdRXLPCAU= github.com/go-resty/resty/v2 v2.14.0/go.mod h1:IW6mekUOsElt9C7oWr0XRt9BNSD6D5rr9mhk6NjmNHg= github.com/go-sql-driver/mysql v1.7.0/go.mod h1:OXbVy3sEdcQ2Doequ6Z5BW6fXNQTmx+9S1MCJN5yJMI= @@ -89,14 +82,10 @@ github.com/go-sql-driver/mysql v1.8.1/go.mod h1:wEBSXgmK//2ZFJyE+qWnIsVGmvmEKlqw github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE= github.com/goccy/go-json v0.10.3 h1:KZ5WoDbxAIgm2HNbYckL0se1fHD6rz5j4ywS6ebzDqA= github.com/goccy/go-json v0.10.3/go.mod h1:oq7eo15ShAhp70Anwd5lgX2pLfOS3QCiwU/PULtXL6M= -github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= github.com/golang-jwt/jwt/v5 v5.2.1 h1:OuVbFODueb089Lh128TAcimifWaLhJwVflnrgM17wHk= github.com/golang-jwt/jwt/v5 v5.2.1/go.mod h1:pqrtFR0X4osieyHYxtmOUWsAWrfe1Q5UVIyoH402zdk= -github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9/go.mod h1:8vg3r2VgvsThLBIFL93Qb5yWzgyZWhEmBwUJWevAkK0= -github.com/golang-sql/sqlexp v0.1.0/go.mod h1:J4ad9Vo8ZCWQ2GMrC4UCQy1JpCbwU9m3EOqtpKwwwHI= github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 h1:DACJavvAHhabrF08vX0COfcOBJRhZ8lUbR+ZWIs0Y5g= github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0/go.mod h1:E/TSTwGwJL78qG/PmXZO1EjYhfJinVAhrmmHX6Z8B9k= -github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/mock v1.6.0/go.mod h1:p6yTPP+5HYm5mzsMV8JkE6ZKdX+/wYM6Hr+LicevLPs= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= @@ -105,7 +94,6 @@ github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrU github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/golang/snappy v0.0.4 h1:yAGX7huGHXlcLOEtBnF4w7FQwA26wojNCwOYAEhLjQM= github.com/golang/snappy v0.0.4/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= @@ -118,12 +106,8 @@ github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/gopacket v1.1.19/go.mod h1:iJ8V8n6KS+z2U1A8pUwu8bW5SyEMkXJB8Yo/Vo+TKTo= -github.com/google/s2a-go v0.1.7/go.mod h1:50CgR4k1jNlWBu4UfS4AcfhVe1r6pdZPygJ3R8F0Qdw= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/googleapis/enterprise-certificate-proxy v0.3.2/go.mod h1:VLSiSSBs/ksPL8kq3OBOQ6WRI2QnaFynd1DCjZ62+V0= -github.com/googleapis/gax-go/v2 v2.12.3/go.mod h1:AKloxT6GtNbaLm8QTNSidHUVsHYcBHwWRvkNFJUQcS4= -github.com/googleapis/google-cloud-go-testing v0.0.0-20210719221736-1c9a4c676720/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g= github.com/gopacket/gopacket v1.2.0 h1:eXbzFad7f73P1n2EJHQlsKuvIMJjVXK5tXoSca78I3A= github.com/gopacket/gopacket v1.2.0/go.mod h1:BrAKEy5EOGQ76LSqh7DMAr7z0NNPdczWm2GxCG7+I8M= github.com/gorilla/mux v1.8.1 h1:TuBL49tXwgrFYWhqrNgrUNEY92u81SPhu7sTdzQEiWY= @@ -133,28 +117,9 @@ github.com/gorilla/websocket v1.5.3/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/ad github.com/gosnmp/gosnmp v1.36.2-0.20231009064202-d306ed5aa998/go.mod h1:O938QjIS4vpSag1UTcnnBq9MfNmimuOGtvQsT1NbErc= github.com/gosnmp/gosnmp v1.38.0 h1:I5ZOMR8kb0DXAFg/88ACurnuwGwYkXWq3eLpJPHMEYc= github.com/gosnmp/gosnmp v1.38.0/go.mod h1:FE+PEZvKrFz9afP9ii1W3cprXuVZ17ypCcyyfYuu5LY= -github.com/hashicorp/consul/api v1.28.2/go.mod h1:KyzqzgMEya+IZPcD65YFoOVAgPpbfERu4I/tzG6/ueE= -github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= -github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48= -github.com/hashicorp/go-hclog v1.5.0/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M= -github.com/hashicorp/go-immutable-radix v1.3.1/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= -github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= -github.com/hashicorp/go-rootcerts v1.0.2/go.mod h1:pqUvnprVnM5bf7AOirdbb01K4ccR319Vf4pU3K5EGc8= -github.com/hashicorp/golang-lru v0.5.4/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= -github.com/hashicorp/serf v0.10.1/go.mod h1:yL2t6BqATOLGc5HF7qbFkTfXoPIY0WZdWHfEvMqbG+4= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= -github.com/jackc/chunkreader/v2 v2.0.1/go.mod h1:odVSm741yZoC3dpHEUXIqA9tQRhFrgOHwnPIn9lDKlk= -github.com/jackc/pgconn v1.14.0/go.mod h1:9mBNlny0UvkgJdCDvdVHYSjI+8tD2rnKK69Wz8ti++E= -github.com/jackc/pgio v1.0.0/go.mod h1:oP+2QK2wFfUWgr+gxjoBH9KGBb31Eio69xUb0w5bYf8= -github.com/jackc/pgpassfile v1.0.0/go.mod h1:CEx0iS5ambNFdcRtxPj5JhEz+xB6uRky5eyVu/W2HEg= -github.com/jackc/pgproto3/v2 v2.3.2/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA= -github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a/go.mod h1:5TJZWKEWniPve33vlWYSoGYefn3gLQRzjfDlhSJ9ZKM= -github.com/jackc/pgtype v1.14.0/go.mod h1:LUMuVrfsFfdKGLw+AFFVv6KtHOFMwRgDDzBt76IqCA4= -github.com/jackc/pgx/v4 v4.18.0/go.mod h1:FydWkUyadDmdNH/mHnGob881GawxeEm7TcMCzkb+qQE= -github.com/jasonlvhit/gocron v0.0.1 h1:qTt5qF3b3srDjeOIR4Le1LfeyvoYzJlYpqvG7tJX5YU= -github.com/jasonlvhit/gocron v0.0.1/go.mod h1:k9a3TV8VcU73XZxfVHCHWMWF9SOqgoku0/QlY2yvlA4= github.com/jehiah/go-strftime v0.0.0-20171201141054-1d33003b3869 h1:IPJ3dvxmJ4uczJe5YQdrYB16oTJlGSC/OyZDqUk9xX4= github.com/jehiah/go-strftime v0.0.0-20171201141054-1d33003b3869/go.mod h1:cJ6Cj7dQo+O6GJNiMx+Pa94qKj+TG8ONdKHgMNIyyag= github.com/jinzhu/inflection v1.0.0 h1:K317FqzuhWc8YvSVlFMCCUb36O/S9MCKRDI7QkRKD/E= @@ -163,10 +128,10 @@ github.com/jinzhu/now v1.1.5 h1:/o9tlHleP7gOFmsnYNz3RGnqzefHA47wQpKrrdTIwXQ= github.com/jinzhu/now v1.1.5/go.mod h1:d3SSVoowX0Lcu0IBviAWJpolVfI5UJVZZ7cO71lE/z8= github.com/jonboulle/clockwork v0.4.0 h1:p4Cf1aMWXnXAUh8lVfewRBx1zaTSYKrKMF2g3ST4RZ4= github.com/jonboulle/clockwork v0.4.0/go.mod h1:xgRqUGwRcjKCO1vbZUEtSLrqKoPSsUpK7fnezOII0kc= -github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4= +github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY= +github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM= github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= -github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 h1:Z9n2FFNUXsshfwJMBgNA0RU6/i7WVaAegv3PtuIHPMs= github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8= github.com/klauspost/compress v1.17.9 h1:6KIumPrER1LHsvBVuDa0r5xaG0Es51mhhB9BQB2qeMA= @@ -193,7 +158,6 @@ github.com/lestrrat/go-file-rotatelogs v0.0.0-20180223000712-d3151e2a480f h1:sgU github.com/lestrrat/go-file-rotatelogs v0.0.0-20180223000712-d3151e2a480f/go.mod h1:UGmTpUd3rjbtfIpwAPrcfmGf/Z1HS95TATB+m57TPB8= github.com/lestrrat/go-strftime v0.0.0-20180220042222-ba3bf9c1d042 h1:Bvq8AziQ5jFF4BHGAEDSqwPW1NJS3XshxbRCxtjFAZc= github.com/lestrrat/go-strftime v0.0.0-20180220042222-ba3bf9c1d042/go.mod h1:TPpsiPUEh0zFL1Snz4crhMlBe60PYxRHr5oFF3rRYg0= -github.com/lib/pq v1.10.7/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= github.com/linxGnu/gosmpp v0.3.0 h1:LL+eY+zc9Ei/YY0po9A6L6SHf8nPyGvqsLddttr/y/4= github.com/linxGnu/gosmpp v0.3.0/go.mod h1:Ba6SULQql3IbF2A5Mtj3DqMKoFbx1pEz/8xyiOh8ZOs= github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0/go.mod h1:zJYVVT2jmtg6P3p1VtQj7WsuWi/y4VnjVBn7F8KPB3I= @@ -201,9 +165,10 @@ github.com/lufia/plan9stats v0.0.0-20240513124658-fba389f38bae h1:dIZY4ULFcto4tA github.com/lufia/plan9stats v0.0.0-20240513124658-fba389f38bae/go.mod h1:ilwx/Dta8jXAgpFYFvSWEMwxmbWXyiUHkd5FwyKhb5k= github.com/magiconair/properties v1.8.7 h1:IeQXZAiQcpL9mgcAe1Nu6cX9LLw6ExEHKjN0VQdvPDY= github.com/magiconair/properties v1.8.7/go.mod h1:Dhd985XPs7jluiymwWYZ0G4Z61jb3vdS329zhj2hYo0= +github.com/mailru/easyjson v0.9.0 h1:PrnmzHw7262yW8sTBwxi1PdJA3Iw/EKBa8psRf7d9a4= +github.com/mailru/easyjson v0.9.0/go.mod h1:1+xMtQp2MRNVL/V1bOzuP3aP8VNwRW55fQUto+XFtTU= github.com/matoous/go-nanoid/v2 v2.1.0 h1:P64+dmq21hhWdtvZfEAofnvJULaRR1Yib0+PnU669bE= github.com/matoous/go-nanoid/v2 v2.1.0/go.mod h1:KlbGNQ+FhrUNIHUxZdL63t7tl4LaPkZNpUULS8H4uVM= -github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= github.com/mattn/go-sqlite3 v1.14.16 h1:yOQRA0RpS5PFz/oikGwBEqvAWhWg5ufRz4ETLjwpU1Y= @@ -212,8 +177,6 @@ github.com/metaleap/go-util v0.0.0-20180330192724-a09253046f73 h1:4vKVhAdype/dej github.com/metaleap/go-util v0.0.0-20180330192724-a09253046f73/go.mod h1:l71/5fppWP5A6nqhcxz6wQAYok6pr/vM2+KHIy50/LY= github.com/metaleap/go-xsd v0.0.0-20180330193350-61f7638f502f h1:eeJGcYszuvOpmuJxeq57LaOO8mJurfjpOHJJMfQSD0s= github.com/metaleap/go-xsd v0.0.0-20180330193350-61f7638f502f/go.mod h1:WK3zEKtwVd/v+NM3lh1ZE6MdDfHsdOFFOD5Ezi4Hutg= -github.com/microsoft/go-mssqldb v1.6.0/go.mod h1:00mDtPbeQCRGC1HwOOR5K/gr30P1NcEG0vx6Kbv2aJU= -github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= @@ -229,22 +192,15 @@ github.com/mssola/useragent v1.0.0 h1:WRlDpXyxHDNfvZaPEut5Biveq86Ze4o4EMffyMxmH5 github.com/mssola/useragent v1.0.0/go.mod h1:hz9Cqz4RXusgg1EdI4Al0INR62kP7aPSRNHnpU+b85Y= github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA= github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= -github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= -github.com/nats-io/nats.go v1.34.0/go.mod h1:Ubdu4Nh9exXdSz0RVWRFBbRfrbSxOYd26oF0wkWclB8= -github.com/nats-io/nkeys v0.4.7/go.mod h1:kqXRgRDPlGy7nGaEDMuYzmiJCIAAWDK0IMBtDmGD0nc= -github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OSON2c= github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE= github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v1.10.1/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk= github.com/onsi/ginkgo v1.16.5 h1:8xi0RTUf59SOSfEtZMvwTvXYMzG4gV23XVHOZiXNtnE= github.com/onsi/ginkgo v1.16.5/go.mod h1:+E8gABHa3K6zRBolWtd+ROzc/U5bkGt0FwiG042wbpU= -github.com/onsi/ginkgo/v2 v2.1.6/go.mod h1:MEH45j8TBi6u9BMogfbp0stKC5cdGjumZj5Y7AG4VIk= github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= -github.com/onsi/gomega v1.7.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY= github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= github.com/onsi/gomega v1.21.1 h1:OB/euWYIExnPBohllTicTHmGTrMaqJ67nIu80j0/uEM= @@ -265,8 +221,8 @@ github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE= github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 h1:o4JXh1EVt9k/+g42oCprj/FisM4qX9L3sZB3upGN2ZU= github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE= -github.com/prometheus-community/pro-bing v0.4.1 h1:aMaJwyifHZO0y+h8+icUz0xbToHbia0wdmzdVZ+Kl3w= -github.com/prometheus-community/pro-bing v0.4.1/go.mod h1:aLsw+zqCaDoa2RLVVSX3+UiCkBBXTMtZC3c7EkfWnAE= +github.com/prometheus-community/pro-bing v0.5.0 h1:Fq+4BUXKIvsPtXUY8K+04ud9dkAuFozqGmRAyNUpffY= +github.com/prometheus-community/pro-bing v0.5.0/go.mod h1:1joR9oXdMEAcAJJvhs+8vNDvTg5thfAZcRFhcUozG2g= github.com/prometheus/client_golang v1.20.0 h1:jBzTZ7B099Rg24tny+qngoynol8LtVYlA2bqx3vEloI= github.com/prometheus/client_golang v1.20.0/go.mod h1:PIEt8X02hGcP8JWbeHyeZ53Y/jReSnHgO035n//V5WE= github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E= @@ -276,34 +232,32 @@ github.com/prometheus/common v0.55.0/go.mod h1:2SECS4xJG1kd8XF9IcM1gMX6510RAEL65 github.com/prometheus/procfs v0.0.8/go.mod h1:7Qr8sr6344vo1JqZ6HhLceV9o3AJ1Ff+GxbHq6oeK9A= github.com/prometheus/procfs v0.15.1 h1:YagwOFzUgYfKKHX6Dr+sHT7km/hxC76UB0learggepc= github.com/prometheus/procfs v0.15.1/go.mod h1:fB45yRUv8NstnjriLhBQLuOUt+WW4BsoGhij/e3PBqk= -github.com/redis/go-redis/v9 v9.6.1 h1:HHDteefn6ZkTtY5fGUE8tj8uy85AHk6zP7CpzIAM0y4= -github.com/redis/go-redis/v9 v9.6.1/go.mod h1:0C0c6ycQsdpVNQpxb1njEQIqkx5UcsM8FJCQLgE9+RA= +github.com/redis/go-redis/v9 v9.7.0 h1:HhLSs+B6O021gwzl+locl0zEDnyNkxMtf/Z3NNBMa9E= +github.com/redis/go-redis/v9 v9.7.0/go.mod h1:f6zhXITC7JUJIlPEiBOTXxJgPLdZcA93GewI7inzyWw= github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0 h1:OdAsTTz6OkFY5QxjkYwrChwuRruF69c169dPK26NUlk= github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= github.com/richardlehane/mscfb v1.0.4 h1:WULscsljNPConisD5hR0+OyZjwK46Pfyr6mPu5ZawpM= github.com/richardlehane/mscfb v1.0.4/go.mod h1:YzVpcZg9czvAuhk9T+a3avCpcFPMUWm7gK3DypaEsUk= github.com/richardlehane/msoleps v1.0.1/go.mod h1:BWev5JBpU9Ko2WAgmZEuiz4/u3ZYTKbjLycmwiWUfWg= -github.com/richardlehane/msoleps v1.0.3 h1:aznSZzrwYRl3rLKRT3gUk9am7T/mLNSnJINvN0AQoVM= -github.com/richardlehane/msoleps v1.0.3/go.mod h1:BWev5JBpU9Ko2WAgmZEuiz4/u3ZYTKbjLycmwiWUfWg= +github.com/richardlehane/msoleps v1.0.4 h1:WuESlvhX3gH2IHcd8UqyCuFY5yiq/GR/yqaSM/9/g00= +github.com/richardlehane/msoleps v1.0.4/go.mod h1:BWev5JBpU9Ko2WAgmZEuiz4/u3ZYTKbjLycmwiWUfWg= github.com/robfig/cron/v3 v3.0.1 h1:WdRxkvbJztn8LMz/QEvLN5sBU+xKpSqwwUO1Pjr4qDs= github.com/robfig/cron/v3 v3.0.1/go.mod h1:eQICP3HwyT7UooqI/z+Ov+PtYAWygg1TEWWzGIFLtro= -github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ= -github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncjaFoBhdsK/akog= +github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M= +github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA= github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/sagikazarmark/crypt v0.19.0/go.mod h1:c6vimRziqqERhtSe0MhIvzE1w54FrCHtrXb5NH/ja78= github.com/sagikazarmark/locafero v0.6.0 h1:ON7AQg37yzcRPU69mt7gwhFEBwxI6P9T4Qu3N51bwOk= github.com/sagikazarmark/locafero v0.6.0/go.mod h1:77OmuIc6VTraTXKXIs/uvUxKGUXjE1GbemJYHqdNjX0= github.com/sagikazarmark/slog-shim v0.1.0 h1:diDBnUNK9N/354PgrxMywXnAwEr1QZcOr6gto+ugjYE= github.com/sagikazarmark/slog-shim v0.1.0/go.mod h1:SrcSrq8aKtyuqEI1uvTDTK1arOWRIczQRv+GVI1AkeQ= github.com/shirou/gopsutil/v3 v3.23.11 h1:i3jP9NjCPUz7FiZKxlMnODZkdSIp2gnzfrvsu9CuWEQ= github.com/shirou/gopsutil/v3 v3.23.11/go.mod h1:1FrWgea594Jp7qmjHUUPlJDTPgcsb9mGnXDxavtikzM= -github.com/shirou/gopsutil/v4 v4.24.7 h1:V9UGTK4gQ8HvcnPKf6Zt3XHyQq/peaekfxpJ2HSocJk= -github.com/shirou/gopsutil/v4 v4.24.7/go.mod h1:0uW/073rP7FYLOkvxolUQM5rMOLTNmRXnFKafpb71rw= +github.com/shirou/gopsutil/v4 v4.24.12 h1:qvePBOk20e0IKA1QXrIIU+jmk+zEiYVVx06WjBRlZo4= +github.com/shirou/gopsutil/v4 v4.24.12/go.mod h1:DCtMPAad2XceTeIAbGyVfycbYQNBGk2P8cvDi7/VN9o= github.com/shoenig/go-m1cpu v0.1.6 h1:nxdKQNcEB6vzgA2E2bvzKIYRuNj7XNJ4S/aRSwKzFtM= github.com/shoenig/go-m1cpu v0.1.6/go.mod h1:1JJMcUBvfNwpq05QDQVAnx3gUHr9IYF7GNg9SUEw2VQ= github.com/shoenig/test v0.6.4 h1:kVTaSd7WLz5WZ2IaoM0RSzRsUD+m8wRR+5qvntpn4LU= github.com/shoenig/test v0.6.4/go.mod h1:byHiCGXqrVaflBLAMq/srcZIHynQPQgeyvkvXnjqq0k= -github.com/shopspring/decimal v1.3.1/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= github.com/sirupsen/logrus v1.4.2 h1:SPIRibHv4MatM3XXNO2BJeFLZwZ2LvZgfQ5+UNI2im4= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= @@ -326,17 +280,23 @@ github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpE github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= -github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= -github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= +github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA= +github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/subosito/gotenv v1.6.0 h1:9NlTDc1FTs4qu0DDq7AEtTPNw6SVm7uBMsUCUjABIf8= github.com/subosito/gotenv v1.6.0/go.mod h1:Dk4QP5c2W3ibzajGcXpNraDfq2IrhjMIvMSWPKKo0FU= +github.com/swaggo/files v1.0.1 h1:J1bVJ4XHZNq0I46UU90611i9/YzdrF7x92oX1ig5IdE= +github.com/swaggo/files v1.0.1/go.mod h1:0qXmMNH6sXNf+73t65aKeB+ApmgxdnkQzVTAj2uaMUg= +github.com/swaggo/gin-swagger v1.6.0 h1:y8sxvQ3E20/RCyrXeFfg60r6H0Z+SwpTjMYsMm+zy8M= +github.com/swaggo/gin-swagger v1.6.0/go.mod h1:BG00cCEy294xtVpyIAHG6+e2Qzj/xKlRdOqDkvq0uzo= +github.com/swaggo/swag v1.8.12 h1:pctzkNPu0AlQP2royqX3apjKCQonAnf7KGoxeO4y64w= +github.com/swaggo/swag v1.8.12/go.mod h1:lNfm6Gg+oAq3zRJQNEMBE66LIJKM44mxFqhEEgy2its= github.com/syndtr/goleveldb v1.0.0 h1:fBdIW9lB4Iz0n9khmH8w27SJ3QEJ7+IgjPEwGSZiFdE= github.com/syndtr/goleveldb v1.0.0/go.mod h1:ZVVdQEZoIme9iO1Ch2Jdy24qqXrMMOU6lpPAyBWyWuQ= github.com/tebeka/strftime v0.1.5 h1:1NQKN1NiQgkqd/2moD6ySP/5CoZQsKa1d3ZhJ44Jpmg= @@ -356,11 +316,10 @@ github.com/vishvananda/netlink v1.1.0 h1:1iyaYNBLmP6L0220aDnYQpo1QEV4t4hJ+xEEhhJ github.com/vishvananda/netlink v1.1.0/go.mod h1:cTgwzPIzzgDAYoQrMm0EdrjRUBkTqKYppBueQtXaqoE= github.com/vishvananda/netns v0.0.0-20211101163701-50045581ed74 h1:gga7acRE695APm9hlsSMoOoE65U4/TcqNj90mc69Rlg= github.com/vishvananda/netns v0.0.0-20211101163701-50045581ed74/go.mod h1:DD4vA1DwXk04H54A1oHXtwZmA0grkVMdPxx/VGLCah0= -github.com/xhit/go-str2duration/v2 v2.1.0/go.mod h1:ohY8p+0f07DiV6Em5LKB0s2YpLtXVyJfNt1+BlmyAsU= github.com/xuri/efp v0.0.0-20240408161823-9ad904a10d6d h1:llb0neMWDQe87IzJLS4Ci7psK/lVsjIS2otl+1WyRyY= github.com/xuri/efp v0.0.0-20240408161823-9ad904a10d6d/go.mod h1:ybY/Jr0T0GTCnYjKqmdwxyxn2BQf2RcQIIvex5QldPI= -github.com/xuri/excelize/v2 v2.8.1 h1:pZLMEwK8ep+CLIUWpWmvW8IWE/yxqG0I1xcN6cVMGuQ= -github.com/xuri/excelize/v2 v2.8.1/go.mod h1:oli1E4C3Pa5RXg1TBXn4ENCXDV5JUMlBluUhG7c+CEE= +github.com/xuri/excelize/v2 v2.9.0 h1:1tgOaEq92IOEumR1/JfYS/eR0KHOCsRv/rYXXh6YJQE= +github.com/xuri/excelize/v2 v2.9.0/go.mod h1:uqey4QBZ9gdMeWApPLdhm9x+9o2lq4iVmjiLfBS5hdE= github.com/xuri/nfp v0.0.0-20240318013403-ab9948c2c4a7 h1:hPVCafDV85blFTabnqKgNhDCkJX25eik94Si9cTER4A= github.com/xuri/nfp v0.0.0-20240318013403-ab9948c2c4a7/go.mod h1:WwHg+CVyzlv/TX9xqBFXEZAuxOPxn2k1GNHwG41IIUQ= github.com/xuri/xgen v0.0.0-20240722131518-d0691b701898 h1:qqSByV3qojIVp1XbrFgD3nO38w1m6aePzmknorZQmRc= @@ -371,21 +330,8 @@ github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5t github.com/yusufpapurcu/wmi v1.2.3/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0= github.com/yusufpapurcu/wmi v1.2.4 h1:zFUKzehAFReQwLys1b/iSMl+JQGSCSjtVqQn9bBrPo0= github.com/yusufpapurcu/wmi v1.2.4/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0= -github.com/ziutek/mymysql v1.5.4/go.mod h1:LMSpPZ6DbqWFxNCHW77HeMg9I646SAhApZ/wKdgO/C0= -go.etcd.io/etcd/api/v3 v3.5.12/go.mod h1:Ot+o0SWSyT6uHhA56al1oCED0JImsRiU9Dc26+C2a+4= -go.etcd.io/etcd/client/pkg/v3 v3.5.12/go.mod h1:seTzl2d9APP8R5Y2hFL3NVlD6qC/dOT+3kvrqPyTas4= -go.etcd.io/etcd/client/v2 v2.305.12/go.mod h1:aQ/yhsxMu+Oht1FOupSr60oBvcS9cKXHrzBpDsPTf9E= -go.etcd.io/etcd/client/v3 v3.5.12/go.mod h1:tSbBCakoWmmddL+BKVAJHa9km+O/E+bumDe9mSbPiqw= -go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo= -go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0/go.mod h1:Mjt1i1INqiaoZOMGR1RIUJN+i3ChKoFRqzrRQhlkbs0= -go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0/go.mod h1:p8pYQP+m5XfbZm9fxtSKAbM6oIllS7s2AfxrChvc7iw= -go.opentelemetry.io/otel v1.24.0/go.mod h1:W7b9Ozg4nkF5tWI5zsXkaKKDjdVjpD4oAt9Qi/MArHo= -go.opentelemetry.io/otel/metric v1.24.0/go.mod h1:VYhLe1rFfxuTXLgj4CBiyz+9WYBA8pNGJgDcSFRKBco= -go.opentelemetry.io/otel/trace v1.24.0/go.mod h1:HPc3Xr/cOApsBI154IU0OI0HJexz+aw5uPdbs3UCjNU= -go.uber.org/atomic v1.9.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0= go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y= -go.uber.org/zap v1.21.0/go.mod h1:wjWOCqI0f2ZZrJF/UufIOkiC8ii6tm1iqIsLo76RfJw= golang.org/x/arch v0.9.0 h1:ub9TgUInamJ8mrZIGlBG6/4TqWeMszd4N8lNorbrr6k= golang.org/x/arch v0.9.0/go.mod h1:FEVrYAQjsQXMVJ1nsMoVVXPZg6p2JE2mx8psSWTDQys= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= @@ -397,8 +343,8 @@ golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliY golang.org/x/crypto v0.19.0/go.mod h1:Iy9bg/ha4yyC70EfRS8jz+B6ybOBKMaSxLj6P6oBDfU= golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v8= golang.org/x/crypto v0.25.0/go.mod h1:T+wALwcMOSE0kXgUAnPAHqTLW+XHgcELELW8VaDgm/M= -golang.org/x/crypto v0.26.0 h1:RrRspgV4mU+YwB4FYnuBoKsUapNIL5cohGAmSH3azsw= -golang.org/x/crypto v0.26.0/go.mod h1:GY7jblb9wI+FOo5y8/S2oY4zWP07AkOJ4+jxCqdqn54= +golang.org/x/crypto v0.31.0 h1:ihbySMvVjLAeSH1IbfcRTkD/iNscyz8rGzjF/E5hV6U= +golang.org/x/crypto v0.31.0/go.mod h1:kDsLvtWBEx7MV9tJOj9bnXsPbxwJQ6csT/x4KIN4Ssk= golang.org/x/exp v0.0.0-20240808152545-0cdaa3abc0fa h1:ELnwvuAXPNtPk1TJRuGkI9fDTwym6AYBu0qzT8AcHdI= golang.org/x/exp v0.0.0-20240808152545-0cdaa3abc0fa/go.mod h1:akd2r19cwCdwSwWeIdzYQGa/EZZyqcOdwWiwj5L5eKQ= golang.org/x/image v0.13.0/go.mod h1:6mmbMOeV28HuMTgA6OSRkdXKYw/t5W9Uwn2Yv1r3Yxk= @@ -413,12 +359,11 @@ golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.15.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= -golang.org/x/mod v0.20.0 h1:utOm6MM3R3dnawAiJgn0y+xvuYRsm1RKM/4giyfDgV0= -golang.org/x/mod v0.20.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= +golang.org/x/mod v0.22.0 h1:D4nJWe9zXqHOmWqj4VMOJhvzj7bEZg4wEYa759z1pH4= +golang.org/x/mod v0.22.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY= golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200520004742-59133d7f0dd7/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= @@ -432,9 +377,8 @@ golang.org/x/net v0.15.0/go.mod h1:idbUs1IY1+zTqbi8yxTbhexhEEk5ur9LInksu6HrEpk= golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44= golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM= golang.org/x/net v0.27.0/go.mod h1:dDi0PyhWNoiUOrAS8uXv/vnScO4wnHQO4mj9fn/RytE= -golang.org/x/net v0.28.0 h1:a9JDOJc5GMUJ0+UDqmLT86WiEy7iWyIhz8gz8E4e5hE= -golang.org/x/net v0.28.0/go.mod h1:yqtgsTWOOnlGLG9GFRrK3++bGOUEkNBoHZc8MEDWPNg= -golang.org/x/oauth2 v0.21.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI= +golang.org/x/net v0.33.0 h1:74SYHlV8BIgHIFC/LrYkOGIwL19eTYXQ5wc6TBuO36I= +golang.org/x/net v0.33.0/go.mod h1:HXLR5J+9DxmrqMwG9qjGCxZ+zKXxBru04zlTvWlWuN4= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -445,8 +389,8 @@ golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= -golang.org/x/sync v0.8.0 h1:3NFvSEYkUoMifnESzZl15y791HH1qU2xm6eCJU5ZPXQ= -golang.org/x/sync v0.8.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= +golang.org/x/sync v0.10.0 h1:3NQrjDixjgGwUOCaF8w2+VYHv0Ve/vGYSbdkTa98gmQ= +golang.org/x/sync v0.10.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -476,8 +420,8 @@ golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.22.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/sys v0.24.0 h1:Twjiwq9dn6R1fQcyiK+wQyHWfaz/BJB+YIpzU/Cv3Xg= -golang.org/x/sys v0.24.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.29.0 h1:TPYlXGxvx1MGTn2GiZDhnjPA9wZzZeGKHHmKhHYvgaU= +golang.org/x/sys v0.29.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/telemetry v0.0.0-20240228155512-f48c80bd79b2/go.mod h1:TeRTkGYfJXctD9OcfyVLyj2J3IxLnKwHJR8f4D8a3YE= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= @@ -488,8 +432,8 @@ golang.org/x/term v0.12.0/go.mod h1:owVbMEjm3cBLCHdkQu9b1opXd4ETQWc3BhuQGKgXgvU= golang.org/x/term v0.17.0/go.mod h1:lLRBjIVuehSbZlaOtGMbcMncT+aqLLLmKrsjNrUguwk= golang.org/x/term v0.20.0/go.mod h1:8UkIAJTvZgivsXaD6/pH6U9ecQzZ45awqEOzuCvwpFY= golang.org/x/term v0.22.0/go.mod h1:F3qCibpT5AMpCRfhfT53vVJwhLtIVHhB9XDjfFvnMI4= -golang.org/x/term v0.23.0 h1:F6D4vR+EHoL9/sWAWgAR1H2DcHr4PareCbAaCo1RpuU= -golang.org/x/term v0.23.0/go.mod h1:DgV24QBUrK6jhZXl+20l6UWznPlwAHm1Q1mGHtydmSk= +golang.org/x/term v0.28.0 h1:/Ts8HFuMR2E6IP/jlo7QVLZHggjKQbhu/7H0LJFr3Gg= +golang.org/x/term v0.28.0/go.mod h1:Sw/lC2IAUZ92udQNf3WodGtn4k/XoLyZoh8v/8uiwek= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= @@ -500,8 +444,8 @@ golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI= -golang.org/x/text v0.17.0 h1:XtiM5bkSOt+ewxlOE/aE/AKEHibwj/6gvWMl9Rsh0Qc= -golang.org/x/text v0.17.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= +golang.org/x/text v0.21.0 h1:zyQAAkrwaneQ066sspRyJaG9VNi/YJ1NfzcGB3hZ/qo= +golang.org/x/text v0.21.0/go.mod h1:4IBbMaMmOPCJ8SecivzSH54+73PCFmPWxNTLm+vZkEQ= golang.org/x/time v0.6.0 h1:eTDhh4ZXt5Qf0augr54TN6suAUudPcawVZeIAPU7D4U= golang.org/x/time v0.6.0/go.mod h1:3BpzKBy/shNhVucY/MWOyx10tF3SFh9QdLuxbVysPQM= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= @@ -513,21 +457,14 @@ golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= golang.org/x/tools v0.13.0/go.mod h1:HvlwmtVNQAhOuCjW7xxvovg8wbNq7LwfXh/k7wXUl58= golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk= -golang.org/x/tools v0.24.0 h1:J1shsA93PJUEVaUSaay7UXAyE8aimq3GW0pjlolpa24= -golang.org/x/tools v0.24.0/go.mod h1:YhNqVBIfWHdzvTLs0d8LCuMhkKUgSUKldakyV7W/WDQ= +golang.org/x/tools v0.28.0 h1:WuB6qZ4RPCQo5aP3WdKZS7i595EdWqWR8vqJTlwTVK8= +golang.org/x/tools v0.28.0/go.mod h1:dcIOrVd3mfQKTgrDVQHqCPMWy6lnhfhtX3hLXYVLfRw= golang.org/x/tools/cmd/guru v0.1.1-deprecated h1:WiL3pQGXG71u4N45C0eRkE2IcEMAiQdDZ2H5lGspNjM= golang.org/x/tools/cmd/guru v0.1.1-deprecated/go.mod h1:yFb7vixnH8+ByFZ63niwlvUUxyTE/6ULZ6AiEHZwlTk= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= -google.golang.org/api v0.171.0/go.mod h1:Hnq5AHm4OTMt2BUVjael2CWZFD6vksJdWCWiUAmjC9o= -google.golang.org/appengine v1.6.8/go.mod h1:1jJ3jBArFh5pcgW8gCtRJnepW8FzD1V44FJffLiz/Ds= -google.golang.org/genproto v0.0.0-20240213162025-012b6fc9bca9/go.mod h1:mqHbVIp48Muh7Ywss/AD6I5kNVKZMmAa/QEW58Gxp2s= -google.golang.org/genproto/googleapis/api v0.0.0-20240311132316-a219d84964c2/go.mod h1:O1cOfN1Cy6QEYr7VxtjOyP5AdAuR0aJ/MYZaaof623Y= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240314234333-6e1732d8331c/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY= -google.golang.org/grpc v1.62.1/go.mod h1:IWTG0VlJLCh1SkC58F7np9ka9mx/WNkjl4PGJaiq+QE= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= @@ -552,7 +489,6 @@ gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.0/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= @@ -583,7 +519,6 @@ modernc.org/strutil v1.1.3/go.mod h1:MEHNA7PdEnEwLvspRMtWTNnp2nnyvMfkimT1NKNAGbw modernc.org/token v1.0.1 h1:A3qvTqOwexpfZZeyI0FeGPDlSWX5pjZu9hF4lU+EKWg= modernc.org/token v1.0.1/go.mod h1:UGzOrNV1mAFSEB63lOFHIpNRUVMvYTc6yu1SMY/XTDM= nullprogram.com/x/optparse v1.0.0/go.mod h1:KdyPE+Igbe0jQUrVfMqDMeJQIJZEuyV7pjYmp6pbG50= -rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4= xorm.io/builder v0.3.13 h1:a3jmiVVL19psGeXx8GIurTp7p0IIgqeDmwhcR6BAOAo= xorm.io/builder v0.3.13/go.mod h1:aUW0S9eb9VCaPohFCH3j7czOx1PMW3i1HrSzbLYGBSE= xorm.io/xorm v1.3.9 h1:TUovzS0ko+IQ1XnNLfs5dqK1cJl1H5uHpWbWqAQ04nU= diff --git a/restagent/config/config.go b/lib/config/config.go similarity index 99% rename from restagent/config/config.go rename to lib/config/config.go index 10f10c95..9b81433d 100644 --- a/restagent/config/config.go +++ b/lib/config/config.go @@ -11,8 +11,6 @@ import ( "be.ems/lib/log" "gopkg.in/yaml.v3" - //"github.com/go-yaml-comment/yaml" - //"github.com/goccy/go-yaml" ) // Yaml struct of config diff --git a/restagent/config/map.go b/lib/config/map.go similarity index 100% rename from restagent/config/map.go rename to lib/config/map.go diff --git a/lib/core/conf/conf.go b/lib/core/conf/conf.go deleted file mode 100644 index e43d3454..00000000 --- a/lib/core/conf/conf.go +++ /dev/null @@ -1,36 +0,0 @@ -package conf - -import ( - "fmt" - - "github.com/spf13/viper" -) - -var v *viper.Viper - -// 配置文件读取 -func InitConfig(configFile string) { - v = viper.New() - - // 设置配置文件路径 - v.SetConfigFile(configFile) - - // 读取配置文件 - err := v.ReadInConfig() - if err != nil { - fmt.Printf("failure to read configuration file: %v \n", err) - return - } -} - -// Get 获取配置信息 -// -// Get("server.port") -func Get(key string) any { - return v.Get(key) -} - -// AllSettings 全部配置信息 -func AllSettings() map[string]interface{} { - return v.AllSettings() -} diff --git a/lib/core/vo/login_user.go b/lib/core/vo/login_user.go deleted file mode 100644 index 0b4899f4..00000000 --- a/lib/core/vo/login_user.go +++ /dev/null @@ -1,26 +0,0 @@ -package vo - -import ( - "be.ems/lib/dborm" -) - -// LoginUser 登录用户身份权限信息对象 -type LoginUser struct { - // UserID 用户ID - UserID string `json:"userId"` - - // UserName 用户名 - UserName string `json:"userName"` - - // LoginTime 登录时间时间戳 - LoginTime int64 `json:"loginTime"` - - // ExpireTime 过期时间时间戳 - ExpireTime int64 `json:"expireTime"` - - // Permissions 权限列表 - Permissions []string `json:"permissions"` - - // User 用户信息 - User dborm.User `json:"user"` -} diff --git a/lib/core/vo/result/result.go b/lib/core/vo/result/result.go deleted file mode 100644 index 51faf08e..00000000 --- a/lib/core/vo/result/result.go +++ /dev/null @@ -1,72 +0,0 @@ -package result - -const CODE_ERROR = 0 -const MSG_ERROR = "error" -const CODE_SUCCESS = 1 -const MSG_SUCCESS = "success" - -// CodeMsg 响应结果 -func CodeMsg(code int, msg string) map[string]any { - args := make(map[string]any) - args["code"] = code - args["msg"] = msg - return args -} - -// 响应成功结果 map[string]any{} -func Ok(v map[string]any) map[string]any { - args := make(map[string]any) - args["code"] = CODE_SUCCESS - args["msg"] = MSG_SUCCESS - // v合并到args - for key, value := range v { - args[key] = value - } - return args -} - -// 响应成功结果信息 -func OkMsg(msg string) map[string]any { - args := make(map[string]any) - args["code"] = CODE_SUCCESS - args["msg"] = msg - return args -} - -// 响应成功结果数据 -func OkData(data any) map[string]any { - args := make(map[string]any) - args["code"] = CODE_SUCCESS - args["msg"] = MSG_SUCCESS - args["data"] = data - return args -} - -// 响应失败结果 map[string]any{} -func Err(v map[string]any) map[string]any { - args := make(map[string]any) - args["code"] = CODE_ERROR - args["msg"] = MSG_ERROR - // v合并到args - for key, value := range v { - args[key] = value - } - return args -} - -// 响应失败结果信息 -func ErrMsg(msg string) map[string]any { - args := make(map[string]any) - args["code"] = CODE_ERROR - args["msg"] = msg - return args -} - -// 响应失败结果数据 -func ErrData(data any) map[string]any { - args := make(map[string]any) - args["code"] = CODE_ERROR - args["msg"] = MSG_ERROR - args["data"] = data - return args -} diff --git a/lib/dborm/dborm.go b/lib/dborm/dborm.go index 54cd2bff..57f26e92 100644 --- a/lib/dborm/dborm.go +++ b/lib/dborm/dborm.go @@ -11,8 +11,6 @@ import ( "strings" "be.ems/lib/log" - "be.ems/lib/oauth" - "be.ems/src/modules/system/model" _ "github.com/go-sql-driver/mysql" "xorm.io/xorm" @@ -29,7 +27,7 @@ type Menu struct { Title string `json:"title"` Icon string `json:"icon"` Href string `json:"href"` - ParentId int `json:"parent_id` + ParentId int `json:"parent_id"` Remark int `json:"remark"` } @@ -149,7 +147,7 @@ func ConstructInsertSQL(tableName string, insertData interface{}) (string, []str for c, v := range r.(map[string]interface{}) { log.Tracef("c: %v v: %v", c, v) if cl == "" { - cl = fmt.Sprintf("%s", c) + cl = fmt.Sprint(c) } else { cl = fmt.Sprintf("%s, %s", cl, c) } @@ -510,33 +508,6 @@ const ( MeasureTaskStatusDeleted = "Deleted" ) -type MTask struct { - Id int `json:"id" xorm:"pk 'id' autoincr"` - - NeSet struct { - NEs []string `json:"nes"` - } `json:"neSet" xorm:"ne_set"` - KpiSet struct { - Code string `json:"Code"` - KPIs []string `json:"KPIs` - } `json:"kpiSet" xorm:"kpi_set"` - StartTime string `json:"startTime" xorm:"start_time"` - EndTime string `json:"endTime" xorm:"end_time"` - Periods []struct { - Start string `json:"start"` - End string `json:"end"` - } `json:"Periods" xorm:"periods` - Schedule struct { - Type string `json:"type"` - Days []int `json:"days"` - } `json:"schedule" xorm:"schedule"` - GranulOption string `json:"granulOption" xorm:"granul_option"` - Status string `json:"status" xorm:"status"` - CreateTime string `json:"createTime" xorm:"create_time"` - UpdateTime string `json:"updateTime" xorm:"update_time"` - DeleteTime string `json:"deleteTime xorm:"delete_time"` -} - type ScheduleJ struct { Type string `json:"Type"` Days []int `json:"Days"` @@ -665,40 +636,6 @@ func XormUpdateTableByWhere(whereCondition string, tableName string, tbInfo inte return affected, nil } -type User struct { - Id int `json:"id" xorm:"pk 'id' autoincr"` - AccountId string `json:"accountId"` - Name string `json:"name" xorm:"name"` - Sn string `json:"sn"` - Gender string `json:"gender"` - Description string `json:"description"` - TelephoneNumber string `json:"telephoneNumber" xorm:"telephone_number"` - Mobile string `json:"mobile"` - Email string `json:"email" xorm:"email"` - StartTime string `json:"startTime" xorm:"start_time"` - EndTime string `json:"endTime" xorm:"end_time"` - IdCardNumber string `json:"idCardNumber"` - EmployeeNumber string `json:"employeeNumber"` - Organize string `json:"organize"` - EmployeeType string `json:"employeeType"` - SupporterCorpName string `json:"supporterCorpName"` - RealName string `json:"realName" xorm:"real_name"` - Password string `json:"password" xorm:"password"` - PasswordSha512 string `json:"passwordSha512"` - ChangePasswordFlag int `json:"changePasswordFlag"` - PasswordExpiration string `json:"passwordExpiration"` - Status string `json:"status"` - UserExpiration string `json:"userExpiration"` - GroupName string `json:"groupId" xorm:"group_name"` - Profile string `json:"profile" xorm:"profile"` - Phone string `json:"phone" xorm:"phone"` - CreateTime string `json:"createTime" xorm:"create_time"` - UpdateTime string `json:"updateTime" xorm:"update_time"` - - // 角色对象组 - Roles []model.SysRole `json:"roles" xorm:"-"` -} - // 记录密码登录错误次数 func pwdErrCountAdd(accountId, profileStr string, reset bool) int { if profileStr == "" { @@ -803,117 +740,6 @@ func pwdErrCountAdd(accountId, profileStr string, reset bool) int { return count } -func XormCheckLoginUser(name, password, cryptArgo string) (bool, *User, error) { - log.Info("XormCheckLoginUser processing... ") - - user := new(User) - // has, err := xEngine.Table("user").Where("name='%s' and password=PASSWORD('%s')", name, password).Get(user) - switch cryptArgo { - case "mysql": - has, err := xEngine.SQL("select * from user where account_id=? and password=PASSWORD(?)", name, password).Exist() - if err != nil || has == false { - log.Error("Failed to check user from database:", err) - - return false, nil, err - } - case "md5": - has, err := xEngine. - SQL("select * from user where account_id=? and password=MD5(?)", name, password).Exist() - if err != nil || has == false { - log.Error("Failed to check user from database:", err) - return false, nil, err - } - case "bcrypt": - has, err := xEngine.Table("user").Where("account_id=?", name).Get(user) - if err != nil || !has { - log.Error("Failed to get user from database:", err) - return false, nil, err - } - if oauth.BcryptCompare(user.Password, password) != nil { - err := errors.New("Incorrect user name or password") - log.Error(err) - // 记录错误 - errCoutn := pwdErrCountAdd(user.AccountId, user.Profile, false) - if errCoutn > 3 { - // 登录失败次数过多,请30分钟后重试 - return false, nil, errors.New("Login failed too many times, please retry after 30 minutes") - } - return false, nil, err - } - // 重置错误次数 - pwdErrCountAdd(user.AccountId, user.Profile, true) - default: - errMsg := "Incorrect crypt algoritmo" - log.Error("crypt:%s", errMsg) - return false, nil, errors.New(errMsg) - } - - // enum('Active','Closed','Locked','Pending') - errMsg := "" - switch user.Status { - case "Closed": - errMsg = "Account disabled" // 账户已禁用 - case "Locked": - errMsg = "Account locked" // 账户已锁定 - case "Pending": - // errMsg = "账户已挂起" - _, err := xEngine.Exec("UPDATE user SET status = 'Active' WHERE account_id = ?", user.AccountId) - if err != nil { - return false, nil, err - } - } - if errMsg != "" { - log.Error("user Status:%s", errMsg) - return false, nil, errors.New(errMsg) - } - - // 密码到期时间 - if user.PasswordExpiration != "" { - arr := strings.Split(user.PasswordExpiration, " ") - if len(arr) > 0 { - t, err := time.Parse("2006-01-02", arr[0]) - if err != nil { - return false, nil, err - } - if t.Before(time.Now()) { - errMsg := "Password expiration time" // 密码到期时间 - // 读取配置信息 - result, err := XormGetConfig("Security", "pwdStrong") - if err != nil { - return false, nil, err - } - data := make(map[string]any) - err = json.Unmarshal([]byte(result["value_json"].(string)), &data) - if err != nil { - log.Error("json Unmarshal:%s", errMsg) - return false, nil, err - } - errMsg = data["outTimeMsg"].(string) - log.Error("PasswordExpiration:%s", errMsg) - return false, nil, errors.New(errMsg) - } - } - } - - // 用户到期时间 - if user.UserExpiration != "" { - arr := strings.Split(user.UserExpiration, " ") - if len(arr) > 0 { - t, err := time.Parse("2006-01-02", arr[0]) - if err != nil { - return false, nil, err - } - if t.Before(time.Now()) { - errMsg := "User account expiration" // 用户账户到期 - log.Error("UserExpiration:%s", errMsg) - return false, nil, errors.New(errMsg) - } - } - } - - return true, user, nil -} - func XormIsExistUser(accid string) (bool, error) { log.Info("XormIsExistUser processing... ") @@ -1000,22 +826,22 @@ func XormInsertSession(name, host, token string, expires uint32, sessionFlag str if err != nil { return affected, err } - if exist == true { - affected, err = xSession.Table("session").Where("account_id = ? and host = ?", name, host).Update(session) + if exist { + affected, _ = xSession.Table("session").Where("account_id = ? and host = ?", name, host).Update(session) } else { - affected, err = xSession.InsertOne(session) + affected, _ = xSession.InsertOne(session) } } else { // single session for a user exist, err := xEngine.Table("session").Where("status = 'online' and account_id = ?", name).Exist() if err != nil { return affected, err } - if exist == true { + if exist { // todo... err := errors.New("user is logged in") return -1, err } else { - affected, err = xSession.InsertOne(session) + affected, _ = xSession.InsertOne(session) } } xSession.Commit() diff --git a/lib/routes/routes.go b/lib/routes/routes.go index f657b443..ca95693e 100644 --- a/lib/routes/routes.go +++ b/lib/routes/routes.go @@ -291,12 +291,6 @@ func init() { Register("POST", dbrest.UriDbStop, dbrest.DbStop, nil) Register("POST", dbrest.CustomUriDbStop, dbrest.DbStop, nil) - // 系统备份 - Register("POST", dbrest.UriDbBackup, dbrest.DbBackup, nil) - Register("POST", dbrest.CustomUriDbBackup, dbrest.DbBackup, nil) - Register("POST", dbrest.UriConfBackup, dbrest.ConfBackup, nil) - Register("POST", dbrest.CustomUriConfBackup, dbrest.ConfBackup, nil) - // 日志表备份 Register("POST", lm.ExtBackupDataUri, lm.ExtDatabaseBackupData, nil) Register("POST", lm.CustomExtBackupDataUri, lm.ExtDatabaseBackupData, nil) diff --git a/lib/services/file.go b/lib/services/file.go index 439f814a..4243cda6 100644 --- a/lib/services/file.go +++ b/lib/services/file.go @@ -329,7 +329,7 @@ func uploadSizeLimit(buf *bytes.Buffer, part *multipart.Part, maxLimit int64, li } maxLimit -= n if maxLimit < 0 { - return fmt.Errorf(limitError) + return fmt.Errorf("%s", limitError) } return nil } diff --git a/lib/services/services.go b/lib/services/services.go index 8b55bf41..22b128ce 100644 --- a/lib/services/services.go +++ b/lib/services/services.go @@ -16,11 +16,11 @@ import ( "strconv" "strings" + "be.ems/lib/config" "be.ems/lib/dborm" "be.ems/lib/global" "be.ems/lib/log" "be.ems/lib/oauth" - "be.ems/restagent/config" "github.com/gorilla/mux" ) @@ -560,23 +560,10 @@ func CheckExtValidRequest(w http.ResponseWriter, r *http.Request) (string, error return token, nil } -func ResponseStatusOK200Login(w http.ResponseWriter, token string, user *dborm.User) { +func ResponseStatusOK200Login(w http.ResponseWriter, token string) { var oAuthResponse SucceedOAuthResponse oAuthResponse.AccessToken = token oAuthResponse.Expires = strconv.Itoa((int)(config.GetExpiresFromConfig())) - oAuthResponse.ChangePasswordFlag = user.ChangePasswordFlag - oAuthResponse.GroupName = user.GroupName - ResponseWithJson(w, http.StatusOK, oAuthResponse) -} - -func ResponseStatusOK200LoginWhitRP(w http.ResponseWriter, token string, user *dborm.User, roles, perms []string) { - var oAuthResponse SucceedOAuthResponse - oAuthResponse.AccessToken = token - oAuthResponse.Expires = strconv.Itoa((int)(config.GetExpiresFromConfig())) - oAuthResponse.ChangePasswordFlag = user.ChangePasswordFlag - oAuthResponse.GroupName = user.GroupName - oAuthResponse.Roles = roles - oAuthResponse.Perms = perms ResponseWithJson(w, http.StatusOK, oAuthResponse) } diff --git a/lib/session/session.go b/lib/session/session.go index a953cfc1..0e3156e0 100644 --- a/lib/session/session.go +++ b/lib/session/session.go @@ -11,9 +11,9 @@ import ( "sync" "time" + "be.ems/lib/config" "be.ems/lib/log" "be.ems/lib/oauth" - "be.ems/restagent/config" ) // SessionMgr session manager diff --git a/makefile b/makefile index dbb1b655..b7242040 100644 --- a/makefile +++ b/makefile @@ -3,7 +3,7 @@ ProjectL = omc ProjectU = OMC PROJECT = $(ProjectL) -VERSION = 2.2501.1 +VERSION = 2.2501.2 RelDate = `date +%Y%m%d` Release = $(RelDate) RelVer = $(VERSION)-$(RelDate) @@ -35,25 +35,14 @@ EmsFEDir = $(GitLocalRoot)/fe.ems EmsFEVue3Dir = $(GitLocalRoot)/fe.ems.vue3/dist LibDir = $(EmsBEDir)/lib RESTAGENT = restagent -CRONTASK = crontask SshSvcBin = sshsvc -CapTraceBin = captrace -Data2htmlBin = data2html -NBI_ALARM = nbi_alarm -NBI_AGENT = nbi_agent -4A_AGENT = 4a_agent RestagentDir = $(EmsBEDir)/$(RESTAGENT) -CrontaskDir = $(EmsBEDir)/$(CRONTASK) SshSvcDir = $(EmsBEDir)/$(SshSvcBin) -CapTraceDir = $(EmsBEDir)/$(CapTraceBin) -Data2htmlDir = $(EmsBEDir)/$(Data2htmlBin) DBSQLSrcDir = $(EmsBEDir)/database MiscDir = $(EmsBEDir)/misc FrontBuildDir = $(BuildOMCDir)/htdocs FrontSrcDir = $(EmsBEDir)/front ReleaseDebs = $(ReleaseDir)/debs/$(PLATFORM) -CrontaskSize = 27788951 -RestagentSize = 29525312 BinWriterDir = $(HOME)/bin ifeq ($(shell grep VERSION_ID /etc/os-release), VERSION_ID="22.04") DebBuildDir := $(DebBuild2204Dir) @@ -67,44 +56,30 @@ DebPkgFile := $(PROJECT)-r$(VERSION)-$(Release)-ub18.deb DebPkgFileBA := $(PROJECT)-r$(VERSION)-$(Release)-ub18-ba.deb endif -.PHONY: all $(RESTAGENT) $(CRONTASK) $(SshSvcBin) $(CapTraceBin) $(Data2htmlBin) -all: $(RESTAGENT) $(CRONTASK) $(SshSvcBin) $(CapTraceBin) $(Data2htmlBin) +.PHONY: all $(RESTAGENT) $(SshSvcBin) +all: $(RESTAGENT) $(SshSvcBin) cd $(RestagentDir) go build -o $(RESTAGENT) -v -ldflags "-s -w -X 'be.ems/lib/conifg.Version=$(RelVer)' \ -X '$(LibDir)/conifg.BuildTime=`date`' \ -X '$(LibDir)/conifg.GoVer=`go version`'" - cd $(CrontaskDir) - go build -o $(CRONTASK) -v -ldflags "-s -w -X '$(LibDir)/conifg.Version=$(RelVer)' \ - -X '$(LibDir)/conifg.BuildTime=`date`' \ - -X '$(LibDir)/conifg.GoVer=`go version`'" cd $(SshSvcDir) go build -o $(SshSvcBin) -v -ldflags "-s -w -X '$(LibDir)/conifg.Version=$(RelVer)' \ -X '$(LibDir)/conifg.BuildTime=`date`' \ -X '$(LibDir)/conifg.GoVer=`go version`'" - cd $(CapTraceDir) - go build -o $(CapTraceBin) -v -ldflags "-s -w -X '$(LibDir)/conifg.Version=$(RelVer)' \ - -X '$(LibDir)/conifg.BuildTime=`date`' \ - -X '$(LibDir)/conifg.GoVer=`go version`'" - cd $(Data2htmlDir) - go build -o $(Data2htmlBin) -v -ldflags "-s -w -X '$(LibDir)/conifg.Version=$(RelVer)' \ - -X '$(LibDir)/conifg.BuildTime=`date`' \ - -X '$(LibDir)/conifg.GoVer=`go version`'" clean: - rm ./restagent/$(RESTAGENT) ./crontask/$(CRONTASK) $(SshSvcDir)/$(SshSvcBin) $(CapTraceDir)/$(CapTraceBin) $(Data2htmlDir)/$(Data2htmlBin) + rm ./restagent/$(RESTAGENT) $(SshSvcDir)/$(SshSvcBin) dist: tar -zvcPf $(ReleaseDir)/$(PROJECT)-src-$(VERSION).tar.gz \ ../lib \ ../restagent \ - ../crontask \ ../initems \ ../database \ ../docs \ ../misc \ ../config \ --exclude=../restagent/restagent \ - --exclude=../crontask/crontask \ --exclude=../initems/initems pre_build: $(BINNAME) @@ -114,10 +89,7 @@ pre_build: $(BINNAME) rm -rf $(DebBuildDir)/usr/local/omc/etc/db/* cp -rf $(RestagentDir)/$(RESTAGENT) $(BuildOMCBinDir) - cp -rf $(CrontaskDir)/$(CRONTASK) $(BuildOMCBinDir) - cp -rf $(SshSvcDir)/$(SshSvcBin) $(BuildOMCBinDir) - cp -rf $(CapTraceDir)/$(CapTraceBin) $(BuildOMCBinDir) - cp -rf $(Data2htmlDir)/$(Data2htmlBin) $(BuildOMCBinDir) + cp -rf $(SshSvcDir)/$(SshSvcBin) $(BuildOMCBinDir) cp -rf $(MiscDir)/* $(BuildOMCBinDir) cp -rf $(ConfigEtcDir)/* $(BuildOMCEtcDir) rm -rf $(BuildOMCEtcDir)/db/* @@ -162,16 +134,7 @@ rpm: $(BINNAME) rm -rf $(RpmBuildDir)/BUILD/usr/local/omc/etc/db/* cp -rf $(RestagentDir)/$(RESTAGENT) $(BuildOMCBinDir) - cp -rf $(CrontaskDir)/$(CRONTASK) $(BuildOMCBinDir) cp -rf $(SshSvcDir)/$(SshSvcBin) $(BuildOMCBinDir) - cp -rf $(CapTraceDir)/$(CapTraceBin) $(BuildOMCBinDir) - cp -rf $(Data2htmlDir)/$(Data2htmlBin) $(BuildOMCBinDir) -# $(BinWriterDir)/binWriter $(BuildOMCBinDir)/$(RESTAGENT) $(RestagentSize) -# $(BinWriterDir)/binWriter $(BuildOMCBinDir)/$(CRONTASK) $(CrontaskSize) -# cp -rf $(MiscDir)/ne-hosts $(BuildOMCBinDir) -# cp -rf ./nbi/$(NBI_ALARM)/bin/$(NBI_ALARM) $(BinDir2) -# cp -rf ./nbi/$(NBI_AGENT)/bin/$(NBI_AGENT) $(BinDir2) -# cp -rf ./$(4A_AGENT)/bin/$(4A_AGENT) $(BinDir2) cp -rf $(MiscDir)/* $(BuildOMCBinDir) # rm -rf $(BinDir2)/ne-hosts cp -rf $(ConfigEtcDir)/* $(BuildOMCEtcDir) diff --git a/misc/omcsvc.sh b/misc/omcsvc.sh index ade0644d..42fdc1e0 100755 --- a/misc/omcsvc.sh +++ b/misc/omcsvc.sh @@ -1,7 +1,7 @@ #!/bin/bash -ProcList="restagent crontask sshsvc captrace" -ProcListDesc="crontask sshsvc captrace restagent" +ProcList="restagent sshsvc" +ProcListDesc="restagent sshsvc" BinDir=/usr/local/omc/bin diff --git a/mkpkg.sh b/mkpkg.sh index ff53209d..3231ab13 100755 --- a/mkpkg.sh +++ b/mkpkg.sh @@ -1,8 +1,8 @@ #!/bin/bash -ProcList="restagent crontask sshsvc captrace data2html" +ProcList="restagent sshsvc" ProjectL=omc -VERSION=2.2501.1 +VERSION=2.2501.2 RelDate=`date +%Y%m%d` Release=${RelDate} RelVer=${VERSION}-${RelDate} diff --git a/restagent/etc/restconf.yaml b/restagent/etc/restconf.yaml index 38caf84a..2e3f0f18 100644 --- a/restagent/etc/restconf.yaml +++ b/restagent/etc/restconf.yaml @@ -2,13 +2,13 @@ # level: /trace/debug/info/warn/error/fatal, default: debug # duration: rotation time with xx hours, example: 1/12/24 hours # count: rotation count of log, default is 30 rotation -# pprof: false(default)/true to disable/enable pprof logger: - file: d:/omc.git/be.ems/restagent/log/restagent.log + file: ./log/restagent.log level: trace duration: 24 count: 2 +# pprof: false(default)/true to disable/enable pprof pprof: enabled: true addr: :33060 @@ -21,16 +21,24 @@ rest: - ipv4: 0.0.0.0 ipv6: port: 33030 + - ipv4: 0.0.0.0 + ipv6: + port: 33443 + schema: https + clientAuthType: 0 + caFile: ./etc/certs/omc-ca.crt + certFile: ./etc/certs/omc-server.crt + keyFile: ./etc/certs/omc-server.key webServer: enabled: true - rootDir: d:/omc.git/fe.ems.vue3/dist + rootDir: d:/omc.git/fe.ems.vue3/dist # front-end build dist directory listen: - addr: :80 schema: http - addr: :443 - scheme: https - clientAuthType: 0 + schema: https + clientAuthType: 0 caFile: ./etc/certs/omc-ca.crt certFile: ./etc/certs/omc-server.crt keyFile: ./etc/certs/omc-server.key @@ -38,12 +46,12 @@ webServer: database: type: mysql user: root - password: "1000omc@kp!" - host: "127.0.0.1" + password: 1000omc@kp! + host: 127.0.0.1 port: 33066 name: "tenants_db" connParam: charset=utf8mb4&collation=utf8mb4_general_ci&parseTime=True&interpolateParams=True - backup: d:/omc.git/be.ems/restagent/database + backup: ./database # Redis data cache redis: @@ -58,7 +66,7 @@ redis: defaultDataSourceName: "default" # sleep: time delay for after write buffer (millisecond) -# deadLine: timeout for io read and write (second) +# deadLine: timeout for io read and write (second) mml: sleep: 200 deadLine: 10 @@ -81,7 +89,7 @@ ne: omcdir: /usr/local/omc scpdir: /tmp licensedir: /usr/local/etc/{neType}/license - # backup etc list of IMS,no space + # backup etc list of IMS, does not contain spaces etcListIMS: '{*.yaml,mmtel,vars.cfg}' etcListDefault: '{*.yaml,*.conf,*.cfg}' # true/false to overwrite config file when dpkg ne software @@ -96,27 +104,27 @@ omc: neId: 001 rmUID: 4400HX101 neName: OMC - province: GD + province: "" vendor: "" - dn: 4600 + dn: "" chk2ne: false capability: 50 - sn: "12345678" - expiryDate: "2099-12-31" + sn: "-" + expiryDate: "-" checksign: false - rootDir: ./ - binDir: ./bin - backup: C:/usr/local/omc/backup - upload: C:/usr/local/omc/upload - frontUpload: C:/usr/local/omc/upload - frontTraceDir: C:/usr/local/omc/trace - software: C:/usr/local/omc/software - license: C:/usr/local/omc/license - gtpUri: gtp:192.168.2.219:2152 + rootDir: /usr/local/omc + binDir: /usr/local/omc/bin + backup: /usr/local/omc/backup + upload: /usr/local/omc/upload + frontUpload: /usr/local/omc/htdocs/front/upload + frontTraceDir: /usr/local/omc/htdocs/front/trace + software: /usr/local/omc/software + license: /usr/local/omc/license + gtpUri: gtp:192.168.2.119:32152 checkContentType: false testMode: false rbacMode: true - runDir: + runDir: /usr/local/omc/run cmdTimeout: 120 # Alarm module setting @@ -126,7 +134,7 @@ omc: # smProxy: sms(Short Message Service)/smsc(SMS Centre) # dataCoding: 0:GSM7BIT, 1:ASCII, 2:BINARY8BIT1, 3:LATIN1, # 4:BINARY8BIT2, 6:CYRILLIC, 7:HEBREW, 8:UCS2 -alarm: +alarm: alarmEmailForward: enable: true emailList: @@ -134,7 +142,7 @@ alarm: port: 25 user: smtpext@smtp.com password: "1000smtp@omc!" - tlsSkipVerify: true + tlsSkipVerify: true alarmSMSForward: enable: true mobileList: "1006,1008" @@ -151,8 +159,8 @@ alarm: signName: xxx SMSC templateCode: 1000 smProxy: smsc - -#User authorized information + +# User authorized information # crypt: mysql/md5/bcrypt # token: true/false to check accessToken # expires for session, unit: second diff --git a/restagent/makefile b/restagent/makefile index 4b2479fd..d36cd811 100644 --- a/restagent/makefile +++ b/restagent/makefile @@ -1,7 +1,7 @@ # Makefile for rest agent project PROJECT = OMC -VERSION = 2.2501.1 +VERSION = 2.2501.2 PLATFORM = amd64 ARMPLATFORM = aarch64 BUILDDIR = ../../build diff --git a/restagent/restagent.go b/restagent/restagent.go index 9dd6abcc..49b6fc49 100644 --- a/restagent/restagent.go +++ b/restagent/restagent.go @@ -1,16 +1,19 @@ package main import ( - "crypto/tls" - "crypto/x509" "fmt" "net/http" "os" - "strconv" - "strings" + "sync" _ "net/http/pprof" + "github.com/chenjiandongx/ginprom" + "github.com/gin-gonic/gin" + "github.com/prometheus/client_golang/prometheus/promhttp" + swaggerFiles "github.com/swaggo/files" + ginSwagger "github.com/swaggo/gin-swagger" + "be.ems/features" "be.ems/features/dbrest" "be.ems/features/event" @@ -18,191 +21,76 @@ import ( "be.ems/features/lm" "be.ems/features/mml" "be.ems/features/pm" + featuresCfg "be.ems/lib/config" "be.ems/lib/dborm" "be.ems/lib/global" "be.ems/lib/log" "be.ems/lib/routes" - "be.ems/restagent/config" "be.ems/src" + "be.ems/src/framework/config" + "be.ems/src/framework/logger" "be.ems/src/framework/middleware" - "github.com/gin-gonic/gin" - "golang.org/x/net/http2" - "golang.org/x/net/http2/h2c" + "be.ems/src/framework/utils/parse" + _ "be.ems/swagger2docs" ) -// const defaultConfigFile = "./etc/restconf.yaml" - -// func init() { -// cfile := flag.String("c", defaultConfigFile, "config file") -// pv := flag.Bool("v", false, "print version") -// ph := flag.Bool("h", false, "print help") - -// flag.Parse() -// if *pv { -// fmt.Printf("OMC restagent version: %s\n%s\n%s\n\n", global.Version, global.BuildTime, global.GoVer) -// os.Exit(0) -// } -// if *ph { -// flag.Usage() -// os.Exit(0) -// } - -// config.ReadConfig(*cfile) -// config.UriPrefix = config.GetYamlConfig().OMC.UriPrefix -// //fmt.Println(config.UriPrefix) -// } - -// func listenIPv6(ipv6 string, port int) { -// // -// addr := &net.TCPAddr{ -// IP: net.ParseIP(ipv6), -// Port: port, -// } - -// listener, err := net.ListenTCP("tcp6", addr) -// if err != nil { -// fmt.Println("Failed to listen:", err) -// return -// } - -// server := &http.Server{} -// err = server.Serve(listener) -// if err != nil { -// fmt.Println("Failed to serve:", err) -// } -// } - -func HttpListen(addr string, router http.Handler) { - // 创建HTTP服务器 - h2s := &http2.Server{ - // ... - } - server := &http.Server{ - Addr: addr, - Handler: h2c.NewHandler(router, h2s), - } - - // // support http 2.0 server - // err := http2.ConfigureServer(server, &http2.Server{}) - // if err != nil { - // fmt.Println("ConfigureServer err:", err) - // os.Exit(11) - // } - err := server.ListenAndServe() - if err != nil { - fmt.Println("ListenAndServe err:", err) - os.Exit(12) - } -} - -func HttpListenTLS(addr, caFile, certFile, keyFile string, clientAuthType int, router http.Handler) { - // 加载根证书 - caCert, err := os.ReadFile(caFile) - if err != nil { - log.Fatal(err) - } - caCertPool := x509.NewCertPool() - caCertPool.AppendCertsFromPEM(caCert) - - // 创建自定义的TLS配置 - tlsConfig := &tls.Config{ - MinVersion: tls.VersionTLS10, - MaxVersion: tls.VersionTLS13, - ClientCAs: caCertPool, - ClientAuth: tls.ClientAuthType(clientAuthType), - } - - // 创建HTTP服务器 - server := &http.Server{ - Addr: addr, - Handler: router, - TLSConfig: tlsConfig, - } - - // support http 2.0 server - http2.ConfigureServer(server, &http2.Server{}) - if err != nil { - fmt.Println("ConfigureServer err:", err) - os.Exit(13) - } - err = server.ListenAndServeTLS(certFile, keyFile) - if err != nil { - fmt.Println("ListenAndServeTLS err:", err) - os.Exit(14) - } -} - -func HttpListenWebServerTLS(addr, caFile, certFile, keyFile string, clientAuthType int) { - // 加载根证书 - caCert, err := os.ReadFile(caFile) - if err != nil { - log.Fatal(err) - } - caCertPool := x509.NewCertPool() - caCertPool.AppendCertsFromPEM(caCert) - - // 创建自定义的TLS配置 - tlsConfig := &tls.Config{ - MinVersion: tls.VersionTLS10, - MaxVersion: tls.VersionTLS13, - ClientCAs: caCertPool, - ClientAuth: tls.ClientAuthType(clientAuthType), - } - - // 创建HTTP服务器 - server := &http.Server{ - Addr: addr, - TLSConfig: tlsConfig, - } - - // support http 2.0 server - http2.ConfigureServer(server, &http2.Server{}) - if err != nil { - fmt.Println("ConfigureServer err:", err) - os.Exit(9) - } - err = server.ListenAndServeTLS(certFile, keyFile) - if err != nil { - fmt.Println("ListenAndServeTLS err:", err) - os.Exit(10) - } -} - -func HttpListenWebServer(addr string) { - // 创建HTTP服务器 - server := &http.Server{ - Addr: addr, - } - - // support http 2.0 server - err := http2.ConfigureServer(server, &http2.Server{}) - if err != nil { - fmt.Println("ConfigureServer err:", err) - os.Exit(7) - } - err = server.ListenAndServe() - if err != nil { - fmt.Println("ListenAndServe err:", err) - os.Exit(8) - } -} +var wg sync.WaitGroup +// @title OMC Swagger API +// @version 1.0.5 +// @description OMC Service Interface Info +// +// @tag.name chart +// @tag.description chart interface +// @tag.name common +// @tag.description common interface +// @tag.name monitor +// @tag.description monitor interface +// @tag.name network_data +// @tag.description network data interface +// @tag.name network_element +// @tag.description network element interface +// @tag.name system +// @tag.description system interface +// @tag.name tool +// @tag.description tool interface +// @tag.name trace +// @tag.description trace interface +// @tag.name ws +// @tag.description ws interface +// +// @host 127.0.0.1:33040 +// @BasePath / +// @schemes http https +// +// @securityDefinitions.apikey ApiKeyAuth +// @in header +// @name Authorization +// @description Get the key through the login interface, fill in e.g. Bearer func main() { - - // src 配置中心初始加载 + // 初始配置加载 src.ConfigurationInit() + // 程序注册 app := src.AppEngine() + // Swagger 接口文档 + app.GET("/swagger/*any", ginSwagger.WrapHandler(swaggerFiles.Handler)) - conf := config.GetYamlConfig() + loadFeatures(app) - if conf.Pprof.Enabled { - // 启用pprof HTTP服务 - go func() { - fmt.Println(http.ListenAndServe(conf.Pprof.Addr, nil)) - }() - } + loadPprof(app) - log.InitLogger(conf.Logger.File, conf.Logger.Duration, conf.Logger.Count, "omc:restagent", config.GetLogLevel()) + loadServer(app) + + loadWebServer() + + wg.Wait() +} + +// loadFeatures mux路由模块 +func loadFeatures(app *gin.Engine) { + conf := featuresCfg.GetYamlConfig() + + log.InitLogger(conf.Logger.File, conf.Logger.Duration, conf.Logger.Count, "omc:restagent", featuresCfg.GetLogLevel()) fmt.Printf("OMC restagent version: %s\n", global.Version) log.Infof("========================= OMC restagent startup =========================") log.Infof("OMC restagent version: %s %s %s", global.Version, global.BuildTime, global.GoVer) @@ -249,71 +137,138 @@ func main() { // 将 mux.Router 注册到 gin.Engine // 默认路由组 - defaultUriGroup := app.Group(config.DefaultUriPrefix) + defaultUriGroup := app.Group(featuresCfg.DefaultUriPrefix) defaultUriGroup.Use(middleware.PreAuthorize(nil)) defaultUriGroup.Any("/*any", gin.WrapH(routes.NewRouter())) // 可配置前缀路由组 - uriGroup := app.Group(config.UriPrefix) + uriGroup := app.Group(featuresCfg.UriPrefix) uriGroup.Any("/*any", gin.WrapH(routes.NewRouter())) // AMF上报的UE事件, 无前缀,暂时特殊处理 app.POST(event.UriUEEventAMF, event.PostUEEventFromAMF) // register feature service gin.Engine features.InitServiceEngine(app) - - // var listenLocalhost bool = false - for _, rest := range conf.Rest { - // ipv4 goroutines - if rest.IPv4 != "" { - listen := rest.IPv4 + ":" + strconv.Itoa(int(rest.Port)) - if strings.ToLower(rest.Scheme) == "https" { - go HttpListenTLS(listen, rest.CaFile, rest.CertFile, rest.KeyFile, rest.ClientAuthType, app) - } else { - go HttpListen(listen, app) - } - } - // if rest.IPv4 != "0.0.0.0" && !listenLocalhost { - // listenLocalhost = true - // // 默认启动localhost侦听 - // listenLocal := "127.0.0.1" + ":" + strconv.Itoa(int(rest.Port)) - // if strings.ToLower(rest.Scheme) == "https" { - // go HttpListenTLS(listenLocal, rest.CaFile, rest.CertFile, rest.KeyFile, rest.ClientAuthType, app) - // } else { - // go HttpListen(listenLocal, app) - // } - // } - // ipv6 goroutines - if rest.IPv6 != "" { - listenv6 := "[" + rest.IPv6 + "]" + ":" + strconv.Itoa(int(rest.Port)) - if strings.ToLower(rest.Scheme) == "https" { - go HttpListenTLS(listenv6, rest.CaFile, rest.CertFile, rest.KeyFile, rest.ClientAuthType, app) - } else { - go HttpListen(listenv6, app) - } - } - - // if rest.IPv6 != "::" { - // // 默认启动localhost侦听 - // listenv6Local := "[" + "::1" + "]" + ":" + strconv.Itoa(int(rest.Port)) - // if strings.ToLower(rest.Scheme) == "https" { - // go HttpListenTLS(listenv6Local, rest.CaFile, rest.CertFile, rest.KeyFile, app) - // } else { - // go HttpListen(listenv6Local, app) - // } - // } - } - - if conf.WebServer.Enabled { - fs := http.FileServer(http.Dir(conf.WebServer.RootDir)) - http.Handle("/", fs) - for _, listen := range conf.WebServer.Listen { - if strings.ToLower(listen.Scheme) == "https" { - go HttpListenWebServerTLS(listen.Addr, listen.CaFile, listen.CertFile, listen.KeyFile, listen.ClientAuthType) - } else { - go HttpListenWebServer(listen.Addr) - } - } - } - - select {} +} + +// loadPprof 性能分析监控 +func loadPprof(app *gin.Engine) { + pprofEnabled := config.Get("pprof.enabled") + if pprofEnabled != nil && pprofEnabled.(bool) { + app.Use(ginprom.PromMiddleware(nil)) + app.GET("/metrics", ginprom.PromHandler(promhttp.Handler())) + pprofAddr := config.Get("pprof.addr").(string) + wg.Add(1) + // 启用pprof HTTP服务 + go func(addr string) { + defer wg.Done() + fmt.Println(http.ListenAndServe(addr, nil)) + }(pprofAddr) + } +} + +// loadServer 多个HTTP服务启动 +func loadServer(app *gin.Engine) { + httpArr := config.Get("rest") + if httpArr == nil { + logger.Errorf("rest config not found") + return + } + for _, v := range httpArr.([]any) { + rest := v.(map[string]any) + port := parse.Number(rest["port"]) + ipv4 := fmt.Sprint(rest["ipv4"]) + ipv6 := fmt.Sprint(rest["ipv6"]) + schema := fmt.Sprint(rest["schema"]) + if schema == "https" && schema != "" { + certFile := fmt.Sprint(rest["certfile"]) + keyFile := fmt.Sprint(rest["keyfile"]) + addr := "" + if ipv4 != "" && ipv4 != "" { + addr = fmt.Sprintf("%s:%d", ipv4, port) + } + if ipv6 != "" && ipv6 != "" { + addr = fmt.Sprintf("[%s]:%d", ipv6, port) + } + if addr == "" { + continue + } + // 启动HTTPS服务 + wg.Add(1) + go func(addr string, certFile string, keyFile string) { + defer wg.Done() + err := app.RunTLS(addr, certFile, keyFile) + logger.Errorf("run tls err:%v", err) + }(addr, certFile, keyFile) + } else { + addr := "" + if ipv4 != "" && ipv4 != "" { + addr = fmt.Sprintf("%s:%d", ipv4, port) + } + if ipv6 != "" && ipv6 != "" { + addr = fmt.Sprintf("[%s]:%d", ipv6, port) + } + if addr == "" { + continue + } + // 启动HTTP服务 + wg.Add(1) + go func(addr string) { + defer wg.Done() + err := app.Run(addr) + logger.Errorf("run err:%v", err) + }(addr) + } + } +} + +// loadWebServer 前端静态资源服务 +func loadWebServer() { + webEnabled := config.Get("webServer.enabled") + if webEnabled == nil { + logger.Errorf("webServer config not found") + return + } + if webEnabled.(bool) { + rootDir := config.Get("webServer.rootDir").(string) + if rootDir != "" { + var web *gin.Engine + gin.SetMode(gin.ReleaseMode) + web = gin.New() + web.Use(gin.Recovery()) + gin.DisableConsoleColor() + web.StaticFS("/", http.Dir(rootDir)) + // 多个HTTP服务启动 + listenArr := config.Get("webServer.listen") + for _, v := range listenArr.([]any) { + listen := v.(map[string]any) + addr := fmt.Sprint(listen["addr"]) + schema := fmt.Sprint(listen["schema"]) + if schema == "https" && schema != "" { + certFile := fmt.Sprint(listen["certfile"]) + keyFile := fmt.Sprint(listen["keyfile"]) + if addr == "" || addr == "" { + continue + } + // 启动HTTPS服务 + wg.Add(1) + go func(addr string, certFile string, keyFile string) { + defer wg.Done() + err := web.RunTLS(addr, certFile, keyFile) + logger.Errorf("web run tls err:%v", err) + }(addr, certFile, keyFile) + } else { + if addr == "" || addr == "" { + continue + } + // 启动HTTP服务 + wg.Add(1) + go func(addr string) { + defer wg.Done() + err := web.Run(addr) + logger.Errorf("web run err:%v", err) + }(addr) + } + } + } + } } diff --git a/src/app.go b/src/app.go index 743f79fd..dbf5d269 100644 --- a/src/app.go +++ b/src/app.go @@ -1,7 +1,6 @@ package src import ( - "embed" "fmt" "be.ems/src/framework/config" @@ -20,34 +19,19 @@ import ( "be.ems/src/modules/trace" "be.ems/src/modules/ws" - "github.com/chenjiandongx/ginprom" "github.com/gin-gonic/gin" - "github.com/prometheus/client_golang/prometheus/promhttp" ) -//go:embed assets/* -var assetsDir embed.FS - -// 路由函数句柄,交给由 http.ListenAndServe(addr, router) +// AppEngine 路由函数句柄,交给由 http.ListenAndServe(addr, router) func AppEngine() *gin.Engine { app := initAppEngine() - // TODO 不建议在主分支中加入 - // 性能分析监控 - if promEnabled := config.Get("pprof.enabled"); promEnabled != nil && promEnabled.(bool) { - app.Use(ginprom.PromMiddleware(nil)) - app.GET("/metrics", ginprom.PromHandler(promhttp.Handler())) - } - // 初始全局默认 initDefeat(app) // 初始模块路由 initModulesRoute(app) - // 设置程序内全局资源访问 - config.SetAssetsDirFS(assetsDir) - // 首次安装启动记录 machine.Launch() @@ -56,26 +40,6 @@ func AppEngine() *gin.Engine { return app } -// 运行服务程序 main.go -// -// func main() { -// src.ConfigurationInit() -// if err := src.RunServer(); err != nil { -// src.ConfigurationClose() -// } -// } -func RunServer() error { - app := AppEngine() - - // 读取服务配置 - app.ForwardedByClientIP = config.Get("server.proxy").(bool) - addr := fmt.Sprintf(":%d", config.Get("server.port").(int)) - - // 启动服务 - fmt.Printf("\nopen http://localhost%s \n\n", addr) - return app.Run(addr) -} - // 初始应用引擎 func initAppEngine() *gin.Engine { var app *gin.Engine diff --git a/src/framework/config/config/config.default.yaml b/src/config/config.default.yaml similarity index 97% rename from src/framework/config/config/config.default.yaml rename to src/config/config.default.yaml index afda8e35..1ee1c3c5 100644 --- a/src/framework/config/config/config.default.yaml +++ b/src/config/config.default.yaml @@ -1,9 +1,11 @@ # 应用服务配置 server: - # 服务端口 - port: 33030 # 是否开启代理 proxy: false + # 运行版本 standards/lite/tenants + runVersion: "standards" + # 运行模式 system/docker + runMode: "system" # 日志 logger: diff --git a/src/framework/config/config/config.local.yaml b/src/config/config.local.yaml similarity index 92% rename from src/framework/config/config/config.local.yaml rename to src/config/config.local.yaml index b1358bea..f2dacf6b 100644 --- a/src/framework/config/config/config.local.yaml +++ b/src/config/config.local.yaml @@ -1,6 +1,5 @@ # 应用服务配置 server: - port: 33040 proxy: true # 日志 @@ -10,10 +9,13 @@ logger: # 静态文件配置, 相对项目根路径或填绝对路径 staticFile: + # 默认资源,dir目录需要预先创建 default: + prefix: "/static" dir: "C:/usr/local/omc/static" # 文件上传资源目录映射,与项目目录同级 upload: + prefix: "/upload" dir: "C:/usr/local/omc/upload" # security 安全 diff --git a/src/framework/config/config/config.prod.yaml b/src/config/config.prod.yaml similarity index 97% rename from src/framework/config/config/config.prod.yaml rename to src/config/config.prod.yaml index 7915c59f..909ce4b7 100644 --- a/src/framework/config/config/config.prod.yaml +++ b/src/config/config.prod.yaml @@ -1,6 +1,5 @@ # 应用服务配置 server: - port: 33030 proxy: true # security 安全 diff --git a/src/configuration.go b/src/configuration.go index cb0f4b13..d24f7b28 100644 --- a/src/configuration.go +++ b/src/configuration.go @@ -1,6 +1,8 @@ package src import ( + "embed" + "be.ems/src/framework/config" "be.ems/src/framework/cron" "be.ems/src/framework/datasource" @@ -8,10 +10,16 @@ import ( "be.ems/src/framework/redis" ) +//go:embed config/*.yaml +var configDir embed.FS + +//go:embed assets/* +var assetsDir embed.FS + // 配置中心初始加载 func ConfigurationInit() { // 初始配置参数 - config.InitConfig() + config.InitConfig(configDir, assetsDir) // 初始程序日志 logger.InitLogger() // 连接数据库实例 diff --git a/src/framework/config/config.go b/src/framework/config/config.go index 875acec5..4b53516d 100644 --- a/src/framework/config/config.go +++ b/src/framework/config/config.go @@ -8,18 +8,20 @@ import ( "os" "time" - libConfig "be.ems/src/lib_features/config" "github.com/spf13/pflag" "github.com/spf13/viper" + + libConfig "be.ems/lib/config" + libGlobal "be.ems/lib/global" ) -//go:embed config/*.yaml -var configFiles embed.FS +var cfg *viper.Viper // 初始化程序配置 -func InitConfig() { +func InitConfig(configDir, assetsDir embed.FS) { + cfg = viper.New() initFlag() - initViper() + initViper(configDir, assetsDir) } // 指定参数绑定 @@ -28,7 +30,7 @@ func initFlag() { pflag.String("env", "prod", "Specify Run Environment Configuration local or prod") // --c /etc/restconf.yaml // -c /etc/restconf.yaml - pConfig := pflag.StringP("config", "c", "./etc/restconf.yaml", "Specify Configuration File") + pflag.StringP("config", "c", "./etc/restconf.yaml", "Specify Configuration File") // --version // -V pVersion := pflag.BoolP("version", "V", false, "Output program version") @@ -39,7 +41,7 @@ func initFlag() { // 参数固定输出 if *pVersion { - buildInfo := libConfig.BuildInfo() + buildInfo := fmt.Sprintf("OMC version: %s\n%s\n%s\n\n", libGlobal.Version, libGlobal.BuildTime, libGlobal.GoVer) fmt.Println(buildInfo) os.Exit(1) } @@ -48,113 +50,130 @@ func initFlag() { os.Exit(1) } - // 外层lib和features使用的配置 - libConfig.ConfigRead(*pConfig) - - viper.BindPFlags(pflag.CommandLine) + cfg.BindPFlags(pflag.CommandLine) } // 配置文件读取 -func initViper() { - // 在当前工作目录中寻找配置 - // viper.AddConfigPath("config") - // viper.AddConfigPath("src/config") +func initViper(configDir, assetsDir embed.FS) { // 如果配置文件名中没有扩展名,则需要设置Type - viper.SetConfigType("yaml") + cfg.SetConfigType("yaml") // 从 embed.FS 中读取默认配置文件内容 - configDefault, err := configFiles.ReadFile("config/config.default.yaml") + configDefault, err := configDir.ReadFile("config/config.default.yaml") if err != nil { log.Fatalf("ReadFile config default file: %s", err) return } // 设置默认配置文件内容到 viper - err = viper.ReadConfig(bytes.NewReader(configDefault)) + err = cfg.ReadConfig(bytes.NewReader(configDefault)) if err != nil { log.Fatalf("NewReader config default file: %s", err) return } - // // 配置文件的名称(无扩展名) - // viper.SetConfigName("config.default") - // // 读取默认配置文件 - // if err := viper.ReadInConfig(); err != nil { - // log.Fatalf("fatal error config default file: %s", err) - // } - - env := viper.GetString("env") + // 加载运行环境配置 + env := cfg.GetString("env") if env != "local" && env != "prod" { log.Fatalf("fatal error config env for local or prod : %s", env) } log.Printf("Current service environment operation configuration => %s \n", env) // 加载运行配置文件合并相同配置 - if env == "prod" { - // viper.SetConfigName("config.prod") - // 从 embed.FS 中读取默认配置文件内容 - configProd, err := configFiles.ReadFile("config/config.prod.yaml") - if err != nil { - log.Fatalf("ReadFile config prod file: %s", err) - return - } - // 设置默认配置文件内容到 viper - err = viper.MergeConfig(bytes.NewReader(configProd)) - if err != nil { - log.Fatalf("NewReader config prod file: %s", err) - return - } - } else { - // viper.SetConfigName("config.local") - // 从 embed.FS 中读取默认配置文件内容 - configLocal, err := configFiles.ReadFile("config/config.local.yaml") - if err != nil { - log.Fatalf("ReadFile config local file: %s", err) - return - } - // 设置默认配置文件内容到 viper - err = viper.MergeConfig(bytes.NewReader(configLocal)) - if err != nil { - log.Fatalf("NewReader config local file: %s", err) - return - } + envPath := "config/config.prod.yaml" + if env == "local" { + envPath = "config/config.local.yaml" + } + // 从 embed.FS 中读取默认配置文件内容 + configEnv, err := configDir.ReadFile(envPath) + if err != nil { + log.Fatalf("ReadFile config local file: %s", err) + return + } + // 设置默认配置文件内容到 viper + err = cfg.MergeConfig(bytes.NewReader(configEnv)) + if err != nil { + log.Fatalf("NewReader config local file: %s", err) + return } - // if err := viper.MergeInConfig(); err != nil { - // log.Fatalf("fatal error config MergeInConfig: %s", err) - // } - // 合并外层lib和features使用配置 - libConfig.ConfigInMerge() + // 合并外部使用配置 + configFile := cfg.GetString("config") + if configFile != "" { + configInMerge(configFile) + } // 记录程序开始运行的时间点 - viper.Set("runTime", time.Now()) + cfg.Set("runTime", time.Now()) + + // 设置程序内全局资源访问 + cfg.Set("AssetsDir", assetsDir) +} + +// 配置文件读取进行内部参数合并 +func configInMerge(configFile string) { + // 指定配置文件读取序列化 + libConfig.ReadConfig(configFile) + uriPrefix := libConfig.GetYamlConfig().OMC.UriPrefix + if uriPrefix != "" { + libConfig.UriPrefix = uriPrefix + } + if libConfig.GetYamlConfig().TestConfig.Enabled { + libConfig.ReadTestConfigYaml(libConfig.GetYamlConfig().TestConfig.File) + } + + // 配置文件读取 + var v = viper.New() + // 设置配置文件路径 + v.SetConfigFile(configFile) + v.SetConfigType("yaml") + // 读取配置文件 + if err := v.ReadInConfig(); err != nil { + fmt.Printf("failure to read configuration file: %v \n", err) + return + } + // 合并外层lib和features使用配置 + for key, value := range v.AllSettings() { + // 跳过配置 + if key == "testconfig" || key == "logger" { + continue + } + // 数据库配置 + if key == "database" { + item := value.(map[string]any) + defaultItem := cfg.GetStringMap("gorm.datasource.default") + defaultItem["type"] = item["type"] + defaultItem["host"] = item["host"] + defaultItem["port"] = item["port"] + defaultItem["username"] = item["user"] + defaultItem["password"] = item["password"] + defaultItem["database"] = item["name"] + continue + } + cfg.Set(key, value) + } } // Env 获取运行服务环境 // local prod func Env() string { - return viper.GetString("env") + return cfg.GetString("env") } // RunTime 程序开始运行的时间 func RunTime() time.Time { - return viper.GetTime("runTime") + return cfg.GetTime("runTime") } // Get 获取配置信息 // -// Get("server.port") +// Get("server.proxy") func Get(key string) any { - return viper.Get(key) + return cfg.Get(key) } // GetAssetsDirFS 访问程序内全局资源访问 func GetAssetsDirFS() embed.FS { - return viper.Get("AssetsDir").(embed.FS) -} - -// SetAssetsDirFS 设置程序内全局资源访问 -func SetAssetsDirFS(assetsDir embed.FS) { - viper.Set("AssetsDir", assetsDir) + return cfg.Get("AssetsDir").(embed.FS) } // IsAdmin 用户是否为管理员 @@ -165,7 +184,7 @@ func IsAdmin(userID string) bool { // 从本地配置获取user信息 admins := Get("user.adminList").([]any) for _, s := range admins { - if s.(string) == userID { + if fmt.Sprint(s) == userID { return true } } diff --git a/src/framework/logger/logger.go b/src/framework/logger/logger.go index 543252c7..7721a510 100644 --- a/src/framework/logger/logger.go +++ b/src/framework/logger/logger.go @@ -3,15 +3,15 @@ package logger import ( "log" - "github.com/spf13/viper" + "be.ems/src/framework/config" ) var logWriter *Logger // 初始程序日志 func InitLogger() { - env := viper.GetString("env") - conf := viper.GetStringMap("logger") + env := config.Get("env").(string) + conf := config.Get("logger").(map[string]any) fileDir := conf["filedir"].(string) fileName := conf["filename"].(string) level := conf["level"].(int) diff --git a/src/lib_features/config/config.go b/src/lib_features/config/config.go deleted file mode 100644 index e3154606..00000000 --- a/src/lib_features/config/config.go +++ /dev/null @@ -1,53 +0,0 @@ -package libfeatures - -import ( - "fmt" - - libConf "be.ems/lib/core/conf" - libGlobal "be.ems/lib/global" - libConfig "be.ems/restagent/config" - "github.com/spf13/viper" -) - -// BuildInfo 程序-V查看编译版本号信息 -func BuildInfo() string { - return fmt.Sprintf("OMC restagent version: %s\n%s\n%s\n\n", libGlobal.Version, libGlobal.BuildTime, libGlobal.GoVer) -} - -// ConfigRead 指定配置文件读取 -func ConfigRead(configFile string) { - // 外层lib和features使用的配置 - libConfig.ReadConfig(configFile) - uriPrefix := libConfig.GetYamlConfig().OMC.UriPrefix - if uriPrefix != "" { - libConfig.UriPrefix = uriPrefix - } - if libConfig.GetYamlConfig().TestConfig.Enabled { - libConfig.ReadTestConfigYaml(libConfig.GetYamlConfig().TestConfig.File) - } - // 外层lib和features使用配置 - libConf.InitConfig(configFile) -} - -// 配置文件读取进行内部参数合并 -func ConfigInMerge() { - // 合并外层lib和features使用配置 - for key, value := range libConf.AllSettings() { - // 跳过配置 - if key == "testconfig" || key == "rest" || key == "logger" { - continue - } - // 数据库配置 - if key == "database" { - item := value.(map[string]any) - defaultItem := viper.GetStringMap("gorm.datasource.default") - defaultItem["host"] = item["host"] - defaultItem["port"] = item["port"] - defaultItem["username"] = item["user"] - defaultItem["password"] = item["password"] - defaultItem["database"] = item["name"] - continue - } - viper.Set(key, value) - } -} diff --git a/src/lib_features/readme.md b/src/lib_features/readme.md deleted file mode 100644 index 57a250cd..00000000 --- a/src/lib_features/readme.md +++ /dev/null @@ -1,4 +0,0 @@ -# 外层 lib 和 features 粘合层 - -- config.go 配置合并: restagent.yaml 文件内容,主要是数据库配置 - diff --git a/src/modules/chart/controller/chart_graph.go b/src/modules/chart/controller/chart_graph.go index acad8af3..f89840b4 100644 --- a/src/modules/chart/controller/chart_graph.go +++ b/src/modules/chart/controller/chart_graph.go @@ -25,6 +25,15 @@ type ChartGraphController struct { // 获取关系图组名 // // GET /groups +// +// @Tags chart +// @Accept json +// @Produce json +// @Success 200 {object} map[string]any "data" +// @Security ApiKeyAuth +// @Summary Get relationship graph group name +// @Description Get relationship graph group name +// @Router /chart/graph/groups [get] func (s *ChartGraphController) GroupNames(c *gin.Context) { data := s.chartGraphService.SelectGroup() c.JSON(200, result.OkData(data)) @@ -33,6 +42,17 @@ func (s *ChartGraphController) GroupNames(c *gin.Context) { // 获取关系图数据 // // GET / +// +// @Tags chart +// @Accept json +// @Produce json +// @Param group query string true "Group" +// @Param type query string true "Type oneof=node edge combo" Enums(node, edge, combo) +// @Success 200 {object} map[string]any "data" +// @Security ApiKeyAuth +// @Summary Getting Relationship Map Data +// @Description Getting Relationship Map Data +// @Router /chart/graph [get] func (s *ChartGraphController) Load(c *gin.Context) { language := ctx.AcceptLanguage(c) var querys struct { @@ -51,6 +71,16 @@ func (s *ChartGraphController) Load(c *gin.Context) { // 保存关系图数据 // // POST / +// +// @Tags chart +// @Accept json +// @Produce json +// @Param data body map[string]any true "{group:'',data:{nodes:[],edges:[],combos:[]}}" +// @Success 200 {object} map[string]any "data" +// @Security ApiKeyAuth +// @Summary Saving Relationship Diagram Data +// @Description Saving Relationship Diagram Data +// @Router /chart/graph/ [post] func (s *ChartGraphController) Save(c *gin.Context) { language := ctx.AcceptLanguage(c) var body struct { @@ -83,6 +113,16 @@ func (s *ChartGraphController) Save(c *gin.Context) { // 删除关系图数据 // // DELETE /:group +// +// @Tags chart +// @Accept json +// @Produce json +// @Param group path string true "Group" +// @Success 200 {object} map[string]any "data" +// @Security ApiKeyAuth +// @Summary Deleting Relationship Diagram Data +// @Description Deleting Relationship Diagram Data +// @Router /chart/graph/:group [delete] func (s *ChartGraphController) Delete(c *gin.Context) { language := ctx.AcceptLanguage(c) group := c.Param("group") diff --git a/src/modules/common/controller/index.go b/src/modules/common/controller/index.go index b61ce81a..61dde7f0 100644 --- a/src/modules/common/controller/index.go +++ b/src/modules/common/controller/index.go @@ -20,6 +20,14 @@ type IndexController struct{} // 根路由 // // GET / +// +// @Tags common +// @Accept json +// @Produce json +// @Success 200 {object} map[string]any "data" +// @Summary Root Route +// @Description Root Route +// @Router / [get] func (s *IndexController) Handler(c *gin.Context) { name := "OMC" version := libGlobal.Version diff --git a/src/modules/crontask/processor/backupEtcFromNE/backupEtcFromNE.go b/src/modules/crontask/processor/backupEtcFromNE/backupEtcFromNE.go index 10aa7355..bc889b90 100644 --- a/src/modules/crontask/processor/backupEtcFromNE/backupEtcFromNE.go +++ b/src/modules/crontask/processor/backupEtcFromNE/backupEtcFromNE.go @@ -6,10 +6,10 @@ import ( "strings" "time" + "be.ems/lib/config" "be.ems/lib/dborm" "be.ems/lib/global" "be.ems/lib/log" - "be.ems/restagent/config" "be.ems/src/framework/cron" ) diff --git a/src/modules/crontask/processor/genNeStateAlarm/genNeStateAlarm.go b/src/modules/crontask/processor/genNeStateAlarm/genNeStateAlarm.go index 443f554f..c24bcd94 100644 --- a/src/modules/crontask/processor/genNeStateAlarm/genNeStateAlarm.go +++ b/src/modules/crontask/processor/genNeStateAlarm/genNeStateAlarm.go @@ -9,10 +9,10 @@ import ( "time" "be.ems/features/fm" + "be.ems/lib/config" "be.ems/lib/dborm" "be.ems/lib/global" "be.ems/lib/log" - "be.ems/restagent/config" "be.ems/src/framework/cron" "github.com/go-resty/resty/v2" ) diff --git a/src/modules/crontask/processor/getStateFromNE/getStateFromNE.go b/src/modules/crontask/processor/getStateFromNE/getStateFromNE.go index 98fe8f96..50ac3e2f 100644 --- a/src/modules/crontask/processor/getStateFromNE/getStateFromNE.go +++ b/src/modules/crontask/processor/getStateFromNE/getStateFromNE.go @@ -7,9 +7,9 @@ import ( "strings" "time" + "be.ems/lib/config" "be.ems/lib/dborm" "be.ems/lib/log" - "be.ems/restagent/config" "be.ems/src/framework/cron" "github.com/go-resty/resty/v2" ) diff --git a/src/modules/network_element/controller/action.go b/src/modules/network_element/controller/action.go index 38b6e2d2..f71ee77a 100644 --- a/src/modules/network_element/controller/action.go +++ b/src/modules/network_element/controller/action.go @@ -7,6 +7,8 @@ import ( "runtime" "strings" + "github.com/gin-gonic/gin" + "be.ems/src/framework/i18n" "be.ems/src/framework/utils/ctx" "be.ems/src/framework/utils/file" @@ -14,8 +16,6 @@ import ( "be.ems/src/framework/utils/ssh" "be.ems/src/framework/vo/result" neService "be.ems/src/modules/network_element/service" - "github.com/gin-gonic/gin" - "github.com/gin-gonic/gin/binding" ) // 实例化控制层 NeActionController 结构体 @@ -34,6 +34,15 @@ type NeActionController struct { // 从本地到网元发送文件 // // POST /pushFile +// +// @Tags network_element +// @Accept json +// @Produce json +// @Success 200 {object} map[string]any{} "data" +// @Security ApiKeyAuth +// @Summary Sending files from local to network elements +// @Description Sending files from local to network elements +// @Router /ne/action/pushFile [post] func (s *NeActionController) PushFile(c *gin.Context) { language := ctx.AcceptLanguage(c) var body struct { @@ -42,7 +51,7 @@ func (s *NeActionController) PushFile(c *gin.Context) { UploadPath string `json:"uploadPath" binding:"required"` DelTemp bool `json:"delTemp"` // 删除本地临时文件 } - if err := c.ShouldBindBodyWith(&body, binding.JSON); err != nil { + if err := c.ShouldBindBodyWithJSON(&body); err != nil { c.JSON(400, result.CodeMsg(400, i18n.TKey(language, "app.common.err400"))) return } @@ -331,7 +340,7 @@ func (s *NeActionController) Service(c *gin.Context) { NeID string `json:"neId" binding:"required"` Action string `json:"action" binding:"required,oneof=start restart stop reboot poweroff"` // 操作行为 } - if err := c.ShouldBindBodyWith(&body, binding.JSON); err != nil { + if err := c.ShouldBindBodyWithJSON(&body); err != nil { c.JSON(400, result.CodeMsg(400, i18n.TKey(language, "app.common.err400"))) return } diff --git a/src/modules/network_element/controller/ne_info.go b/src/modules/network_element/controller/ne_info.go index c2ce7ab3..f814eb1c 100644 --- a/src/modules/network_element/controller/ne_info.go +++ b/src/modules/network_element/controller/ne_info.go @@ -233,13 +233,13 @@ func (s *NeInfoController) OAMFileWrite(c *gin.Context) { // // GET /list func (s *NeInfoController) List(c *gin.Context) { - querys := ctx.QueryMap(c) + query := ctx.QueryMapString(c) bandStatus := false - if v, ok := querys["bandStatus"]; ok && v != nil { + if v, ok := query["bandStatus"]; ok { bandStatus = parse.Boolean(v) } - data := s.neInfoService.SelectPage(querys, bandStatus) - c.JSON(200, result.Ok(data)) + rows, total := s.neInfoService.SelectPage(query, bandStatus) + c.JSON(200, result.Ok(map[string]any{"rows": rows, "total": total})) } // 网元信息 @@ -289,11 +289,13 @@ func (s *NeInfoController) Add(c *gin.Context) { if err != nil { body.Status = "0" } else { + // 网元状态设置为在线 + body.Status = "1" + if parse.Boolean(body.ServerState["standby"]) { + body.Status = "3" + } // 下发网管配置信息给网元 - _, err = neFetchlink.NeConfigOMC(body) - if err == nil { - body.Status = "1" - } else { + if _, err = neFetchlink.NeConfigOMC(body); err != nil { body.Status = "2" } } @@ -380,11 +382,13 @@ func (s *NeInfoController) Edit(c *gin.Context) { if err != nil { body.Status = "0" } else { + // 网元状态设置为在线 + body.Status = "1" + if parse.Boolean(body.ServerState["standby"]) { + body.Status = "3" + } // 下发网管配置信息给网元 - _, err = neFetchlink.NeConfigOMC(body) - if err == nil { - body.Status = "1" - } else { + if _, err = neFetchlink.NeConfigOMC(body); err != nil { body.Status = "2" } } diff --git a/src/modules/network_element/fetch_link/ne_config.go b/src/modules/network_element/fetch_link/ne_config.go index 5e159b65..4ede67e4 100644 --- a/src/modules/network_element/fetch_link/ne_config.go +++ b/src/modules/network_element/fetch_link/ne_config.go @@ -27,10 +27,10 @@ func NeConfigOMC(neInfo model.NeInfo) (map[string]any, error) { var resData map[string]any if err != nil { errStr := err.Error() - logger.Warnf("NeConfigOMC Put \"%s\"", neUrl) if strings.HasPrefix(errStr, "201") || strings.HasPrefix(errStr, "204") { return resData, nil } + logger.Warnf("NeConfigOMC Put \"%s\"", neUrl) logger.Errorf("NeConfigOMC %s", errStr) return nil, fmt.Errorf("NeService Config OMC Update API Error") } diff --git a/src/modules/network_element/fetch_link/ne_state.go b/src/modules/network_element/fetch_link/ne_state.go index 9da0547d..7cd50e6c 100644 --- a/src/modules/network_element/fetch_link/ne_state.go +++ b/src/modules/network_element/fetch_link/ne_state.go @@ -45,6 +45,7 @@ func NeState(neInfo model.NeInfo) (map[string]any, error) { "neName": neInfo.NeName, "neIP": neInfo.IP, "refreshTime": time.Now().UnixMilli(), // 获取时间 + "standby": resData["standby"], // 是否备用服务 "version": resData["version"], "capability": resData["capability"], "sn": resData["serialNum"], diff --git a/src/modules/network_element/model/ne_info.go b/src/modules/network_element/model/ne_info.go index 71a1a756..164814e3 100644 --- a/src/modules/network_element/model/ne_info.go +++ b/src/modules/network_element/model/ne_info.go @@ -2,31 +2,36 @@ package model // NeInfo 网元信息对象 ne_info type NeInfo struct { - ID string `json:"id" gorm:"id"` - NeType string `json:"neType" gorm:"ne_type" binding:"required"` - NeId string `json:"neId" gorm:"ne_id" binding:"required"` - RmUID string `json:"rmUid" gorm:"rm_uid"` - NeName string `json:"neName" gorm:"ne_name"` - IP string `json:"ip" gorm:"ip" binding:"required"` - Port int64 `json:"port" gorm:"port" binding:"required,number,max=65535,min=1"` - PvFlag string `json:"pvFlag" gorm:"pv_flag" binding:"oneof=PNF VNF"` // ''PNF'',''VNF'' - Province string `json:"province" gorm:"province"` // 省份地域 - VendorName string `json:"vendorName" gorm:"vendor_name"` - Dn string `json:"dn" gorm:"dn"` - NeAddress string `json:"neAddress" gorm:"ne_address"` // MAC地址 - HostIDs string `json:"hostIds" gorm:"host_ids"` // 网元主机ID组 数据格式(ssh,telnet) UDM(ssh,telnet,redis) UPF(ssh,telnet,telnet) - Status string `json:"status" gorm:"status"` // 0离线 1在线 2配置待下发 - Remark string `json:"remark" gorm:"remark"` // 备注 - CreateBy string `json:"createBy" gorm:"create_by"` // 创建者 - CreateTime int64 `json:"createTime" gorm:"create_time"` // 创建时间 - UpdateBy string `json:"updateBy" gorm:"update_by"` // 更新者 - UpdateTime int64 `json:"updateTime" gorm:"update_time"` // 更新时间 + ID string `json:"id" gorm:"column:id;primaryKey;autoIncrement"` + NeType string `json:"neType" gorm:"column:ne_type" binding:"required"` + NeId string `json:"neId" gorm:"column:ne_id" binding:"required"` + RmUID string `json:"rmUid" gorm:"column:rm_uid"` + NeName string `json:"neName" gorm:"column:ne_name"` + IP string `json:"ip" gorm:"column:ip" binding:"required"` + Port int64 `json:"port" gorm:"column:port" binding:"required,number,max=65535,min=1"` + PvFlag string `json:"pvFlag" gorm:"column:pv_flag" binding:"oneof=PNF VNF"` // ''PNF'',''VNF'' + Province string `json:"province" gorm:"column:province"` // 省份地域 + VendorName string `json:"vendorName" gorm:"column:vendor_name"` + Dn string `json:"dn" gorm:"column:dn"` + NeAddress string `json:"neAddress" gorm:"column:ne_address"` // MAC地址 + HostIDs string `json:"hostIds" gorm:"column:host_ids"` // 网元主机ID组 数据格式(ssh,telnet) UDM(ssh,telnet,redis) UPF(ssh,telnet,telnet) + Status string `json:"status" gorm:"column:status"` // 0离线 1在线 2配置待下发 3备用模式 + Remark string `json:"remark" gorm:"column:remark"` // 备注 + CreateBy string `json:"createBy" gorm:"column:create_by"` // 创建者 + CreateTime int64 `json:"createTime" gorm:"column:create_time"` // 创建时间 + UpdateBy string `json:"updateBy" gorm:"column:update_by"` // 更新者 + UpdateTime int64 `json:"updateTime" gorm:"column:update_time"` // 更新时间 // ====== 非数据库字段属性 ====== // 服务状态 - ServerState map[string]any `json:"serverState,omitempty"` + ServerState map[string]any `json:"serverState,omitempty" gorm:"-"` // 主机对象组 - Hosts []NeHost `json:"hosts,omitempty"` + Hosts []NeHost `json:"hosts,omitempty" gorm:"-"` +} + +// TableName 表名称 +func (*NeInfo) TableName() string { + return "ne_info" } diff --git a/src/modules/network_element/repository/ne_info.go b/src/modules/network_element/repository/ne_info.go index 0cf12e59..97588aa6 100644 --- a/src/modules/network_element/repository/ne_info.go +++ b/src/modules/network_element/repository/ne_info.go @@ -1,94 +1,50 @@ package repository import ( - "fmt" - "strings" "time" "be.ems/src/framework/datasource" "be.ems/src/framework/logger" - "be.ems/src/framework/utils/parse" - "be.ems/src/framework/utils/repo" "be.ems/src/modules/network_element/model" ) -// neListSort 网元列表预设排序 -var neListSort = []string{ - "OMC", - "IMS", - "AMF", - "AUSF", - "UDR", - "UDM", - "SMF", - "PCF", - "NSSF", - "NRF", - "UPF", - "LMF", - "NEF", - "MME", - "N3IWF", - "MOCNGW", - "SMSC", - "SMSF", - "CBC", - "CHF", - "HLR", - "SGWC", -} - // 实例化数据层 NeInfo 结构体 -var NewNeInfo = &NeInfo{ - selectSql: `select id, ne_type, ne_id, rm_uid, ne_name, ip, port, pv_flag, province, vendor_name, dn, ne_address, host_ids, status, remark, create_by, create_time, update_by, update_time from ne_info`, - - resultMap: map[string]string{ - "id": "ID", - "ne_type": "NeType", - "ne_id": "NeId", - "rm_uid": "RmUID", - "ne_name": "NeName", - "ip": "IP", - "port": "Port", - "pv_flag": "PvFlag", - "province": "Province", - "vendor_name": "VendorName", - "dn": "Dn", - "ne_address": "NeAddress", - "host_ids": "HostIDs", - "status": "Status", - "remark": "Remark", - "create_by": "CreateBy", - "create_time": "CreateTime", - "update_by": "UpdateBy", - "update_time": "UpdateTime", - }, -} +var NewNeInfo = &NeInfo{} // NeInfo 网元信息表 数据层处理 -type NeInfo struct { - // 查询视图对象SQL - selectSql string - // 结果字段与实体映射 - resultMap map[string]string -} +type NeInfo struct{} -// convertResultRows 将结果记录转实体结果组 -func (r *NeInfo) convertResultRows(rows []map[string]any) []model.NeInfo { - arr := make([]model.NeInfo, 0) - for _, row := range rows { - item := model.NeInfo{} - for key, value := range row { - if keyMapper, ok := r.resultMap[key]; ok { - repo.SetFieldValue(&item, keyMapper, value) - } - } - arr = append(arr, item) +// neListSort 网元列表预设排序 +func (r NeInfo) neListSort(arr []model.NeInfo) []model.NeInfo { + // neListSort 网元列表预设排序 + var list = []string{ + "OMC", + "IMS", + "AMF", + "AUSF", + "UDR", + "UDM", + "SMF", + "PCF", + "NSSF", + "NRF", + "UPF", + "LMF", + "NEF", + "MME", + "N3IWF", + "MOCNGW", + "SMSC", + "SMSF", + "CBC", + "CHF", + "HLR", + "SGWC", } // 创建优先级映射 priority := make(map[string]int) - for i, v := range neListSort { + for i, v := range list { priority[v] = i } // 冒泡排序 @@ -101,310 +57,174 @@ func (r *NeInfo) convertResultRows(rows []map[string]any) []model.NeInfo { } } } - return arr } -// SelectNeInfoByNeTypeAndNeID 通过ne_type和ne_id查询网元信息 -func (r *NeInfo) SelectNeInfoByNeTypeAndNeID(neType, neID string) model.NeInfo { - querySql := r.selectSql + " where ne_type = ? and ne_id = ?" - results, err := datasource.RawDB("", querySql, []any{neType, neID}) - if err != nil { - logger.Errorf("query err => %v", err) - return model.NeInfo{} - } - // 转换实体 - rows := r.convertResultRows(results) - if len(rows) > 0 { - return rows[0] - } - return model.NeInfo{} -} - -// SelectPage 根据条件分页查询 -func (r *NeInfo) SelectPage(query map[string]any) map[string]any { +// SelectByPage 分页查询集合 +func (r NeInfo) SelectByPage(query map[string]string) ([]model.NeInfo, int64) { + tx := datasource.DB("").Model(&model.NeInfo{}) // 查询条件拼接 - var conditions []string - var params []any if v, ok := query["neType"]; ok && v != "" { - conditions = append(conditions, "ne_type = ?") - params = append(params, strings.Trim(v.(string), " ")) + tx = tx.Where("ne_type = ?", v) } if v, ok := query["neId"]; ok && v != "" { - conditions = append(conditions, "ne_id = ?") - params = append(params, strings.Trim(v.(string), " ")) + tx = tx.Where("ne_id = ?", v) } if v, ok := query["rmUid"]; ok && v != "" { - conditions = append(conditions, "rmUid like concat(?, '%')") - params = append(params, strings.Trim(v.(string), " ")) + tx = tx.Where("rmUid like concat(?, '%')", v) } - // 构建查询条件语句 - whereSql := "" - if len(conditions) > 0 { - whereSql += " where " + strings.Join(conditions, " and ") + // 查询结果 + var total int64 = 0 + rows := []model.NeInfo{} + + // 查询数量为0直接返回 + if err := tx.Count(&total).Error; err != nil || total <= 0 { + return rows, total } - result := map[string]any{ - "total": 0, - "rows": []model.NeInfo{}, - } - - // 查询数量 长度为0直接返回 - totalSql := "select count(1) as 'total' from ne_info" - totalRows, err := datasource.RawDB("", totalSql+whereSql, params) + // 查询数据分页 + pageNum, pageSize := datasource.PageNumSize(query["pageNum"], query["pageSize"]) + tx = tx.Limit(pageSize).Offset(pageSize * pageNum) + err := tx.Order("ne_type asc, ne_id asc").Find(&rows).Error if err != nil { - logger.Errorf("total err => %v", err) - return result - } - total := parse.Number(totalRows[0]["total"]) - if total == 0 { - return result - } else { - result["total"] = total + logger.Errorf("query find err => %v", err.Error()) + return rows, total } + return r.neListSort(rows), total +} - // 分页 - pageNum, pageSize := repo.PageNumSize(query["pageNum"], query["pageSize"]) - pageSql := " limit ?,? " - params = append(params, pageNum*pageSize) - params = append(params, pageSize) - +// SelectNeInfoByNeTypeAndNeID 通过ne_type和ne_id查询网元信息 +func (r NeInfo) SelectNeInfoByNeTypeAndNeID(neType, neID string) model.NeInfo { + tx := datasource.DB("").Model(&model.NeInfo{}) + // 构建查询条件 + tx = tx.Where("ne_type = ? and ne_id = ?", neType, neID) // 查询数据 - querySql := r.selectSql + whereSql + " order by ne_type asc, ne_id asc " + pageSql - results, err := datasource.RawDB("", querySql, params) - if err != nil { - logger.Errorf("query err => %v", err) - return result + row := model.NeInfo{} + if err := tx.Limit(1).Find(&row).Error; err != nil { + logger.Errorf("query find err => %v", err.Error()) + return row } - - // 转换实体 - result["rows"] = r.convertResultRows(results) - return result + return row } // SelectList 查询列表 -func (r *NeInfo) SelectList(neInfo model.NeInfo) []model.NeInfo { - // 查询条件拼接 - var conditions []string - var params []any +func (r NeInfo) SelectList(neInfo model.NeInfo) []model.NeInfo { + tx := datasource.DB("").Model(&model.NeInfo{}) + // 构建查询条件 if neInfo.NeType != "" { - conditions = append(conditions, "ne_type = ?") - params = append(params, neInfo.NeType) + tx = tx.Where("ne_type = ?", neInfo.NeType) } if neInfo.NeId != "" { - conditions = append(conditions, "ne_id = ?") - params = append(params, neInfo.NeId) - } - - // 构建查询条件语句 - whereSql := "" - if len(conditions) > 0 { - whereSql += " where " + strings.Join(conditions, " and ") + tx = tx.Where("ne_id = ?", neInfo.NeId) } // 查询数据 - querySql := r.selectSql + whereSql + " order by ne_type asc, ne_id asc " - results, err := datasource.RawDB("", querySql, params) - if err != nil { - logger.Errorf("query err => %v", err) + rows := []model.NeInfo{} + if err := tx.Order("ne_type asc, ne_id asc").Find(&rows).Error; err != nil { + logger.Errorf("query find err => %v", err.Error()) + return rows } - - // 转换实体 - return r.convertResultRows(results) + return r.neListSort(rows) } // SelectByIds 通过ID查询 -func (r *NeInfo) SelectByIds(infoIds []string) []model.NeInfo { - placeholder := repo.KeyPlaceholderByQuery(len(infoIds)) - querySql := r.selectSql + " where id in (" + placeholder + ")" - parameters := repo.ConvertIdsSlice(infoIds) - results, err := datasource.RawDB("", querySql, parameters) - if err != nil { - logger.Errorf("query err => %v", err) - return []model.NeInfo{} +func (r NeInfo) SelectByIds(ids []string) []model.NeInfo { + rows := []model.NeInfo{} + if len(ids) <= 0 { + return rows } - // 转换实体 - return r.convertResultRows(results) -} - -// CheckUniqueNeTypeAndNeId 校验同类型下标识是否唯一 -func (r *NeInfo) CheckUniqueNeTypeAndNeId(neInfo model.NeInfo) string { - // 查询条件拼接 - var conditions []string - var params []any - if neInfo.NeType != "" { - conditions = append(conditions, "ne_type = ?") - params = append(params, neInfo.NeType) - } - if neInfo.NeId != "" { - conditions = append(conditions, "ne_id = ?") - params = append(params, neInfo.NeId) - } - - // 构建查询条件语句 - whereSql := "" - if len(conditions) > 0 { - whereSql += " where " + strings.Join(conditions, " and ") - } else { - return "" - } - + tx := datasource.DB("").Model(&model.NeInfo{}) + // 构建查询条件 + tx = tx.Where("id in ?", ids) // 查询数据 - querySql := "select id as 'str' from ne_info " + whereSql + " limit 1" - results, err := datasource.RawDB("", querySql, params) - if err != nil { - logger.Errorf("query err %v", err) - return "" - } - if len(results) > 0 { - return fmt.Sprint(results[0]["str"]) - } - return "" -} - -// Insert 新增信息 -func (r *NeInfo) Insert(neInfo model.NeInfo) string { - // 参数拼接 - params := make(map[string]any) - if neInfo.NeType != "" { - params["ne_type"] = neInfo.NeType - } - if neInfo.NeId != "" { - params["ne_id"] = neInfo.NeId - } - if neInfo.RmUID != "" { - params["rm_uid"] = neInfo.RmUID - } - if neInfo.NeName != "" { - params["ne_name"] = neInfo.NeName - } - if neInfo.IP != "" { - params["ip"] = neInfo.IP - } - if neInfo.Port > 0 { - params["port"] = neInfo.Port - } - if neInfo.PvFlag != "" { - params["pv_flag"] = neInfo.PvFlag - } - if neInfo.Province != "" { - params["province"] = neInfo.Province - } - if neInfo.VendorName != "" { - params["vendor_name"] = neInfo.VendorName - } - if neInfo.Dn != "" { - params["dn"] = neInfo.Dn - } - if neInfo.NeAddress != "" { - params["ne_address"] = neInfo.NeAddress - } - if neInfo.HostIDs != "" { - params["host_ids"] = neInfo.HostIDs - } - if neInfo.Status != "" { - params["status"] = neInfo.Status - } - if neInfo.Remark != "" { - params["remark"] = neInfo.Remark - } - if neInfo.CreateBy != "" { - params["create_by"] = neInfo.CreateBy - params["create_time"] = time.Now().UnixMilli() - } - - // 构建执行语句 - keys, placeholder, values := repo.KeyPlaceholderValueByInsert(params) - sql := "insert into ne_info (" + strings.Join(keys, ",") + ")values(" + placeholder + ")" - - db := datasource.DefaultDB() - // 开启事务 - tx := db.Begin() - // 执行插入 - err := tx.Exec(sql, values...).Error - if err != nil { - logger.Errorf("insert row : %v", err.Error()) - tx.Rollback() - return "" - } - // 获取生成的自增 ID - var insertedID string - err = tx.Raw("select last_insert_id()").Row().Scan(&insertedID) - if err != nil { - logger.Errorf("insert last id : %v", err.Error()) - tx.Rollback() - return "" - } - // 提交事务 - tx.Commit() - return insertedID -} - -// Update 修改信息 -func (r *NeInfo) Update(neInfo model.NeInfo) int64 { - // 参数拼接 - params := make(map[string]any) - if neInfo.NeType != "" { - params["ne_type"] = neInfo.NeType - } - if neInfo.NeId != "" { - params["ne_id"] = neInfo.NeId - } - if neInfo.RmUID != "" { - params["rm_uid"] = neInfo.RmUID - } - if neInfo.NeName != "" { - params["ne_name"] = neInfo.NeName - } - if neInfo.IP != "" { - params["ip"] = neInfo.IP - } - if neInfo.Port > 0 { - params["port"] = neInfo.Port - } - if neInfo.PvFlag != "" { - params["pv_flag"] = neInfo.PvFlag - } - params["province"] = neInfo.Province - params["vendor_name"] = neInfo.VendorName - params["dn"] = neInfo.Dn - params["ne_address"] = neInfo.NeAddress - if neInfo.HostIDs != "" { - params["host_ids"] = neInfo.HostIDs - } - params["remark"] = neInfo.Remark - if neInfo.Status != "" { - params["status"] = neInfo.Status - } - if neInfo.UpdateBy != "" { - params["update_by"] = neInfo.UpdateBy - params["update_time"] = time.Now().UnixMilli() - } - - // 构建执行语句 - keys, values := repo.KeyValueByUpdate(params) - sql := "update ne_info set " + strings.Join(keys, ",") + " where id = ?" - - // 执行更新 - values = append(values, neInfo.ID) - rows, err := datasource.ExecDB("", sql, values) - if err != nil { - logger.Errorf("update row : %v", err.Error()) - return 0 + if err := tx.Find(&rows).Error; err != nil { + logger.Errorf("query find err => %v", err.Error()) + return rows } return rows } -// DeleteByIds 批量删除网元信息 -func (r *NeInfo) DeleteByIds(infoIds []string) int64 { - placeholder := repo.KeyPlaceholderByQuery(len(infoIds)) - sql := "delete from ne_info where id in (" + placeholder + ")" - parameters := repo.ConvertIdsSlice(infoIds) - results, err := datasource.ExecDB("", sql, parameters) - if err != nil { - logger.Errorf("delete err => %v", err) +// CheckUniqueNeTypeAndNeId 校验同类型下标识是否唯一 +func (r NeInfo) CheckUniqueNeTypeAndNeId(neInfo model.NeInfo) string { + tx := datasource.DB("").Model(&model.NeInfo{}) + // 查询条件拼接 + if neInfo.NeType != "" { + tx = tx.Where("ne_type = ?", neInfo.NeType) + } + if neInfo.NeId != "" { + tx = tx.Where("ne_id = ?", neInfo.NeType) + } + // 查询数据 + id := "" + if err := tx.Limit(1).Select("id").Find(&id).Error; err != nil { + logger.Errorf("query find err => %v", err.Error()) + return id + } + return id +} + +// Insert 新增信息 +func (r *NeInfo) Insert(neInfo model.NeInfo) string { + if neInfo.CreateBy != "" { + ms := time.Now().UnixMilli() + neInfo.CreateTime = ms + neInfo.UpdateTime = ms + neInfo.UpdateBy = neInfo.CreateBy + } + tx := datasource.DefaultDB().Create(&neInfo) + if err := tx.Error; err != nil { + logger.Errorf("CreateInBatches err => %v", err) + } + return neInfo.ID +} + +// Update 修改信息 +func (r *NeInfo) Update(neInfo model.NeInfo) int64 { + if neInfo.ID == "" { return 0 } - return results + if neInfo.UpdateBy != "" { + neInfo.UpdateTime = time.Now().UnixMilli() + } + neInfo.UpdateTime = time.Now().UnixMilli() + tx := datasource.DB("").Model(&model.NeInfo{}) + // 构建查询条件 + tx = tx.Where("id = ?", neInfo.ID) + tx = tx.Omit("id") + // 执行更新 + if err := tx.Updates(neInfo).Error; err != nil { + logger.Errorf("update err => %v", err.Error()) + return 0 + } + return tx.RowsAffected +} + +// Update 修改信息 +func (r *NeInfo) UpdateState(id, status string) int64 { + if id == "" { + return 0 + } + tx := datasource.DB("").Model(&model.NeInfo{}) + // 构建查询条件 + tx = tx.Where("id = ?", id) + // 执行更新 + if err := tx.UpdateColumn("status", status).Error; err != nil { + logger.Errorf("update err => %v", err.Error()) + return 0 + } + return tx.RowsAffected +} + +// DeleteByIds 批量删除网元信息 +func (r NeInfo) DeleteByIds(ids []string) int64 { + if len(ids) <= 0 { + return 0 + } + tx := datasource.DB("").Where("id in ?", ids) + if err := tx.Delete(&model.NeInfo{}).Error; err != nil { + logger.Errorf("delete err => %v", err.Error()) + return 0 + } + return tx.RowsAffected } diff --git a/src/modules/network_element/service/ne_info.go b/src/modules/network_element/service/ne_info.go index e01f5109..ea4986f2 100644 --- a/src/modules/network_element/service/ne_info.go +++ b/src/modules/network_element/service/ne_info.go @@ -135,16 +135,15 @@ func (r *NeInfo) SelectNeInfoByRmuid(rmUid string) model.NeInfo { // SelectPage 根据条件分页查询 // // bandStatus 带状态信息 -func (r *NeInfo) SelectPage(query map[string]any, bandStatus bool) map[string]any { - data := r.neInfoRepository.SelectPage(query) +func (r *NeInfo) SelectPage(query map[string]string, bandStatus bool) ([]model.NeInfo, int64) { + rows, total := r.neInfoRepository.SelectByPage(query) // 网元直连读取网元服务状态 if bandStatus { - rows := data["rows"].([]model.NeInfo) r.bandNeStatus(&rows) } - return data + return rows, total } // SelectList 查询列表 @@ -180,23 +179,24 @@ func (r *NeInfo) bandNeStatus(arr *[]model.NeInfo) { if v.Status != "0" { v.Status = "0" (*arr)[i].Status = v.Status - r.neInfoRepository.Update(v) + r.neInfoRepository.UpdateState(v.ID, v.Status) } continue } result["online"] = true (*arr)[i].ServerState = result // 网元状态设置为在线 - if v.Status != "1" { - // 下发网管配置信息给网元 - _, err = neFetchlink.NeConfigOMC(v) - if err == nil { - v.Status = "1" - } else { - v.Status = "2" - } - (*arr)[i].Status = v.Status - r.neInfoRepository.Update(v) + status := "1" + if parse.Boolean(result["standby"]) { + status = "3" + } + // 下发网管配置信息给网元 + if _, err = neFetchlink.NeConfigOMC(v); err != nil { + status = "2" + } + (*arr)[i].Status = status + if v.Status != status { + r.neInfoRepository.UpdateState(v.ID, status) } } } diff --git a/sshsvc/makefile b/sshsvc/makefile index 4de29d23..e5b09083 100644 --- a/sshsvc/makefile +++ b/sshsvc/makefile @@ -1,7 +1,7 @@ # Makefile for OMC-OMC-crontask project PROJECT = OMC -VERSION = 2.2501.1 +VERSION = 2.2501.2 LIBDIR = be.ems/lib BINNAME = sshsvc diff --git a/swagger2docs/docs.go b/swagger2docs/docs.go new file mode 100644 index 00000000..1a54e629 --- /dev/null +++ b/swagger2docs/docs.go @@ -0,0 +1,294 @@ +// Package swagger2docs Code generated by swaggo/swag. DO NOT EDIT +package swagger2docs + +import "github.com/swaggo/swag" + +const docTemplate = `{ + "schemes": {{ marshal .Schemes }}, + "swagger": "2.0", + "info": { + "description": "{{escape .Description}}", + "title": "{{.Title}}", + "contact": {}, + "version": "{{.Version}}" + }, + "host": "{{.Host}}", + "basePath": "{{.BasePath}}", + "paths": { + "/": { + "get": { + "description": "Root Route", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "common" + ], + "summary": "Root Route", + "responses": { + "200": { + "description": "data", + "schema": { + "type": "object", + "additionalProperties": true + } + } + } + } + }, + "/chart/graph": { + "get": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "description": "Getting Relationship Map Data", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "chart" + ], + "summary": "Getting Relationship Map Data", + "parameters": [ + { + "type": "string", + "description": "Group", + "name": "group", + "in": "query", + "required": true + }, + { + "enum": [ + "node", + "edge", + "combo" + ], + "type": "string", + "description": "Type oneof=node edge combo", + "name": "type", + "in": "query", + "required": true + } + ], + "responses": { + "200": { + "description": "data", + "schema": { + "type": "object", + "additionalProperties": true + } + } + } + } + }, + "/chart/graph/": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "description": "Saving Relationship Diagram Data", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "chart" + ], + "summary": "Saving Relationship Diagram Data", + "parameters": [ + { + "description": "{group:'',data:{nodes:[],edges:[],combos:[]}}", + "name": "data", + "in": "body", + "required": true, + "schema": { + "type": "object", + "additionalProperties": true + } + } + ], + "responses": { + "200": { + "description": "data", + "schema": { + "type": "object", + "additionalProperties": true + } + } + } + } + }, + "/chart/graph/:group": { + "delete": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "description": "Deleting Relationship Diagram Data", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "chart" + ], + "summary": "Deleting Relationship Diagram Data", + "parameters": [ + { + "type": "string", + "description": "Group", + "name": "group", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "data", + "schema": { + "type": "object", + "additionalProperties": true + } + } + } + } + }, + "/chart/graph/groups": { + "get": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "description": "Get relationship graph group name", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "chart" + ], + "summary": "Get relationship graph group name", + "responses": { + "200": { + "description": "data", + "schema": { + "type": "object", + "additionalProperties": true + } + } + } + } + }, + "/ne/action/pushFile": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "description": "Sending files from local to network elements", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "network_element" + ], + "summary": "Sending files from local to network elements", + "responses": { + "200": { + "description": "data", + "schema": { + "type": "object", + "additionalProperties": {} + } + } + } + } + } + }, + "securityDefinitions": { + "ApiKeyAuth": { + "description": "Get the key through the login interface, fill in e.g. Bearer \u003caccess_token\u003e", + "type": "apiKey", + "name": "Authorization", + "in": "header" + } + }, + "tags": [ + { + "description": "chart interface", + "name": "chart" + }, + { + "description": "common interface", + "name": "common" + }, + { + "description": "monitor interface", + "name": "monitor" + }, + { + "description": "network data interface", + "name": "network_data" + }, + { + "description": "network element interface", + "name": "network_element" + }, + { + "description": "system interface", + "name": "system" + }, + { + "description": "tool interface", + "name": "tool" + }, + { + "description": "trace interface", + "name": "trace" + }, + { + "description": "ws interface", + "name": "ws" + } + ] +}` + +// SwaggerInfo holds exported Swagger Info so clients can modify it +var SwaggerInfo = &swag.Spec{ + Version: "1.0.5", + Host: "127.0.0.1:33040", + BasePath: "/", + Schemes: []string{"http", "https"}, + Title: "OMC Swagger API", + Description: "OMC Service Interface Info", + InfoInstanceName: "swagger", + SwaggerTemplate: docTemplate, + LeftDelim: "{{", + RightDelim: "}}", +} + +func init() { + swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo) +} diff --git a/swagger2docs/swagger.json b/swagger2docs/swagger.json new file mode 100644 index 00000000..6b45b9ea --- /dev/null +++ b/swagger2docs/swagger.json @@ -0,0 +1,274 @@ +{ + "schemes": [ + "http", + "https" + ], + "swagger": "2.0", + "info": { + "description": "OMC Service Interface Info", + "title": "OMC Swagger API", + "contact": {}, + "version": "1.0.5" + }, + "host": "127.0.0.1:33040", + "basePath": "/", + "paths": { + "/": { + "get": { + "description": "Root Route", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "common" + ], + "summary": "Root Route", + "responses": { + "200": { + "description": "data", + "schema": { + "type": "object", + "additionalProperties": true + } + } + } + } + }, + "/chart/graph": { + "get": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "description": "Getting Relationship Map Data", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "chart" + ], + "summary": "Getting Relationship Map Data", + "parameters": [ + { + "type": "string", + "description": "Group", + "name": "group", + "in": "query", + "required": true + }, + { + "enum": [ + "node", + "edge", + "combo" + ], + "type": "string", + "description": "Type oneof=node edge combo", + "name": "type", + "in": "query", + "required": true + } + ], + "responses": { + "200": { + "description": "data", + "schema": { + "type": "object", + "additionalProperties": true + } + } + } + } + }, + "/chart/graph/": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "description": "Saving Relationship Diagram Data", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "chart" + ], + "summary": "Saving Relationship Diagram Data", + "parameters": [ + { + "description": "{group:'',data:{nodes:[],edges:[],combos:[]}}", + "name": "data", + "in": "body", + "required": true, + "schema": { + "type": "object", + "additionalProperties": true + } + } + ], + "responses": { + "200": { + "description": "data", + "schema": { + "type": "object", + "additionalProperties": true + } + } + } + } + }, + "/chart/graph/:group": { + "delete": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "description": "Deleting Relationship Diagram Data", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "chart" + ], + "summary": "Deleting Relationship Diagram Data", + "parameters": [ + { + "type": "string", + "description": "Group", + "name": "group", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "data", + "schema": { + "type": "object", + "additionalProperties": true + } + } + } + } + }, + "/chart/graph/groups": { + "get": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "description": "Get relationship graph group name", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "chart" + ], + "summary": "Get relationship graph group name", + "responses": { + "200": { + "description": "data", + "schema": { + "type": "object", + "additionalProperties": true + } + } + } + } + }, + "/ne/action/pushFile": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "description": "Sending files from local to network elements", + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "network_element" + ], + "summary": "Sending files from local to network elements", + "responses": { + "200": { + "description": "data", + "schema": { + "type": "object", + "additionalProperties": {} + } + } + } + } + } + }, + "securityDefinitions": { + "ApiKeyAuth": { + "description": "Get the key through the login interface, fill in e.g. Bearer \u003caccess_token\u003e", + "type": "apiKey", + "name": "Authorization", + "in": "header" + } + }, + "tags": [ + { + "description": "chart interface", + "name": "chart" + }, + { + "description": "common interface", + "name": "common" + }, + { + "description": "monitor interface", + "name": "monitor" + }, + { + "description": "network data interface", + "name": "network_data" + }, + { + "description": "network element interface", + "name": "network_element" + }, + { + "description": "system interface", + "name": "system" + }, + { + "description": "tool interface", + "name": "tool" + }, + { + "description": "trace interface", + "name": "trace" + }, + { + "description": "ws interface", + "name": "ws" + } + ] +} \ No newline at end of file diff --git a/swagger2docs/swagger.yaml b/swagger2docs/swagger.yaml new file mode 100644 index 00000000..4ecc7c67 --- /dev/null +++ b/swagger2docs/swagger.yaml @@ -0,0 +1,172 @@ +basePath: / +host: 127.0.0.1:33040 +info: + contact: {} + description: OMC Service Interface Info + title: OMC Swagger API + version: 1.0.5 +paths: + /: + get: + consumes: + - application/json + description: Root Route + produces: + - application/json + responses: + "200": + description: data + schema: + additionalProperties: true + type: object + summary: Root Route + tags: + - common + /chart/graph: + get: + consumes: + - application/json + description: Getting Relationship Map Data + parameters: + - description: Group + in: query + name: group + required: true + type: string + - description: Type oneof=node edge combo + enum: + - node + - edge + - combo + in: query + name: type + required: true + type: string + produces: + - application/json + responses: + "200": + description: data + schema: + additionalProperties: true + type: object + security: + - ApiKeyAuth: [] + summary: Getting Relationship Map Data + tags: + - chart + /chart/graph/: + post: + consumes: + - application/json + description: Saving Relationship Diagram Data + parameters: + - description: '{group:'''',data:{nodes:[],edges:[],combos:[]}}' + in: body + name: data + required: true + schema: + additionalProperties: true + type: object + produces: + - application/json + responses: + "200": + description: data + schema: + additionalProperties: true + type: object + security: + - ApiKeyAuth: [] + summary: Saving Relationship Diagram Data + tags: + - chart + /chart/graph/:group: + delete: + consumes: + - application/json + description: Deleting Relationship Diagram Data + parameters: + - description: Group + in: path + name: group + required: true + type: string + produces: + - application/json + responses: + "200": + description: data + schema: + additionalProperties: true + type: object + security: + - ApiKeyAuth: [] + summary: Deleting Relationship Diagram Data + tags: + - chart + /chart/graph/groups: + get: + consumes: + - application/json + description: Get relationship graph group name + produces: + - application/json + responses: + "200": + description: data + schema: + additionalProperties: true + type: object + security: + - ApiKeyAuth: [] + summary: Get relationship graph group name + tags: + - chart + /ne/action/pushFile: + post: + consumes: + - application/json + description: Sending files from local to network elements + produces: + - application/json + responses: + "200": + description: data + schema: + additionalProperties: {} + type: object + security: + - ApiKeyAuth: [] + summary: Sending files from local to network elements + tags: + - network_element +schemes: +- http +- https +securityDefinitions: + ApiKeyAuth: + description: Get the key through the login interface, fill in e.g. Bearer + in: header + name: Authorization + type: apiKey +swagger: "2.0" +tags: +- description: chart interface + name: chart +- description: common interface + name: common +- description: monitor interface + name: monitor +- description: network data interface + name: network_data +- description: network element interface + name: network_element +- description: system interface + name: system +- description: tool interface + name: tool +- description: trace interface + name: trace +- description: ws interface + name: ws diff --git a/tshark/ky10.zip b/tshark/ky10.zip deleted file mode 100644 index bfb5f9a5..00000000 Binary files a/tshark/ky10.zip and /dev/null differ diff --git a/tshark/ubuntu18.04.zip b/tshark/ubuntu18.04.zip deleted file mode 100644 index 82d2a2d6..00000000 Binary files a/tshark/ubuntu18.04.zip and /dev/null differ diff --git a/tshark/ubuntu22.04.zip b/tshark/ubuntu22.04.zip deleted file mode 100644 index 53165631..00000000 Binary files a/tshark/ubuntu22.04.zip and /dev/null differ