2023-06-20 21:16:07 +02:00
|
|
|
server:
|
|
|
|
port: 1882
|
|
|
|
servlet:
|
|
|
|
context-path: /api
|
|
|
|
shutdown: graceful
|
|
|
|
|
|
|
|
database-name: pdfaggregation_i
|
|
|
|
|
|
|
|
spring:
|
|
|
|
application:
|
|
|
|
name: PDF_Aggregation_Statistics
|
2023-10-23 13:53:22 +02:00
|
|
|
cacheUpdateInterval: 21_600_000 # In milliseconds (6 hours).
|
2023-06-20 21:16:07 +02:00
|
|
|
datasource:
|
|
|
|
driver-class-name: com.cloudera.impala.jdbc41.Driver
|
2023-06-20 21:42:53 +02:00
|
|
|
url:
|
2023-06-20 21:16:07 +02:00
|
|
|
username: ''
|
|
|
|
password: ''
|
|
|
|
hikari:
|
|
|
|
connectionTimeout: 30000
|
|
|
|
idleTimeout: 600000
|
|
|
|
maxLifetime: 1800000
|
2023-11-08 11:41:25 +01:00
|
|
|
maximumPoolSize: 2
|
|
|
|
minimumIdle: 1
|
2023-06-20 21:16:07 +02:00
|
|
|
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
|