dcim-common

This commit is contained in:
chen.zhen 2025-03-12 14:48:29 +08:00
parent 7b86326577
commit cbeda312bb
3 changed files with 82 additions and 0 deletions

View File

@ -0,0 +1,32 @@
spring:
application:
name: dcim-common
profiles:
active: dev
main:
allow-bean-definition-overriding: true
allow-circular-references: true
jackson:
date-format: yyyy-MM-dd HH:mm:ss
time-zone: GMT+8
default-property-inclusion: NON_NULL
deserialization:
FAIL_ON_UNKNOWN_PROPERTIES: false
server:
port: 8761
mybatis:
use-assist: true
type-aliases-package: com.netpro.dc
configuration:
log-impl-key: LOG4J2
#================License相关配置===============#
license:
#证书名称
subject: DCIM
#证书所在的位置
licensePath: E://License//license.lic
#================License相关配置===============#

View File

@ -0,0 +1,50 @@
spring:
cloud:
nacos:
discovery:
# 如果使用nacos集群则将所有集群节点的ip:port用逗号连接写在此处
server-addr: 10.5.0.16:8848
# username: nacos
# password: nacos
namespace: spring-cloud
# 多网卡时需要指定一下取本地的哪个ip
ip: 192.168.128.173
netpro:
app:
platform-map:
dems-baseconfig: dems
eam-baseconfig: eam
eem-baseconfig: eem
cm-baseconfig: cm
jt-process: process
hawkeye-activiti: process
dcom-baseconfig: dcom
datasource:
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://10.5.0.16:3308/dcim_common?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true&serverTimezone=Hongkong
username: root
password: tjjt1234
# 百度语音识别平台对接相关配置
baidu:
# 网页上申请语音识别应用获取的apiKey
apiKey: NYtSpOHUUdjkyYOM3Q50hCRH
# 网页上申请语音识别应用获取的secretKey
secretKey: 2iQEyWKlth8Pbuvnl4DAZcS2yCgrXWwb
# 接口域名配置
domain:
# 获取token的接口域名
token: http://aip.baidubce.com
# 智能对话接口域名
unit: https://aip.baidubce.com
# 语音识别配置
asr:
api: http://vop.baidu.com/server_api
# 智能对话配置
unit:
# 机器人id
serviceId: S62649
skillIds:
- 1129861

BIN
dcim-common/dcim-common.jar Normal file

Binary file not shown.