-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathapplication-default.properties
More file actions
76 lines (65 loc) · 3.05 KB
/
application-default.properties
File metadata and controls
76 lines (65 loc) · 3.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# General Spring Boot Settings (do not change!)
spring.main.allow-bean-definition-overriding=true
spring.main.allow-circular-references=true
server.port=8095
###############################################################################
# Context Path
###############################################################################
server.servlet.context-path=/mapping-service
# Data transfer settings, e.g. transfer compression and multipart message size.
# The properties max-file-size and max-request-size define the maximum size of files
# transferred to and from the repository. Setting them to -1 removes all limits.
server.compression.enabled=false
# Max sizes of requests and uploaded files. This value may has to be increased for
# bigger mapping inputs, e.g., while extracting information for a zipped dataset.
spring.servlet.multipart.max-file-size=100MB
spring.servlet.multipart.max-request-size=100MB
# Logging settings
logging.level.root=ERROR
logging.level.edu.kit.datamanager=DEBUG
springdoc.swagger-ui.disable-swagger-default-url=true
# Actuator settings
info.app.name=Mapping-Service
info.app.description=Generic mapping service supporting different mapping implementations.
info.app.group=edu.kit.datamanager
info.app.version=1.0.4
management.endpoint.health.probes.enabled=true
management.endpoint.health.enabled: true
management.endpoint.health.show-details: when-authorized
management.endpoint.health.sensitive: true
management.endpoints.web.exposure.include: health,info
#spring.security.user.name=admin
#spring.security.user.password=secret
#spring.security.user.roles=ADMIN
###############################################################################
# Spring Cloud
###############################################################################
spring.cloud.config.enabled: false
eureka.client.enabled: false
##################################################
# Database
##################################################
spring.datasource.driver-class-name=org.h2.Driver
spring.datasource.url=jdbc:h2:file:./database/mapping-service
spring.datasource.username=user
spring.datasource.password=password
spring.jpa.hibernate.ddl-auto=update
##################################################
# Mapping-Service specific settings
##################################################
# Absolute path to the local python interpreter.
mapping-service.pythonExecutable=file:///usr/bin/python3
# Absolute path to the folder where all plugins are located.
mapping-service.pluginLocation=file://INSTALLATION_DIR/plugins
# Absolute path to the local gemma mappings folder.
mapping-service.mappingSchemasLocation=file://INSTALLATION_DIR/mappingSchemas
# Folder where job output files for async mapping executions are stored
mapping-service.jobOutput=file://INSTALLATION_DIR/jobOutput
management.metrics.export.prometheus.enabled=true
management.endpoint.metrics.enabled=true
# Execution timeout for script calls
mapping-service.executionTimeout=30
mapping-service.authEnabled:false
mapping-service.mappingAdminRole:MAPPING_ADMIN
repo.security.enable-csrf=false
repo.security.allowedOriginPattern=*