diff --git a/dcim-common/application.yml b/dcim-common/application.yml new file mode 100644 index 0000000..9f87d9c --- /dev/null +++ b/dcim-common/application.yml @@ -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相关配置===============# + \ No newline at end of file diff --git a/dcim-common/config/application-dev.yml b/dcim-common/config/application-dev.yml new file mode 100644 index 0000000..a08194d --- /dev/null +++ b/dcim-common/config/application-dev.yml @@ -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 \ No newline at end of file diff --git a/dcim-common/dcim-common.jar b/dcim-common/dcim-common.jar new file mode 100644 index 0000000..b53a966 Binary files /dev/null and b/dcim-common/dcim-common.jar differ