spring: datasource: type: com.alibaba.druid.pool.DruidDataSource druid: driver-class-name: com.mysql.jdbc.Driver url: jdbc:mysql://mysql-1.itax.local:36000/dxhy_tertiary?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false username: jxmanager password: lRLg^W&dXeqP2i0x redis: database: 45 host: redis-1.itax.local port: 38000 password: q92RBG89bbVdn^2k jedis: pool: max-idle: 500 # 最大空闲连接 min-idle: 5 # 最小空闲链接 max-active: 1000 # 最大连接数(负数表示没有限制) max-wait: -1 # 最大阻塞等待时间(负数表示没有限制) timeout: 6000 #连接超时时间 rabbitmq: host: rabbitmq-1.itax.local port: 35000 username: admin password: Invoice!.rabbitm1 sleuth: enabled: true http: legacy: enabled: true ##多数据源的配置 dynamic: datasource: business_detail_read: driver-class-name: com.mysql.jdbc.Driver url: jdbc:mysql://mysql-1.itax.local:36000/dxhy_detail?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull username: jxmanager password: lRLg^W&dXeqP2i0x business_detail_write: driver-class-name: com.mysql.jdbc.Driver url: jdbc:mysql://mysql-1.itax.local:36000/dxhy_detail?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull username: jxmanager password: lRLg^W&dXeqP2i0x business_business_read: driver-class-name: com.mysql.jdbc.Driver url: jdbc:mysql://mysql-1.itax.local:36000/dxhy_tertiary?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull username: jxmanager password: lRLg^W&dXeqP2i0x business_business_write: driver-class-name: com.mysql.jdbc.Driver url: jdbc:mysql://mysql-1.itax.local:36000/dxhy_tertiary?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull username: jxmanager password: lRLg^W&dXeqP2i0x logging: level: com.dxhy: DEBUG file: path: /data/logs/dxhy-portrait/ name: ${logging.file.path}dxhy-portrait data: initialSize: 10 maxActive: 150 minIdle: -1 maxWait: 60000 timeBetweenEvictionRunsMillis: 60000 minEvictableIdleTimeMillis: 3000000 maxEvictableIdleTimeMillis: 18000000 validationQuery: SELECT 1 FROM DUAL validationQueryTimeout: -1 testOnBorrow: false testOnReturn: false testWhileIdle: true poolPreparedStatements: false maxOpenPreparedStatements: -1 sharePreparedStatements: false #mybatis mybatis-plus: mapper-locations: classpath*:/mapper/**/*.xml #实体扫描,多个package用逗号或者分号分隔 typeAliasesPackage: com.dxhy.portrait.*.entity global-config: #数据库相关配置 db-config: #主键类型 AUTO:"数据库ID自增", INPUT:"用户输入ID", ID_WORKER:"全局唯一ID (数字类型唯一ID)", UUID:"全局唯一ID UUID"; id-type: ASSIGN_ID #字段策略 IGNORED:"忽略判断",NOT_NULL:"非 NULL 判断"),NOT_EMPTY:"非空判断" field-strategy: NOT_NULL #驼峰下划线转换 column-underline: true logic-delete-value: -1 logic-not-delete-value: 0 banner: false #原生配置 configuration: map-underscore-to-camel-case: true cache-enabled: false call-setters-on-nulls: true jdbc-type-for-null: 'null' # 必须配置 feign: httpclient: enabled: false okhttp: enabled: true hystrix: threadpool: default: coreSize: 1000 ##并发执行的最大线程数,默认10 maxQueueSize: 1000 ##BlockingQueue的最大队列数 queueSizeRejectionThreshold: 500 ##即使maxQueueSize没有达到,达到queueSizeRejectionThreshold该值后,请求也会被拒绝 command: default: execution: isolation: thread: timeoutInMilliseconds: 110000 # 配置swagger swagger: enabled: true base-package: com.dxhy.portrait title: dxhy-portrait version: 3.0 description: 管理后端服务 contact: name: portrait auth: serviceId: dxhy-admin user: token-header: Authorization client: id: dxhy-portrait secret: 123456 token-header: x-client-token ##查验相关 invioceCheck: secretId: emVuZ3poaXNodWl4aWFuZ211YXBwX3NlY0lk secretKey: emVuZ3poaXNodWl4aWFuZ211c2VjcmV0X2tleQ== collectUrl: http://101.124.2.174:8100/rest/invoice/dii enterpriseCode: JXFPGLPT version: v1.0 appId: JXFP interfaceCode: INVOICE.CHECK_ONE #OCR配置 ocrs: url: https://ocr.ele-cloud.com/rest/service/ocr appId: FPBX version: v1.6 enterpriseCode: SHYDGL appKey: cfaec94bd90d4613a6f18cfa49eeae94 appSce: a5c98522753e473a9f00705642c1ac97 userid: 18612176950 #配置文件加密 jasypt: encryptor: password: dxhy rabbitmq: prefetchCount: 2 # 个消费者可以fetch的最大消息数量 concurrentConsumers: 2 # 设置并发消费者数量 maxConcurrentConsumers: 10 # 设置最大消费者数量,自动扩展消费者数量关键配置 TO_EXCEL_APPLY: TO_EXCEL_APPLY TO_INVOICE_LOG: TO_INVOICE_LOG TO_INVOICE_STATUS: TO_INVOICE_STATUS TO_MESSAGE_LOG: TO_MESSAGE_LOG TO_MSG_EXCEL_APPLY: TO_MSG_EXCEL_APPLY oldOrgName: 玛(中国)投资有限公司 #management: # endpoints: # web: # exposure: # include: '*' # security: # enabled: false #ftp: # connection: # hostname: 10.1.2.87 # port: 62236 # username: dxhy1 # password: dxhy # timeout: 60000 # size: 2 # pathprefix: /jxfp/pdf/ # localpathprefix: /jxfp/ # tempPath: /home/dxhy/data/tertiary/jxfp/pdf/item/ # depositPath: /home/dxhy/data/tertiary/jxfp/pdf/zipto/ # pdfPath: /home/dxhy/data/pdf_parse/input/ # pythUrl: http://10.1.1.186:9001/pdfParse/ ##艺龙 #pro: # yl: # company: DX # checkCompany: YL,DX