fix: 相关测试配置

This commit is contained in:
TsMask
2024-07-12 17:45:51 +08:00
parent 04b3fb3e43
commit 1104be0b19
5 changed files with 11 additions and 21 deletions

View File

@@ -187,7 +187,7 @@ nmsCXY:
# 专业编码2位 核心网HX 无线网WX
professionCode: "HX"
# 厂商编码2位 中信科ZX
vendorCode: "AG"
vendorCode: "AT"
# OMC编号3位
omcCode: "001"
# 设备序列号
@@ -195,9 +195,9 @@ nmsCXY:
# Kafka配置
kafka:
addrs:
- "192.168.5.59:19092"
- "192.168.5.59:29092"
- "192.168.5.59:39092"
- "192.168.8.58:19092"
- "192.168.8.58:29092"
- "192.168.8.58:39092"
# 启用 Kerberos 认证
krb5:
enable: false
@@ -211,7 +211,7 @@ nmsCXY:
# OSS配置
oss:
bucketname: "omc-bucket"
endpoint: "192.168.5.59:9000"
endpoint: "192.168.8.58:39000"
useSSL: false
accessKeyID: "aOW0r1gfw74G88Z3XZJ6"
secretAccessKey: "9tDErvtCEuVox6LoQu5BOVtycQKcQjlXOGvjl1eD"
accessKeyID: "hZjJOByIz6TFzOzNkKB9"
secretAccessKey: "eLpRYAG5Wb3Dr6bvmznGoiLmmflUsydOENLp9tlu"

View File

@@ -214,15 +214,6 @@ func main() {
go HttpListen(listen, app)
}
}
// if rest.IPv4 != "0.0.0.0" {
// // 默认启动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))