forked from SAP-archive/cloud-sample-spaceflight-java
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmta.yaml
67 lines (61 loc) · 1.41 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
_schema-version: "2.0.0"
ID: spacetravel
version: 1.0.0
modules:
- name: spacetravel-db
type: hdb
path: db
parameters:
memory: 256M
requires:
- name: spacetravel-hana
- name: srv
type: java
path: srv
parameters:
memory: 1G
provides:
- name: srv_api
properties:
url: ${default-url}
requires:
- name: spacetravel-hana
properties:
JBP_CONFIG_RESOURCE_CONFIGURATION: '[tomcat/webapps/ROOT/META-INF/context.xml:
{"service_name_for_DefaultDB" : "~{hdi-container-name}"}]'
- name: spacetravel-dest
- name: spacetravel-uaa
- name: spacetravel-app
type: html5
path: app
parameters:
memory: 256M
build-parameters:
builder: grunt
requires:
- name: spacetravel-uaa
- name: srv_api
group: destinations
properties:
forwardAuthToken: true
strictSSL: false
name: srv_api
url: ~{url}
resources:
- name: spacetravel-hana
type: com.sap.xs.hdi-container
properties:
hdi-container-name: ${service-name}
- name: spacetravel-dest
type: org.cloudfoundry.managed-service
parameters:
service: destination
service-plan: lite
- name: spacetravel-uaa
type: org.cloudfoundry.managed-service
parameters:
service: xsuaa
service-plan: application
config:
xsappname: spacetravel-uaa-${space}
tenant-mode: dedicated