Skip to content

Instantly share code, notes, and snippets.

@isaias
Last active July 17, 2020 15:48
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/5c86fba58eb18a252c69aad0e907aedf to your computer and use it in GitHub Desktop.
Save isaias/5c86fba58eb18a252c69aad0e907aedf to your computer and use it in GitHub Desktop.
DatabaseConsumer.yaml
ID: DatabaseConsumer
_schema-version: "3.1"
version: 0.0.1
modules:
- name: DatabaseConsumer-srv
type: nodejs
path: srv
parameters:
memory: 512M
disk-quota: 512M
provides:
- name: srv_api
properties:
url: ${default-url}
requires:
- name: database-provider
resources:
- name: database-provider
type: configuration
parameters:
provider-nid: mta
provider-id: com.mta.DatabaseProvider:database-provider
version: ">=0.0.1"
target:
org: ${org}
space: ${space}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment