pdf-aggregation-statistics/src/main/resources/application.yml

67 lines
1.6 KiB
YAML

server:
port: 1882
# Just a custom address to be shown to the logs and allow for easier testing, when using proxy. This is not the setting to bind the server to this address.
root_address:
servlet:
context-path: /api
shutdown: graceful
database-name: pdfaggregation_i
spring:
application:
name: PDF_Aggregation_Statistics
cacheUpdateInterval: 21_600_000 # In milliseconds (6 hours).
datasource:
driver-class-name: com.cloudera.impala.jdbc41.Driver
url:
username: ''
password: ''
hikari:
connectionTimeout: 30000
idleTimeout: 600000
maxLifetime: 1800000
maximumPoolSize: 2
minimumIdle: 1
pool-name: StatisticsPool
output:
ansi:
enabled: always
lifecycle:
timeout-per-shutdown-phase: 2m
# Prometheus related config.
management:
endpoint:
health:
enabled: true
show-details: always
metrics:
enabled: true
prometheus:
enabled: true
endpoints:
web:
base-path: /actuator
exposure:
include: health,info,prometheus,metrics
metrics:
tags:
application: ${spring.application.name}
logging:
level:
root: INFO
eu:
openaire:
pdf_aggregation_statistics: DEBUG
org:
springframework:
security: WARN
web: INFO
apache:
hadoop:
io:
compress: WARN