blob: 745f01d0ebd6f5864191997fc96881369fb75554 [file] [log] [blame]
AviZi280f8012017-06-09 02:39:56 +03001/*!
2 * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
13 * or implied. See the License for the specific language governing
14 * permissions and limitations under the License.
15 */
16
17import SoftwareProductCreation from 'sdc-app/onboarding/softwareProduct/creation/SoftwareProductCreation.js';
18import LicenseModelCreation from 'sdc-app/onboarding/licenseModel/creation/LicenseModelCreation.js';
Avi Zivb8e2faf2017-07-18 19:45:38 +030019import SoftwareProductComponentImageEditor from 'sdc-app/onboarding/softwareProduct/components/images/SoftwareProductComponentsImageEditor.js';
talig8e9c0652017-12-20 14:30:43 +020020import VersionPageCreation from 'sdc-app/onboarding/versionsPage/creation/VersionsPageCreation.js';
AviZi280f8012017-06-09 02:39:56 +030021import SubmitErrorResponse from 'nfvo-components/SubmitErrorResponse.jsx';
Avi Zivb8e2faf2017-07-18 19:45:38 +030022import ComputeFlavorEditor from 'sdc-app/onboarding/softwareProduct/components/compute/computeComponents/computeFlavor/ComputeFlavorEditor.js';
23import NICCreation from 'sdc-app/onboarding/softwareProduct/components/network/NICCreation/NICCreation.js';
24import SoftwareProductComponentsNICEditor from 'sdc-app/onboarding/softwareProduct/components/network/SoftwareProductComponentsNICEditor.js';
25import ComponentCreation from 'sdc-app/onboarding/softwareProduct/components/creation/SoftwareProductComponentCreation.js';
26import SoftwareProductDeploymentEditor from 'sdc-app/onboarding/softwareProduct/deployment/editor/SoftwareProductDeploymentEditor.js';
Murali-P72d62fb2018-03-29 17:46:39 +053027import VNFImport from 'sdc-app/onboarding/softwareProduct/vnfMarketPlace/VNFImport.js';
talig8e9c0652017-12-20 14:30:43 +020028import PermissionsManager from 'sdc-app/onboarding/permissions/PermissionsManager.js';
29import CommitCommentModal from 'nfvo-components/panel/versionController/components/CommitCommentModal.jsx';
30import Tree from 'nfvo-components/tree/Tree.jsx';
31import MergeEditor from 'sdc-app/common/merge/MergeEditor.js';
32import Revisions from 'sdc-app/onboarding/revisions/Revisions.js';
svishnev091edfd2018-03-19 12:15:19 +020033import VendorSelector from 'sdc-app/onboarding/softwareProduct/details/SoftwareProductDetailsVendorSelector.jsx';
AviZi280f8012017-06-09 02:39:56 +030034
Avi Zivb8e2faf2017-07-18 19:45:38 +030035export const modalContentMapper = {
Einav Weiss Keidar7fdf7332018-03-20 14:45:40 +020036 SOFTWARE_PRODUCT_CREATION: 'SOFTWARE_PRODUCT_CREATION',
37 LICENSE_MODEL_CREATION: 'LICENSE_MODEL_CREATION',
38 SUMBIT_ERROR_RESPONSE: 'SUMBIT_ERROR_RESPONSE',
39 COMPONENT_COMPUTE_FLAVOR_EDITOR: 'COMPONENT_COMPUTE_FLAVOR_EDITOR',
40 NIC_EDITOR: 'NIC_EDITOR',
41 NIC_CREATION: 'NIC_CREATION',
42 COMPONENT_CREATION: 'COMPONENT_CREATION',
43 SOFTWARE_PRODUCT_COMPONENT_IMAGE_EDITOR:
44 'SOFTWARE_PRODUCT_COMPONENT_IMAGE_EDITOR',
45 DEPLOYMENT_FLAVOR_EDITOR: 'DEPLOYMENT_FLAVOR_EDITOR',
46 MANAGE_PERMISSIONS: 'MANAGE_PERMISSIONS',
47 VERSION_CREATION: 'VERSION_CREATION',
48 COMMIT_COMMENT: 'COMMIT_COMMENT',
49 VERSION_TREE: 'VERSION_TREE',
50 MERGE_EDITOR: 'MERGE_EDITOR',
51 REVISIONS_LIST: 'REVISIONS_LIST',
Murali-P72d62fb2018-03-29 17:46:39 +053052 VENDOR_SELECTOR: 'VENDOR_SELECTOR',
53 VNF_IMPORT: 'VNF_IMPORT'
AviZi280f8012017-06-09 02:39:56 +030054};
55
56export const modalContentComponents = {
Einav Weiss Keidar7fdf7332018-03-20 14:45:40 +020057 SUMBIT_ERROR_RESPONSE: SubmitErrorResponse,
58 SOFTWARE_PRODUCT_CREATION: SoftwareProductCreation,
59 VERSION_CREATION: VersionPageCreation,
60 LICENSE_MODEL_CREATION: LicenseModelCreation,
61 COMPONENT_COMPUTE_FLAVOR_EDITOR: ComputeFlavorEditor,
62 NIC_EDITOR: SoftwareProductComponentsNICEditor,
63 NIC_CREATION: NICCreation,
64 COMPONENT_CREATION: ComponentCreation,
65 SOFTWARE_PRODUCT_COMPONENT_IMAGE_EDITOR: SoftwareProductComponentImageEditor,
66 DEPLOYMENT_FLAVOR_EDITOR: SoftwareProductDeploymentEditor,
67 MANAGE_PERMISSIONS: PermissionsManager,
68 COMMIT_COMMENT: CommitCommentModal,
69 VERSION_TREE: Tree,
70 MERGE_EDITOR: MergeEditor,
71 REVISIONS_LIST: Revisions,
Murali-P72d62fb2018-03-29 17:46:39 +053072 VENDOR_SELECTOR: VendorSelector,
73 VNF_IMPORT: VNFImport
Avi Zivb8e2faf2017-07-18 19:45:38 +030074};