This repository has been archived by the owner on Dec 29, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
/
mta.yaml
executable file
·71 lines (71 loc) · 1.82 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
_schema-version: 2.0.0
ID: cloud-sample-spaceflight-node
version: 1.0.0
modules:
- name: db
type: hdb
path: db
parameters:
memory: 256M
disk-quota: 256M
requires:
- name: cloud-sample-spaceflight-node-hdi-container
- name: srv
type: nodejs
path: srv
parameters:
memory: 512M
disk-quota: 256M
provides:
- name: srv_api
properties:
url: '${default-url}'
requires:
- name: cloud-sample-spaceflight-node-hdi-container
- name: ui
type: html5
path: ui
parameters:
disk-quota: 256M
memory: 256M
build-parameters:
builder: grunt
requires:
- name: uaa_cloud-sample-spaceflight-node
- name: dest_cloud-sample-spaceflight-node
- name: srv_api
group: destinations
properties:
name: backend
url: '~{url}'
forwardAuthToken: true
resources:
- name: cloud-sample-spaceflight-node-hdi-container
properties:
hdi-container-name: '${service-name}'
type: com.sap.xs.hdi-container
- name: cloud-sample-spaceflight-node-uaa
type: com.sap.xs.uaa
parameters:
service-plan: application
config:
xsappname: 'cloud-sample-spaceflight-node-${org}-${space}'
tenant-mode: dedicated
scopes:
- name: $XSAPPNAME.Show
description: display
- name: $XSAPPNAME.Add
description: create
- name: $XSAPPNAME.Remove
description: delete
- name: uaa_cloud-sample-spaceflight-node
parameters:
path: ./xs-security.json
service-plan: application
service: xsuaa
type: org.cloudfoundry.managed-service
- name: dest_cloud-sample-spaceflight-node
parameters:
service-plan: lite
service: destination
type: org.cloudfoundry.managed-service