-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mta.yaml.snapshot
224 lines (224 loc) · 7.26 KB
/
.mta.yaml.snapshot
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
215
216
217
218
219
220
221
222
223
224
_schema-version: '3.1'
ID: riskmanagement
version: 1.0.0
description: A simple CAP project.
parameters:
deploy_mode: html5-repo
enable-parallel-deployments: true
build-parameters:
before-all:
- builder: custom
commands:
- rm -rf build/dist
- mkdir -p build/dist
- rm -rf build/ui-deployer
- mkdir -p build/ui-deployer
- builder: custom
commands:
- npm install --production
- >-
bash -c "cds -v | grep 'cds-dk' || npm i --production --no-save
@sap/cds-dk @sap/mdk-tools"
- bash -c "export PATH=$PATH:$(pwd)/node_modules/.bin"
- cds build --production
after-all:
- builder: custom
commands:
- npm install
modules:
- name: riskmanagement-riskmanagement.risks
type: html5
path: app/riskmanagement.risks
build-parameters:
builder: custom
commands:
- rm -rf dist-zip dist
- npm install
- >-
npx -p @ui5/cli@^3.0.0 ui5 build --dest dist
--include-task=generateCachebusterInfo
- mkdir dist-zip
- bash -c "cd dist && npx bestzip ../dist-zip/riskmanagementrisks.zip *"
_artifactName: riskmanagementrisks.zip
supported-platforms: []
build-result: dist-zip
- name: riskmanagement-db-deployer
type: hdb
path: gen/db
parameters:
buildpack: nodejs_buildpack
build-parameters:
builder: npm
ignore:
- node_modules
- package-lock.json
requires:
- name: riskmanagement-service-uaa
- name: riskmanagement-service-db
- name: riskmanagement-srv
type: nodejs
path: gen/srv
parameters:
memory: 256MB
provides:
- name: srv-api
properties:
srv-url: ${default-url}
build-parameters:
builder: npm
ignore:
- node_modules
- package-lock.json
requires:
- name: riskmanagement-service-uaa
- name: riskmanagement-service-db
- name: riskmanagement-service-destination
- name: riskmanagement-service-metadata
- name: riskmanagement-service-connectivity
- name: riskmanagement-service-logs
- name: riskmanagement-aux-destinations
type: com.sap.application.content
parameters:
content:
subaccount:
existing_destinations_policy: update
destinations:
- Authentication: OAuth2UserTokenExchange
Name: riskmanagement-service-uaa
ServiceInstanceName: riskmanagement-uaa
ServiceKeyName: riskmanagement-uaa-key
sap.cloud.service: lcap.riskmanagement
- Authentication: OAuth2UserTokenExchange
Name: riskmanagement-app-srv
TokenServiceInstanceName: riskmanagement-uaa
TokenServiceKeyName: riskmanagement-uaa-key
URL: ~{srv-api/srv-url}
sap.cloud.service: lcap.riskmanagement
- Name: riskmanagement-service-html5-apps-repo-host
ServiceInstanceName: riskmanagement-html5-apps-repo-host
ServiceKeyName: riskmanagement-html5-apps-repo-host-key
sap.cloud.service: lcap.riskmanagement
- Authentication: OAuth2UserTokenExchange
Name: riskmanagement-RiskManagementService
TokenServiceInstanceName: riskmanagement-uaa
TokenServiceKeyName: riskmanagement-uaa-key
URL: ~{srv-api/srv-url}/service/riskmanagementSvcs
sap.cloud.service: lcap.riskmanagement
sap.applicationdevelopment.actions.enabled: false
sap.build.usage: CAP
sap.processautomation.enabled: false
HTML5.DynamicDestination: false
WebIDEEnabled: false
MobileEnabled: false
AppgyverEnabled: false
build-parameters:
no-source: true
requires:
- name: riskmanagement-service-uaa
parameters:
service-key:
name: riskmanagement-uaa-key
- name: srv-api
- name: riskmanagement-service-html5-apps-repo-host
parameters:
service-key:
name: riskmanagement-html5-apps-repo-host-key
- name: riskmanagement-service-destination
parameters:
content-target: true
- name: riskmanagement-launchpad
type: html5
path: build/launchpad
build-parameters:
builder: custom
commands:
- npm install
- >-
npx -p @ui5/cli@^3.0.0 ui5 build --dest dist
--include-task=generateCachebusterInfo
- bash -c "cd dist && npx bestzip ../../../build/dist/launchpad.zip *"
- rm -rf dist
_artifactName: launchpad.zip
supported-platforms: []
build-result: ../../build/dist
- name: riskmanagement-aux-ui-deployer
type: com.sap.application.content
path: build/ui-deployer
build-parameters:
build-result: resources
requires:
- name: riskmanagement-riskmanagement.risks
artifacts:
- riskmanagementrisks.zip
target-path: resources
- name: riskmanagement-launchpad
artifacts:
- launchpad.zip
target-path: resources
requires:
- name: riskmanagement-service-html5-apps-repo-host
parameters:
content-target: true
resources:
- type: org.cloudfoundry.managed-service
name: riskmanagement-service-uaa
parameters:
service: xsuaa
service-plan: application
service-name: riskmanagement-uaa
path: xs-security.json
config:
oauth2-configuration:
redirect-uris:
- https://*.${default-domain}/login/*
xsappname: riskmanagement-${space}
role-collections:
- description: ''
name: riskmanagement-RiskViewer-${space}
role-template-references:
- $XSAPPNAME.RiskViewer
- description: ''
name: riskmanagement-RiskManager-${space}
role-template-references:
- $XSAPPNAME.RiskManager
- type: org.cloudfoundry.managed-service
name: riskmanagement-service-db
parameters:
service: hana
service-plan: hdi-shared
service-name: riskmanagement-db
- type: org.cloudfoundry.managed-service
name: riskmanagement-service-destination
parameters:
service: destination
service-plan: lite
service-name: riskmanagement-destination
config:
HTML5Runtime_enabled: true
version: 1.0.0
- type: org.cloudfoundry.user-provided-service
name: riskmanagement-service-metadata
parameters:
service: metadata
service-plan: standard
service-name: riskmanagement-metadata
config:
default-domain: ${default-domain}
- type: org.cloudfoundry.managed-service
name: riskmanagement-service-connectivity
parameters:
service: connectivity
service-plan: lite
service-name: riskmanagement-connectivity
- type: org.cloudfoundry.managed-service
name: riskmanagement-service-logs
parameters:
service: application-logs
service-plan: lite
service-name: riskmanagement-logs
- type: org.cloudfoundry.managed-service
name: riskmanagement-service-html5-apps-repo-host
parameters:
service: html5-apps-repo
service-plan: app-host
service-name: riskmanagement-html5-apps-repo-host