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