blob: 0fff513cc536d9fa7c79eeb19ffb8026c76de424 [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,
22 SET_CURRENT_LICENSE_MODEL: null
23});
24
25export const enums = keyMirror({
26
27 BREADCRUMS: {
28 LICENSE_MODEL: 'LICENSE_MODEL',
AviZi280f8012017-06-09 02:39:56 +030029 LICENSE_MODEL_OVERVIEW: 'LICENSE_MODEL_OVERVIEW',
Michael Landoefa037d2017-02-19 12:57:33 +020030 LICENSE_AGREEMENTS: 'LICENSE_AGREEMENTS',
31 FEATURE_GROUPS: 'FEATURE_GROUPS',
32 ENTITLEMENT_POOLS: 'ENTITLEMENT_POOLS',
33 LICENSE_KEY_GROUPS: 'LICENSE_KEY_GROUPS',
AviZi280f8012017-06-09 02:39:56 +030034 ACTIVITY_LOG: 'ACTIVITY_LOG',
Michael Landoefa037d2017-02-19 12:57:33 +020035
36 SOFTWARE_PRODUCT: 'SOFTWARE_PRODUCT',
AviZi280f8012017-06-09 02:39:56 +030037 SOFTWARE_PRODUCT_LANDING_PAGE: 'SOFTWARE_PRODUCT_LANDING_PAGE',
Michael Landoefa037d2017-02-19 12:57:33 +020038 SOFTWARE_PRODUCT_DETAILS: 'SOFTWARE_PRODUCT_DETAILS',
39 SOFTWARE_PRODUCT_ATTACHMENTS: 'SOFTWARE_PRODUCT_ATTACHMENTS',
40 SOFTWARE_PRODUCT_PROCESSES: 'SOFTWARE_PRODUCT_PROCESSES',
Avi Zivb8e2faf2017-07-18 19:45:38 +030041 SOFTWARE_PRODUCT_DEPLOYMENT: 'SOFTWARE_PRODUCT_DEPLOYMENT',
Michael Landoefa037d2017-02-19 12:57:33 +020042 SOFTWARE_PRODUCT_NETWORKS: 'SOFTWARE_PRODUCT_NETWORKS',
AviZi280f8012017-06-09 02:39:56 +030043 SOFTWARE_PRODUCT_DEPENDENCIES: 'SOFTWARE_PRODUCT_DEPENDENCIES',
44 SOFTWARE_PRODUCT_ACTIVITY_LOG: 'SOFTWARE_PRODUCT_ACTIVITY_LOG',
Michael Landoefa037d2017-02-19 12:57:33 +020045 SOFTWARE_PRODUCT_COMPONENTS: 'SOFTWARE_PRODUCT_COMPONENTS',
46 SOFTWARE_PRODUCT_COMPONENT_PROCESSES: 'SOFTWARE_PRODUCT_COMPONENT_PROCESSES',
47 SOFTWARE_PRODUCT_COMPONENT_STORAGE: 'SOFTWARE_PRODUCT_COMPONENT_STORAGE',
48 SOFTWARE_PRODUCT_COMPONENT_GENERAL: 'SOFTWARE_PRODUCT_COMPONENT_GENERAL',
49 SOFTWARE_PRODUCT_COMPONENT_COMPUTE: 'SOFTWARE_PRODUCT_COMPONENT_COMPUTE',
50 SOFTWARE_PRODUCT_COMPONENT_LOAD_BALANCING: 'SOFTWARE_PRODUCT_COMPONENT_LOAD_BALANCING',
Avi Zivb8e2faf2017-07-18 19:45:38 +030051 SOFTWARE_PRODUCT_COMPONENT_MONITORING: 'SOFTWARE_PRODUCT_COMPONENT_MONITORING',
52 SOFTWARE_PRODUCT_COMPONENT_IMAGES: 'SOFTWARE_PRODUCT_COMPONENT_IMAGES'
Michael Landoefa037d2017-02-19 12:57:33 +020053 },
54
55 SCREEN: {
56 ONBOARDING_CATALOG: null,
AviZi280f8012017-06-09 02:39:56 +030057 LICENSE_MODEL_OVERVIEW: null,
Michael Landoefa037d2017-02-19 12:57:33 +020058 LICENSE_AGREEMENTS: null,
59 FEATURE_GROUPS: null,
60 ENTITLEMENT_POOLS: null,
61 LICENSE_KEY_GROUPS: null,
AviZi280f8012017-06-09 02:39:56 +030062 ACTIVITY_LOG: null,
Michael Landoefa037d2017-02-19 12:57:33 +020063
64 SOFTWARE_PRODUCT_LANDING_PAGE: null,
65 SOFTWARE_PRODUCT_DETAILS: null,
66 SOFTWARE_PRODUCT_ATTACHMENTS: null,
67 SOFTWARE_PRODUCT_PROCESSES: null,
Avi Zivb8e2faf2017-07-18 19:45:38 +030068 SOFTWARE_PRODUCT_DEPLOYMENT: null,
Michael Landoefa037d2017-02-19 12:57:33 +020069 SOFTWARE_PRODUCT_NETWORKS: null,
AviZi280f8012017-06-09 02:39:56 +030070 SOFTWARE_PRODUCT_DEPENDENCIES: null,
71 SOFTWARE_PRODUCT_ACTIVITY_LOG: null,
Michael Landoefa037d2017-02-19 12:57:33 +020072 SOFTWARE_PRODUCT_COMPONENTS: null,
73 SOFTWARE_PRODUCT_COMPONENT_PROCESSES: null,
74 SOFTWARE_PRODUCT_COMPONENT_COMPUTE: null,
75 SOFTWARE_PRODUCT_COMPONENT_STORAGE: null,
76 SOFTWARE_PRODUCT_COMPONENT_NETWORK: null,
77 SOFTWARE_PRODUCT_COMPONENT_GENERAL: null,
78 SOFTWARE_PRODUCT_COMPONENT_LOAD_BALANCING: null,
Avi Zivb8e2faf2017-07-18 19:45:38 +030079 SOFTWARE_PRODUCT_COMPONENT_MONITORING: null,
80 SOFTWARE_PRODUCT_COMPONENT_IMAGES: null
Michael Landoefa037d2017-02-19 12:57:33 +020081 }
82});