2021-03-16 17:38:53 +01:00
# HTTPS CONFIGURATION
#server.port = 8444
#server.ssl.enabled = true
#server.ssl.key-store = src/main/resources/keystore.p12
#server.ssl.key-store-type = PKCS12
#server.ssl.key-alias = tomcat
#server.ssl.key-store-password = urls_worker_project
#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 08:01:53 +02:00
server.port = 1881
2022-11-02 01:27:04 +01:00
# Set the above value to < 0 >, in order to choose a random port (it will automatically choose a new random port, if the previously chosen is already in use)..
2021-03-16 17:38:53 +01:00
# Server api path
server.servlet.context-path = /api
2023-01-25 17:33:49 +01:00
#Input data configurations
info.workerId = XX
info.maxAssignmentsLimitPerBatch = 10000
2023-01-27 13:27:57 +01:00
# If the "info.maxAssignmentsBatchesToHandleBeforeShutdown" is zero, then an infinite number of assignments-batches will be handled.
2023-01-25 17:33:49 +01:00
info.maxAssignmentsBatchesToHandleBeforeShutdown = 0
2023-04-28 22:46:39 +02:00
info.controllerIp = XX
2023-04-29 17:10:35 +02:00
info.controllerPort = XX
2023-04-28 22:46:39 +02:00
info.controllerBaseUrl = http://${info.controllerIp}:${info.controllerPort}/api/
2023-01-25 17:33:49 +01:00
info.shutdownOrCancelCode = XX
2022-06-22 17:53:27 +02:00
2021-03-16 17:38:53 +01:00
# LOGGING LEVELS
2021-06-22 04:58:07 +02:00
logging.config = classpath:logback-spring.xml
2021-11-26 16:04:31 +01:00
logging.level.root = INFO
2021-03-16 17:38:53 +01:00
logging.level.org.springframework.web = INFO
2021-11-26 16:04:31 +01:00
logging.level.org.springframework.security = WARN
2021-03-16 17:38:53 +01:00
logging.level.eu.openaire.urls_worker = DEBUG
2021-06-22 04:58:07 +02:00
logging.level.eu.openaire.publications_retriever = DEBUG
spring.output.ansi.enabled = always
2021-03-16 17:38:53 +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
2021-11-26 16:04:31 +01:00
# All files uploaded by this SpringApp will be stored in this directory (your/dir)
file.assignments-dir = ./assignments/