forked from SAP-samples/btp-setup-automator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild_resilient_apps_free_tier.json
253 lines (253 loc) · 8.73 KB
/
build_resilient_apps_free_tier.json
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
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
{
"$schema": "https://raw.githubusercontent.com/SAP-samples/btp-setup-automator/main/libs/btpsa-usecase.json",
"aboutThisUseCase": {
"name": "Safeguard key business processes with resilient applications on SAP BTP",
"description": "This usecase complements an existing business process in an SAP solution - currently SAP S/4HANA - with additional business process steps",
"author": "[email protected]",
"testStatus": "tested successfully",
"usageStatus": "READY TO BE USED",
"relatedLinks": [
"https://github.com/SAP-samples/btp-build-resilient-apps"
]
},
"services": [
{
"name": "cloudfoundry",
"plan": "free",
"category": "ENVIRONMENT"
},
{
"name": "connectivity",
"plan": "lite",
"category": "SERVICE"
},
{
"name": "destination",
"plan": "lite",
"category": "SERVICE"
},
{
"name": "application-logs",
"plan": "lite",
"category": "SERVICE"
},
{
"name": "hana-cloud",
"plan": "hana-free",
"category": "SERVICE",
"repeatstatusrequest": 60,
"repeatstatustimeout": 3600,
"instancename": "hana-cloud",
"parameters": {
"data": {
"edition": "cloud",
"memory": 30,
"serviceStopped": false,
"storage": 120,
"systempassword": "PleaseChangeBeforeRunningScript12345",
"vcpu": 2,
"versionIndicator": "",
"whitelistIPs": [
"0.0.0.0/0"
]
}
}
},
{
"name": "xsuaa",
"plan": "apiaccess",
"category": "SERVICE",
"createServiceKeys": [
"myServiceKey1"
]
},
{
"name": "autoscaler",
"plan": "standard",
"category": "SERVICE",
"entitleonly": true
},
{
"name": "enterprise-messaging",
"plan": "default",
"category": "SERVICE",
"entitleonly": true
},
{
"name": "hana",
"plan": "hdi-shared",
"category": "SERVICE",
"requiredServices": [
"hana-cloud"
]
},
{
"name": "SAPLaunchpad",
"plan": "standard",
"category": "APPLICATION",
"requiredrolecollections": [
{
"name": "Launchpad_Admin",
"assignedUserGroupsFromParameterFile": [
"developers"
]
}
]
},
{
"name": "sapappstudio",
"plan": "standard-edition",
"category": "APPLICATION"
},
{
"name": "enterprise-messaging-hub",
"plan": "standard",
"category": "APPLICATION"
},
{
"name": "cicd-app",
"plan": "default",
"category": "APPLICATION",
"requiredrolecollections": [
{
"name": "CICD Service Administrator",
"assignedUserGroupsFromParameterFile": [
"developers"
]
}
]
},
{
"name": "alm-ts",
"plan": "standard",
"category": "APPLICATION"
}
],
"executeAfterAccountSetup": [
{
"description": "Get the tutorial code",
"command": "rm -rf /home/user/tutorial && git clone https://github.com/SAP-samples/btp-build-resilient-apps /home/user/tutorial && cd /home/user/tutorial/ "
},
{
"description": "Building artefacts for the CAP and HTML5 application",
"command": "cd tutorial && npm install && npm run build:cf"
},
{
"description": "Deploy application to SAP BTP, Cloud Foundry Runtime",
"command": "cd tutorial && npm run deploy:live"
},
{
"description": "Activating OData Services in SAP S/4HANA System",
"command": "echo 'YOUR MANUAL TODO 1 - Activate OData Services in SAP S/4HANA: https://github.com/SAP-samples/btp-build-resilient-apps/tree/main/tutorials/01_enable_odata_apis'"
},
{
"description": "Setup SAP Cloud Connector",
"command": "echo 'YOUR MANUAL TODO 2 - Setup Connectivity between SAP S/4HANA and SAP BTP: https://github.com/SAP-samples/btp-build-resilient-apps/blob/main/tutorials/05_setupconnectivity/README.md'"
},
{
"description": "Configure SAP Event Mesh in SAP S/4HANA",
"command": "echo 'YOUR MANUAL TODO 3 - Configure SAP Event Mesh in SAP S/4HANA: https://github.com/SAP-samples/btp-build-resilient-apps/blob/main/tutorials/07_setupeventmesh'"
},
{
"description": "Test Scenario End-2-End",
"command": "echo 'YOUR MANUAL TODO 4 - Test Application: https://github.com/SAP-samples/btp-build-resilient-apps/tree/main/tutorials/08_testappe2e'"
},
{
"description": "Access and Discover Application Logs",
"command": "echo 'YOUR MANUAL TODO 5 - Access application logs: https://github.com/SAP-samples/btp-build-resilient-apps/blob/main/tutorials/09_setuplogging'"
},
{
"description": "Setup CI/CD Pipeline",
"command": "echo 'YOUR MANUAL TODO 6 - Setup CI/CD Pipeline: https://github.com/SAP-samples/btp-build-resilient-apps/blob/main/tutorials/10_setupcicd'"
},
{
"description": "Setup Cloud Transport Management",
"command": "echo 'YOUR MANUAL TODO 7 - Setup Cloud Transport Management: https://github.com/SAP-samples/btp-build-resilient-apps/blob/main/tutorials/11_setuptms'"
},
{
"description": "Setup Alert Notifications",
"command": "echo 'YOUR MANUAL TODO 8 - Setup Alert Notifications: https://github.com/SAP-samples/btp-build-resilient-apps/blob/main/tutorials/12_setupans'"
},
{
"description": "Setup Application Autoscaler",
"command": "echo 'YOUR MANUAL TODO 9 - Setup Application Autoscaler: https://github.com/SAP-samples/btp-build-resilient-apps/blob/main/tutorials/13_setupautoscaler'"
}
],
"executeToPruneUseCase": [
{
"description": "undeploy the CAP app",
"command": "cf undeploy BusinessPartnerVerification --delete-service-brokers --delete-service-keys --delete-services -f"
}
],
"assignrolecollections": [
{
"name": "Global Account Administrator",
"type": "account",
"level": "global account",
"assignedUserGroupsFromParameterFile": [
"admins"
]
},
{
"name": "Subaccount Administrator",
"type": "account",
"level": "sub account",
"assignedUserGroupsFromParameterFile": [
"admins"
]
},
{
"name": "Subaccount Service Administrator",
"type": "account",
"level": "sub account",
"assignedUserGroupsFromParameterFile": [
"admins"
]
},
{
"name": "SpaceManager",
"type": "cloudfoundry",
"level": "space",
"assignedUserGroupsFromParameterFile": [
"admins",
"developers"
]
},
{
"name": "SpaceDeveloper",
"type": "cloudfoundry",
"level": "space",
"assignedUserGroupsFromParameterFile": [
"admins",
"developers"
]
},
{
"name": "SpaceAuditor",
"type": "cloudfoundry",
"level": "space",
"assignedUserGroupsFromParameterFile": [
"admins",
"developers"
]
},
{
"name": "OrgManager",
"type": "cloudfoundry",
"level": "org",
"assignedUserGroupsFromParameterFile": [
"admins",
"testers"
]
},
{
"name": "OrgAuditor",
"type": "cloudfoundry",
"level": "org",
"assignedUserGroupsFromParameterFile": [
"admins",
"auditors"
]
}
]
}