forked from SAP-samples/hana-shine-xsa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmta.yaml
214 lines (196 loc) · 5.05 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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
_schema-version: "2.0.0"
ID: com.sap.refapps.shine
version: 1.3.4
modules:
- name: shine-web
type: html5
path: web
provides:
- name: web
properties:
ui-url: "${default-url}"
requires:
- name: shine-uaa
- name: sapui5-provider
properties:
sapui5url: ~{url}
- name: core-js
group: destinations
properties:
name: core-backend
url: ~{url}
forwardAuthToken: true
- name: user-js
group: destinations
properties:
name: user-backend
url: ~{url}
forwardAuthToken: true
- name: user-java
group: destinations
properties:
name: user-java-backend
url: ~{url}
forwardAuthToken: true
- name: uaa
group: destinations
properties:
name: uaa
url: ~{url}
forwardAuthToken: true
parameters:
host: web
register-service-url: true
service-name: web
service-url: "${default-url}"
- name: shine-core-js
type: nodejs
path: core-js
provides:
- name: core-js
properties:
url: "${default-url}"
requires:
- name: shine-uaa
- name: shine-container
- name: shine-core-db
- name: shine-user-js
type: nodejs
path: user-js
properties:
SAP_JWT_TRUST_ACL: "[{\"clientid\":\"*\",\"identityzone\":\"*\"}]"
provides:
- name: user-js
properties:
url: "${default-url}"
requires:
- name: shine-uaa
- name: shine-scheduler
- name: shine-user-db
- name: shine-user-container
- name: shine-user-java
type: java
path: user-java
provides:
- name: user-java
properties:
url: "${default-url}"
requires:
- name: shine-uaa
- name: shine-scheduler
- name: shine-user-db
- name: shine-user-container
properties:
JBP_CONFIG_RESOURCE_CONFIGURATION: '[tomcat/webapps/ROOT/META-INF/context.xml:
{"service_name_for_DefaultDB" : "~{user-container-name}"}]'
- name: shine-core-db
type: hdb
path: core-db
requires:
- name: shine-container
properties:
TARGET_CONTAINER: ~{container-name}
- name: shine-user-container
group: SERVICE_REPLACEMENTS
properties:
key: hdi-user-service
service: ~{user-container-name}
- name: shine-user-db
type: hdb
path: user-db
requires:
- name: shine-user-container
properties:
TARGET_CONTAINER: ~{user-container-name}
- name: site-web
type: siteentry
path: site-web
parameters:
memory: 64M
properties:
NODE_TLS_REJECT_UNAUTHORIZED: "0"
requires:
- name: shine-uaa
- name: sap-portal-services-host
- name: user-js
group: destinations
properties:
name: user-backend
url: '~{url}'
forwardAuthToken: true
- name: controller
group: destinations
properties:
name: controller
url: ~{url}
- name: user-java
group: destinations
properties:
name: user-java-backend
url: '~{url}'
forwardAuthToken: true
- name: core-js
group: destinations
properties:
name: core-backend
url: '~{url}'
forwardAuthToken: true
- name: uaa
group: destinations
properties:
name: uaa
url: '~{url}'
forwardAuthToken: true
- name: sapui5-provider
properties:
sapui5url: '~{url}'
- name: site-content
type: sitecontent
path: site-content
parameters:
health-check-type: none
requires:
- name: sap-portal-services-client
- name: shine-uaa
properties:
NODE_TLS_REJECT_UNAUTHORIZED: "0"
resources:
- name: shine-container
type: com.sap.xs.hdi-container
properties:
container-name: ${service-name}
- name: shine-user-container
type: com.sap.xs.hdi-container
properties:
user-container-name: ${service-name}
parameters:
service-name: shine-user-container
config:
schema: SHINE_USER_SCHEMA
- name: shine-scheduler
type: com.sap.xs.job-scheduler
- name: shine-uaa
type: com.sap.xs.uaa-space
parameters:
path: xs-security.json
- name: sap-portal-services-host
type: com.sap.portal.site-host
parameters:
config:
siteId : XSAC_SHINE
- name: sap-portal-services-client
type: com.sap.portal.site-content
parameters:
config:
siteId : XSAC_SHINE
- name: uaa
properties:
url: https://<hostname>:3##32/uaa-security
- name: sapui5-provider
type: configuration
parameters:
provider-id: com.sap.ui5.dist.sapui5-dist-xsa.XSAC_UI5_FESV3:sapui5_fesv3
version: "1.44.8"
- name: controller
properties:
url: https://<hostname>:3##32/uaa-security