-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathapplication.yml
163 lines (151 loc) · 5.37 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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
# ===================================================================
# Spring Boot configuration.
#
# This configuration will be overriden by the Spring profile you use,
# for example application-dev.yml if you use the "dev" profile.
#
# 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
# ===================================================================
zuul:
sensitiveHeaders: Cookie,Set-Cookie
host:
max-total-connections: 1000
max-per-route-connections: 100
semaphore:
max-semaphores: 500
retryable: true
routes:
oauth:
path: /oauthserver/oauth/**
url: http://localhost:8080/oauth
ribbon:
eureka:
enabled: false
hystrix:
command:
default:
execution:
isolation:
thread:
timeoutInMilliseconds: 60000
management:
endpoints:
web:
base-path: /management
endpoint:
health:
show-details: "ALWAYS"
health:
diskspace:
enabled: false # disabling diskspace as the standard config, since we have removed security check for health endpoint
mail:
enabled: false # When using the MailService, configure an SMTP server and set this to true
datasource:
enabled: true
metrics:
export:
defaults:
enabled: false
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
messages:
basename: i18n/messages
mvc:
favicon:
enabled: false
thymeleaf:
mode: XHTML
security:
oauth2:
resource:
filter-order: 3
server:
session:
cookie:
http-only: true
info:
project:
version: #project.version#
# ===================================================================
# ManagementPortal specific properties
#
# ===================================================================
managementportal:
mail: # specific JHipster mail property, for standard properties see MailProperties
from: ManagementPortal@localhost
oauth:
keyStorePassword: radarbase
signingKeyAlias: radarbase-managementportal-ec
enablePublicKeyVerifiers: false
# ===================================================================
# 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
# By default CORS is disabled. Uncomment to enable.
cors:
allowed-origins: '*'
allowed-methods: GET, PUT, POST, DELETE, OPTIONS
allowed-headers: Authorization, Content-Type
#exposed-headers:
allow-credentials: true
max-age: 1800
swagger:
default-include-pattern: /api/.*
title: ManagementPortal API
description: ManagementPortal API documentation
version: #project.version#
terms-of-service-url:
contact-name:
contact-url:
contact-email:
license: Apache 2.0
license-url: https://github.com/RADAR-base/ManagementPortal/blob/master/LICENSE.md
ribbon:
display-on-active-profiles: dev
# ===================================================================
# 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: