-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmta.yaml
46 lines (43 loc) · 1.11 KB
/
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
41
42
43
44
45
46
---
_schema-version: '3.1'
ID: az-private-linky-cap
version: 1.0.0
description: "A simple CAP project."
parameters:
enable-parallel-deployments: true
build-parameters:
before-all:
- builder: custom
commands:
- npm install --production
modules:
# --------------------- SERVER MODULE ------------------------
- name: az-private-linky-cap-srv
# ------------------------------------------------------------
type: nodejs
path: gen/srv
parameters:
buildpack: nodejs_buildpack
build-parameters:
builder: npm
requires:
- name: az-private-link
- name: az-destinations
provides:
- name: srv-api # required by consumers of CAP services (e.g. approuter)
properties:
srv-url: ${default-url}
resources:
# PrivateLink Service
- name: az-private-link
parameters:
service: privatelink
service-name: az-private-link
service-plan: standard
type: org.cloudfoundry.managed-service
# Destination Service
- name: az-destinations
parameters:
service: destination
service-plan: lite
type: org.cloudfoundry.managed-service