Skip to content

Instantly share code, notes, and snippets.

@isaias
Created July 17, 2020 15:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save isaias/6b1ad9f5980ea1a60ea793d7bedac0bf to your computer and use it in GitHub Desktop.
Save isaias/6b1ad9f5980ea1a60ea793d7bedac0bf to your computer and use it in GitHub Desktop.
DatabaseProvider.yaml
ID: com.mta.DatabaseProvider
_schema-version: "3.1"
version: 0.0.1
modules:
- name: DatabaseProvider-db
type: hdb
path: db
parameters:
memory: 256M
disk-quota: 512M
requires:
- name: DatabaseProvider-db-hdi-container
provides:
- name: database-provider
public: true
- name: DatabaseProvider-srv
type: nodejs
path: srv
parameters:
memory: 512M
disk-quota: 512M
provides:
- name: srv_api
properties:
url: ${default-url}
requires:
- name: DatabaseProvider-db-hdi-container
resources:
- name: DatabaseProvider-db-hdi-container
type: com.sap.xs.hdi-container
properties:
hdi-container-name: ${service-name}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment