This repository has been archived by the owner on Nov 16, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
mta.yaml
121 lines (116 loc) · 2.9 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
ID: sap4kids
_schema-version: 3.2.0
description: Enter description here
version: 1.0.6
parameters:
enable-parallel-deployments: true
modules:
- name: sap4kids
type: nodejs
path: approuter
parameters:
disk-quota: 512M
memory: 512M
instances: 1
requires:
- name: sap4kids_uaa
- name: sap4kids_html5_repo_runtime
- name: sap4kids_logger
- name: srv_api
group: destinations
properties:
forwardAuthToken: true
strictSSL: false
name: SAP4KidsService
url: ~{url}
- name: web_api
group: destinations
properties:
forwardAuthToken: true
strictSSL: false
name: webanalytics
url: ~{url}
build-parameters:
ignore: ["node_modules/"]
- name: sap4kids_ui_deployer
type: com.sap.html5.application-content
path: deployer
parameters:
memory: 256M
disk-quota: 256M
requires:
- name: sap4kids_html5_repo_host
- name: sap4kids_logger
build-parameters:
ignore: ["node_modules/"]
builder: custom
commands:
- npm run build:ui --prefix ..
- name: sap4kids-db
type: hdb
path: db
parameters:
memory: 256M
disk-quota: 256M
requires:
- name: SAP4KIDS-db-hdi-container
- name: sap4kids_logger
build-parameters:
ignore: ["node_modules/"]
builder: custom
commands:
- npm run build:cds --prefix ..
- name: sap4kids-srv
type: nodejs
path: srv
parameters:
memory: 512M
disk-quota: 512M
instances: 1
requires:
- name: SAP4KIDS-db-hdi-container
- name: sap4kids_uaa
- name: sap4kids_logger
- name: sap4kids_destination
provides:
- name: srv_api
properties:
url: ${default-url}
- name: web_api
properties:
url: https://sap4kids.wa.cfapps.us10.hana.ondemand.com/
build-parameters:
ignore: ["node_modules/"]
resources:
- name: sap4kids_uaa
type: org.cloudfoundry.managed-service
parameters:
path: ./xs-security.json
service-plan: application
service: xsuaa
- name: sap4kids_html5_repo_runtime
type: org.cloudfoundry.managed-service
parameters:
service-plan: app-runtime
service: html5-apps-repo
- name: sap4kids_logger
type: org.cloudfoundry.managed-service
parameters:
service-plan: standard
service: application-logs
- name: SAP4KIDS-db-hdi-container
type: com.sap.xs.hdi-container
parameters:
service-plan: hdi-shared
service: hana
properties:
hdi-container-name: ${service-name}
- name: sap4kids_html5_repo_host
type: org.cloudfoundry.managed-service
parameters:
service-plan: app-host
service: html5-apps-repo
config:
sizeLimit: 5
- name: sap4kids_destination
type: org.cloudfoundry.existing-service