blob: 1ce8605b630b8dc0f478c50a95a792e572449732 [file] [log] [blame]
AviZi280f8012017-06-09 02:39:56 +03001/*!
Michael Landoefa037d2017-02-19 12:57:33 +02002 * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
AviZi280f8012017-06-09 02:39:56 +03003 *
Michael Landoefa037d2017-02-19 12:57:33 +02004 * 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
AviZi280f8012017-06-09 02:39:56 +03007 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
Michael Landoefa037d2017-02-19 12:57:33 +020010 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
AviZi280f8012017-06-09 02:39:56 +030012 * 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 Landoefa037d2017-02-19 12:57:33 +020015 */
Michael Landoefa037d2017-02-19 12:57:33 +020016import keyMirror from 'nfvo-utils/KeyMirror.js';
17
Avi Zivb8e2faf2017-07-18 19:45:38 +030018export const DATE_FORMAT = 'MM/DD/YYYY';
19
Michael Landoefa037d2017-02-19 12:57:33 +020020export const actionTypes = keyMirror({
21 SET_CURRENT_SCREEN: null,
az2497644017c2017-08-10 17:49:40 +030022 SET_CURRENT_LICENSE_MODEL: null,
23 SET_CURRENT_SCREEN_VERSION: null,
Michael Landoefa037d2017-02-19 12:57:33 +020024});
25
26export const enums = keyMirror({
27
28 BREADCRUMS: {
29 LICENSE_MODEL: 'LICENSE_MODEL',
AviZi280f8012017-06-09 02:39:56 +030030 LICENSE_MODEL_OVERVIEW: 'LICENSE_MODEL_OVERVIEW',
Michael Landoefa037d2017-02-19 12:57:33 +020031 LICENSE_AGREEMENTS: 'LICENSE_AGREEMENTS',
32 FEATURE_GROUPS: 'FEATURE_GROUPS',
33 ENTITLEMENT_POOLS: 'ENTITLEMENT_POOLS',
34 LICENSE_KEY_GROUPS: 'LICENSE_KEY_GROUPS',
AviZi280f8012017-06-09 02:39:56 +030035 ACTIVITY_LOG: 'ACTIVITY_LOG',
Michael Landoefa037d2017-02-19 12:57:33 +020036
37 SOFTWARE_PRODUCT: 'SOFTWARE_PRODUCT',
AviZi280f8012017-06-09 02:39:56 +030038 SOFTWARE_PRODUCT_LANDING_PAGE: 'SOFTWARE_PRODUCT_LANDING_PAGE',
Michael Landoefa037d2017-02-19 12:57:33 +020039 SOFTWARE_PRODUCT_DETAILS: 'SOFTWARE_PRODUCT_DETAILS',
40 SOFTWARE_PRODUCT_ATTACHMENTS: 'SOFTWARE_PRODUCT_ATTACHMENTS',
41 SOFTWARE_PRODUCT_PROCESSES: 'SOFTWARE_PRODUCT_PROCESSES',
Avi Zivb8e2faf2017-07-18 19:45:38 +030042 SOFTWARE_PRODUCT_DEPLOYMENT: 'SOFTWARE_PRODUCT_DEPLOYMENT',
Michael Landoefa037d2017-02-19 12:57:33 +020043 SOFTWARE_PRODUCT_NETWORKS: 'SOFTWARE_PRODUCT_NETWORKS',
AviZi280f8012017-06-09 02:39:56 +030044 SOFTWARE_PRODUCT_DEPENDENCIES: 'SOFTWARE_PRODUCT_DEPENDENCIES',
45 SOFTWARE_PRODUCT_ACTIVITY_LOG: 'SOFTWARE_PRODUCT_ACTIVITY_LOG',
Michael Landoefa037d2017-02-19 12:57:33 +020046 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 Zivb8e2faf2017-07-18 19:45:38 +030052 SOFTWARE_PRODUCT_COMPONENT_MONITORING: 'SOFTWARE_PRODUCT_COMPONENT_MONITORING',
53 SOFTWARE_PRODUCT_COMPONENT_IMAGES: 'SOFTWARE_PRODUCT_COMPONENT_IMAGES'
Michael Landoefa037d2017-02-19 12:57:33 +020054 },
55
56 SCREEN: {
57 ONBOARDING_CATALOG: null,
AviZi280f8012017-06-09 02:39:56 +030058 LICENSE_MODEL_OVERVIEW: null,
Michael Landoefa037d2017-02-19 12:57:33 +020059 LICENSE_AGREEMENTS: null,
60 FEATURE_GROUPS: null,
61 ENTITLEMENT_POOLS: null,
62 LICENSE_KEY_GROUPS: null,
AviZi280f8012017-06-09 02:39:56 +030063 ACTIVITY_LOG: null,
Michael Landoefa037d2017-02-19 12:57:33 +020064
65 SOFTWARE_PRODUCT_LANDING_PAGE: null,
66 SOFTWARE_PRODUCT_DETAILS: null,
67 SOFTWARE_PRODUCT_ATTACHMENTS: null,
68 SOFTWARE_PRODUCT_PROCESSES: null,
Avi Zivb8e2faf2017-07-18 19:45:38 +030069 SOFTWARE_PRODUCT_DEPLOYMENT: null,
Michael Landoefa037d2017-02-19 12:57:33 +020070 SOFTWARE_PRODUCT_NETWORKS: null,
AviZi280f8012017-06-09 02:39:56 +030071 SOFTWARE_PRODUCT_DEPENDENCIES: null,
72 SOFTWARE_PRODUCT_ACTIVITY_LOG: null,
Michael Landoefa037d2017-02-19 12:57:33 +020073 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 Zivb8e2faf2017-07-18 19:45:38 +030080 SOFTWARE_PRODUCT_COMPONENT_MONITORING: null,
81 SOFTWARE_PRODUCT_COMPONENT_IMAGES: null
Michael Landoefa037d2017-02-19 12:57:33 +020082 }
83});