## Generated mta.yaml based on template version 0.4.0 ## appName = s4-cap-ext ## language=nodejs; multiTenant=false ## approuter= _schema-version: '3.1' ID: s4-cap-ext version: 1.0.0 description: "A simple CAP project." parameters: enable-parallel-deployments: true build-parameters: before-all: - builder: custom commands: - npm install --production - npx -p @sap/cds-dk cds build --production modules: # --------------------- SERVER MODULE ------------------------ - name: s4-cap-ext-srv # ------------------------------------------------------------ type: nodejs path: gen/srv requires: # Resources extracted from CAP configuration - name: s4-cap-ext-db provides: - name: srv-api # required by consumers of CAP services (e.g. approuter) properties: srv-url: ${default-url} # -------------------- SIDECAR MODULE ------------------------ - name: s4-cap-ext-db-deployer # ------------------------------------------------------------ type: hdb path: gen/db parameters: buildpack: nodejs_buildpack requires: # 'hana' and 'xsuaa' resources extracted from CAP configuration - name: s4-cap-ext-db resources: # services extracted from CAP configuration # 'service-plan' can be configured via 'cds.requires..vcap.plan' # ------------------------------------------------------------ - name: s4-cap-ext-db # ------------------------------------------------------------ type: com.sap.xs.hdi-container parameters: service: hana # or 'hanatrial' on trial landscapes service-plan: hdi-shared properties: hdi-service-name: ${service-name}