forked from SAP-samples/cf-mta-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mtad.yaml
23 lines (21 loc) · 1010 Bytes
/
mtad.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
ID: a.cf.app
_schema-version: 3.3.0
version: 0.0.0
modules:
- name: my-app-module
type: application
path: "appBits.zip"
parameters:
routes: # if not defined, a default route would be auto assigned unless no-route is specified
- route: "my-custom-host.at.some.domain/with/path"
- route: ${default-host}-with-custom-suffix.${default-domain}
- route: "*.wildcard.for.host.at.some.domain"
#Setting env variables to showcase the default/generated values provided by the mta deployer
properties:
default-host: ${default-host} #usually generated using the <org-name>-<space-name>-<module-name>
default-domain: ${default-domain} #the default shared domain of the landscape
default-uri: ${default-uri} #composed by ${host}.${domain}
protocol: ${protocol} #usually defaults to "http"
default-url: ${default-url} # composed of ${protocol}://${default-uri}
firstRoute: ${routes/0/route}
secondRoute: ${routes/1/route}