AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 1 | /*! |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 2 | * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 3 | * |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 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 |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 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. |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 15 | */ |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 16 | import keyMirror from 'nfvo-utils/KeyMirror.js'; |
| 17 | |
Avi Ziv | b8e2faf | 2017-07-18 19:45:38 +0300 | [diff] [blame] | 18 | export const DATE_FORMAT = 'MM/DD/YYYY'; |
| 19 | |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 20 | export const actionTypes = keyMirror({ |
| 21 | SET_CURRENT_SCREEN: null, |
az2497 | 644017c | 2017-08-10 17:49:40 +0300 | [diff] [blame] | 22 | SET_CURRENT_LICENSE_MODEL: null, |
| 23 | SET_CURRENT_SCREEN_VERSION: null, |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 24 | }); |
| 25 | |
| 26 | export const enums = keyMirror({ |
| 27 | |
| 28 | BREADCRUMS: { |
| 29 | LICENSE_MODEL: 'LICENSE_MODEL', |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 30 | LICENSE_MODEL_OVERVIEW: 'LICENSE_MODEL_OVERVIEW', |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 31 | LICENSE_AGREEMENTS: 'LICENSE_AGREEMENTS', |
| 32 | FEATURE_GROUPS: 'FEATURE_GROUPS', |
| 33 | ENTITLEMENT_POOLS: 'ENTITLEMENT_POOLS', |
| 34 | LICENSE_KEY_GROUPS: 'LICENSE_KEY_GROUPS', |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 35 | ACTIVITY_LOG: 'ACTIVITY_LOG', |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 36 | |
| 37 | SOFTWARE_PRODUCT: 'SOFTWARE_PRODUCT', |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 38 | SOFTWARE_PRODUCT_LANDING_PAGE: 'SOFTWARE_PRODUCT_LANDING_PAGE', |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 39 | SOFTWARE_PRODUCT_DETAILS: 'SOFTWARE_PRODUCT_DETAILS', |
| 40 | SOFTWARE_PRODUCT_ATTACHMENTS: 'SOFTWARE_PRODUCT_ATTACHMENTS', |
| 41 | SOFTWARE_PRODUCT_PROCESSES: 'SOFTWARE_PRODUCT_PROCESSES', |
Avi Ziv | b8e2faf | 2017-07-18 19:45:38 +0300 | [diff] [blame] | 42 | SOFTWARE_PRODUCT_DEPLOYMENT: 'SOFTWARE_PRODUCT_DEPLOYMENT', |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 43 | SOFTWARE_PRODUCT_NETWORKS: 'SOFTWARE_PRODUCT_NETWORKS', |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 44 | SOFTWARE_PRODUCT_DEPENDENCIES: 'SOFTWARE_PRODUCT_DEPENDENCIES', |
| 45 | SOFTWARE_PRODUCT_ACTIVITY_LOG: 'SOFTWARE_PRODUCT_ACTIVITY_LOG', |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 46 | SOFTWARE_PRODUCT_COMPONENTS: 'SOFTWARE_PRODUCT_COMPONENTS', |
| 47 | SOFTWARE_PRODUCT_COMPONENT_PROCESSES: 'SOFTWARE_PRODUCT_COMPONENT_PROCESSES', |
| 48 | SOFTWARE_PRODUCT_COMPONENT_STORAGE: 'SOFTWARE_PRODUCT_COMPONENT_STORAGE', |
| 49 | SOFTWARE_PRODUCT_COMPONENT_GENERAL: 'SOFTWARE_PRODUCT_COMPONENT_GENERAL', |
| 50 | SOFTWARE_PRODUCT_COMPONENT_COMPUTE: 'SOFTWARE_PRODUCT_COMPONENT_COMPUTE', |
| 51 | SOFTWARE_PRODUCT_COMPONENT_LOAD_BALANCING: 'SOFTWARE_PRODUCT_COMPONENT_LOAD_BALANCING', |
Avi Ziv | b8e2faf | 2017-07-18 19:45:38 +0300 | [diff] [blame] | 52 | SOFTWARE_PRODUCT_COMPONENT_MONITORING: 'SOFTWARE_PRODUCT_COMPONENT_MONITORING', |
| 53 | SOFTWARE_PRODUCT_COMPONENT_IMAGES: 'SOFTWARE_PRODUCT_COMPONENT_IMAGES' |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 54 | }, |
| 55 | |
| 56 | SCREEN: { |
| 57 | ONBOARDING_CATALOG: null, |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 58 | LICENSE_MODEL_OVERVIEW: null, |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 59 | LICENSE_AGREEMENTS: null, |
| 60 | FEATURE_GROUPS: null, |
| 61 | ENTITLEMENT_POOLS: null, |
| 62 | LICENSE_KEY_GROUPS: null, |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 63 | ACTIVITY_LOG: null, |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 64 | |
| 65 | SOFTWARE_PRODUCT_LANDING_PAGE: null, |
| 66 | SOFTWARE_PRODUCT_DETAILS: null, |
| 67 | SOFTWARE_PRODUCT_ATTACHMENTS: null, |
| 68 | SOFTWARE_PRODUCT_PROCESSES: null, |
Avi Ziv | b8e2faf | 2017-07-18 19:45:38 +0300 | [diff] [blame] | 69 | SOFTWARE_PRODUCT_DEPLOYMENT: null, |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 70 | SOFTWARE_PRODUCT_NETWORKS: null, |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 71 | SOFTWARE_PRODUCT_DEPENDENCIES: null, |
| 72 | SOFTWARE_PRODUCT_ACTIVITY_LOG: null, |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 73 | SOFTWARE_PRODUCT_COMPONENTS: null, |
| 74 | SOFTWARE_PRODUCT_COMPONENT_PROCESSES: null, |
| 75 | SOFTWARE_PRODUCT_COMPONENT_COMPUTE: null, |
| 76 | SOFTWARE_PRODUCT_COMPONENT_STORAGE: null, |
| 77 | SOFTWARE_PRODUCT_COMPONENT_NETWORK: null, |
| 78 | SOFTWARE_PRODUCT_COMPONENT_GENERAL: null, |
| 79 | SOFTWARE_PRODUCT_COMPONENT_LOAD_BALANCING: null, |
Avi Ziv | b8e2faf | 2017-07-18 19:45:38 +0300 | [diff] [blame] | 80 | SOFTWARE_PRODUCT_COMPONENT_MONITORING: null, |
| 81 | SOFTWARE_PRODUCT_COMPONENT_IMAGES: null |
Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 82 | } |
| 83 | }); |