Skip to content

Instantly share code, notes, and snippets.

@IObert
Created Jan 23, 2020
Embed
What would you like to do?
Sample project descriptor which generates tiny mtar archives
_schema-version: 2.0.0
ID: bookshop
version: 1.0.0
parameters:
enable-parallel-deployments: true
modules:
- name: bookshop-db
type: hdb
path: db
parameters:
memory: 256M
disk-quota: 256M
requires:
- name: bookshop-db-hdi-container
deployed-after:
- bookshop-srv
build-parameters:
ignore: ["node_modules/"]
- name: bookshop-srv
type: nodejs
path: srv
parameters:
memory: 512M
disk-quota: 256M
host: ${space}-bookshop-server
build-parameters:
ignore: ["node_modules/"]
provides:
- name: srv_api
properties:
url: ${default-url}
requires:
- name: bookshop-db-hdi-container
- name: bookshop-ui
type: nodejs
path: app
parameters:
memory: 256M
disk-quota: 256M
host: ${space}-bookshop-ui
build-parameters:
ignore: ["node_modules/"]
requires:
- name: srv_api
group: destinations
properties:
forwardAuthToken: true
strictSSL: true
name: srv_api
url: ~{url}
resources:
- name: bookshop-db-hdi-container
type: com.sap.xs.hdi-container
properties:
hdi-container-name: ${service-name}
parameters:
service: hanatrial
@atla
Copy link

atla commented Jan 23, 2020

Thanks for sharing this! Highly appreciated especially with multiple modules that contain them

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment