feat: ticket enhancemnet

This commit is contained in:
zhangsz
2025-07-02 17:22:35 +08:00
parent 24ed4e874a
commit 758276ecfc
11 changed files with 577 additions and 108 deletions

View File

@@ -0,0 +1,25 @@
ticket:
notifcation:
smtp:
enabled: true
host: mail.smtp.com
port: 25
username: smtpext@smtp.com
# 注意:密码中如果包含特殊字符(如@、#、$等),
# 需要使用双引号括起来,避免解析错误
# 例如password: "1000smtp@omc!"
password: 123456
tlsSkipVerify: true
from: omc@psap
to: # 可以是多个收件人
- admin@psap.com
- user1@psap.com
timeout: # 超时设置
# 这些时间单位是分钟
# 注意:这些时间是相对于工单创建时间的
# 例如new: 60分钟inProgress: 60分钟
new: 1
inProgress: 60
noAnswer1: 240
noAnswer2: 480
nearlyTimeout: 20

View File

@@ -186,4 +186,9 @@ params:
testConfig:
enabled: false
file: /usr/local/omc/etc/testconfig.yaml
file: /usr/local/omc/etc/testconfig.yaml
# PSAP RESTCONF配置
psapConfig:
enabled: true
file: ./etc/psap.yaml