This repository has been archived by the owner on Dec 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
/
application.yml
104 lines (95 loc) · 2.94 KB
/
application.yml
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
---
grails:
profile: rest-api
codegen:
defaultPackage: org.transmartproject.api.server
spring:
transactionManagement:
proxies: false
info:
app:
name: '@info.app.name@'
version: '@info.app.version@'
grailsVersion: '@info.app.grailsVersion@'
spring:
main:
banner-mode: "off"
groovy:
template:
check-template-location: false
jmx:
enabled: true
management:
security:
roles: ADMIN # only ROLE_ADMIN can see the full health details
enabled: true
health:
diskspace:
enabled: false # show diskspace health indicator properties
endpoints:
enabled-by-default: false # Spring Actuator Endpoints are Disabled by Default
web:
exposure:
include: health
base-path: /
path-mapping:
health: health
endpoint:
health:
enabled: true # enable health endpoint for application monitoring
---
hibernate:
cache:
queries: false
use_second_level_cache: true
use_query_cache: false
region.factory_class: org.hibernate.cache.ehcache.SingletonEhCacheRegionFactory
dataSource:
url: jdbc:postgresql://localhost:${PGPORT:5432}/transmart?currentSchema=public
driverClassName: org.postgresql.Driver
username: biomart_user
password: biomart_user
dbCreate: none
jmxExport: true
logSql: false
formatql: false
pooled: true
properties:
minimumIdle: 15
maximumPoolSize: 50
grails:
plugin:
databasemigration:
# updateOnStart: true # If true, schema update scripts are executed at startup
updateOnStartFileName: db/changelog/db.changelog-master.yaml
---
grails:
cors:
enabled: true
server:
port: 8081
environments:
test:
keycloak:
realm: test
bearer-only: true
auth-server-url: http://localhost:8080/auth
resource: transmart
use-resource-role-mappings: true
verify-token-audience: true
development:
keycloak:
realm: ${KEYCLOAK_REALM:dev}
bearer-only: true
auth-server-url: ${KEYCLOAK_SERVER_URL:http://localhost:8080/auth}
resource: ${KEYCLOAK_CLIENT_ID:transmart}
use-resource-role-mappings: true
verify-token-audience: true
# disable-trust-manager: false # when true, SSL certificate checking is disabled. Do not use that in production!
# org.transmartproject.security.denyAccessToUsersWithoutRole: false # when true, users without any role are denied access.
# If true, the ROLE_PUBLIC role can be used to grant access to users
---
# org.transmartproject.system.writeLogToDatabase: true # write log messages to the searchapp.search_app_access_log table
environments:
development:
org.transmartproject.system.writeLogToDatabase: false