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