blob: 1868adad72bbae961a1b5a5bc04c324134f9f234 [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",
50 "PUT_service": "/v1/catalog/services/:id/metadata",
51 "GET_download_artifact": "/v1/catalog/",
52 "GET_SDC_Version": "/version",
53 "GET_categories": "/v1/categories/:types",
54 "POST_category": "/v1/category/:types/:categoryId",
55 "POST_subcategory": "/v1/category/:types/:categoryId/subCategory/:subCategoryId",
56 "POST_change_instance_version": "/v1/catalog/:entityType/:entityId/resourceInstance/:id/changeVersion",
57 "GET_requirements_capabilities": "/v1/catalog/requirmentsCapabilities/:type/:id",
58 "GET_resource_artifact_types": "/v1/artifactTypes",
Michael Landoed64b5e2017-06-09 03:19:04 +030059 "GET_onboarding": "/sdc1/feProxy/onboarding-api/v1.0/vendor-software-products/packages",
60 "GET_component_from_csar_uuid": "/v1/catalog/resources/csar/:csar_uuid",
61 "kibana": "/sdc1/kibanaProxy/"
62 },
63 "resourceTypesFilter":{
64 "resource":["CP","VFC","VL"],
Tal Gitelman51d50f02017-12-10 18:55:03 +020065 "service":["CP","VF","VL", "PNF","CVFC","SERVICE","Configuration"]
Michael Landoed64b5e2017-06-09 03:19:04 +030066 },
67 "logConfig": {
68 "minLogLevel": "debug",
69 "prefix": "sdcApp"
70 },
71 "cookie": {
72 "junctionName": "IV_JCT",
73 "prefix": "AMWEBJCT!",
74 "userIdSuffix": "USER_ID",
75 "userFirstName": "HTTP_CSP_FIRSTNAME",
76 "userLastName": "HTTP_CSP_LASTNAME",
77 "userEmail": "HTTP_CSP_EMAIL",
78 "xEcompRequestId": " X-ECOMP-RequestID"
79 },
80 "imagesPath": "/sdc1",
81 "cpEndPointInstances" : ["cloudep","ossep","personep","premisesep"],
82 "toscaFileExtension":"yaml,yml",
83 "csarFileExtension":"csar",
84 "showOutlook": false,
85 "validationConfigPath":"sdc1/configurations/validation.json",
86 "categories": {},
87 "testers": {
88 "RESOURCE": {
89 "Network L2-3": "DL-ASDCL1-3ResourceCertificationTeam",
90 "Network L4+": "DL-ASDCL4-7ResourceCertificationTeam",
91 "Application L4+": "DL-ASDCL4-7ResourceCertificationTeam",
92 "default": "DL-ASDCL1-3ResourceCertificationTeam;DL-ASDCL4-7ResourceCertificationTeam"
93 },
94 "SERVICE": {
95 "Network L1-3": "DL-ASDCL1-4ServiceCertificationTeam",
96 "Network L4+": "DL-ASDCL4-7ServiceCertificationTeam",
97 "default": "DL-ASDCL1-4ServiceCertificationTeam;DL-ASDCL4-7ServiceCertificationTeam"
98 }
99 },
Michael Lando75aacbb2017-07-17 21:12:03 +0300100 "roles": ["ADMIN", "TESTER", "GOVERNOR", "OPS", "DESIGNER"],
Michael Landoed64b5e2017-06-09 03:19:04 +0300101 "tutorial": {
102 "tabs": [
103 {
104 "id":1,
105 "name":"TUTRIAL_GENERAL_TAB_1",
106 "defaultPage":1
107 },
108 {
109 "id":2,
110 "name":"TUTRIAL_GENERAL_TAB_2",
111 "defaultPage":9
112 },
113 {
114 "id":3,
115 "name":"TUTRIAL_GENERAL_TAB_3",
116 "defaultPage":12
117 }
118 ],
119 "pages":
120 [
121 {
122 "id":1,
123 "template": "text-template",
124 "tab": 1,
125 "data":{
126 "title":"TUTORIAL_PAGE1_TITLE",
127 "description":"TUTORIAL_PAGE1_TEXT"
128 }
129
130 },
131 {
132 "id":2,
133 "template": "image-template",
134 "tab": 1,
135 "data":{
136 "title":"TUTORIAL_PAGE2_TITLE",
137 "description":"TUTORIAL_PAGE2_TEXT",
138 "imageClass":"sdc-tutorial-page-2-image"
139 }
140 },
141 {
142 "id":3,
143 "template": "image-template",
144 "tab": 1,
145 "data":{
146 "title":"TUTORIAL_PAGE3_TITLE",
147 "description":"TUTORIAL_PAGE3_TEXT",
148 "imageClass":"sdc-tutorial-page-3-image"
149 }
150 },
151 {
152 "id":4,
153 "template": "image-template",
154 "tab": 1,
155 "data":{
156 "title":"TUTORIAL_PAGE4_TITLE",
157 "description":"TUTORIAL_PAGE4_TEXT",
158 "imageClass":"sdc-tutorial-page-4-image"
159 }
160 },
161 {
162 "id":5,
163 "template": "image-template",
164 "tab": 1,
165 "data":{
166 "title":"TUTORIAL_PAGE5_TITLE",
167 "description":"TUTORIAL_PAGE5_TEXT",
168 "imageClass":"sdc-tutorial-page-5-image"
169 }
170 },
171 {
172 "id":6,
173 "template": "image-template",
174 "tab": 1,
175 "data":{
176 "title":"TUTORIAL_PAGE6_TITLE",
177 "description":"TUTORIAL_PAGE6_TEXT",
178 "imageClass":"sdc-tutorial-page-6-image"
179 }
180 },
181 {
182 "id":7,
183 "template": "image-template",
184 "tab": 1,
185 "data":{
186 "title":"TUTORIAL_PAGE7_TITLE",
187 "description":"TUTORIAL_PAGE7_TEXT",
188 "imageClass":"sdc-tutorial-page-7-image"
189 }
190 },
191 {
192 "id":8,
193 "template": "image-template",
194 "tab": 1,
195 "data":{
196 "title":"TUTORIAL_PAGE8_TITLE",
197 "description":"TUTORIAL_PAGE8_TEXT",
198 "imageClass":"sdc-tutorial-page-8-image"
199 }
200 },
201 {
202 "id":9,
203 "template": "text-template",
204 "tab": 2,
205 "data":{
206 "title":"TUTORIAL_PAGE9_TITLE",
207 "description":"TUTORIAL_PAGE9_TEXT"
208 }
209 },
210 {
211 "id":10,
212 "template": "image-template",
213 "tab": 2,
214 "data":{
215 "title":"TUTORIAL_PAGE10_TITLE",
216 "description":"TUTORIAL_PAGE10_TEXT",
217 "imageClass":"sdc-tutorial-page-10-image"
218 }
219 },
220 {
221 "id":11,
222 "template": "image-template",
223 "tab": 2,
224 "data":{
225 "title":"TUTORIAL_PAGE11_TITLE",
226 "description":"TUTORIAL_PAGE11_TEXT",
227 "imageClass":"sdc-tutorial-page-11-image"
228 }
229 },
230 {
231 "id":12,
232 "template": "text-template",
233 "tab": 3,
234 "data":{
235 "title":"TUTORIAL_PAGE12_TITLE",
236 "description":"TUTORIAL_PAGE12_TEXT"
237 }
238 },
239 {
240 "id":13,
241 "template": "image-template",
242 "tab": 3,
243 "data":{
244 "title":"TUTORIAL_PAGE13_TITLE",
245 "description":"TUTORIAL_PAGE13_TEXT",
246 "imageClass":"sdc-tutorial-page-13-image"
247 }
248 },
249 {
250 "id":14,
251 "template": "image-template",
252 "tab": 3,
253 "data":{
254 "title":"TUTORIAL_PAGE14_TITLE",
255 "description":"TUTORIAL_PAGE14_TEXT",
256 "imageClass":"sdc-tutorial-page-14-image"
257 }
258 },
259 {
260 "id":15,
261 "template": "image-template",
262 "tab": 3,
263 "data":{
264 "title":"TUTORIAL_PAGE15_TITLE",
265 "description":"TUTORIAL_PAGE15_TEXT",
266 "imageClass":"sdc-tutorial-page-15-image"
267 }
268 },
269 {
270 "id":16,
271 "template": "image-template",
272 "tab": 3,
273 "data":{
274 "title":"TUTORIAL_PAGE16_TITLE",
275 "description":"TUTORIAL_PAGE16_TEXT",
276 "imageClass":"sdc-tutorial-page-16-image"
277 }
278 },
279 {
280 "id":17,
281 "template": "image-template",
282 "tab": 3,
283 "data":{
284 "title":"TUTORIAL_PAGE17_TITLE",
285 "description":"TUTORIAL_PAGE17_TEXT",
286 "imageClass":"sdc-tutorial-page-17-image"
287 }
288 },
289 {
290 "id":18,
291 "template": "image-template",
292 "tab": 3,
293 "data":{
294 "title":"TUTORIAL_PAGE18_TITLE",
295 "description":"TUTORIAL_PAGE18_TEXT",
296 "imageClass":"sdc-tutorial-page-18-image"
297 }
298 },
299 {
300 "id":19,
301 "template": "image-template",
302 "tab": 3,
303 "data":{
304 "title":"TUTORIAL_PAGE19_TITLE",
305 "description":"TUTORIAL_PAGE19_TEXT",
306 "imageClass":"sdc-tutorial-page-19-image"
307 }
308 },
309 {
310 "id":20,
311 "template": "image-template",
312 "tab": 3,
313 "data":{
314 "title":"TUTORIAL_PAGE20_TITLE",
315 "description":"TUTORIAL_PAGE20_TEXT",
316 "imageClass":"sdc-tutorial-page-20-image"
317 }
318 },
319 {
320 "id":21,
321 "template": "image-template",
322 "tab": 3,
323 "data":{
324 "title":"TUTORIAL_PAGE21_TITLE",
325 "description":"TUTORIAL_PAGE21_TEXT",
326 "imageClass":"sdc-tutorial-page-21-image"
327 }
328 },
329 {
330 "id":22,
331 "template": "image-template",
332 "tab": 3,
333 "data":{
334 "title":"TUTORIAL_PAGE22_TITLE",
335 "description":"TUTORIAL_PAGE22_TEXT",
336 "imageClass":"sdc-tutorial-page-22-image"
337 }
338 },
339 {
340 "id":23,
341 "template": "image-template",
342 "tab": 3,
343 "data":{
344 "title":"TUTORIAL_PAGE23_TITLE",
345 "description":"TUTORIAL_PAGE23_TEXT",
346 "imageClass":"sdc-tutorial-page-23-image"
347 }
348 },
349 {
350 "id":24,
351 "template": "image-template",
352 "tab": 3,
353 "data":{
354 "title":"TUTORIAL_PAGE24_TITLE",
355 "description":"TUTORIAL_PAGE24_TEXT",
356 "imageClass":"sdc-tutorial-page-24-image"
357 }
358 },
359 {
360 "id":25,
361 "template": "image-template",
362 "tab": 3,
363 "data":{
364 "title":"TUTORIAL_PAGE25_TITLE",
365 "description":"TUTORIAL_PAGE25_TEXT",
366 "imageClass":"sdc-tutorial-page-25-image"
367 }
368 },
369 {
370 "id":26,
371 "template": "image-template",
372 "tab": 3,
373 "data":{
374 "title":"TUTORIAL_PAGE26_TITLE",
375 "description":"TUTORIAL_PAGE26_TEXT",
376 "imageClass":"sdc-tutorial-page-26-image"
377 }
378 },
379 {
380 "id":27,
381 "template": "image-template",
382 "tab": 3,
383 "data":{
384 "title":"TUTORIAL_PAGE27_TITLE",
385 "description":"TUTORIAL_PAGE27_TEXT",
386 "imageClass":"sdc-tutorial-page-27-image"
387 }
388 },
389 {
390 "id":28,
391 "template": "image-template",
392 "tab": 3,
393 "data":{
394 "title":"TUTORIAL_PAGE28_TITLE",
395 "description":"TUTORIAL_PAGE28_TEXT",
396 "imageClass":"sdc-tutorial-page-28-image"
397 }
398 },
399 {
400 "id":29,
401 "template": "image-template",
402 "tab": 3,
403 "data":{
404 "title":"TUTORIAL_PAGE29_TITLE",
405 "description":"TUTORIAL_PAGE29_TEXT",
406 "imageClass":"sdc-tutorial-page-29-image"
407 }
408 },
409 {
410 "id":30,
411 "template": "image-template",
412 "tab": 3,
413 "data":{
414 "title":"TUTORIAL_PAGE30_TITLE",
415 "description":"TUTORIAL_PAGE30_TEXT",
416 "imageClass":"sdc-tutorial-page-30-image"
417 }
418 }
419
420 ]
421 }
Michael Landoed64b5e2017-06-09 03:19:04 +0300422};
423
424module.exports = SDC_CONFIG;