| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- server:
- port: 8080
- servlet:
- context-path: /
- spring:
- application:
- name: position-service
- profiles:
- active: ${SPRING_PROFILES_ACTIVE:local}
- datasource:
- driver-class-name: oracle.jdbc.OracleDriver
- type: com.alibaba.druid.pool.DruidDataSource
- druid:
- initial-size: 5
- min-idle: 5
- max-active: 20
- max-wait: 60000
- time-between-eviction-runs-millis: 60000
- min-evictable-idle-time-millis: 300000
- validation-query: SELECT 1 FROM DUAL
- test-while-idle: true
- test-on-borrow: false
- test-on-return: false
- pool-prepared-statements: true
- max-pool-prepared-statement-per-connection-size: 20
- filter:
- stat:
- enabled: true
- log-slow-sql: true
- slow-sql-millis: 1000
- wall:
- enabled: true
- mybatis-plus:
- mapper-locations: classpath*:mapper/**/*.xml
- configuration:
- map-underscore-to-camel-case: true
- log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
- global-config:
- db-config:
- logic-delete-field: deleted
- logic-delete-value: 1
- logic-not-delete-value: 0
- sa-token:
- token-name: Authorization
- timeout: 2592000
- active-timeout: -1
- is-concurrent: true
- is-share: false
- token-style: uuid
- is-log: false
- springdoc:
- api-docs:
- path: /v3/api-docs
- swagger-ui:
- path: /swagger-ui.html
- tags-sorter: alpha
- operations-sorter: alpha
- packages-to-scan: com.example.position.controller
- management:
- endpoints:
- web:
- exposure:
- include: health,info,prometheus,metrics
- endpoint:
- health:
- show-details: always
- metrics:
- tags:
- application: ${spring.application.name}
|