This repository was archived by the owner on Mar 15, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathmta.yaml
84 lines (81 loc) · 1.92 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
_schema-version: 3.3.0
ID: city-explorer-demo-app
version: 1.7.8
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: city-cap-router
type: approuter.nodejs
path: app
deployed-after:
- city-image-uploader
- city-cap-srv
parameters:
disk-quota: 256M
memory: 256M
requires:
- name: srv_api
group: destinations
properties:
forwardAuthToken: true
strictSSL: false
name: srv_api
url: ~{url}
- name: uploader_api
group: destinations
properties:
forwardAuthToken: true
strictSSL: false
name: uploader_api
url: ~{url}
- name: city-cap-db-deployer
type: hdb
path: db
parameters:
app-name: city-cap-db-deployer
requires:
- name: city-hdi-container
- name: city-cap-srv
type: nodejs
path: srv
provides:
- name: srv_api
properties:
url: ${default-url}
requires:
- name: city-hdi-container
- name: city-image-uploader
type: nodejs
path: uploader
parameters:
memory: 512M
disk-quota: 512M
provides:
- name: uploader_api
properties:
url: ${default-url}
requires:
- name: azure-blob-storage
resources:
- name: city-hdi-container
type: com.sap.xs.hdi-container
properties:
hdi-container-name: ${service-name}
parameters:
service: hanatrial
service-alternatives: ["hana"]
- name: azure-blob-storage
type: org.cloudfoundry.managed-service
parameters:
service: azure-storage-blob-storage-account-and-container
service-plan: all-in-one
config:
location: "northeurope"
resourceGroup: "SAPCloudPlatform"
accessTier: "Cool"