刘光辉
15 小时以前 34981c30a78e8bbd7791131059a9210f9928b62c
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
spring:
  application:
    name: jnpf-eln
  mvc:
    servlet:
      load-on-startup: 0
  main:
    allow-bean-definition-overriding: true
    allow-circular-references: true
  config:
    # 补丁 #8:配置来源 = 仓库 config/(镜像内 /config,经 JNPF_CONFIG_DIR 指向)。
    # file:(非 optional)= 缺文件启动即失败,防静默半配置;host-override 是宿主栈
    # 专用覆盖(容器内不存在,optional 落空跳过)。
    import:
      - file:${JNPF_CONFIG_DIR:config}/shared/datasource.yaml
      - file:${JNPF_CONFIG_DIR:config}/shared/resources.yaml
      - file:${JNPF_CONFIG_DIR:config}/shared/system-config.yaml
      - file:${JNPF_CONFIG_DIR:config}/shared/frame-config.yaml
      - file:${JNPF_CONFIG_DIR:config}/shared/logger.yaml
      - file:${JNPF_CONFIG_DIR:config}/shared/mq.yaml
      - file:${JNPF_CONFIG_DIR:config}/shared/discovery.yaml
      - optional:file:${JNPF_CONFIG_DIR:config}/host-override/discovery.yaml
 
# 应用服务器
server:
  tomcat:
    uri-encoding: UTF-8
  port: 30013
 
management:
  endpoints:
    web:
      exposure:
        include: '*'
  endpoint:
    health:
      show-details: always
    logfile:
      access: unrestricted
 
# ping 探针放行(照 lims 的 /custom/testApi 三层放行模式)
jnpf:
  security:
    ignore:
      urls:
        - /ping
        - /api/eln/ping
        - /dev-api/eln/ping
        - /onlyoffice/template-fill/data
        - /api/eln/onlyoffice/template-fill/data
        - /dev-api/eln/onlyoffice/template-fill/data
  tenant:
    ignore-urls:
      - /ping
      - /api/eln/ping
      - /dev-api/eln/ping
      - /onlyoffice/template-fill/data
      - /api/eln/onlyoffice/template-fill/data
      - /dev-api/eln/onlyoffice/template-fill/data
 
sa-token:
  filter:
    exclude-paths:
      - /ping
      - /api/eln/ping
      - /dev-api/eln/ping
      - /onlyoffice/template-fill/data
      - /api/eln/onlyoffice/template-fill/data
      - /dev-api/eln/onlyoffice/template-fill/data