server: port: 10038 servlet: encoding: charset: UTF-8 force: true context-path: /auth compression: enabled: true #开启数据压缩 mime-types: application/json,application/xml,text/html,text/xml,text/plain min-response-size: 2048 logging: file: path: log/wookit level: root: info "[javax.management]": INFO "[org.apache.http]": INFO "[org.apache.tomcat.util.net.NioEndpoint]": INFO "[sun.rmi]": INFO "[com.alibaba.nacos]": ERROR tracer: trace # 开启trace级别日志,在开发时可以开启此配置,则控制台可以打印es全部请求信息及DSL语句,为了避免重复,开启此项配置后,可以将EE的print-dsl设置为false. spring: application: name: cloudparkauthservice cloud: gateway: discovery: locator: lower-case-service-id: true enabled: true nacos: discovery: server-addr: 10.16.0.49:8848 namespace: 02f60846-3747-424e-a598-2ea9e66dfe87 # 生产环境命名空间 redis: host: r-wz968zear8t0d8bkbg.redis.rds.aliyuncs.com #Redis服务器地址 database: 3 # Redis数据库索引(默认为0) park-database: 2 # 车场业务库(ParkRedisUtils) card-database: 8 # 月卡业务库(CardRedisUtils) system-database: 1 # 系统业务库(SystemRedisUtils) reduction-database: 6 # 减免业务库(ReductionRedisUtils) charge-database: 4 # 计费业务库(ChargeRedisUtils) device-database: 3 # 设备服务 port: 6379 # Redis服务器连接端口 password: yn8Vh85rxvtUPnqB # Redis服务器连接密码(默认为空) prefix: fsv2_pro # 以下为跨服务读专用前缀,null/空串表示不附加前缀 park-prefix: fsv2_pro card-prefix: fsv2_pro system-prefix: fsv2_pro reduction-prefix: charge-prefix: device-prefix: fsv2_pro jedis: pool: max-active: 100 # 连接池最大连接数(使用负值表示没有限制) max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制) max-idle: 20 # 连接池中的最大空闲连接 min-idle: 10 # 连接池中的最小空闲连接 datasource: url: jdbc:mysql://rm-wz9gzvutko8m16mey.mysql.cn-shenzhen.rds.aliyuncs.com:3306/cloudparkauthservice?useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=GMT%2b8 username: fujicaytcuser password: BGbn4jP!mq4jxn@o4fQyp5*@ type: com.zaxxer.hikari.HikariDataSource driver-class-name: com.mysql.cj.jdbc.Driver validation-timeout: 3000 idle-timeout: 60000 minimum-idle: 30 read-only: false connection-timeout: 60000 #请求连接的超时时间 maximum-pool-size: 100 #最大连接数量 max-lifetime: 1800000 #连接的最长生命周期 connection-test-query: SELECT 1 #指定mybatis映射文件的地址 mybatis: mapper-locations: classpath:mapper/*.xml rocketmq: name-server: 10.16.0.80:9876;10.16.0.81:9876;10.16.0.82:9876 producer: group: fujica-producer topic: authResult: park_car_auth_result_pro parkauthEvent: parkauth_event_pro deviceCommand: parkauth_device_command_pro parkInRecordLockStatus: park_in_record_lock_status_pro parkEventRecord: park_event_record_pro parkFollowRecord: park_follow_record_pro parkFollowPayStatus: park_follow_payStatus_pro parkGateOperateRecord: park_gate_operate_record_pro parkGateOperateResult: park_gate_operate_result_pro deviceCommandRetry: device_command_retry_pro parkInRecord: park_in_record_pro parkOutRecord: park_out_record_pro consumer: topic: up: deviceRecognitionResult: device_recognition_pro gateStatus: control_gate_result_pro gpioInput: gpio_input_event_pro heartbeat: heartbeat_event_pro serialData: serial_data_event_pro snapshotResult: snapshot_result_event_pro controlGateResult: control_gate_result_pro payResultSync: topic_pay_result_sync_parking_pro payNotify: pay_notify_pro payNotifyBatch: park_pay_result_notify_batch_pro merchantWarn: park_merchant_warning_pro ownerReduction: park_owner_reduction_pro carAuthentication: park_car_authentication_pro groundSense: ground_sense_pro reply: device-reply-event_pro deviceCommandRetry: device_command_retry_pro userVirtualPlateSync: userVirtualPlateSync_pro chargePayNotify: charge_pay_notify_cloud_pro chargePayNotifyBatch: charge_pay_notify_batch_cloud_pro group: up: deviceRecognitionResult: auth_device_recognition_pro gateStatus: auth_control_gate_result_pro gpioInput: auth_gpio_input_event_pro heartbeat: auth_heartbeat_event_pro serialData: auth_serial_data_event_pro snapshotResult: auth_snapshot_result_event_pro controlGateResult: auth_control_gate_result_pro payResultSync: auth_pay_result_sync_parking_pro payNotify: auth_pay_notify_pro payNotifyBatch: auth_pay_result_notify_batch_pro merchantWarn: auth_merchant_warning_pro ownerReduction: auth_owner_reduction_pro carAuthentication: auth_car_authentication_pro groundSense: auth_ground_sense_pro reply: auth_device-reply-event_pro deviceCommandRetry: auth_device_command_retry_pro userVirtualPlateSync: auth_userVirtualPlateSync_pro chargePayNotify: charge_pay_notify_cloud_pro chargePayNotifyBatch: charge_pay_notify_batch_cloud_pro feign: httpclient: enabled: true #开启feign连接池 max-connections: 100 max-connections-per-route: 50 client: config: default: connect-timeout: 60000 #默认连接超时时间 read-timeout: 60000 #默认请求超时时间 cardservice: connect-timeout: 1000 #月卡服务连接超时时间 read-timeout: 8000 #月卡服务请求超时时 paymentservice: connect-timeout: 30000 #支付服务连接超时时间 read-timeout: 25000 #支付服务请求超时时间 chargeservice: connect-timeout: 10000 #计费服务连接超时时间 read-timeout: 8000 #计费服务请求超时时间 payCenterProxy: connect-timeout: 60000 #代理服务连接超时时间 read-timeout: 60000 #代理服务请求超时时 async: corePoolSize: 5 maxPoolSize: 10 queueCapacity: 20 namePrefix: async-service- cross-service-cache: local: enabled: false default-ttl-seconds: 30 default-max-size: 10000 overrides: monthCard: ttl-seconds: 30 max-size: 10000 blackList: ttl-seconds: 30 max-size: 5000 whiteList: ttl-seconds: 30 max-size: 5000 parkDetail: ttl-seconds: 300 max-size: 1000 parkSetting: ttl-seconds: 300 max-size: 1000 lane: ttl-seconds: 300 max-size: 2000 tempChargeRule: ttl-seconds: 600 max-size: 1000 deviceInfo: ttl-seconds: 300 max-size: 2000 xxl: job: admin: addresses: http://10.16.0.49:8088/xxl-job-admin executor: appname: cloudparkauthservice address: port: 9999 logretentiondays: 30 accessToken: default_token aliyun: oss: endpoint: https://oss-cn-shenzhen.aliyuncs.com keyid: LTAI5tALFygbdLmGw1VsDEVw keysecret: wVJnGaeR8hkxvdnjr2lIzAWlZGVxTG bucketname: forv2-prod