Commit e28aa9482e2efbced1946edc2a2aed3711255c60
1 parent
efd5b853
恢复class配置
Showing
1 changed file
with
60 additions
and
24 deletions
class-service.yml
| ... | ... | @@ -73,24 +73,12 @@ spring: |
| 73 | 73 | #date-format: yyyy-MM-dd HH:mm:ss |
| 74 | 74 | #deserialization.accept_empty_string_as_null_object: true |
| 75 | 75 | |
| 76 | - activemq: | |
| 77 | - broker-url: failover:(tcp://mqserver:61616)?initialReconnectDelay=100 #ActiveMQ use static transport for broker clusters. multicast discovery for broker clusters, JmsListener cannot auto receive messages from some ActiveMQ servers | |
| 78 | - inMemory: true | |
| 79 | - pool: | |
| 80 | - enabled: true | |
| 81 | - max-connections: 5 | |
| 82 | - idle-timeout: 30000 | |
| 83 | - expiry-timeout: 0 | |
| 84 | - jackson: | |
| 85 | - time-zone: GMT+8 | |
| 86 | - date-format: yyyy-MM-dd HH:mm:ss | |
| 87 | - deserialization.accept_empty_string_as_null_object: true | |
| 88 | 76 | |
| 89 | 77 | mybatis: |
| 90 | 78 | mapperLocations: classpath:/mybatis/*.xml |
| 91 | 79 | typeAliasesPackage: com.huike.eaas.microservice.classes.domains |
| 92 | 80 | config: classpath:mybatis-config.xml |
| 93 | - | |
| 81 | + | |
| 94 | 82 | |
| 95 | 83 | #mybatis: |
| 96 | 84 | #configLocation: classpath:mybatis-config.xml |
| ... | ... | @@ -127,7 +115,7 @@ hystrix: |
| 127 | 115 | isolation: |
| 128 | 116 | thread: |
| 129 | 117 | timeoutInMilliseconds: 60000 |
| 130 | - | |
| 118 | + | |
| 131 | 119 | |
| 132 | 120 | #这个配置为true则取发现服务的注册地址(服务地址存储在DomainExtractingServerList,由EurekaRibbonClientConfiguration.ribbonServerList()创建) |
| 133 | 121 | #为false取本地配置文件的配置地址(服务地址存储在ConfigurationBasedServerList中,由RibbonClientConfiguration.ribbonServerList()创建) |
| ... | ... | @@ -145,12 +133,28 @@ apiConfig: |
| 145 | 133 | gxbApiUrl: http://gxb-api:8080/gxb-api |
| 146 | 134 | gxbBiApiUrl: http://bi-api:8080/bi-api |
| 147 | 135 | testDecry: ENC(8aea42e66b0928c44cd8f861a9d558e6) |
| 148 | - | |
| 136 | + | |
| 149 | 137 | sendCloud: |
| 150 | 138 | user: postmaster@kkb.sendcloud.org |
| 151 | 139 | key: ENC(ad810a86e7a4c5910c4e6a72789cf775e59ecaaf2ed5eb3a4b4101fcf299419a) |
| 152 | 140 | from: postmaster@kkb.sendcloud.org |
| 153 | 141 | |
| 142 | +index: | |
| 143 | + indexDir: /app/index/ | |
| 144 | + | |
| 145 | +#xxl-job | |
| 146 | +xxl: | |
| 147 | + job: | |
| 148 | + admin: | |
| 149 | + addresses: http://192.168.30.61:30140/xxl-job-admin | |
| 150 | + executor: | |
| 151 | + appname: classes-server | |
| 152 | + ip: | |
| 153 | + port: 8888 | |
| 154 | + logpath: /app/logs | |
| 155 | + logretentiondays: -1 | |
| 156 | + accessToken: | |
| 157 | + | |
| 154 | 158 | --- |
| 155 | 159 | server: |
| 156 | 160 | port: 16200 |
| ... | ... | @@ -191,7 +195,7 @@ spring: |
| 191 | 195 | validation-query: SELECT 1 |
| 192 | 196 | test-on-borrow: true |
| 193 | 197 | test-while-idle: true |
| 194 | - | |
| 198 | + | |
| 195 | 199 | secondDatasource: |
| 196 | 200 | name: gxb_core |
| 197 | 201 | url: jdbc:mysql://testdb-master:3306/gxb_core?useUnicode=true&characterEncoding=UTF-8 |
| ... | ... | @@ -224,7 +228,7 @@ mybatis: |
| 224 | 228 | mapperLocations: classpath:/mybatis/*.xml |
| 225 | 229 | typeAliasesPackage: com.huike.eaas.microservice.classes.domains |
| 226 | 230 | config: classpath:mybatis-config.xml |
| 227 | - | |
| 231 | + | |
| 228 | 232 | |
| 229 | 233 | #mybatis: |
| 230 | 234 | #configLocation: classpath:mybatis-config.xml |
| ... | ... | @@ -246,7 +250,7 @@ eureka: |
| 246 | 250 | fetchRegistry: true |
| 247 | 251 | serviceUrl: |
| 248 | 252 | defaultZone: http://discovery:15200/eureka/ |
| 249 | - | |
| 253 | + | |
| 250 | 254 | hystrix: |
| 251 | 255 | command: |
| 252 | 256 | default: |
| ... | ... | @@ -273,6 +277,22 @@ apiConfig: |
| 273 | 277 | gxbApiUrl: http://gxb-api:8080/gxb-api |
| 274 | 278 | gxbBiApiUrl: http://bi-api:8080/bi-api |
| 275 | 279 | |
| 280 | +index: | |
| 281 | + indexDir: /app/index/ | |
| 282 | + | |
| 283 | +#xxl-job | |
| 284 | +xxl: | |
| 285 | + job: | |
| 286 | + admin: | |
| 287 | + addresses: http://192.168.30.61:30140/xxl-job-admin | |
| 288 | + executor: | |
| 289 | + appname: classes-server | |
| 290 | + ip: | |
| 291 | + port: 8888 | |
| 292 | + logpath: /app/logs | |
| 293 | + logretentiondays: -1 | |
| 294 | + accessToken: | |
| 295 | + | |
| 276 | 296 | --- |
| 277 | 297 | server: |
| 278 | 298 | port: 16200 |
| ... | ... | @@ -312,7 +332,7 @@ spring: |
| 312 | 332 | validation-query: SELECT 1 |
| 313 | 333 | test-on-borrow: true |
| 314 | 334 | test-while-idle: true |
| 315 | - | |
| 335 | + | |
| 316 | 336 | secondDatasource: |
| 317 | 337 | name: gxb_core |
| 318 | 338 | url: jdbc:mysql://db-master.gxb-base:3306/gxb_core?useUnicode=true&characterEncoding=UTF-8 |
| ... | ... | @@ -340,12 +360,12 @@ spring: |
| 340 | 360 | #sentinel: |
| 341 | 361 | #master: mymaster1 |
| 342 | 362 | #nodes: redis1:16379,redis2:16379 |
| 343 | - | |
| 363 | + | |
| 344 | 364 | #jackson: |
| 345 | 365 | #time-zone: GMT+8 |
| 346 | 366 | #date-format: yyyy-MM-dd HH:mm:ss |
| 347 | 367 | #deserialization.accept_empty_string_as_null_object: true |
| 348 | - | |
| 368 | + | |
| 349 | 369 | |
| 350 | 370 | mybatis: |
| 351 | 371 | mapperLocations: classpath:/mybatis/*.xml |
| ... | ... | @@ -368,7 +388,7 @@ eureka: |
| 368 | 388 | fetchRegistry: true |
| 369 | 389 | serviceUrl: |
| 370 | 390 | defaultZone: http://discovery:15200/eureka/ |
| 371 | - | |
| 391 | + | |
| 372 | 392 | hystrix: |
| 373 | 393 | command: |
| 374 | 394 | default: |
| ... | ... | @@ -395,8 +415,24 @@ apiConfig: |
| 395 | 415 | gxbApiUrl: http://api/gxb-api |
| 396 | 416 | gxbBiApiUrl: http://bi-api/bi-api |
| 397 | 417 | parentProjectId: 118 |
| 398 | - | |
| 418 | + | |
| 399 | 419 | sendCloud: |
| 400 | 420 | user: postmaster@kkb.sendcloud.org |
| 401 | 421 | key: ENC(ad810a86e7a4c5910c4e6a72789cf775e59ecaaf2ed5eb3a4b4101fcf299419a) |
| 402 | - from: postmaster@kkb.sendcloud.org | |
| 403 | 422 | \ No newline at end of file |
| 423 | + from: postmaster@kkb.sendcloud.org | |
| 424 | + | |
| 425 | +index: | |
| 426 | + indexDir: /app/users/index/ | |
| 427 | + | |
| 428 | +#xxl-job | |
| 429 | +xxl: | |
| 430 | + job: | |
| 431 | + admin: | |
| 432 | + addresses: http://job-service.gaoxiaobang.com/xxl-job-admin | |
| 433 | + executor: | |
| 434 | + appname: classes-server | |
| 435 | + ip: | |
| 436 | + port: 8888 | |
| 437 | + logpath: /app/logs | |
| 438 | + logretentiondays: -1 | |
| 439 | + accessToken: | |
| 404 | 440 | \ No newline at end of file | ... | ... |