forked from SAP-samples/hana-xsa-opensap-hana7
-
Notifications
You must be signed in to change notification settings - Fork 4
/
mta.yaml
147 lines (147 loc) · 3.92 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
ID: openSAPHANA
_schema-version: '2.0'
version: 1.0.0
modules:
- name: db
type: hdb
path: db
parameters:
memory: 256M
disk-quota: 256M
requires:
- name: openSAPHANA-hdi-container
properties:
TARGET_CONTAINER: '~{hdi-container-name}'
- name: cross-container-service-1
group: SERVICE_REPLACEMENTS
properties:
key: ServiceName_1
service: '~{the-service-name}'
- name: hdi_user_db
group: SERVICE_REPLACEMENTS
properties:
key: hdi-user-service
service: '~{user-container-name}'
- name: cross-container-service-2
group: SERVICE_REPLACEMENTS
properties:
key: ServiceName_2
service: '~{the-service-name}'
- name: srv
type: nodejs
path: srv
parameters:
host: openSAP-srv
register-service-url: true
service-name: openSAP-srv
service-url: '${default-url}'
memory: 512M
disk-quota: 256M
properties:
UAA_SERVICE_NAME: openSAP-ex-uaa
requires:
- name: openSAPHANA-hdi-container
- name: openSAP-ex-uaa
- name: db
- name: openSAP-ex-log
- name: sap.hana.democontent.epm.services.images
- name: cross-container-service-1
provides:
- name: srv_api
properties:
url: '${default-url}'
- name: web
type: html5
path: web
parameters:
host: openSAP-web
register-service-url: true
service-name: openSAP-web
service-url: '${default-url}'
requires:
- name: openSAP-ex-uaa
- name: openSAP-ui5
- name: xsjs_api
group: destinations
properties:
name: xsjs_api
url: '~{url}'
forwardAuthToken: true
- name: srv_api
group: destinations
properties:
name: srv_api
url: '~{url}'
forwardAuthToken: true
- name: user_db
type: hdb
path: user_db
requires:
- name: hdi_user_db
properties:
TARGET_CONTAINER: '~{user-container-name}'
- name: xsjs
type: nodejs
path: xsjs
parameters:
host: openSAP-xsjs
register-service-url: true
service-name: openSAP-xsjs
service-url: '${default-url}'
provides:
- name: xsjs_api
properties:
url: '${default-url}'
requires:
- name: openSAPHANA-hdi-container
- name: openSAP-ex-uaa
- name: db
- name: sap.hana.democontent.epm.services.images
- name: cross-container-service-1
- name: openSAP-ex-log
resources:
- name: openSAPHANA-hdi-container
properties:
hdi-container-name: '${service-name}'
type: com.sap.xs.hdi-container
- name: openSAP-ex-uaa
type: com.sap.xs.uaa-space
parameters:
path: ./xs-security.json
- name: cross-container-service-1
parameters:
service-name: CROSS_SCHEMA_SFLIGHT
properties:
the-service-name: '${service-name}'
type: org.cloudfoundry.existing-service
- name: hdi_user_db
parameters:
config:
schema: OPENSAP_HANA_USER_00
properties:
user-container-name: '${service-name}'
type: com.sap.xs.hdi-container
- name: cross-container-service-2
parameters:
service-name: openSAP.CentralDB.opensap-central-container
properties:
the-service-name: '${service-name}'
type: org.cloudfoundry.existing-service
- name: openSAP-ui5
type: org.cloudfoundry.managed-service
parameters:
service: sapui5_sb
service-plan: sapui5-1.52
- name: openSAP-ex-log
type: org.cloudfoundry.managed-service
parameters:
service: auditlog
service-plan: free
- name: sap.hana.democontent.epm.services.images
type: org.cloudfoundry.existing-service
parameters:
service-name: sap.hana.democontent.epm.services.images
properties:
xshttpdest-images-service-name: '${service-name}'
- name: openSAP-secure
type: com.sap.xs.hana-securestore