-
Notifications
You must be signed in to change notification settings - Fork 10
/
mta.yaml
49 lines (45 loc) · 1.12 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
47
48
49
ID: mymta1
_schema-version: '2.0'
version: 1.0.0
modules:
- name: approuter
type: nodejs
path: approuter
parameters:
disk-quota: 256M
memory: 256M
properties:
TENANT_HOST_PATTERN: "^(.*)-trial-dev-approuter.cfapps.us10.hana.ondemand.com"
destinations: >
[
{"name":"jmodule1", "url":"https://i857243trial-trial-dev-jmodule1.cfapps.us10.hana.ondemand.com", "forwardAuthToken": true },
{"name":"pymodule1", "url":"https://i857243trial-trial-dev-pymodule1.cfapps.us10.hana.ondemand.com", "forwardAuthToken": true }
]
requires:
- name: mymta1-uaa
- name: jmodule1
type: java
path: jmodule1
parameters:
disk-quota: 256M
memory: 512M
build-parameters:
builder: maven
requires:
- name: mymta1-uaa
- name: pymodule1
type: python
path: pymodule1
parameters:
disk-quota: 256M
memory: 128M
command: python hello.py
requires:
- name: mymta1-uaa
resources:
- name: mymta1-uaa
type: com.sap.xs.uaa
parameters:
service: xsuaa
service-plan: application
path: config/xs-security.json