|
@@ -0,0 +1,210 @@
|
|
|
|
|
+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: 192.168.2.92:8848
|
|
|
|
|
+ namespace: 49ab56f7-3752-4c43-a935-a1d4024eb82b # 开发环境命名空间
|
|
|
|
|
+
|
|
|
|
|
+ redis:
|
|
|
|
|
+ host: 192.168.2.92 #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: Fjc@2025 # Redis服务器连接密码(默认为空)
|
|
|
|
|
+ prefix: fsv2_test
|
|
|
|
|
+ # 以下为跨服务读专用前缀,null/空串表示不附加前缀
|
|
|
|
|
+ park-prefix: fsv2_test # 例如 "fsv2_dev:park:"
|
|
|
|
|
+ card-prefix: fsv2_test # 例如 "fsv2_dev:card:"
|
|
|
|
|
+ system-prefix: fsv2_test # 例如 "fsv2_dev:system:"
|
|
|
|
|
+ reduction-prefix: # 例如 "fsv2_dev:reduction:"
|
|
|
|
|
+ charge-prefix:
|
|
|
|
|
+ device-prefix: fsv2_test
|
|
|
|
|
+ jedis:
|
|
|
|
|
+ pool:
|
|
|
|
|
+ max-active: 8 # 连接池最大连接数(使用负值表示没有限制)
|
|
|
|
|
+ max-wait: -1 # 连接池最大阻塞等待时间(使用负值表示没有限制)
|
|
|
|
|
+ max-idle: 8 # 连接池中的最大空闲连接
|
|
|
|
|
+ min-idle: 0 # 连接池中的最小空闲连接
|
|
|
|
|
+
|
|
|
|
|
+ datasource:
|
|
|
|
|
+ url: jdbc:mysql://192.168.2.93:3306/test_cloudparkauthservice?useSSL=false&serverTimezone=GMT%2b8
|
|
|
|
|
+ username: fujica
|
|
|
|
|
+ password: Fjc@2025
|
|
|
|
|
+#指定mybatis映射文件的地址
|
|
|
|
|
+mybatis:
|
|
|
|
|
+ mapper-locations: classpath:mapper/*.xml
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+rocketmq:
|
|
|
|
|
+ name-server: 192.168.16.20:9876;192.168.16.21:9876;192.168.16.22:9876
|
|
|
|
|
+ producer:
|
|
|
|
|
+ group: fujica-producer
|
|
|
|
|
+ topic:
|
|
|
|
|
+ authResult: park_car_auth_result_test
|
|
|
|
|
+ parkauthEvent: parkauth_event_test
|
|
|
|
|
+ deviceCommand: parkauth_device_command_test
|
|
|
|
|
+ parkInRecordLockStatus: park_in_record_lock_status_test
|
|
|
|
|
+ parkEventRecord: park_event_record_test
|
|
|
|
|
+ parkFollowRecord: park_follow_record_test
|
|
|
|
|
+ parkFollowPayStatus: park_follow_payStatus_test
|
|
|
|
|
+ parkGateOperateRecord: park_gate_operate_record_test
|
|
|
|
|
+ parkGateOperateResult: park_gate_operate_result_test
|
|
|
|
|
+ deviceCommandRetry: device_command_retry_test
|
|
|
|
|
+ parkInRecord: park_in_record_test
|
|
|
|
|
+ parkOutRecord: park_out_record_test
|
|
|
|
|
+
|
|
|
|
|
+ consumer:
|
|
|
|
|
+ topic:
|
|
|
|
|
+ up:
|
|
|
|
|
+ deviceRecognitionResult: device_recognition_test
|
|
|
|
|
+ gateStatus: control_gate_result_test
|
|
|
|
|
+ gpioInput: gpio_input_event_test
|
|
|
|
|
+ heartbeat: heartbeat_event_test
|
|
|
|
|
+ serialData: serial_data_event_test
|
|
|
|
|
+ snapshotResult: snapshot_result_event_test
|
|
|
|
|
+ controlGateResult: control_gate_result_test
|
|
|
|
|
+ payResultSync: topic_pay_result_sync_parking_test
|
|
|
|
|
+ payNotify: pay_notify_test
|
|
|
|
|
+ payNotifyBatch: park_pay_result_notify_batch_test
|
|
|
|
|
+ merchantWarn: park_merchant_warning_test
|
|
|
|
|
+ ownerReduction: park_owner_reduction_test
|
|
|
|
|
+ carAuthentication: park_car_authentication_test
|
|
|
|
|
+ groundSense: ground_sense_test
|
|
|
|
|
+ reply: device-reply-event_test
|
|
|
|
|
+ deviceCommandRetry: device_command_retry_test
|
|
|
|
|
+ userVirtualPlateSync: userVirtualPlateSync_test
|
|
|
|
|
+ group:
|
|
|
|
|
+ up:
|
|
|
|
|
+ deviceRecognitionResult: auth_device_recognition_test
|
|
|
|
|
+ gateStatus: auth_control_gate_result_test
|
|
|
|
|
+ gpioInput: auth_gpio_input_event_test
|
|
|
|
|
+ heartbeat: auth_heartbeat_event_test
|
|
|
|
|
+ serialData: auth_serial_data_event_test
|
|
|
|
|
+ snapshotResult: auth_snapshot_result_event_test
|
|
|
|
|
+ controlGateResult: auth_control_gate_result_test
|
|
|
|
|
+ payResultSync: auth_pay_result_sync_parking_test
|
|
|
|
|
+ payNotify: auth_pay_notify_test
|
|
|
|
|
+ payNotifyBatch: auth_pay_result_notify_batch_test
|
|
|
|
|
+ merchantWarn: auth_merchant_warning_test
|
|
|
|
|
+ ownerReduction: auth_owner_reduction_test
|
|
|
|
|
+ carAuthentication: auth_car_authentication_test
|
|
|
|
|
+ groundSense: auth_ground_sense_test
|
|
|
|
|
+ reply: auth_device-reply-event_test
|
|
|
|
|
+ deviceCommandRetry: auth_device_command_retry_test
|
|
|
|
|
+ userVirtualPlateSync: auth_userVirtualPlateSync_test
|
|
|
|
|
+
|
|
|
|
|
+feign:
|
|
|
|
|
+ httpclient:
|
|
|
|
|
+ enabled: true #开启feign连接池
|
|
|
|
|
+ max-connections: 100
|
|
|
|
|
+ max-connections-per-route: 50
|
|
|
|
|
+ client:
|
|
|
|
|
+ config:
|
|
|
|
|
+ default:
|
|
|
|
|
+ loggerLevel: FULL
|
|
|
|
|
+ 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://192.168.2.92:8089/xxl-job-admin
|
|
|
|
|
+ executor:
|
|
|
|
|
+ appname: cloudparkauthservice
|
|
|
|
|
+ address:
|
|
|
|
|
+ port: 9999
|
|
|
|
|
+ logretentiondays: 30
|
|
|
|
|
+ accessToken: default_token
|
|
|
|
|
+
|
|
|
|
|
+aliyun:
|
|
|
|
|
+ oss:
|
|
|
|
|
+ endpoint: http://oss-cn-shenzhen.aliyuncs.com
|
|
|
|
|
+ keyid: LTAI5tALFygbdLmGw1VsDEVw
|
|
|
|
|
+ keysecret: wVJnGaeR8hkxvdnjr2lIzAWlZGVxTG
|
|
|
|
|
+ bucketname: fsbase
|