forked from ranhsd/teched2017-mta-bookstore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmta.yaml
41 lines (41 loc) · 948 Bytes
/
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
ID: BookStore
_schema-version: '2.0'
version: 0.0.1
modules:
- name: db
type: hdb
path: db
requires:
- name: hdi_db
- name: service
type: java
path: service
provides:
- name: service_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: ui
type: html5
path: ui
parameters:
disk-quota: 256M
memory: 256M
build-parameters:
builder: grunt
requires:
- name: service_api
group: destinations
properties:
forwardAuthToken: true
strictSSL: false
url: '~{url}'
name: service_api
resources:
- name: hdi_db
properties:
hdi-container-name: '${service-name}'
type: com.sap.xs.hdi-container