Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 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 | SET_CURRENT_SCREEN: null, |
| 25 | SET_CURRENT_LICENSE_MODEL: null |
| 26 | }); |
| 27 | |
| 28 | export const enums = keyMirror({ |
| 29 | |
| 30 | BREADCRUMS: { |
| 31 | LICENSE_MODEL: 'LICENSE_MODEL', |
| 32 | LICENSE_AGREEMENTS: 'LICENSE_AGREEMENTS', |
| 33 | FEATURE_GROUPS: 'FEATURE_GROUPS', |
| 34 | ENTITLEMENT_POOLS: 'ENTITLEMENT_POOLS', |
| 35 | LICENSE_KEY_GROUPS: 'LICENSE_KEY_GROUPS', |
| 36 | |
| 37 | SOFTWARE_PRODUCT: 'SOFTWARE_PRODUCT', |
| 38 | SOFTWARE_PRODUCT_DETAILS: 'SOFTWARE_PRODUCT_DETAILS', |
| 39 | SOFTWARE_PRODUCT_ATTACHMENTS: 'SOFTWARE_PRODUCT_ATTACHMENTS', |
| 40 | SOFTWARE_PRODUCT_PROCESSES: 'SOFTWARE_PRODUCT_PROCESSES', |
| 41 | SOFTWARE_PRODUCT_NETWORKS: 'SOFTWARE_PRODUCT_NETWORKS', |
| 42 | SOFTWARE_PRODUCT_COMPONENTS: 'SOFTWARE_PRODUCT_COMPONENTS', |
| 43 | SOFTWARE_PRODUCT_COMPONENT_PROCESSES: 'SOFTWARE_PRODUCT_COMPONENT_PROCESSES', |
| 44 | SOFTWARE_PRODUCT_COMPONENT_STORAGE: 'SOFTWARE_PRODUCT_COMPONENT_STORAGE', |
| 45 | SOFTWARE_PRODUCT_COMPONENT_GENERAL: 'SOFTWARE_PRODUCT_COMPONENT_GENERAL', |
| 46 | SOFTWARE_PRODUCT_COMPONENT_COMPUTE: 'SOFTWARE_PRODUCT_COMPONENT_COMPUTE', |
| 47 | SOFTWARE_PRODUCT_COMPONENT_LOAD_BALANCING: 'SOFTWARE_PRODUCT_COMPONENT_LOAD_BALANCING', |
| 48 | SOFTWARE_PRODUCT_COMPONENT_MONITORING: 'SOFTWARE_PRODUCT_COMPONENT_MONITORING' |
| 49 | }, |
| 50 | |
| 51 | SCREEN: { |
| 52 | ONBOARDING_CATALOG: null, |
| 53 | LICENSE_AGREEMENTS: null, |
| 54 | FEATURE_GROUPS: null, |
| 55 | ENTITLEMENT_POOLS: null, |
| 56 | LICENSE_KEY_GROUPS: null, |
| 57 | |
| 58 | SOFTWARE_PRODUCT_LANDING_PAGE: null, |
| 59 | SOFTWARE_PRODUCT_DETAILS: null, |
| 60 | SOFTWARE_PRODUCT_ATTACHMENTS: null, |
| 61 | SOFTWARE_PRODUCT_PROCESSES: null, |
| 62 | SOFTWARE_PRODUCT_NETWORKS: null, |
| 63 | SOFTWARE_PRODUCT_COMPONENTS: null, |
| 64 | SOFTWARE_PRODUCT_COMPONENT_PROCESSES: null, |
| 65 | SOFTWARE_PRODUCT_COMPONENT_COMPUTE: null, |
| 66 | SOFTWARE_PRODUCT_COMPONENT_STORAGE: null, |
| 67 | SOFTWARE_PRODUCT_COMPONENT_NETWORK: null, |
| 68 | SOFTWARE_PRODUCT_COMPONENT_GENERAL: null, |
| 69 | SOFTWARE_PRODUCT_COMPONENT_LOAD_BALANCING: null, |
| 70 | SOFTWARE_PRODUCT_COMPONENT_MONITORING: null |
| 71 | } |
| 72 | }); |