This repository has been archived by the owner on Feb 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 43
/
cap_app_launchpad.json
178 lines (178 loc) · 5.17 KB
/
cap_app_launchpad.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
{
"$schema": "https://raw.githubusercontent.com/SAP-samples/btp-setup-automator/main/libs/btpsa-usecase.json",
"aboutThisUseCase": {
"name": "Deploy full-stack CAP application running in SAP Launchpad (on productive SAP BTP account)",
"description": "This usecase provides all necessary information to create the necessary service instances and app subscription for a CAP application and to deploy that application on a SAP BTP account.",
"author": "[email protected]",
"testStatus": "tested successfully",
"usageStatus": "READY TO BE USED",
"relatedLinks": [
"https://developers.sap.com/tutorials/btp-app-launchpad-service.html"
]
},
"services": [
{
"name": "cloudfoundry",
"plan": "free",
"category": "ENVIRONMENT"
},
{
"name": "xsuaa",
"plan": "application",
"category": "SERVICE"
},
{
"category": "SERVICE",
"name": "hana-cloud",
"plan": "hana-free",
"repeatstatusrequest": 60,
"repeatstatustimeout": 3600,
"instancename": "my-hana-cloud-free-instance",
"parameters": {
"data": {
"edition": "cloud",
"memory": 30,
"serviceStopped": false,
"storage": 120,
"systempassword": "PleaseChangeBeforeRunningScript12345",
"vcpu": 2,
"versionIndicator": "",
"whitelistIPs": [
"0.0.0.0/0"
]
}
}
},
{
"category": "SERVICE",
"name": "hana",
"plan": "hdi-shared",
"instancename": "my-hana-hdi-shared-instance",
"requiredServices": [
"hana-cloud"
]
},
{
"category": "APPLICATION",
"name": "SAPLaunchpad",
"plan": "standard",
"requiredrolecollections": [
{
"name": "Launchpad_Admin",
"assignedUserGroupsFromParameterFile": [
"developers"
]
}
]
}
],
"executeBeforeAccountSetup": [
{
"description": "Delete tutorial folder in case it already exists (e.g. from a previous script call)",
"command": "rm -rf tutorial/"
}
],
"executeAfterAccountSetup": [
{
"description": "Get the tutorial code",
"command": "git clone https://github.com/SAP-samples/cloud-cap-risk-management /home/user/tutorial && cd /home/user/tutorial/ && git checkout launchpad-service"
},
{
"description": "Building multi target application assets",
"command": "cd tutorial/ && mbt build -t ./ "
},
{
"description": "Deploying the built multi target application",
"command": "cd tutorial/ && cf deploy cpapp_1.0.0.mtar"
},
{
"description": "YOUR MANUAL TODO 1 (APIs missing for SAP Launchpad)",
"command": "echo '- Create your SAP Launchpad site as described in step 16 under https://developers.sap.com/tutorials/btp-app-launchpad-service.html#f0f2987e-cca4-463d-9a29-226c9cf12a27'"
},
{
"description": "YOUR MANUAL TODO 2 (APIs missing for SAP Launchpad)",
"command": "echo '- Test your SAP Launchpad site as described in step 17 under https://developers.sap.com/tutorials/btp-app-launchpad-service.html#529d38e1-4f83-4eea-8541-abd6d991d11d'"
},
{
"description": "YOUR MANUAL TODO 3 (API exists, but can only be used prior the 2 other manual steps before)",
"command": "echo '- Last step: add the role RiskManager to your user as described in the tutorial at https://developers.sap.com/tutorials/btp-app-role-assignment.html'"
}
],
"executeToPruneUseCase": [
{
"description": "undeploy the CAP app",
"command": "cf undeploy cpapp --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"
]
}
]
}