-
Notifications
You must be signed in to change notification settings - Fork 0
/
mta.yaml
228 lines (227 loc) · 5.63 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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
ID: Innvent
_schema-version: '2.1'
parameters:
deploy_mode: html5-repo
version: 0.0.1
modules:
- name: innvent-approuter
type: approuter.nodejs
path: innvent-approuter
parameters:
disk-quota: 256M
memory: 256M
requires:
- name: Innvent_html5_repo_runtime
- name: portal_resources_Innvent
- name: Innvent-uaa
- name: sms_api
group: destinations
properties:
forwardAuthToken: true
name: sms_api
url: '~{url}'
- name: srv_api
group: destinations
properties:
forwardAuthToken: true
name: srv_api
url: '~{url}'
- name: Innvent_ui_deployer
type: com.sap.html5.application-content
path: Innvent_ui_deployer
requires:
- name: Innvent_html5_repo_host
build-parameters:
requires:
- name: web-wrokers
artifacts:
- './*'
target-path: resources/web-wrokers
- name: web-ngos
artifacts:
- './*'
target-path: resources/web-ngos
- name: web-campaigns
artifacts:
- './*'
target-path: resources/web-campaigns
- name: web-jobs
artifacts:
- './*'
target-path: resources/web-jobs
- name: web-overview
artifacts:
- './*'
target-path: resources/web-overview
- name: Innvent-db
type: hdb
path: db
parameters:
memory: 256M
disk-quota: 512M
requires:
- name: Innvent-db-hdi-container
- name: Innvent-srv
type: java
path: srv
parameters:
memory: 1024M
provides:
- name: srv_api
properties:
url: '${default-url}'
requires:
- name: Innvent-db-hdi-container
properties:
JBP_CONFIG_RESOURCE_CONFIGURATION: '[tomcat/webapps/ROOT/META-INF/context.xml: {"service_name_for_DefaultDB" : "~{hdi-container-name}"}]'
- name: Innvent-uaa
- name: flp
type: com.sap.portal.content
path: flp
parameters:
stack: cflinuxfs3
memory: 128M
buildpack: 'https://github.com/cloudfoundry/nodejs-buildpack/releases/download/v1.6.39/nodejs-buildpack-cflinuxfs3-v1.6.39.zip'
requires:
- name: portal_resources_Innvent
- name: Innvent-uaa
- name: Innvent_html5_repo_host
- name: Innvent_ui_deployer
- name: web-wrokers
type: html5
path: web-wrokers
build-parameters:
builder: custom
commands:
- npm install
- npm run build
supported-platforms: []
build-result: dist
requires:
- name: srv_api
group: destinations
properties:
forwardAuthToken: true
strictSSL: false
name: srv_api
url: '~{url}'
- name: web-ngos
type: html5
path: web-ngos
build-parameters:
builder: custom
commands:
- npm install
- npm run build
supported-platforms: []
build-result: dist
requires:
- name: srv_api
group: destinations
properties:
forwardAuthToken: true
strictSSL: false
name: srv_api
url: '~{url}'
- name: web-campaigns
type: html5
path: web-campaigns
build-parameters:
builder: custom
commands:
- npm install
- npm run build
supported-platforms: []
build-result: dist
requires:
- name: srv_api
group: destinations
properties:
forwardAuthToken: true
strictSSL: false
name: srv_api
url: '~{url}'
- name: sms_api
group: destinations
properties:
forwardAuthToken: true
strictSSL: false
name: sms_api
url: '~{url}'
- name: web-jobs
type: html5
path: web-jobs
build-parameters:
builder: custom
commands:
- npm install
- npm run build
supported-platforms: []
build-result: dist
requires:
- name: srv_api
group: destinations
properties:
forwardAuthToken: true
strictSSL: false
name: srv_api
url: '~{url}'
- name: sms
type: nodejs
path: sms
provides:
- name: sms_api
properties:
url: '${default-url}'
- name: web-overview
type: html5
path: web-overview
build-parameters:
builder: custom
commands:
- npm install
- npm run build
supported-platforms: []
build-result: dist
requires:
- name: srv_api
group: destinations
properties:
forwardAuthToken: true
strictSSL: false
name: srv_api
url: '~{url}'
resources:
- name: Innvent_html5_repo_runtime
parameters:
service-plan: app-runtime
service: html5-apps-repo
type: org.cloudfoundry.managed-service
- name: Innvent_html5_repo_host
parameters:
service-plan: app-host
service: html5-apps-repo
type: org.cloudfoundry.managed-service
- name: Innvent-db-hdi-container
type: com.sap.xs.hdi-container
properties:
hdi-container-name: '${service-name}'
- name: Innvent-uaa
type: org.cloudfoundry.managed-service
parameters:
path: ./xs-security.json
service-plan: application
service: xsuaa
config:
xsappname: 'Innvent-${space}'
tenant-mode: dedicated
- name: portal_resources_Innvent
parameters:
service-plan: standard
service: portal
type: org.cloudfoundry.managed-service
- name: dest_Innvent
parameters:
service-plan: lite
service: destination
type: org.cloudfoundry.managed-service