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