Add new code new version
[sdc.git] / openecomp-ui / src / sdc-app / onboarding / softwareProduct / SoftwareProductConstants.js
1 /*-
2  * ============LICENSE_START=======================================================
3  * SDC
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 import keyMirror from 'nfvo-utils/KeyMirror.js';
22
23 export const actionTypes = keyMirror({
24         SOFTWARE_PRODUCT_LOADED: null,
25         SOFTWARE_PRODUCT_LIST_LOADED: null,
26         SOFTWARE_PRODUCT_LIST_EDIT: null,
27         SOFTWARE_PRODUCT_CATEGORIES_LOADED: null,
28         SOFTWARE_PRODUCT_QUESTIONNAIRE_UPDATE: null,
29         ADD_SOFTWARE_PRODUCT: null,
30         TOGGLE_NAVIGATION_ITEM: null,
31
32         softwareProductEditor: {
33                 OPEN: null,
34                 CLOSE: null,
35                 DATA_CHANGED: null,
36                 IS_VALIDITY_DATA_CHANGED: null,
37                 UPLOAD_CONFIRMATION: null
38         }
39 });
40
41 export const navigationItems = keyMirror({
42         VENDOR_SOFTWARE_PRODUCT: 'Vendor Software Product',
43         GENERAL: 'General',
44         PROCESS_DETAILS: 'Process Details',
45         NETWORKS: 'Networks',
46         ATTACHMENTS: 'Attachments',
47         COMPONENTS: 'Components',
48
49         COMPUTE: 'Compute',
50         LOAD_BALANCING: 'Load Balancing',
51         STORAGE: 'Storage',
52         MONITORING: 'Monitoring'
53 });