-
Notifications
You must be signed in to change notification settings - Fork 0
/
application-params.yml
73 lines (69 loc) · 1.72 KB
/
application-params.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
# ////////////////////////////
# Config Params Attributes
# ////////////////////////////
---
sivaos:
swagger:
description: API reference for developers
contact-name: sivaos
contact-url: https://github.com/pnguyen215
contact-email: [email protected]
license: sivaos 1.1
license-url: https://swagger.io/license/
version: v.1.1
authentication:
client-id: "sivaosUser"
client-secret: "sivaosU"
host: "localhost:8083"
protocol: "http://"
enable: true
cache:
key-master: uaa
callbacks:
user-details:
enabled: false
# ////////////////////////////
# Config Kafka Attributes
# ////////////////////////////
---
spring:
kafka:
enable-ssl: false
sasl:
enabled: false
producer:
enable-deep-config: false
# ////////////////////////////
# Config 3rd Ally Attributes
# ////////////////////////////
---
spring:
resource-server-callback-starter:
enabled: false # enable to check token from authorization server (url)
# ////////////////////////////
# Config Application Attributes
# ////////////////////////////
---
spring:
jackson:
date-format: yyyy-MM-dd HH:mm:ss
time-zone: Asia/Ho_Chi_Minh
# ////////////////////////////
# Config Cors Attributes
# ////////////////////////////
---
spring:
cors-starter:
enabled: true
allow-credentials: true
max-age-in-seconds: 1800
allowed-origins:
- '*' # default is any origins
allowed-headers: # default ('*') is any headers
- Authorization
- Requestor-Type
allowed-methods:
- '*' # default is any methods (GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS, TRACE)
exposed-headers: # not allowed for '*'
- X-Get-Header
- Access-Control-Expose-Headers