-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmta.yaml
52 lines (46 loc) · 1.01 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
ID: bookshop
_schema-version: '2.1'
version: 0.0.1
modules:
- name: db
type: hdb
path: db
parameters:
buildpack: https://github.com/cloudfoundry/nodejs-buildpack.git#v1.6.24
requires:
- name: hdi_db
- name: srv
type: java
path: srv
parameters:
memory: 512M
provides:
- name: srv_api
properties:
url: ${default-url}
requires:
- name: hdi_db
properties:
JBP_CONFIG_RESOURCE_CONFIGURATION: '[tomcat/webapps/ROOT/META-INF/context.xml:
{"service_name_for_DefaultDB" : "~{hdi-container-name}"}]'
- name: app
type: html5
path: app
parameters:
disk-quota: 256M
memory: 256M
build-parameters:
builder: grunt
requires:
- name: srv_api
group: destinations
properties:
forwardAuthToken: true
strictSSL: false
name: srv_api
url: ~{url}
resources:
- name: hdi_db
properties:
hdi-container-name: ${service-name}
type: com.sap.xs.hdi-container