-
Notifications
You must be signed in to change notification settings - Fork 143
/
Copy pathapplication.yaml
130 lines (123 loc) · 2.53 KB
/
application.yaml
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
---
logging:
level:
'[com.sap.cds.auditlog]': DEBUG
spring:
jmx:
enabled: true
cds:
odata-v4:
endpoint.path: "/api"
security:
authentication.normalize-provider-tenant: true
mock.users:
admin:
password: admin
roles:
- admin
attributes:
businessPartner:
- "10401010"
user:
password: user
server.servlet.encoding:
charset: UTF-8
force: true
management:
endpoint:
health:
show-components: always
show-details: always
endpoints:
web:
exposure:
include: "health"
health:
defaults.enabled: false
ping.enabled: true
db.enabled: true
myhealth.enabled: true
---
spring:
config.activate.on-profile: cloud
sql.init.schema-locations: "classpath:schema-nomocks.sql"
cds:
sql.hana.search:
fuzzy: true
fuzzinessThreshold: 0.9
messaging.services:
bupa-messaging:
kind: enterprise-messaging
format: cloudevents
subscribe-prefix: sap/S4HANAOD/java/ce/
---
spring:
config.activate.on-profile: sandbox
cds:
remote.services:
'[API_BUSINESS_PARTNER]':
type: "odata-v2"
http:
headers:
APIKey: "" # Place API Key from SAP API Business Hub here or use environment variable CDS_REMOTE_SERVICES_API_BUSINESS_PARTNER_HTTP_HEADERS_APIKEY
destination:
properties:
url: "https://sandbox.api.sap.com/s4hanacloud/sap/opu/odata/sap"
---
spring:
config.activate.on-profile: destination
cds:
remote.services:
'[API_BUSINESS_PARTNER]':
type: "odata-v2"
http:
suffix: "/sap/opu/odata/sap"
destination:
name: "s4-destination"
---
spring:
config.activate.on-profile: mocked
cds:
messaging.services:
bupa-messaging:
kind: file-based-messaging
application.services:
api-business-partner-mocked:
model: API_BUSINESS_PARTNER
serve:
path: API_BUSINESS_PARTNER
remote.services:
'[API_BUSINESS_PARTNER]':
http:
suffix: "/api"
destination:
name: "myself"
---
spring:
config.activate.on-profile: ft
cds:
model.provider.url: http://localhost:4005
security.mock.users:
admin:
features:
- isbn
- discount
user:
features:
- isbn
---
spring:
config.activate.on-profile: local-mtxs
cds:
multi-tenancy.sidecar.url: http://localhost:4005
security.mock.users:
admin:
tenant: t1
user:
tenant: t1
---
spring:
config.activate.on-profile: default
cds:
data-source:
auto-config.enabled: false