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