spring:
application:
name: pivot-app
datasource:
url: jdbc:postgresql://localhost:5439/pivotdb?reWriteBatchedInserts=true
username: postgres
password: postgres
driver-class-name: org.postgresql.Driver
hikari:
maximum-pool-size: 20
minimum-idle: 5
connection-timeout: 30000
idle-timeout: 600000
max-lifetime: 1800000
jpa:
properties:
hibernate:
jdbc:
batch_size: 5000
batch_versioned_data: true
order_inserts: true
order_updates: true
generate_statistics: false
flyway:
enabled: true
locations: classpath:db/migration
baseline-on-migrate: true
pivot:
generator:
batch-size: 1000
default-org-id: 1
benchmark:
warmup-iterations: 3
test-iterations: 10
management:
endpoints:
web:
exposure:
include: health,info,metrics
logging:
level:
root: INFO
ru.mcs: DEBUG
org.hibernate.SQL: WARN
org.hibernate.type.descriptor.sql: WARN
# OpenAPI/Swagger
springdoc:
api-docs:
path: /api-docs
swagger-ui:
path: /swagger-ui.html
tags-sorter: alpha
operations-sorter: method
default-produces-media-type: application/json