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.

129 lines
3.4 KiB

2 years ago
1 year ago
10 months ago
2 years ago
1 year ago
2 years ago
2 years ago
2 years ago
11 months ago
8 months ago
2 years ago
2 years ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
1 year ago
1 year ago
  1. spring:
  2. datasource:
  3. type: com.alibaba.druid.pool.DruidDataSource
  4. druid:
  5. driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
  6. type: com.alibaba.druid.pool.DruidDataSource
  7. # url: jdbc:sqlserver://10.10.8.200:1433;databaseName=SRQ_MES_PROD
  8. # username: sa
  9. # password: SRQmes123@
  10. # url: jdbc:sqlserver://xujiesoft.vicp.net:11515;databaseName=ccl_plm
  11. url: jdbc:sqlserver://192.168.1.90:1433;databaseName=ccl_plm
  12. username: sa
  13. password: XJsoft123
  14. initial-size: 10
  15. max-active: 100
  16. min-idle: 10
  17. max-wait: 60000
  18. pool-prepared-statements: true
  19. max-pool-prepared-statement-per-connection-size: 20
  20. time-between-eviction-runs-millis: 60000
  21. min-evictable-idle-time-millis: 300000
  22. #Oracle需要打开注释
  23. #validation-query: SELECT 1 FROM DUAL
  24. test-while-idle: true
  25. test-on-borrow: false
  26. test-on-return: false
  27. stat-view-servlet:
  28. allow: ""
  29. enabled: true
  30. url-pattern: /druid/*
  31. #login-username: admin
  32. #login-password: admin
  33. filter:
  34. stat:
  35. enabled: true
  36. log-slow-sql: true
  37. slow-sql-millis: 1000
  38. merge-sql: false
  39. wall:
  40. config:
  41. multi-statement-allow: true
  42. web-stat-filter:
  43. url-pattern: /*
  44. exclusions: "*.js,*.gif,*.jpg,*.bmp,*.png,*.css,*.ico,/druid/*"
  45. session-stat-enable: true
  46. #ldap的配置参数
  47. ldap:
  48. urls: ldap://172.19.1.5:389
  49. base: OU=China,OU=Asia,DC=worldmark,DC=local # 根据实际的域控制器基础DN进行调整
  50. username: Worldmark1\PLM_LDAP # 使用UPN格式
  51. password: P@ssw0rd99
  52. base-environment:
  53. java.naming.factory.initial: com.sun.jndi.ldap.LdapCtxFactory
  54. java.naming.security.authentication: simple
  55. #文件的存放的路径
  56. sys-file:
  57. file-path: 'D:\plm-file' #不可以放入中文字符
  58. # ifs接口路径
  59. ifs-api:
  60. api-url: 'http://192.168.1.185:8068'
  61. # ifs接口控制
  62. ifs-control:
  63. # (false 禁止调用;true 开启调用)
  64. control-flag: false
  65. # ifs 账号密码 (同步数据使用)
  66. # ifs-username: 'Mingo_zhang'
  67. # ifs-password: 'Ccldesign1'
  68. ifs-username: 'ifsapp'
  69. ifs-password: 'ifsapp136'
  70. # OA接口路径
  71. oa-api:
  72. api-url: 'http://192.168.1.83:8068'
  73. # OA接口控制 (false 禁止调用;true 开启调用)
  74. oa-control:
  75. control-flag: true
  76. #是否启用域控登录
  77. ldap-control:
  78. control-flag: false
  79. # 消息来源(OA)
  80. oa-code:
  81. code: "553"
  82. # ccl 短信接口
  83. ccl-sms:
  84. action: send
  85. url: https://sms.ymeeting.cn/smsv2
  86. username: 925141
  87. password: 4nM4QB
  88. extNo: 106905141
  89. # 定时任务
  90. task:
  91. data:
  92. initGather: 0/10 * * * * ? # 每分钟执行
  93. syncDataToPLM: 0 0 0 29 2 ? # 每4年执行
  94. syncLocationToPLM: 0 0 0 29 2 ? # 每4年执行
  95. sync_part_catalog_to_plm: 0 0 0 29 2 ? # 每1分钟执行
  96. syncInventoryPartToPlm: 0 0 0 29 2 ? # 每4年执行
  97. flag: false
  98. # 单点登录
  99. login-token-url: 'http://192.168.1.160:8881/#/login-token'
  100. # 使用的site
  101. #use-site: '41,41A,45,46,48,49,51,52,54,55,56'
  102. use-site: 'S01,S02,S03'
  103. collect:
  104. time: 30
  105. data:
  106. line1: 192.168.3.2
  107. line2: 192.168.3.39
  108. line2Port: 1020
  109. line3Port: 7000
  110. line3: 1
  111. line1Value: 0
  112. line2Value: 0
  113. line3Value: 0
  114. #ifs远程服务器地址
  115. ifs:
  116. target:
  117. #url: https://ekifststmwsw01.ccldesign.com:49080
  118. url: https://ekifsprdmws01.ccldesign.com:59080