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