This repository has been archived by the owner on Jan 16, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
mta.yaml
78 lines (72 loc) · 1.74 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
ID: furnitureshop
_schema-version: '3.1'
version: 0.0.1
modules:
- name: db
type: hdb
path: db
parameters:
memory: 256M
disk-quota: 256M
requires:
- name: furnitureshop-hdi-container
- name: srv
type: java
path: srv
parameters:
memory: 1024M
disk-quota: 256M
provides:
- name: srv_api
properties:
url: '${default-url}'
requires:
- name: uaa_furnitureshop
- name: connectivity
- name: destination
- name: furnitureshop-hdi-container
properties:
SET_LOGGING_LEVEL: '{com.company.furnitureshop: INFO}'
ALLOW_MOCKED_AUTH_HEADER: true
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: 512M
memory: 512M
build-parameters:
builder: grunt
requires:
- name: srv_api
group: destinations
properties:
forwardAuthToken: true
strictSSL: false
name: srv_api
url: ~{url}
- name: uaa_furnitureshop
resources:
- name: furnitureshop-hdi-container
properties:
hdi-container-name: '${service-name}'
type: com.sap.xs.hdi-container
- name: uaa_furnitureshop
parameters:
path: ./xs-security.json
service-plan: application
service: xsuaa
shared: true
type: org.cloudfoundry.managed-service
- name: destination
type: destination
parameters:
service-plan: lite
shared: true
- name: connectivity
type: connectivity
parameters:
service-plan: lite
shared: true