application-test.yml 1.87 KB
server:
  port: 9099
  tomcat:
    max-swallow-size: -1
  error:
    include-exception: true
    include-stacktrace: ALWAYS
    include-message: ON_PARAM
  servlet:
    context-path: /cmc
  compression:
    enabled: true
    min-response-size: 2048
    mime-types: text/html,text/xml,text/plain,text/css,text/javascript,application/javascript,application/json,application/xml

management: 
  endpoints:
    web:
      exposure:
        include: health,info,metrics
  endpoint:
    health:
      show-details: when_authorized
      show-components: when_authorized

spring:
  servlet:
    multipart:
      max-file-size: 100MB
      max-request-size: 100MB
  jackson:
    date-format: yyyy-MM-dd HH:mm:ss
    time-zone: Asia/Shanghai
  aop:
    proxy-target-class: true
  freemarker:
    cache: false
    prefer-file-system-access: false
    template-loader-path:
    - classpath:/templates
  redis:
    host: 172.16.29.98
    port: 6379
    password: 123456
    timeout: 5000ms
    lettuce:
      pool:
        min-idle: 10
        max-idle: 20
        max-active: 100
        max-wait: 2000ms
        time-between-eviction-runs: 60s
      shutdown-timeout: 100ms

springdoc:
  api-docs:
    path: /v3/api-docs
  swagger-ui:
    path: /swagger-ui.html
    enabled: true

logging:
  level:
    com.huaheng.control.management: INFO
    org.springframework.web: WARN

huaheng:
  system:
    wms_url: http://127.0.0.1:8080/wms
    wms_token: eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiJDTVMiLCJpc3MiOiJodWFoZW5nLXdtcy1jb3JlIiwiZXhwIjo0MDgzNDUzMDEwLCJpYXQiOjE3NzMyODY0NzIsIm9wZXJhdG9yIjoiV01TIiwid2FyZWhvdXNlQ29kZSI6IkNTMDAwMSIsImp0aSI6ImQ2ZDg5MmY4LWJiYTEtNGE1OC05NzI3LTAxNTdkNzI5YWE3NSJ9.onv43iikpb0d6rUEBX_mhUt802fRyLmCxI1CCPa4-9bNprDQssOIPNRjc1ckiLzZHWWbdxVMRqCTyYF02ja4UsppEM1clriRN61JJE4qz2y1VoAK4Yr6eGe8IzSn8z1qTHz_S4WICi_MADUE8G5osE7sdUik79op5bdV-YQp-UM
    wcs_url: http://127.0.0.1:5221
    wcs_token: