jinlin
2024-12-02 18f682f736914e427070b9bb769df538ad9f6d1c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
# Tomcat
server:
  tomcat:
    uri-encoding: UTF-8
    max-threads: 1000
    min-spare-threads: 30
  port: 8066
  servlet:
    context-path: /reliability_simulat
    session:
      cookie:
        http-only: true
      timeout: PT1H30M
spring:
  profiles:
    active: prod
  datasource:
    druid:
      driver-class-name: com.mysql.cj.jdbc.Driver
      #url: jdbc:mysql://192.168.31.26:3366/reliability_simulat?allowMultiQueries=true&hive.exec.orc.split.strategy=ETL&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8
      url: jdbc:mysql://127.0.0.1:3306/reliability_simulat?allowMultiQueries=true&hive.exec.orc.split.strategy=ETL&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8
      username: root
      #password: root
      password: 123456
#      driver-class-name: com.kingbase8.Driver
#      url: jdbc:kingbase8://192.168.0.25:54321/ZHPT?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
#      username: SYSTEM
#      password: 123456
      initial-size: 10
      max-active: 100
      min-idle: 10
      max-wait: 6000
      pool-prepared-statements: true
      max-pool-prepared-statement-per-connection-size: 20
      time-between-eviction-runs-millis: 60000
      min-evictable-idle-time-millis: 300000
      test-while-idle: true
      test-on-borrow: false
      test-on-return: false
      stat-view-servlet:
        enabled: true
        url-pattern: /druid/*
        #login-username: admin
        #login-password: admin
      filter:
        stat:
          log-slow-sql: true
          slow-sql-millis: 1000
          merge-sql: false
        wall:
          config:
            multi-statement-allow: true
  messages:
    encoding: UTF-8
    basename: i18n/messages
  servlet:
    multipart:
      max-file-size: 101MB
      max-request-size: 101MB
      enabled: true
  redis:
    host: 127.0.0.1
    port: 6379
  cache:
    type: none # 原先使用redis,现在改为none
#    redis:
#      use-key-prefix: false
#      time-to-live: 3600000
#      cache-null-values: true
 
  activiti:
    check-process-definitions: false
 
#mybatis
mybatis-plus:
  mapper-locations: classpath*:/mapper/**/*.xml
  #实体扫描,多个package用逗号或者分号分隔
  typeAliasesPackage: com.zt.*.model
  global-config:
    #数据库相关配置
    db-config:
      #主键类型  AUTO:"数据库ID自增", INPUT:"用户输入ID", ID_WORKER:"全局唯一ID (数字类型唯一ID)", UUID:"全局唯一ID UUID";
      id-type: ID_WORKER
    banner: false
  #原生配置
  configuration:
    map-underscore-to-camel-case: true
    cache-enabled: false
    call-setters-on-nulls: true
    jdbc-type-for-null: 'null'
 
logging:
  level:
    com.zt : debug
  config: classpath:logback-spring.xml
j2cache:
  config-location: classpath:/j2cache.properties
  redis-client: lettuce
  open-spring-cache: true
 
fdfs:
  so-timeout: 600000
  connect-timeout: 6000
  tracker-list: #TrackerList参数,支持多个
  - 192.168.10.10:22122
 
# cas server settings
cas:
  #  tgc:
  #    secure: false
  #  serviceRegistry:
  #    initFromJson: true
  #CAS服务地址
  server-url: http://192.168.31.13:8080/cas/
  #本地客户端ip端口,不是首页地址
  client-host: http://192.168.31.148:8066/reliability_simulat
 
zt:
  oss:
    type: local
    local-domain: http://127.0.0.1:8066/reliability_simulat/
    local-path: D:/ReliabilitySimulation/ #附件存储目录
    log-path: C:/Users/admin/Desktop/fileManage(Service)/logs/spring.log #日志目录
    local-qd-path: D:/TestProjectFiles/ #附件存储目录
    local-prefix: accessories #附件存储子目录
    local-area: sy
    local-server: jd
 
#系统配置
data:
  key: yycbCuSrN1lPMI4M
  sync-path: D:/TestProjectFiles/SYNCDATAEXPORT/
 
  #left,top
  menuPos: left
  debug: true
  test: true
 
  line-nodes: 10
  area-width: 5000
 
  testNewFun: false
 
  sessionTimeout: 200
  # 单位分钟
  tokenTimeout: 60
  # 单位分钟
 
  # 可靠性仿真评估
  reliaSimLib:
    # 算法库启动脚本(全路径)
    mainPy: D:/relia_sim/simulator.py
    # 算法库仿真结果存放根目录
    resultHome: d:/relia_sim/sim_result
    # 是否固定仿真随机种子(1:是,0:否)
    fixedRandomSeed: 0
  # 可靠性评定
  assessLib:
    # 算法库启动脚本(全路径)
    mainPy: D:/relia_sim/assess.py
    # 算法库仿真结果存放根目录
    resultHome: d:/relia_sim/sim_result