yangys
2025-02-17 74355e14088df2c60da6e9a2b026fa0513709de9
smart-man-boot/src/main/resources/application.yml
@@ -17,6 +17,12 @@
    name: smartman-api
  banner:
    location: classpath:smartbanner.txt
  resources:
    static-locations: static
  thymeleaf:
    cache: false
  mvc:
    static-path-pattern: classpath:/static/**
  redis:
    ##redis 单机环境配置
    host: ${redis.host}
@@ -275,6 +281,7 @@
      - /blade-cps/group/groupWorkstation/jimu
      - /blade-fms/order/process/issued
      - /blade-cps/test/**
      - /test/*
    #授权认证配置
    auth:
      - method: ALL
@@ -349,36 +356,12 @@
      - FlowMapper
      - SuperNewCollectMapper
# rocketmq 配置项,对应 RocketMQProperties 配置类
rocketmq:
  name-server: ${rocketmq-name-server} # RocketMQ Namesrv
  # Producer 配置项
  producer:
    group: masterlink-default-producer-group # 默认生产者分组,最好使用各自明确分组
    send-message-timeout: 3000 # 发送消息超时时间,单位:毫秒。默认为 3000 。
    compress-message-body-threshold: 4096 # 消息压缩阀值,当消息体的大小超过该阀值后,进行消息压缩。默认为 4 * 1024B
    max-message-size: 4194304 # 消息体的最大允许大小。。默认为 4 * 1024 * 1024B
    retry-times-when-send-failed: 2 # 同步发送消息时,失败重试次数。默认为 2 次。
    retry-times-when-send-async-failed: 2 # 异步发送消息时,失败重试次数。默认为 2 次。
    retry-next-server: false # 发送消息给 Broker 时,如果发送失败,是否重试另外一台 Broker 。默认为 false
    enable-msg-trace: true # 是否开启消息轨迹功能。默认为 true 开启。
    customized-trace-topic: BLADE_RMQ_SYS_TRACE_TOPIC # 自定义消息轨迹的 Topic 。默认为 RMQ_SYS_TRACE_TOPIC 。
  message:
    posting:
      workstation-aggregate:
        topic: workstation-aggregate-topic
        consumer: workstation-aggregate-comsumer
---
spring:
  resources:
    static-locations: static
  thymeleaf:
    cache: false
  mvc:
    static-path-pattern: classpath:/static/**
license:
  subject: user #主体 - 注意主体要与生成证书的主体一致一致,不然验证通过不了
  publicAlias: publiccert #公钥别称
  storePass: a1b2c3 #访问公钥库的密码
  licensePath: D:\lictest\ctest.lic #license位置
  publicKeysStorePath: D:\lictest\publicCerts.store #公钥位置
forest:
  bean-id: config0 # 在spring上下文中bean的id, 默认值为forestConfiguration
  backend: okhttp3 # 后端HTTP API: okhttp3 【支持`okhttp3`/`httpclient`】