-
Notifications
You must be signed in to change notification settings - Fork 0
/
mta.yaml
40 lines (38 loc) · 870 Bytes
/
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
_schema-version: '3.1'
ID: modules
version: 1.0.0
description: "Serious MTA test #1."
parameters:
enable-parallel-deployments: true
build-parameters:
before-all:
- builder: custom
commands:
- npx cds build --production
modules:
- name: modules-srv
type: nodejs
path: gen/srv
parameters:
buildpack: nodejs_buildpack
build-parameters:
builder: npm
provides:
- name: srv-api # required by consumers of CAP services (e.g. approuter)
properties:
srv-url: ${default-url}
requires:
- name: modules-db
- name: modules-db-deployer
type: hdb
path: gen/db
parameters:
buildpack: nodejs_buildpack
requires:
- name: modules-db
resources:
- name: modules-db
type: com.sap.xs.hdi-container
parameters:
service: hana
service-plan: hdi-shared