-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathapplication-dev.yml
147 lines (136 loc) · 5.55 KB
/
application-dev.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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
# ===================================================================
# Spring Boot configuration for the "dev" profile.
#
# This configuration overrides the application.yml file.
#
# More information on profiles: https://jhipster.github.io/profiles/
# More information on configuration properties: https://jhipster.github.io/common-application-properties/
# ===================================================================
# ===================================================================
# Standard Spring Boot properties.
# Full reference is available at:
# http://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html
# ===================================================================
spring:
devtools:
restart:
enabled: true
exclude: .h2.server.properties,static/**,templates/**
livereload:
enabled: false # we use gulp + BrowserSync for livereload
jackson:
serialization.indent_output: true
datasource:
url: jdbc:hsqldb:mem:managementportal;DB_CLOSE_DELAY=-1
username: ManagementPortal
password:
h2:
console:
enabled: false
jpa:
database-platform: org.hibernate.dialect.HSQLDialect
database: HSQL
show-sql: true
properties:
hibernate.id.new_generator_mappings: true
hibernate.cache.use_second_level_cache: true
hibernate.cache.use_query_cache: false
hibernate.generate_statistics: true
hibernate.cache.region.factory_class: com.hazelcast.hibernate.HazelcastCacheRegionFactory
hibernate.cache.hazelcast.instance_name: ManagementPortal
hibernate.cache.use_minimal_puts: true
hibernate.cache.hazelcast.use_lite_member: true
hibernate.ddl-auto: none
mail:
host: # for hotmail
port:
username: [email protected]
password: XXXXXXXX
protocol: smtp
properties.mail.smtp:
auth: true
starttls.enable: true
ssl.trust: # for hotmail
thymeleaf:
cache: false
liquibase:
contexts: dev
# ===================================================================
# To enable SSL, generate a certificate using:
# keytool -genkey -alias ManagementPortal -storetype PKCS12 -keyalg RSA -keysize 2048 -keystore src/main/resources/config/keystore.p12 -validity 3650
#
# You can also use Let's Encrypt:
# https://maximilian-boehm.com/hp2121/Create-a-Java-Keystore-JKS-from-Let-s-Encrypt-Certificates.htm
#
# Then, modify the server.ssl properties so your "server" configuration looks like:
#
# server:
# port: 8443
# ssl:
# key-store: src/main/resources/config/keystore.p12
# key-store-password: <your-password>
# keyStoreType: PKCS12
# keyAlias: ManagementPortal
# ===================================================================
server:
port: 8080
servlet:
session.cookie.secure: false
context-path: /managementportal
session:
cookie:
path: /
# ===================================================================
# ManagementPortal specific properties
#
# ===================================================================
managementportal:
common:
baseUrl: http://localhost:8080 # Modify according to your server's URL
managementPortalBaseUrl: http://localhost:8080/managementportal
privacyPolicyUrl: http://info.thehyve.nl/radar-cns-privacy-policy
adminPassword: admin
activationKeyTimeoutInSeconds: 86400 # 1 day
mail: # specific ManagementPortal mail property, for standard properties see MailProperties
from: ManagementPortal@localhost
frontend:
clientId: ManagementPortalapp
clientSecret: my-secret-token-to-change-in-production
accessTokenValiditySeconds: 14400
refreshTokenValiditySeconds: 259200
sessionTimeout : 86400 # session for rft cookie
oauth:
clientsFile: src/main/docker/etc/config/oauth_client_details.csv
metaTokenTimeout: PT1H #timeout should be specified as the ISO-8601 duration format {@code PnDTnHnMn.nS}.
persistentMetaTokenTimeout: P31D #timeout should be specified as the ISO-8601 duration format {@code PnDTnHnMn.nS}.
catalogueServer:
enableAutoImport: false
serverUrl:
siteSettings:
# The line below can be uncommented to add some hidden fields for UI testing
#hiddenSubjectFields: [person_name, date_of_birth, group]
# ===================================================================
# JHipster specific properties
#
# Full reference is available at: https://jhipster.github.io/common-application-properties/
# ===================================================================
jhipster:
cache: # Cache configuration
hazelcast: # Hazelcast distributed cache
time-to-live-seconds: 3600
backup-count: 1
logging:
logstash: # Forward logs to logstash over a socket, used by LoggingConfiguration
enabled: false
host: localhost
port: 5000
queue-size: 512
# ===================================================================
# Application specific properties
# Add your own application properties here, see the ApplicationProperties class
# to have type-safe configuration, like in the JHipsterProperties above
#
# More documentation is available at:
# https://jhipster.github.io/common-application-properties/
# ===================================================================
application: