You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
130 lines
3.4 KiB
130 lines
3.4 KiB
spring:
|
|
datasource:
|
|
type: com.alibaba.druid.pool.DruidDataSource
|
|
druid:
|
|
driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
|
|
type: com.alibaba.druid.pool.DruidDataSource
|
|
# url: jdbc:sqlserver://10.10.8.200:1433;databaseName=SRQ_MES_PROD
|
|
# username: sa
|
|
# password: SRQmes123@
|
|
# url: jdbc:sqlserver://xujiesoft.vicp.net:11515;databaseName=ccl_plm
|
|
url: jdbc:sqlserver://192.168.1.90:1433;databaseName=ccl_plm
|
|
username: sa
|
|
password: XJsoft123
|
|
initial-size: 10
|
|
max-active: 100
|
|
min-idle: 10
|
|
max-wait: 60000
|
|
pool-prepared-statements: true
|
|
max-pool-prepared-statement-per-connection-size: 20
|
|
time-between-eviction-runs-millis: 60000
|
|
min-evictable-idle-time-millis: 300000
|
|
#Oracle需要打开注释
|
|
#validation-query: SELECT 1 FROM DUAL
|
|
test-while-idle: true
|
|
test-on-borrow: false
|
|
test-on-return: false
|
|
stat-view-servlet:
|
|
allow: ""
|
|
enabled: true
|
|
url-pattern: /druid/*
|
|
#login-username: admin
|
|
#login-password: admin
|
|
filter:
|
|
stat:
|
|
enabled: true
|
|
log-slow-sql: true
|
|
slow-sql-millis: 1000
|
|
merge-sql: false
|
|
wall:
|
|
config:
|
|
multi-statement-allow: true
|
|
web-stat-filter:
|
|
url-pattern: /*
|
|
exclusions: "*.js,*.gif,*.jpg,*.bmp,*.png,*.css,*.ico,/druid/*"
|
|
session-stat-enable: true
|
|
#ldap的配置参数
|
|
ldap:
|
|
urls: ldap://172.19.1.5:389
|
|
base: OU=China,OU=Asia,DC=worldmark,DC=local # 根据实际的域控制器基础DN进行调整
|
|
username: Worldmark1\PLM_LDAP # 使用UPN格式
|
|
password: P@ssw0rd99
|
|
base-environment:
|
|
java.naming.factory.initial: com.sun.jndi.ldap.LdapCtxFactory
|
|
java.naming.security.authentication: simple
|
|
|
|
#文件的存放的路径
|
|
sys-file:
|
|
file-path: 'D:\plm-file' #不可以放入中文字符
|
|
|
|
# ifs接口路径
|
|
ifs-api:
|
|
api-url: 'http://192.168.1.185:8068'
|
|
|
|
# ifs接口控制
|
|
ifs-control:
|
|
# (false 禁止调用;true 开启调用)
|
|
control-flag: false
|
|
# ifs 账号密码 (同步数据使用)
|
|
# ifs-username: 'Mingo_zhang'
|
|
# ifs-password: 'Ccldesign1'
|
|
ifs-username: 'ifsapp'
|
|
ifs-password: 'ifsapp136'
|
|
|
|
# OA接口路径
|
|
oa-api:
|
|
api-url: 'http://192.168.1.83:8068'
|
|
|
|
# OA接口控制 (false 禁止调用;true 开启调用)
|
|
oa-control:
|
|
control-flag: true
|
|
|
|
#是否启用域控登录
|
|
ldap-control:
|
|
control-flag: false
|
|
|
|
# 消息来源(OA)
|
|
oa-code:
|
|
code: "553"
|
|
|
|
# ccl 短信接口
|
|
ccl-sms:
|
|
action: send
|
|
url: https://sms.ymeeting.cn/smsv2
|
|
username: 925141
|
|
password: 4nM4QB
|
|
extNo: 106905141
|
|
# 定时任务
|
|
task:
|
|
data:
|
|
initGather: 0/10 * * * * ? # 每分钟执行
|
|
syncDataToPLM: 0 0 0 29 2 ? # 每4年执行
|
|
syncLocationToPLM: 0 0 0 29 2 ? # 每4年执行
|
|
sync_part_catalog_to_plm: 0 0 0 29 2 ? # 每1分钟执行
|
|
syncInventoryPartToPlm: 0 0 0 29 2 ? # 每4年执行
|
|
flag: false
|
|
|
|
# 单点登录
|
|
login-token-url: 'http://192.168.1.160:8881/#/login-token'
|
|
|
|
# 使用的site
|
|
#use-site: '41,41A,45,46,48,49,51,52,54,55,56'
|
|
use-site: 'S01,S02,S03'
|
|
|
|
collect:
|
|
time: 30
|
|
data:
|
|
line1: 192.168.3.2
|
|
line2: 192.168.3.39
|
|
line2Port: 1020
|
|
line3Port: 7000
|
|
line3: 1
|
|
line1Value: 0
|
|
line2Value: 0
|
|
line3Value: 0
|
|
|
|
#ifs远程服务器地址
|
|
ifs:
|
|
target:
|
|
#url: https://ekifststmwsw01.ccldesign.com:49080
|
|
url: https://ekifsprdmws01.ccldesign.com:59080
|