-
Notifications
You must be signed in to change notification settings - Fork 0
/
mta.yaml
86 lines (74 loc) · 2.25 KB
/
mta.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
## Generated mta.yaml based on template version 0.4.0
## appName = work-zone-cards-data
## language=nodejs; multiTenant=false
## approuter=
_schema-version: '3.1'
ID: com.sap.pgp.work-zone-cards-data
version: 1.0.0
description: "SAP Work Zone for Procurement Card Enablement Project"
parameters:
enable-parallel-deployments: true
global-xsappname: work-zone-cards-data-xsapp-${space}
build-parameters:
before-all:
- builder: custom
commands:
- npm install --production
- npx -p @sap/cds-dk cds build --production
modules:
# --------------------- SERVER MODULE ------------------------
- name: work-zone-cards-data-srv
# ------------------------------------------------------------
type: nodejs
path: gen/srv
properties:
TYPE: "PROD"
parameters:
buildpack: nodejs_buildpack
instances: 1
memory: 2G
disk-quota: 2G
provides:
- name: work-zone-cards-data-srv-api # required by consumers of CAP services (e.g. approuter)
properties:
srv-url: ${default-url}
requires:
# Resources extracted from CAP configuration
- name: work-zone-cards-data-logs
- name: work-zone-cards-data-uaa
- name: work-zone-cards-data-dest
resources:
- name: work-zone-cards-data-logs
type: com.sap.xs.application-logs
- name: work-zone-cards-data-uaa
type: com.sap.xs.uaa
parameters:
service-plan: application
config:
xsappname: ${global-xsappname}
tenant-mode: dedicated
scopes:
- name: uaa.user
description: UAA
- name: $XSAPPNAME.Access
description: Basic Scope needed to access the app services
attributes:
- name: login_name
valueType: string
role-templates:
- name: Token_Exchange
description: UAA
scope-references:
- uaa.user
attribute-references:
- login_name
- name: Access
description: Basic Role needed to access the app services
scope-references:
- uaa.user
- $XSAPPNAME.Access
- name: work-zone-cards-data-dest
type: org.cloudfoundry.managed-service
parameters:
service-plan: lite
service: destination