blob: 309a63baa5447d94d340f395ef04a6203c3524d6 [file] [log] [blame]
Michael Landoed64b5e2017-06-09 03:19:04 +03001const SDC_CONFIG = {
2 "environment": "dev",
3 "api": {
ys969316a9fce2020-01-19 13:50:02 +02004 "GET_SDC_Setup_Data": "/v1/setup/ui",
5 "GET_component": "/v1/catalog/:type/:id",
6 "PUT_component": "/v1/catalog/:type/:id/metadata",
7 "GET_component_validate_name": "/v1/catalog/:type/validate-name/:name",
8 "POST_changeLifecycleState": "/v1/catalog/",
9 "component_api_root": "/v1/catalog/",
10 "GET_user": "/v1/user/:id",
11 "GET_user_authorize": "/v1/user/authorize",
12 "GET_all_users": "/v1/user/users",
13 "POST_create_user": "/v1/user",
14 "DELETE_delete_user": "/v1/user/:id",
15 "POST_edit_user_role": "/v1/user/:id/role",
16 "GET_resource": "/v1/catalog/resources/:id",
17 "GET_resources_latestversion_notabstract":"/v1/catalog/:type/latestversion/notabstract/:id",
18 "GET_resources_certified_not_abstract": "/v1/catalog/resources/certified/notabstract/:id",
19 "GET_resources_certified_abstract": "/v1/catalog/resources/certified/abstract/:id",
20 "GET_resource_property": "/v1/catalog/:type/:entityId/properties/:id",
21 "PUT_resource": "/v1/catalog/resources/:id/metadata",
22 "GET_resource_artifact": "/v1/catalog/:type/:entityId/artifacts/:id",
23 "GET_download_instance_artifact": "/v1/catalog/:type/:entityId/resourceInstances/:instanceId/artifacts/:id",
24 "POST_instance_artifact": "/v1/catalog/:type/:entityId/resourceInstance/:instanceId/artifacts/:id",
25 "GET_resource_additional_information": "/v1/catalog/:type/:entityId/additionalinfo/:id",
26 "GET_service_artifact": "/v1/catalog/services/:serviceId/artifacts/:id",
27 "GET_resource_interface_artifact": "/v1/catalog/:type/:entityId/standard/:operation/artifacts/:id",
28 "GET_resource_api_artifact": "/v1/catalog/:type/:entityId/artifacts/api/:id",
29 "GET_configuration_ui": "/v1/configuration/ui",
Idan Amiteedaaf92018-01-31 13:27:33 +020030 "GET_plugins_configuration": "/config/ui/plugins",
Idan Amit3504f842018-10-09 18:45:52 +030031 "GET_plugin_online_state": "/config/ui/plugins/:pluginId/online",
ys969316a9fce2020-01-19 13:50:02 +020032 "GET_resource_validate_name": "/v1/catalog/resources/validate-name/:name",
33 "GET_activity_log": "/v1/catalog/audit-records/:type/:id",
34 "GET_service": "/v1/catalog/services/:id",
35 "GET_service_validate_name": "/v1/catalog/services/validate-name/:name",
36 "GET_service_distributions":"/v1/catalog/services/:uuid/distribution",
37 "GET_service_distributions_components":"/v1/catalog/services/distribution/:distributionId",
38 "POST_service_distribution_deploy" : "/v1/catalog/services/:serviceId/distribution/:distributionId/markDeployed",
39 "GET_element": "/v1/followed",
40 "GET_catalog": "/v1/screen",
41 "GET_ecomp_menu_items": "/v1/user/:userId/functionalmenu",
42 "GET_resource_category": "/v1/resourceCategories",
43 "GET_service_category": "/v1/serviceCategories",
44 "resource_instance": "/v1/catalog/:entityType/:entityId/resourceInstance/:id",
45 "GET_resource_instance_property": "/v1/catalog/:type/:entityId/resourceInstance/:componentInstanceId/property/:propertyValueId",
46 "GET_relationship": "/v1/catalog/:entityType/:entityId/resourceInstance/:action",
47 "GET_lifecycle_state_resource": "/v1/catalog/:type/:id/lifecycleState/:action",
48 "GET_lifecycle_state_CHECKIN":"lifecycleState/CHECKIN",
49 "GET_lifecycle_state_UNDOCHECKOUT":"lifecycleState/UNDOCHECKOUT",
50 "root": "/sdc1/feProxy/rest",
51 "no_proxy_root": "/sdc1/rest",
aribeirof13ad632019-12-17 10:23:13 +000052 "workflow_root": "/sdc1/feProxy/wf",
Arielk57f4bfa2018-08-14 10:19:20 +030053 "POST_workflow_artifact": "sdc/v1/catalog",
ys969316a9fce2020-01-19 13:50:02 +020054 "PUT_service": "/v1/catalog/services/:id/metadata",
55 "GET_download_artifact": "/v1/catalog/",
Michael Landoed64b5e2017-06-09 03:19:04 +030056 "GET_categories": "/v1/categories/:types",
57 "POST_category": "/v1/category/:types/:categoryId",
58 "POST_subcategory": "/v1/category/:types/:categoryId/subCategory/:subCategoryId",
59 "POST_change_instance_version": "/v1/catalog/:entityType/:entityId/resourceInstance/:id/changeVersion",
60 "GET_requirements_capabilities": "/v1/catalog/requirmentsCapabilities/:type/:id",
61 "GET_resource_artifact_types": "/v1/artifactTypes",
Michael Landoed64b5e2017-06-09 03:19:04 +030062 "GET_onboarding": "/sdc1/feProxy/onboarding-api/v1.0/vendor-software-products/packages",
63 "GET_component_from_csar_uuid": "/v1/catalog/resources/csar/:csar_uuid",
Michael Landoa5445102018-03-04 14:53:33 +020064 "kibana": "/sdc1/kibanaProxy/",
65 "services_api_root": "/v1/catalog/services/",
66 "create_policy_instance":"/v1/catalog/:entityType/:entityId/policies/:policyId",
67 "CRUD_policy":"/v1/catalog/:entityType/policies/:policyId",
Piotr Darosz2c25cba2019-03-27 15:25:50 +010068 "POST_GAB_Search": "/v1/catalog/gab/searchFor",
ys969316a9fce2020-01-19 13:50:02 +020069 "uicache_root":"/sdc1/feProxy/uicache/v1",
70 "GET_uicache_catalog":"/catalog",
71 "GET_uicache_left_palette":"/catalog/resources/latestversion/notabstract/metadata",
Michael Landoed64b5e2017-06-09 03:19:04 +030072 },
73 "resourceTypesFilter":{
ys969316a9fce2020-01-19 13:50:02 +020074 "resource":["CP","VFC","VL","CVFC","GROUP","POLICY", "Configuration"],
Michael Landoa5445102018-03-04 14:53:33 +020075 "service":["CP","VF","VL", "PNF","CR","CVFC","SERVICE","Configuration","GROUP","POLICY"]
Michael Landoed64b5e2017-06-09 03:19:04 +030076 },
77 "logConfig": {
78 "minLogLevel": "debug",
79 "prefix": "sdcApp"
80 },
81 "cookie": {
82 "junctionName": "IV_JCT",
83 "prefix": "AMWEBJCT!",
84 "userIdSuffix": "USER_ID",
85 "userFirstName": "HTTP_CSP_FIRSTNAME",
86 "userLastName": "HTTP_CSP_LASTNAME",
87 "userEmail": "HTTP_CSP_EMAIL",
88 "xEcompRequestId": " X-ECOMP-RequestID"
89 },
90 "imagesPath": "",
Arielkf1e032c2018-09-06 15:30:15 +030091 "enableWorkflowAssociation": "true",
Michael Landoed64b5e2017-06-09 03:19:04 +030092 "cpEndPointInstances" : ["cloudep","ossep","personep","premisesep"],
93 "toscaFileExtension":"yaml,yml",
94 "csarFileExtension":"csar",
ys969316a9fce2020-01-19 13:50:02 +020095 "showOutlook": true,
Michael Landoed64b5e2017-06-09 03:19:04 +030096 "validationConfigPath":"configurations/validation.json",
97 "categories": {},
98 "testers": {
99 "RESOURCE": {
100 "Network L2-3": "DL-ASDCL1-3ResourceCertificationTeam",
101 "Network L4+": "DL-ASDCL4-7ResourceCertificationTeam",
102 "Application L4+": "DL-ASDCL4-7ResourceCertificationTeam",
103 "default": "DL-ASDCL1-3ResourceCertificationTeam;DL-ASDCL4-7ResourceCertificationTeam"
104 },
105 "SERVICE": {
106 "Network L1-3": "DL-ASDCL1-4ServiceCertificationTeam",
107 "Network L4+": "DL-ASDCL4-7ServiceCertificationTeam",
108 "default": "DL-ASDCL1-4ServiceCertificationTeam;DL-ASDCL4-7ServiceCertificationTeam"
109 }
110 },
ys969316a9fce2020-01-19 13:50:02 +0200111 "roles": ["ADMIN", "DESIGNER"],
Michael Landoed64b5e2017-06-09 03:19:04 +0300112 "tutorial": {
113 "tabs": [
114 {
115 "id":1,
116 "name":"TUTRIAL_GENERAL_TAB_1",
117 "defaultPage":1
118 },
119 {
120 "id":2,
121 "name":"TUTRIAL_GENERAL_TAB_2",
122 "defaultPage":9
123 },
124 {
125 "id":3,
126 "name":"TUTRIAL_GENERAL_TAB_3",
127 "defaultPage":12
128 }
129 ],
130 "pages":
131 [
132 {
133 "id":1,
134 "template": "text-template",
135 "tab": 1,
136 "data":{
137 "title":"TUTORIAL_PAGE1_TITLE",
138 "description":"TUTORIAL_PAGE1_TEXT"
139 }
140
141 },
142 {
143 "id":2,
144 "template": "image-template",
145 "tab": 1,
146 "data":{
147 "title":"TUTORIAL_PAGE2_TITLE",
148 "description":"TUTORIAL_PAGE2_TEXT",
149 "imageClass":"sdc-tutorial-page-2-image"
150 }
151 },
152 {
153 "id":3,
154 "template": "image-template",
155 "tab": 1,
156 "data":{
157 "title":"TUTORIAL_PAGE3_TITLE",
158 "description":"TUTORIAL_PAGE3_TEXT",
159 "imageClass":"sdc-tutorial-page-3-image"
160 }
161 },
162 {
163 "id":4,
164 "template": "image-template",
165 "tab": 1,
166 "data":{
167 "title":"TUTORIAL_PAGE4_TITLE",
168 "description":"TUTORIAL_PAGE4_TEXT",
169 "imageClass":"sdc-tutorial-page-4-image"
170 }
171 },
172 {
173 "id":5,
174 "template": "image-template",
175 "tab": 1,
176 "data":{
177 "title":"TUTORIAL_PAGE5_TITLE",
178 "description":"TUTORIAL_PAGE5_TEXT",
179 "imageClass":"sdc-tutorial-page-5-image"
180 }
181 },
182 {
183 "id":6,
184 "template": "image-template",
185 "tab": 1,
186 "data":{
187 "title":"TUTORIAL_PAGE6_TITLE",
188 "description":"TUTORIAL_PAGE6_TEXT",
189 "imageClass":"sdc-tutorial-page-6-image"
190 }
191 },
192 {
193 "id":7,
194 "template": "image-template",
195 "tab": 1,
196 "data":{
197 "title":"TUTORIAL_PAGE7_TITLE",
198 "description":"TUTORIAL_PAGE7_TEXT",
199 "imageClass":"sdc-tutorial-page-7-image"
200 }
201 },
202 {
203 "id":8,
204 "template": "image-template",
205 "tab": 1,
206 "data":{
207 "title":"TUTORIAL_PAGE8_TITLE",
208 "description":"TUTORIAL_PAGE8_TEXT",
209 "imageClass":"sdc-tutorial-page-8-image"
210 }
211 },
212 {
213 "id":9,
214 "template": "text-template",
215 "tab": 2,
216 "data":{
217 "title":"TUTORIAL_PAGE9_TITLE",
218 "description":"TUTORIAL_PAGE9_TEXT"
219 }
220 },
221 {
222 "id":10,
223 "template": "image-template",
224 "tab": 2,
225 "data":{
226 "title":"TUTORIAL_PAGE10_TITLE",
227 "description":"TUTORIAL_PAGE10_TEXT",
228 "imageClass":"sdc-tutorial-page-10-image"
229 }
230 },
231 {
232 "id":11,
233 "template": "image-template",
234 "tab": 2,
235 "data":{
236 "title":"TUTORIAL_PAGE11_TITLE",
237 "description":"TUTORIAL_PAGE11_TEXT",
238 "imageClass":"sdc-tutorial-page-11-image"
239 }
240 },
241 {
242 "id":12,
243 "template": "text-template",
244 "tab": 3,
245 "data":{
246 "title":"TUTORIAL_PAGE12_TITLE",
247 "description":"TUTORIAL_PAGE12_TEXT"
248 }
249 },
250 {
251 "id":13,
252 "template": "image-template",
253 "tab": 3,
254 "data":{
255 "title":"TUTORIAL_PAGE13_TITLE",
256 "description":"TUTORIAL_PAGE13_TEXT",
257 "imageClass":"sdc-tutorial-page-13-image"
258 }
259 },
260 {
261 "id":14,
262 "template": "image-template",
263 "tab": 3,
264 "data":{
265 "title":"TUTORIAL_PAGE14_TITLE",
266 "description":"TUTORIAL_PAGE14_TEXT",
267 "imageClass":"sdc-tutorial-page-14-image"
268 }
269 },
270 {
271 "id":15,
272 "template": "image-template",
273 "tab": 3,
274 "data":{
275 "title":"TUTORIAL_PAGE15_TITLE",
276 "description":"TUTORIAL_PAGE15_TEXT",
277 "imageClass":"sdc-tutorial-page-15-image"
278 }
279 },
280 {
281 "id":16,
282 "template": "image-template",
283 "tab": 3,
284 "data":{
285 "title":"TUTORIAL_PAGE16_TITLE",
286 "description":"TUTORIAL_PAGE16_TEXT",
287 "imageClass":"sdc-tutorial-page-16-image"
288 }
289 },
290 {
291 "id":17,
292 "template": "image-template",
293 "tab": 3,
294 "data":{
295 "title":"TUTORIAL_PAGE17_TITLE",
296 "description":"TUTORIAL_PAGE17_TEXT",
297 "imageClass":"sdc-tutorial-page-17-image"
298 }
299 },
300 {
301 "id":18,
302 "template": "image-template",
303 "tab": 3,
304 "data":{
305 "title":"TUTORIAL_PAGE18_TITLE",
306 "description":"TUTORIAL_PAGE18_TEXT",
307 "imageClass":"sdc-tutorial-page-18-image"
308 }
309 },
310 {
311 "id":19,
312 "template": "image-template",
313 "tab": 3,
314 "data":{
315 "title":"TUTORIAL_PAGE19_TITLE",
316 "description":"TUTORIAL_PAGE19_TEXT",
317 "imageClass":"sdc-tutorial-page-19-image"
318 }
319 },
320 {
321 "id":20,
322 "template": "image-template",
323 "tab": 3,
324 "data":{
325 "title":"TUTORIAL_PAGE20_TITLE",
326 "description":"TUTORIAL_PAGE20_TEXT",
327 "imageClass":"sdc-tutorial-page-20-image"
328 }
329 },
330 {
331 "id":21,
332 "template": "image-template",
333 "tab": 3,
334 "data":{
335 "title":"TUTORIAL_PAGE21_TITLE",
336 "description":"TUTORIAL_PAGE21_TEXT",
337 "imageClass":"sdc-tutorial-page-21-image"
338 }
339 },
340 {
341 "id":22,
342 "template": "image-template",
343 "tab": 3,
344 "data":{
345 "title":"TUTORIAL_PAGE22_TITLE",
346 "description":"TUTORIAL_PAGE22_TEXT",
347 "imageClass":"sdc-tutorial-page-22-image"
348 }
349 },
350 {
351 "id":23,
352 "template": "image-template",
353 "tab": 3,
354 "data":{
355 "title":"TUTORIAL_PAGE23_TITLE",
356 "description":"TUTORIAL_PAGE23_TEXT",
357 "imageClass":"sdc-tutorial-page-23-image"
358 }
359 },
360 {
361 "id":24,
362 "template": "image-template",
363 "tab": 3,
364 "data":{
365 "title":"TUTORIAL_PAGE24_TITLE",
366 "description":"TUTORIAL_PAGE24_TEXT",
367 "imageClass":"sdc-tutorial-page-24-image"
368 }
369 },
370 {
371 "id":25,
372 "template": "image-template",
373 "tab": 3,
374 "data":{
375 "title":"TUTORIAL_PAGE25_TITLE",
376 "description":"TUTORIAL_PAGE25_TEXT",
377 "imageClass":"sdc-tutorial-page-25-image"
378 }
379 },
380 {
381 "id":26,
382 "template": "image-template",
383 "tab": 3,
384 "data":{
385 "title":"TUTORIAL_PAGE26_TITLE",
386 "description":"TUTORIAL_PAGE26_TEXT",
387 "imageClass":"sdc-tutorial-page-26-image"
388 }
389 },
390 {
391 "id":27,
392 "template": "image-template",
393 "tab": 3,
394 "data":{
395 "title":"TUTORIAL_PAGE27_TITLE",
396 "description":"TUTORIAL_PAGE27_TEXT",
397 "imageClass":"sdc-tutorial-page-27-image"
398 }
399 },
400 {
401 "id":28,
402 "template": "image-template",
403 "tab": 3,
404 "data":{
405 "title":"TUTORIAL_PAGE28_TITLE",
406 "description":"TUTORIAL_PAGE28_TEXT",
407 "imageClass":"sdc-tutorial-page-28-image"
408 }
409 },
410 {
411 "id":29,
412 "template": "image-template",
413 "tab": 3,
414 "data":{
415 "title":"TUTORIAL_PAGE29_TITLE",
416 "description":"TUTORIAL_PAGE29_TEXT",
417 "imageClass":"sdc-tutorial-page-29-image"
418 }
419 },
420 {
421 "id":30,
422 "template": "image-template",
423 "tab": 3,
424 "data":{
425 "title":"TUTORIAL_PAGE30_TITLE",
426 "description":"TUTORIAL_PAGE30_TEXT",
427 "imageClass":"sdc-tutorial-page-30-image"
428 }
429 }
430
431 ]
Maciej Malewski3c957592021-01-27 08:54:20 +0100432 },
Maciej Malewski042fd652021-01-29 13:40:17 +0100433 "displayAlertValidationAfterMilisec": 10000
Michael Landoed64b5e2017-06-09 03:19:04 +0300434};
435
Michael Lando75aacbb2017-07-17 21:12:03 +0300436module.exports = SDC_CONFIG;