Einav Weiss Keidar | 1801b24 | 2018-08-13 16:19:46 +0300 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright © 2016-2018 European Support Limited |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 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 | * |
Einav Weiss Keidar | 1801b24 | 2018-08-13 16:19:46 +0300 | [diff] [blame^] | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 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, |
Einav Weiss Keidar | 1801b24 | 2018-08-13 16:19:46 +0300 | [diff] [blame^] | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 15 | */ |
| 16 | |
| 17 | import SoftwareProductCreation from 'sdc-app/onboarding/softwareProduct/creation/SoftwareProductCreation.js'; |
| 18 | import LicenseModelCreation from 'sdc-app/onboarding/licenseModel/creation/LicenseModelCreation.js'; |
Avi Ziv | b8e2faf | 2017-07-18 19:45:38 +0300 | [diff] [blame] | 19 | import SoftwareProductComponentImageEditor from 'sdc-app/onboarding/softwareProduct/components/images/SoftwareProductComponentsImageEditor.js'; |
talig | 8e9c065 | 2017-12-20 14:30:43 +0200 | [diff] [blame] | 20 | import VersionPageCreation from 'sdc-app/onboarding/versionsPage/creation/VersionsPageCreation.js'; |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 21 | import SubmitErrorResponse from 'nfvo-components/SubmitErrorResponse.jsx'; |
Avi Ziv | b8e2faf | 2017-07-18 19:45:38 +0300 | [diff] [blame] | 22 | import ComputeFlavorEditor from 'sdc-app/onboarding/softwareProduct/components/compute/computeComponents/computeFlavor/ComputeFlavorEditor.js'; |
| 23 | import NICCreation from 'sdc-app/onboarding/softwareProduct/components/network/NICCreation/NICCreation.js'; |
| 24 | import SoftwareProductComponentsNICEditor from 'sdc-app/onboarding/softwareProduct/components/network/SoftwareProductComponentsNICEditor.js'; |
| 25 | import ComponentCreation from 'sdc-app/onboarding/softwareProduct/components/creation/SoftwareProductComponentCreation.js'; |
| 26 | import SoftwareProductDeploymentEditor from 'sdc-app/onboarding/softwareProduct/deployment/editor/SoftwareProductDeploymentEditor.js'; |
Murali-P | 72d62fb | 2018-03-29 17:46:39 +0530 | [diff] [blame] | 27 | import VNFImport from 'sdc-app/onboarding/softwareProduct/vnfMarketPlace/VNFImport.js'; |
talig | 8e9c065 | 2017-12-20 14:30:43 +0200 | [diff] [blame] | 28 | import PermissionsManager from 'sdc-app/onboarding/permissions/PermissionsManager.js'; |
| 29 | import CommitCommentModal from 'nfvo-components/panel/versionController/components/CommitCommentModal.jsx'; |
| 30 | import Tree from 'nfvo-components/tree/Tree.jsx'; |
| 31 | import MergeEditor from 'sdc-app/common/merge/MergeEditor.js'; |
| 32 | import Revisions from 'sdc-app/onboarding/revisions/Revisions.js'; |
svishnev | 091edfd | 2018-03-19 12:15:19 +0200 | [diff] [blame] | 33 | import VendorSelector from 'sdc-app/onboarding/softwareProduct/details/SoftwareProductDetailsVendorSelector.jsx'; |
Einav Weiss Keidar | 1801b24 | 2018-08-13 16:19:46 +0300 | [diff] [blame^] | 34 | import FlowsEditor from 'sdc-app/flows/FlowsEditorModal.js'; |
| 35 | import EntitlementPoolsEditor from 'sdc-app/onboarding/licenseModel/entitlementPools/EntitlementPoolsEditor.js'; |
| 36 | import FeatureGroupEditor from 'sdc-app/onboarding/licenseModel/featureGroups/FeatureGroupEditor'; |
| 37 | import LicenseAgreementEditor from 'sdc-app/onboarding/licenseModel/licenseAgreement/LicenseAgreementEditor'; |
| 38 | import LicenseKeyGroupsEditor from 'sdc-app/onboarding/licenseModel/licenseKeyGroups/LicenseKeyGroupsEditor'; |
| 39 | import SoftwareProductProcessesEditor from 'sdc-app/onboarding/softwareProduct/processes/SoftwareProductProcessesEditor'; |
| 40 | import SoftwareProductComponentProcessesEditor from 'sdc-app/onboarding/softwareProduct/components/processes/SoftwareProductComponentProcessesEditor'; |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 41 | |
Avi Ziv | b8e2faf | 2017-07-18 19:45:38 +0300 | [diff] [blame] | 42 | export const modalContentMapper = { |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 43 | SOFTWARE_PRODUCT_CREATION: 'SOFTWARE_PRODUCT_CREATION', |
| 44 | LICENSE_MODEL_CREATION: 'LICENSE_MODEL_CREATION', |
| 45 | SUMBIT_ERROR_RESPONSE: 'SUMBIT_ERROR_RESPONSE', |
| 46 | COMPONENT_COMPUTE_FLAVOR_EDITOR: 'COMPONENT_COMPUTE_FLAVOR_EDITOR', |
| 47 | NIC_EDITOR: 'NIC_EDITOR', |
| 48 | NIC_CREATION: 'NIC_CREATION', |
| 49 | COMPONENT_CREATION: 'COMPONENT_CREATION', |
| 50 | SOFTWARE_PRODUCT_COMPONENT_IMAGE_EDITOR: |
| 51 | 'SOFTWARE_PRODUCT_COMPONENT_IMAGE_EDITOR', |
| 52 | DEPLOYMENT_FLAVOR_EDITOR: 'DEPLOYMENT_FLAVOR_EDITOR', |
| 53 | MANAGE_PERMISSIONS: 'MANAGE_PERMISSIONS', |
| 54 | VERSION_CREATION: 'VERSION_CREATION', |
| 55 | COMMIT_COMMENT: 'COMMIT_COMMENT', |
| 56 | VERSION_TREE: 'VERSION_TREE', |
| 57 | MERGE_EDITOR: 'MERGE_EDITOR', |
| 58 | REVISIONS_LIST: 'REVISIONS_LIST', |
Murali-P | 72d62fb | 2018-03-29 17:46:39 +0530 | [diff] [blame] | 59 | VENDOR_SELECTOR: 'VENDOR_SELECTOR', |
Einav Weiss Keidar | 1801b24 | 2018-08-13 16:19:46 +0300 | [diff] [blame^] | 60 | VNF_IMPORT: 'VNF_IMPORT', |
| 61 | FLOWS_EDITOR: 'FLOWS_EDITOR', |
| 62 | EP_EDITOR: 'EP_EDITOR', |
| 63 | FG_EDITOR: 'FG_EDITOR', |
| 64 | LA_EDITOR: 'LA_EDITOR', |
| 65 | LKG_EDITOR: 'LKG_EDITOR', |
| 66 | PROCESS_EDITOR: 'PROCESS_EDITOR', |
| 67 | COMP_PROCESS_EDITOR: 'COMP_PROCESS_EDITOR' |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 68 | }; |
| 69 | |
| 70 | export const modalContentComponents = { |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 71 | SUMBIT_ERROR_RESPONSE: SubmitErrorResponse, |
| 72 | SOFTWARE_PRODUCT_CREATION: SoftwareProductCreation, |
| 73 | VERSION_CREATION: VersionPageCreation, |
| 74 | LICENSE_MODEL_CREATION: LicenseModelCreation, |
| 75 | COMPONENT_COMPUTE_FLAVOR_EDITOR: ComputeFlavorEditor, |
| 76 | NIC_EDITOR: SoftwareProductComponentsNICEditor, |
| 77 | NIC_CREATION: NICCreation, |
| 78 | COMPONENT_CREATION: ComponentCreation, |
| 79 | SOFTWARE_PRODUCT_COMPONENT_IMAGE_EDITOR: SoftwareProductComponentImageEditor, |
| 80 | DEPLOYMENT_FLAVOR_EDITOR: SoftwareProductDeploymentEditor, |
| 81 | MANAGE_PERMISSIONS: PermissionsManager, |
| 82 | COMMIT_COMMENT: CommitCommentModal, |
| 83 | VERSION_TREE: Tree, |
| 84 | MERGE_EDITOR: MergeEditor, |
| 85 | REVISIONS_LIST: Revisions, |
Murali-P | 72d62fb | 2018-03-29 17:46:39 +0530 | [diff] [blame] | 86 | VENDOR_SELECTOR: VendorSelector, |
Einav Weiss Keidar | 1801b24 | 2018-08-13 16:19:46 +0300 | [diff] [blame^] | 87 | VNF_IMPORT: VNFImport, |
| 88 | FLOWS_EDITOR: FlowsEditor, |
| 89 | EP_EDITOR: EntitlementPoolsEditor, |
| 90 | FG_EDITOR: FeatureGroupEditor, |
| 91 | LA_EDITOR: LicenseAgreementEditor, |
| 92 | LKG_EDITOR: LicenseKeyGroupsEditor, |
| 93 | PROCESS_EDITOR: SoftwareProductProcessesEditor, |
| 94 | COMP_PROCESS_EDITOR: SoftwareProductComponentProcessesEditor |
Avi Ziv | b8e2faf | 2017-07-18 19:45:38 +0300 | [diff] [blame] | 95 | }; |