2021-03-16 14:25:15 +01:00
|
|
|
# HTTPS CONFIGURATION
|
|
|
|
#server.port = 8443
|
|
|
|
#server.ssl.enabled = true
|
|
|
|
#server.ssl.key-store = src/main/resources/keystore.p12
|
|
|
|
#server.ssl.key-store-type = PKCS12
|
|
|
|
#server.ssl.key-alias = tomcat
|
2021-03-16 17:07:30 +01:00
|
|
|
#server.ssl.key-store-password = urls_controller_project
|
2021-03-16 14:25:15 +01:00
|
|
|
#server.tomcat.remoteip.remote-ip-header = x-your-remote-ip-header
|
|
|
|
#server.tomcat.remoteip.protocol-header = x-your-protocol-header
|
|
|
|
#server.error.include-stacktrace=never
|
|
|
|
|
|
|
|
# HTTP CONFIGURATION
|
2021-07-29 07:44:36 +02:00
|
|
|
server.port = 1880
|
2021-03-16 14:25:15 +01:00
|
|
|
|
|
|
|
# Server api path
|
|
|
|
server.servlet.context-path=/api
|
|
|
|
|
2021-11-09 22:59:27 +01:00
|
|
|
# Database
|
|
|
|
|
|
|
|
spring.impala.url = jdbc:impala://iis-cdh5-test-gw.ocean.icm.edu.pl:21050/
|
|
|
|
# Note: The "UseNativeQuery" does not work with the PreparedStatements! Also, the url does not work without the ending "/"
|
|
|
|
# The username and the password do not matter, since this app is always run in an pre-authenticated machine.
|
|
|
|
|
2022-01-28 06:24:42 +01:00
|
|
|
spring.impala.oldDatabaseName = pdfaggregation_i
|
|
|
|
spring.impala.databaseName = pdfAggregationDatabase
|
|
|
|
|
2021-11-09 22:59:27 +01:00
|
|
|
spring.impala.driver-class-name = com.cloudera.impala.jdbc41.Driver
|
|
|
|
|
|
|
|
spring.datasource.hikari.pool-name=ControllerPool
|
|
|
|
spring.datasource.hikari.maximumPoolSize=20
|
|
|
|
spring.datasource.hikari.maxLifetime=1800000
|
|
|
|
spring.datasource.hikari.minimumIdle=4
|
|
|
|
spring.datasource.hikari.connectionTimeout=30000
|
|
|
|
spring.datasource.hikari.idleTimeout=600000
|
|
|
|
|
|
|
|
|
2021-03-16 14:25:15 +01:00
|
|
|
# LOGGING LEVELS
|
2021-11-04 10:57:19 +01:00
|
|
|
logging.level.root=INFO
|
2021-03-16 14:25:15 +01:00
|
|
|
logging.level.org.springframework.web=INFO
|
2021-11-04 10:57:19 +01:00
|
|
|
logging.level.org.springframework.security=WARN
|
2021-03-16 14:25:15 +01:00
|
|
|
logging.level.eu.openaire.urls_controller=DEBUG
|
2021-10-14 01:46:33 +02:00
|
|
|
spring.output.ansi.enabled=always
|
2021-03-16 14:25:15 +01:00
|
|
|
|
|
|
|
|
|
|
|
## MULTIPART (MultipartProperties)
|
|
|
|
|
|
|
|
# Enable multipart uploads
|
|
|
|
spring.servlet.multipart.enabled=true
|
|
|
|
|
|
|
|
# Threshold after which files are written to disk.
|
|
|
|
spring.servlet.multipart.file-size-threshold=2KB
|
|
|
|
|
|
|
|
# Max file size.
|
|
|
|
spring.servlet.multipart.max-file-size=200MB
|
|
|
|
|
|
|
|
# Max Request Size
|
|
|
|
spring.servlet.multipart.max-request-size=215MB
|