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