From 2f463b772c16a02c559c753b2f1b1b1329ca2bf4 Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Tue, 14 Nov 2023 17:23:19 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0restconf=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- restagent/etc/restconf.yaml | 37 ++++++++++++++++++++++--------------- 1 file changed, 22 insertions(+), 15 deletions(-) diff --git a/restagent/etc/restconf.yaml b/restagent/etc/restconf.yaml index 630d7fb..803d1bf 100644 --- a/restagent/etc/restconf.yaml +++ b/restagent/etc/restconf.yaml @@ -24,9 +24,9 @@ rest: webServer: enabled: true - rootDir: d:/local.git/fe.ems + rootDir: d:/local.git/fe.ems.vue3/dist listen: - - addr: :8080 + - addr: :80 schema: http - addr: :8443 scheme: https @@ -37,10 +37,10 @@ webServer: database: type: mysql user: root - password: "1000omc@kp!" - host: "192.168.2.166" - port: 33066 - name: "omc_db_dev" + password: "root@1234" + host: "192.168.2.162" + port: 3306 + name: "omc_db" backup: d:/local.git/ems.agt/restagent/database # Redis 缓存数据,数据源声明全小写 @@ -48,15 +48,15 @@ redis: dataSource: # OMC系统使用库 default: - port: 3189 # Redis port - host: "192.168.2.166" # Redis host + port: 6379 # Redis port + host: "192.168.2.162" # Redis host password: "redis@1234" db: 10 # Redis db_num # UDM网元用户库 udmuser: - port: 3189 # Redis port - host: "192.168.2.166" - password: "redis@1234" + port: 6379 # Redis port + host: "192.168.1.187" + password: "" db: 0 # Redis db_num # 多个数据源时可以用这个指定默认的数据源 defaultDataSourceName: "default" @@ -69,13 +69,16 @@ mml: mmlHome: ./mmlhome upload: /home/agtuser +# NE config ne: - user: root + user: agtuser etcdir: /usr/local/etc bindir: /usr/local/bin omcdir: /usr/local/omc scpdir: /tmp licensedir: /usr/local/etc/{neType}/license + # backup etc list of IMS + etcListIMS: '{*.yaml,mmtel,vars.cfg}' # chk2ne: true/false, if put OmcNeConfig parameters to NE omc: @@ -90,6 +93,8 @@ omc: chk2ne: false sn: 13750650 checksign: false + rootDir: ./ + binDir: ./bin backup: ./backup upload: ./upload frontUpload: d:/local.git/fe.ems/upload @@ -108,10 +113,12 @@ omc: alarm: forwardAlarm: true email: - smtp: smtp@xxx.com.cn + smtp: mail.agrandtech.com port: 25 - user: smtpuser - password: smtpuser@omc + user: smtpext@agrandtech.com + password: "1000smtp@omc!" + # TLS skip verify: true/false + tlsSkipVerify: true sms: apiURL: http://smsc.xxx.com.cn/ accessKeyID: xxxx