-
Notifications
You must be signed in to change notification settings - Fork 8
/
mta-cf.yaml
83 lines (80 loc) · 2.11 KB
/
mta-cf.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
ID: epmbp-consumer-app
_schema-version: "2.1"
version: 0.0.1
parameters:
enable-parallel-deployments: true
build-parameters:
before-all:
- builder: custom
commands:
- npm install --production
- npx -p @sap/cds-dk cds build --production
modules:
- name: epmbp-consumer-app-db
type: hdb
path: gen/db
build-parameters:
ignore: ["node_modules/"]
parameters:
memory: 256M
disk-quota: 256M
requires:
- name: epmbp-consumer-app-db-hdi-container
- name: epmbp-consumer-app-srv
type: nodejs
path: gen/srv
build-parameters:
ignore: ["node_modules/"]
parameters:
memory: 256M
disk-quota: 1024M
provides:
- name: srv_api
properties:
url: ${default-url}
requires:
- name: epmbp-consumer-app-db-hdi-container
- name: epmbp-consumer-app-uaa
- name: epmbp-consumer-app-destination-service
- name: epmbp-consumer-app-connectivity-service
- name: epmbp-consumer-app-app
type: nodejs
path: app
build-parameters:
ignore: ["node_modules/"]
parameters:
memory: 256M
disk-quota: 1024M
requires:
- name: epmbp-consumer-app-destination-service
- name: epmbp-consumer-app-connectivity-service
- name: epmbp-consumer-app-uaa
- name: srv_api
group: destinations
properties:
forwardAuthToken: true
strictSSL: false
name: srv_api
url: ~{url}
resources:
- name: epmbp-consumer-app-db-hdi-container
type: com.sap.xs.hdi-container
parameters:
service-plan: hdi-shared
properties:
hdi-container-name: ${service-name}
- name: epmbp-consumer-app-uaa
type: com.sap.xs.uaa
parameters:
path: ./xs-security.json
service-plan: application
- name: epmbp-consumer-app-destination-service
type: org.cloudfoundry.managed-service
parameters:
service-plan: lite
service: destination
- name: epmbp-consumer-app-connectivity-service
type: org.cloudfoundry.managed-service
parameters:
service-plan: lite
service: connectivity