kind: ConfigMap apiVersion: v1 metadata: name: cloud-yysj-order-query data: application.yaml: |- spring: datasource: url: jdbc:mysql://10.8.17.119:32196/cloud-yysj?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai username: root driver-class-name: com.mysql.cj.jdbc.Driver type: com.zaxxer.hikari.HikariDataSource hikari: minimum-idle: 5 maximum-pool-size: 15 auto-commit: true idle-timeout: 30000 pool-name: DatebookHikariCP max-lifetime: 1800000 connection-timeout: 30000 password: 123456 mybatis-plus: configuration: # 这个配置会将执行的sql打印出来,在开发或测试的时候可以用 #log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 驼峰下划线转换 map-underscore-to-camel-case: false # 配置的缓存的全局开关 cache-enabled: true # 延时加载的开关 lazy-loading-enabled: true # 开启的话,延时加载一个属性时会加载该对象全部属性,否则按需加载属性 multiple-result-sets-enabled: true use-generated-keys: true default-statement-timeout: 60 default-fetch-size: 100 management: server: port: 8081 endpoint: health: show-details: always endpoints: enabled-by-default: true web: exposure: include: "*" eureka: instance: instance-id: ${spring.cloud.client.ip-address}:${server.port} prefer-ip-address: true client: service-url: defaultZone: http://10.8.18.172:31102/eureka elasticsearch: schema: http address: 10.8.17.119:32482 #address: 192.168.16.41:30002,192.168.16.41:31821,192.168.16.41:30097 connectTimeout: 5000 socketTimeout: 5000 connectionRequestTimeout: 5000 maxConnectNum: 100 maxConnectPerRoute: 100 index: yysjFirst: access-yysj-gateway-first-log-cloud-yysj* yysjSecond: access-yysj-gateway-second-log-cloud-yysj* sjjh: iov_sjjh_access_test1*