-
-
Notifications
You must be signed in to change notification settings - Fork 78
/
mta-xsa.yaml
112 lines (108 loc) · 2.62 KB
/
mta-xsa.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
ID: bookshop-demo
_schema-version: "2.1"
version: 1.1.0
parameters:
enable-parallel-deployments: true
build-parameters:
before-all:
- builder: custom
commands:
- npm install
- npx -p @sap/cds-dk cds build --production
- npm run build:copycsntoproxy
modules:
- name: bookshop-demo-db
type: hdb
path: gen/db
build-parameters:
ignore: ["node_modules/"]
parameters:
memory: 256M
disk-quota: 2G
requires:
- name: bookshop-demo-db-service
- name: bookshop-demo-srv
type: nodejs
path: gen/srv
build-parameters:
ignore: ["node_modules/"]
properties:
SAP_JWT_TRUST_ACL: '[{"clientid":"*","identityzone":"*"}]'
destinations: |
[
{
"name": "ES5",
"url": "https://sapes5.sapdevcenter.com"
}
]
parameters:
memory: 256M
disk-quota: 2G
provides:
- name: srv_api
properties:
url: ${default-url}
requires:
- name: bookshop-demo-db-service
- name: bookshop-demo-uaa
- name: bookshop-demo-job-scheduler
- name: mqtt
# - name: bookshop-demo-v2-proxy
# type: nodejs
# path: standalone-v2-proxy
# build-parameters:
# ignore: ["node_modules/"]
# parameters:
# memory: 128M
# disk-quota: 2G
# provides:
# - name: srv_api_v2
# properties:
# url: '${default-url}'
# requires:
# - name: srv_api
# properties:
# srv_api_url: ~{url}
- name: bookshop-demo-app
type: nodejs
path: app
build-parameters:
ignore: ["node_modules/"]
parameters:
memory: 256M
disk-quota: 2G
requires:
- name: bookshop-demo-uaa
- name: srv_api
group: destinations
properties:
forwardAuthToken: true
strictSSL: false
name: srv_api
url: ~{url}
# - name: srv_api_v2
# group: destinations
# properties:
# forwardAuthToken: true
# strictSSL: false
# name: srv_api_v2
# url: ~{url}
resources:
- name: bookshop-demo-db-service
type: com.sap.xs.hdi-container
properties:
hdi-container-name: ${service-name}
- name: bookshop-demo-uaa
type: com.sap.xs.uaa
parameters:
path: ./xs-security.json
service-plan: space
- name: bookshop-demo-job-scheduler
type: org.cloudfoundry.managed-service
parameters:
service: jobscheduler
service-plan: default
config:
enable-xsuaa-support: true
- name: mqtt
type: org.cloudfoundry.existing-service