UrlsController/src/main/resources/application.properties

50 lines
1.8 KiB
Properties
Raw Normal View History

2021-03-16 14:25:15 +01:00
# HTTP CONFIGURATION
server.port = 1880
2021-03-16 14:25:15 +01:00
# Server api path
server.servlet.context-path=/api
2022-01-30 21:14:52 +01:00
#Service config
services.pdfaggregation.controller.db.oldDatabaseName = pdfaggregation_i
services.pdfaggregation.controller.db.databaseName = pdfAggregationDatabase
services.pdfaggregation.controller.baseTargetLocation = /tmp/
services.pdfaggregation.controller.maxAttemptsPerRecord = 3
services.pdfaggregation.controller.assignmentLimit = 10000
services.pdfaggregation.controller.s3.endpoint = xa
services.pdfaggregation.controller.s3.accessKey = xa
services.pdfaggregation.controller.s3.secretKey = xa
services.pdfaggregation.controller.s3.region = xa
services.pdfaggregation.controller.s3.bucketName = xa
services.pdfaggregation.controller.s3.shouldEmptyBucket = false
services.pdfaggregation.controller.s3.shouldShowAllS3Buckets = true
2022-01-30 21:14:52 +01:00
# Database
spring.datasource.url=jdbc:impala://iis-cdh5-test-gw.ocean.icm.edu.pl:21050/
spring.datasource.username=
spring.datasource.password=
spring.datasource.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
logging.level.root=INFO
2021-03-16 14:25:15 +01:00
logging.level.org.springframework.web=INFO
logging.level.org.springframework.security=WARN
2021-03-16 14:25:15 +01:00
logging.level.eu.openaire.urls_controller=DEBUG
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
2022-01-31 03:17:16 +01:00
spring.servlet.multipart.max-request-size=215MB