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