summaryrefslogtreecommitdiffstats
path: root/catalog-ui/configurations/prod.js
blob: 715b9a972e433477bbba038d68c43ed325f2bd5b (plain)
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
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
const SDC_CONFIG = {
	"environment": "prod",
	"api": {
        "GET_SDC_Setup_Data": "/v1/setup/ui",
        "GET_component": "/v1/catalog/:type/:id",
        "PUT_component": "/v1/catalog/:type/:id/metadata",
        "GET_component_validate_name": "/v1/catalog/:type/validate-name/:name",
        "POST_changeLifecycleState": "/v1/catalog/",
        "component_api_root": "/v1/catalog/",
        "GET_user": "/v1/user/:id",
        "GET_user_authorize": "/v1/user/authorize",
        "GET_all_users": "/v1/user/users",
        "POST_create_user": "/v1/user",
        "DELETE_delete_user": "/v1/user/:id",
        "POST_edit_user_role": "/v1/user/:id/role",
        "GET_resource": "/v1/catalog/resources/:id",
        "GET_resources_latestversion_notabstract":"/v1/catalog/:type/latestversion/notabstract/:id",
        "GET_resources_certified_not_abstract": "/v1/catalog/resources/certified/notabstract/:id",
        "GET_resources_certified_abstract": "/v1/catalog/resources/certified/abstract/:id",
        "GET_resource_property": "/v1/catalog/:type/:entityId/properties/:id",
        "PUT_resource": "/v1/catalog/resources/:id/metadata",
        "GET_resource_artifact": "/v1/catalog/:type/:entityId/artifacts/:id",
        "GET_download_instance_artifact": "/v1/catalog/:type/:entityId/resourceInstances/:instanceId/artifacts/:id",
        "POST_instance_artifact": "/v1/catalog/:type/:entityId/resourceInstance/:instanceId/artifacts/:id",
        "GET_resource_additional_information": "/v1/catalog/:type/:entityId/additionalinfo/:id",
        "GET_service_artifact": "/v1/catalog/services/:serviceId/artifacts/:id",
        "GET_resource_interface_artifact": "/v1/catalog/:type/:entityId/standard/:operation/artifacts/:id",
        "GET_resource_api_artifact": "/v1/catalog/:type/:entityId/artifacts/api/:id",
        "GET_configuration_ui": "/v1/configuration/ui",
        "GET_plugins_configuration": "/config/ui/plugins",
        "GET_plugin_online_state": "/config/ui/plugins/:pluginId/online",
        "GET_resource_validate_name": "/v1/catalog/resources/validate-name/:name",
        "GET_activity_log": "/v1/catalog/audit-records/:type/:id",
        "GET_service": "/v1/catalog/services/:id",
        "GET_service_validate_name": "/v1/catalog/services/validate-name/:name",
        "GET_service_distributions":"/v1/catalog/services/:uuid/distribution",
        "GET_service_distributions_components":"/v1/catalog/services/distribution/:distributionId",
        "POST_service_distribution_deploy" : "/v1/catalog/services/:serviceId/distribution/:distributionId/markDeployed",
        "GET_element": "/v1/followed",
        "GET_catalog": "/v1/screen",
        "GET_ecomp_menu_items": "/v1/user/:userId/functionalmenu",
        "GET_resource_category": "/v1/resourceCategories",
        "GET_service_category": "/v1/serviceCategories",
        "resource_instance": "/v1/catalog/:entityType/:entityId/resourceInstance/:id",
        "GET_resource_instance_property": "/v1/catalog/:type/:entityId/resourceInstance/:componentInstanceId/property/:propertyValueId",
        "GET_relationship": "/v1/catalog/:entityType/:entityId/resourceInstance/:action",
        "GET_lifecycle_state_resource": "/v1/catalog/:type/:id/lifecycleState/:action",
        "GET_lifecycle_state_CHECKIN":"lifecycleState/CHECKIN",
        "GET_lifecycle_state_UNDOCHECKOUT":"lifecycleState/UNDOCHECKOUT",
        "root": "/sdc1/feProxy/rest",
		"no_proxy_root": "/sdc1/rest",
		"workflow_root": "/sdc1/feProxy/wf",
		"POST_workflow_artifact": "sdc/v1/catalog",
        "PUT_service": "/v1/catalog/services/:id/metadata",
        "GET_download_artifact": "/v1/catalog/",
		"GET_categories": "/v1/categories/:types",
		"POST_category": "/v1/category/:types/:categoryId",
		"POST_subcategory": "/v1/category/:types/:categoryId/subCategory/:subCategoryId",
		"POST_change_instance_version": "/v1/catalog/:entityType/:entityId/resourceInstance/:id/changeVersion",
		"GET_requirements_capabilities": "/v1/catalog/requirmentsCapabilities/:type/:id",
		"GET_resource_artifact_types": "/v1/artifactTypes",
		"GET_onboarding": "/sdc1/feProxy/onboarding-api/v1.0/vendor-software-products/packages",
		"GET_component_from_csar_uuid": "/v1/catalog/resources/csar/:csar_uuid",
		"kibana": "/sdc1/kibanaProxy/",
		"services_api_root": "/v1/catalog/services/",
		"create_policy_instance":"/v1/catalog/:entityType/:entityId/policies/:policyId",
		"CRUD_policy":"/v1/catalog/:entityType/policies/:policyId",
		"POST_GAB_Search": "/v1/catalog/gab/searchFor",
        "uicache_root":"/sdc1/feProxy/uicache/v1",
        "GET_uicache_catalog":"/catalog",
        "GET_uicache_left_palette":"/catalog/resources/latestversion/notabstract/metadata",
	},
	"resourceTypesFilter":{
        "resource":["CP","VFC","VL","CVFC","GROUP","POLICY", "Configuration"],
        "service":["CP","VF","VL", "PNF","CR","CVFC","SERVICE","Configuration","GROUP","POLICY"]
	},
	"logConfig": {
		"minLogLevel": "debug",
		"prefix": "sdcApp"
	},
	"cookie": {
		"junctionName": "IV_JCT",
		"prefix": "AMWEBJCT!",
		"userIdSuffix": "USER_ID",
		"userFirstName": "HTTP_CSP_FIRSTNAME",
		"userLastName": "HTTP_CSP_LASTNAME",
		"userEmail": "HTTP_CSP_EMAIL",
		"xEcompRequestId": " X-ECOMP-RequestID"
	},
	"imagesPath": "/sdc1",
	"enableWorkflowAssociation": "true",
	"cpEndPointInstances" : ["cloudep","ossep","personep","premisesep"],
	"toscaFileExtension":"yaml,yml",
	"csarFileExtension":"csar",
    "showOutlook": false,
    "validationConfigPath":"sdc1/configurations/validation.json",
	"categories": {},
	"testers": {
		"RESOURCE": {
			"Network L2-3": "DL-ASDCL1-3ResourceCertificationTeam",
			"Network L4+": "DL-ASDCL4-7ResourceCertificationTeam",
			"Application L4+": "DL-ASDCL4-7ResourceCertificationTeam",
			"default": "DL-ASDCL1-3ResourceCertificationTeam;DL-ASDCL4-7ResourceCertificationTeam"
		},
		"SERVICE": {
			"Network L1-3": "DL-ASDCL1-4ServiceCertificationTeam",
			"Network L4+": "DL-ASDCL4-7ServiceCertificationTeam",
			"default": "DL-ASDCL1-4ServiceCertificationTeam;DL-ASDCL4-7ServiceCertificationTeam"
		}
	},
	"roles": ["ADMIN", "DESIGNER"],
	"tutorial": {
		"tabs": [
			{
				"id":1,
				"name":"TUTRIAL_GENERAL_TAB_1",
				"defaultPage":1
			},
			{
				"id":2,
				"name":"TUTRIAL_GENERAL_TAB_2",
				"defaultPage":9
			},
			{
				"id":3,
				"name":"TUTRIAL_GENERAL_TAB_3",
				"defaultPage":12
			}
		],
		"pages":
		[
			{
				"id":1,
				"template": "text-template",
				"tab": 1,
				"data":{
					"title":"TUTORIAL_PAGE1_TITLE",
					"description":"TUTORIAL_PAGE1_TEXT"
				}

			},
			{
				"id":2,
				"template": "image-template",
				"tab": 1,
				"data":{
					"title":"TUTORIAL_PAGE2_TITLE",
					"description":"TUTORIAL_PAGE2_TEXT",
					"imageClass":"sdc-tutorial-page-2-image"
				}
			},
			{
				"id":3,
				"template": "image-template",
				"tab": 1,
				"data":{
					"title":"TUTORIAL_PAGE3_TITLE",
					"description":"TUTORIAL_PAGE3_TEXT",
					"imageClass":"sdc-tutorial-page-3-image"
				}
			},
			{
				"id":4,
				"template": "image-template",
				"tab": 1,
				"data":{
					"title":"TUTORIAL_PAGE4_TITLE",
					"description":"TUTORIAL_PAGE4_TEXT",
					"imageClass":"sdc-tutorial-page-4-image"
				}
			},
			{
				"id":5,
				"template": "image-template",
				"tab": 1,
				"data":{
					"title":"TUTORIAL_PAGE5_TITLE",
					"description":"TUTORIAL_PAGE5_TEXT",
					"imageClass":"sdc-tutorial-page-5-image"
				}
			},
			{
				"id":6,
				"template": "image-template",
				"tab": 1,
				"data":{
					"title":"TUTORIAL_PAGE6_TITLE",
					"description":"TUTORIAL_PAGE6_TEXT",
					"imageClass":"sdc-tutorial-page-6-image"
				}
			},
			{
				"id":7,
				"template": "image-template",
				"tab": 1,
				"data":{
					"title":"TUTORIAL_PAGE7_TITLE",
					"description":"TUTORIAL_PAGE7_TEXT",
					"imageClass":"sdc-tutorial-page-7-image"
				}
			},
			{
				"id":8,
				"template": "image-template",
				"tab": 1,
				"data":{
					"title":"TUTORIAL_PAGE8_TITLE",
					"description":"TUTORIAL_PAGE8_TEXT",
					"imageClass":"sdc-tutorial-page-8-image"
				}
			},
			{
				"id":9,
				"template": "text-template",
				"tab": 2,
				"data":{
					"title":"TUTORIAL_PAGE9_TITLE",
					"description":"TUTORIAL_PAGE9_TEXT"
				}
			},
			{
				"id":10,
				"template": "image-template",
				"tab": 2,
				"data":{
					"title":"TUTORIAL_PAGE10_TITLE",
					"description":"TUTORIAL_PAGE10_TEXT",
					"imageClass":"sdc-tutorial-page-10-image"
				}
			},
			{
				"id":11,
				"template": "image-template",
				"tab": 2,
				"data":{
					"title":"TUTORIAL_PAGE11_TITLE",
					"description":"TUTORIAL_PAGE11_TEXT",
					"imageClass":"sdc-tutorial-page-11-image"
				}
			},
			{
				"id":12,
				"template": "text-template",
				"tab": 3,
				"data":{
					"title":"TUTORIAL_PAGE12_TITLE",
					"description":"TUTORIAL_PAGE12_TEXT"
				}
			},
			{
				"id":13,
				"template": "image-template",
				"tab": 3,
				"data":{
					"title":"TUTORIAL_PAGE13_TITLE",
					"description":"TUTORIAL_PAGE13_TEXT",
					"imageClass":"sdc-tutorial-page-13-image"
				}
			},
			{
				"id":14,
				"template": "image-template",
				"tab": 3,
				"data":{
					"title":"TUTORIAL_PAGE14_TITLE",
					"description":"TUTORIAL_PAGE14_TEXT",
					"imageClass":"sdc-tutorial-page-14-image"
				}
			},
			{
				"id":15,
				"template": "image-template",
				"tab": 3,
				"data":{
					"title":"TUTORIAL_PAGE15_TITLE",
					"description":"TUTORIAL_PAGE15_TEXT",
					"imageClass":"sdc-tutorial-page-15-image"
				}
			},
			{
				"id":16,
				"template": "image-template",
				"tab": 3,
				"data":{
					"title":"TUTORIAL_PAGE16_TITLE",
					"description":"TUTORIAL_PAGE16_TEXT",
					"imageClass":"sdc-tutorial-page-16-image"
				}
			},
			{
				"id":17,
				"template": "image-template",
				"tab": 3,
				"data":{
					"title":"TUTORIAL_PAGE17_TITLE",
					"description":"TUTORIAL_PAGE17_TEXT",
					"imageClass":"sdc-tutorial-page-17-image"
				}
			},
			{
				"id":18,
				"template": "image-template",
				"tab": 3,
				"data":{
					"title":"TUTORIAL_PAGE18_TITLE",
					"description":"TUTORIAL_PAGE18_TEXT",
					"imageClass":"sdc-tutorial-page-18-image"
				}
			},
			{
				"id":19,
				"template": "image-template",
				"tab": 3,
				"data":{
					"title":"TUTORIAL_PAGE19_TITLE",
					"description":"TUTORIAL_PAGE19_TEXT",
					"imageClass":"sdc-tutorial-page-19-image"
				}
			},
			{
				"id":20,
				"template": "image-template",
				"tab": 3,
				"data":{
					"title":"TUTORIAL_PAGE20_TITLE",
					"description":"TUTORIAL_PAGE20_TEXT",
					"imageClass":"sdc-tutorial-page-20-image"
				}
			},
			{
				"id":21,
				"template": "image-template",
				"tab": 3,
				"data":{
					"title":"TUTORIAL_PAGE21_TITLE",
					"description":"TUTORIAL_PAGE21_TEXT",
					"imageClass":"sdc-tutorial-page-21-image"
				}
			},
			{
				"id":22,
				"template": "image-template",
				"tab": 3,
				"data":{
					"title":"TUTORIAL_PAGE22_TITLE",
					"description":"TUTORIAL_PAGE22_TEXT",
					"imageClass":"sdc-tutorial-page-22-image"
				}
			},
			{
				"id":23,
				"template": "image-template",
				"tab": 3,
				"data":{
					"title":"TUTORIAL_PAGE23_TITLE",
					"description":"TUTORIAL_PAGE23_TEXT",
					"imageClass":"sdc-tutorial-page-23-image"
				}
			},
			{
				"id":24,
				"template": "image-template",
				"tab": 3,
				"data":{
					"title":"TUTORIAL_PAGE24_TITLE",
					"description":"TUTORIAL_PAGE24_TEXT",
					"imageClass":"sdc-tutorial-page-24-image"
				}
			},
			{
				"id":25,
				"template": "image-template",
				"tab": 3,
				"data":{
					"title":"TUTORIAL_PAGE25_TITLE",
					"description":"TUTORIAL_PAGE25_TEXT",
					"imageClass":"sdc-tutorial-page-25-image"
				}
			},
			{
				"id":26,
				"template": "image-template",
				"tab": 3,
				"data":{
					"title":"TUTORIAL_PAGE26_TITLE",
					"description":"TUTORIAL_PAGE26_TEXT",
					"imageClass":"sdc-tutorial-page-26-image"
				}
			},
			{
				"id":27,
				"template": "image-template",
				"tab": 3,
				"data":{
					"title":"TUTORIAL_PAGE27_TITLE",
					"description":"TUTORIAL_PAGE27_TEXT",
					"imageClass":"sdc-tutorial-page-27-image"
				}
			},
			{
				"id":28,
				"template": "image-template",
				"tab": 3,
				"data":{
					"title":"TUTORIAL_PAGE28_TITLE",
					"description":"TUTORIAL_PAGE28_TEXT",
					"imageClass":"sdc-tutorial-page-28-image"
				}
			},
			{
				"id":29,
				"template": "image-template",
				"tab": 3,
				"data":{
					"title":"TUTORIAL_PAGE29_TITLE",
					"description":"TUTORIAL_PAGE29_TEXT",
					"imageClass":"sdc-tutorial-page-29-image"
				}
			},
			{
				"id":30,
				"template": "image-template",
				"tab": 3,
				"data":{
					"title":"TUTORIAL_PAGE30_TITLE",
					"description":"TUTORIAL_PAGE30_TEXT",
					"imageClass":"sdc-tutorial-page-30-image"
				}
			}

		]
	},
	"displayAlertValidationAfterMilisec": 10000
};

module.exports = SDC_CONFIG;