safety-eval-service/safety-eval-start/src/main/resources/nacos/config-spring.yml

172 lines
4.2 KiB
YAML
Raw Normal View History

2026-07-01 17:13:41 +08:00
spring:
web:
resources:
cache:
cachecontrol:
no-store: false
max-age: 10000
no-cache: false
autoconfigure:
exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
main:
allow-bean-definition-overriding: true
mvc:
pathmatch:
matching-strategy: ant_path_matcher
messages:
2026-07-01 17:13:41 +08:00
basename: i18n.messages
encoding: UTF-8
2026-07-01 17:13:41 +08:00
servlet:
multipart:
enabled: true
max-file-size: 100MB
max-request-size: 500MB
server:
tomcat:
max-http-post-size: 100MB
connection-timeout: 180000
2026-07-01 17:13:41 +08:00
fastjson:
parser:
safeMode: true
2026-07-01 17:13:41 +08:00
mvc:
pathmatch:
matching-strategy: ANT_PATH_MATCHER
2026-07-01 17:13:41 +08:00
thymeleaf:
prefix: classpath:/templates/
cache: false
2026-07-01 17:13:41 +08:00
dubbo:
application:
name: ${spring.application.name}
registry:
timeout: 60000
address: nacos://${spring.cloud.nacos.config.server-addr}?namespace=${spring.cloud.nacos.config.namespace}-facade&username=${spring.cloud.nacos.config.username}&password=${spring.cloud.nacos.config.password}
check: false
filter: providerContextFilter
protocol:
port: -1
name: dubbo
consumer:
timeout: 60000
check: false
filter: consumerContextFilter
metadata:
report-definition: false
report-consumer-definition: false
metadata-report:
address: nacos://${spring.cloud.nacos.config.server-addr}
parameters:
namespace: ${spring.cloud.nacos.config.namespace}
username: ${spring.cloud.nacos.config.username}
password: ${spring.cloud.nacos.config.password}
report-definition: false
report-metadata: true
retry-times: 3
retry-period: 5000
timeout: 5000
compress: true
cache-metadata: true
sync-report: false
2026-07-01 17:13:41 +08:00
logging:
config: classpath:jjb-saas-logback-spring.xml
level:
2026-07-01 17:13:41 +08:00
org.qinan.safetyeval: debug
com.alibaba.nacos.client.naming: OFF
com.alibaba.nacos.client.config.impl: OFF
com.alibaba.nacos.common.remote.client: OFF
datapermssion:
tenantcondition:
defaultversion: NEWVERSION
gateway:
url: ${common.gateway.network.http.external}
baseUrl: ${common.gateway.network.http.external}
easy-retry:
server:
host: 10.43.183.92
port: 1788
2026-07-01 17:13:41 +08:00
dromara:
x-file-storage:
default-platform: aliyun-oss-1
thumbnail-suffix: ""
aliyun-oss:
- platform: aliyun-oss-1
enable-storage: true
access-key: LTAI5tFerUgBCLEbXtinDD6d
secret-key: XyGVNV2RvW8U3ceoJDiy9A9oLvCGYp
end-point: oss-cn-hangzhou.aliyuncs.com
bucket-name: test-dragon-yf-pub
domain: https://test-dragon-yf-pub.oss-cn-hangzhou.aliyuncs.com/
base-path: jjb/
dragon:
gateway:
baseurl: ${common.gateway.network.http.intranet}
res: ${common.gateway.network.http.intranet}
is-system: 'false'
system-url: http://jjb-saas-system
other:
platform:
cqyj:
openId: 1724256774550495232
2026-07-01 17:13:41 +08:00
safety-eval:
gbs-user-sync:
fail-fast: true
user-facade-url: ${GBS_USER_FACADE_URL:dubbo://192.168.20.100:32080}
security:
permit-all-paths:
- /v2/api-docs
- /v3/api-docs
permit-all-prefixes:
- /swagger-ui
- /swagger-resources
- /webjars
- /images
2026-07-01 17:13:41 +08:00
- /public/org-personnel
- /test
- /tmp
- /mock
- /org-info
- /org-department
- /org-position
- /org-qualification
- /org-personnel
- /org-personnel-cert
- /org-personnel-change
- /org-resign-apply
- /org-equipment
- /qual-filing
- /qual-filing-change
- /qual-filing-change-detail
- /qual-filing-commitment
- /qual-filing-equipment
- /qual-filing-material
- /qual-filing-personnel
- /qual-filing-personnel-cert
- /file-storage
- /file
authenticated-paths: []
authenticated-prefixes: []
public-api:
system-user-id: 1
system-user-name: local-dev
tenant-id: 1001
org-id: 1
attachment:
default-url: https://s1.aigei.com/prevfiles/6f2754563be2491bad7c957904cd7d2a.jpg?e=2051020800&token=P7S2Xpzfz11vAkASLTkfHN7Fw-oOZBecqeJaxypL:CR60zg7VKDp-jUWyYls_rdvyQMM=
2026-07-01 17:13:41 +08:00
def:
password: a123456
publicKey: 0402df2195296d4062ac85ad766994d73e871b887e18efb9a9a06b4cebc72372869b7da6c347c129dee2b46a0f279ff066b01c76208c2a052af75977c722a2ccee