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