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