UrlsWorker/src/main/resources/application.properties

62 lines
1.9 KiB
Properties

# 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
server.port = 1881
# You can 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)..
# Server api path
server.servlet.context-path=/api
server.shutdown=graceful
spring.lifecycle.timeout-per-shutdown-phase=2m
#Input data configurations
info.workerId = XX
info.maxAssignmentsLimitPerBatch = 10000
# If the "info.maxAssignmentsBatchesToHandleBeforeShutdown" is zero, then an infinite number of assignments-batches will be handled.
info.maxAssignmentsBatchesToHandleBeforeShutdown = 0
info.controllerIp = XX
info.controllerPort = XX
info.controllerBaseUrl = http://${info.controllerIp}:${info.controllerPort}/api/
workerReportsDirPath: ${HOME}/workerReports/
# LOGGING LEVELS
logging.config=classpath:logback-spring.xml
logging.file.path=logs
logging.level.root=INFO
logging.level.org.springframework.web=INFO
logging.level.org.springframework.security=WARN
logging.level.eu.openaire.urls_worker=DEBUG
logging.level.eu.openaire.publications_retriever=DEBUG
spring.output.ansi.enabled=always
## 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
# All files uploaded by this SpringApp will be stored in this directory (your/dir)
file.assignments-dir=./assignments/