forked from RADAR-base/ManagementPortal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
application.yml
144 lines (134 loc) · 3.95 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
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
management:
endpoints:
web:
base-path: /management
exposure:
include: [ "configprops", "env", "health", "info", "jhimetrics", "logfile", "loggers", "prometheus", "threaddump", "caches", "liquibase" ]
endpoint:
health:
show-details: ALWAYS
probes:
enabled: true
jhimetrics:
enabled: true
health:
diskspace:
# disabling diskspace as the standard config, since we have removed
# security check for health endpoint
enabled: false
mail:
enabled: false # When using the MailService, configure an SMTP server and set this to true
db:
enabled: true
metrics:
export:
defaults:
enabled: true
prometheus:
enabled: true
step: 60
enable:
http: true
jvm: true
logback: true
process: true
system: true
distribution:
percentiles-histogram:
all: true
percentiles:
all: 0, 0.5, 0.75, 0.95, 0.99, 1.0
tags:
application: ${spring.application.name}
web:
server:
request:
autotime:
enabled: true
spring:
application:
name: ManagementPortal
profiles:
# The commented value for `active` can be replaced with valid Spring profiles to load.
# Otherwise, it will be filled in by gradle when building the WAR file
# Either way, it can be overridden by `--spring.profiles.active` value passed in the commandline or `-Dspring.profiles.active` set in `JAVA_OPTS`
active: #spring.profiles.active#
jackson:
serialization.write_dates_as_timestamps: false
jpa:
open-in-view: false
hibernate:
ddl-auto: none
naming:
physical-strategy: org.radarbase.management.hibernate.CaseSensitivePhysicalNamingStrategy
implicit-strategy: org.springframework.boot.orm.jpa.hibernate.SpringImplicitNamingStrategy
properties:
org.hibernate.envers:
store_data_at_delete: true
audit_strategy: org.hibernate.envers.strategy.ValidityAuditStrategy
audit_strategy_validity_store_revend_timestamp: true
global_with_modified_flag: true
track_entities_changed_in_revision: true
hibernate:
jdbc:
lob:
non_contextual_creation: true
main:
allow-circular-references: true
messages:
basename: i18n/messages
thymeleaf:
mode: HTML
liquibase:
contexts: prod
springdoc:
api-docs:
path: /api-docs
enabled: false
swagger-ui:
enabled: false
server:
servlet:
session:
cookie:
http-only: true
secure: true
max-age: 30m
timeout: 15m
info:
project:
version: #project.version#
# ===================================================================
# ManagementPortal specific properties
#
# ===================================================================
managementportal:
account:
enableExposeToken: false
mail: # specific JHipster mail property, for standard properties see MailProperties
from: ManagementPortal@localhost
oauth:
keyStorePassword: radarbase
signingKeyAlias: radarbase-managementportal-ec
enablePublicKeyVerifiers: false
siteSettings:
hiddenSubjectFields: [ ]
# ===================================================================
# JHipster specific properties
#
# Full reference is available at: https://jhipster.github.io/common-application-properties/
# ===================================================================
jhipster:
async:
core-pool-size: 2
max-pool-size: 50
queue-capacity: 10000
# ===================================================================
# 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: