2 * Copyright © 2016-2018 European Support Limited
3 * Modifications Copyright (C) 2021 Nordix Foundation.
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
14 * or implied. See the License for the specific language governing
15 * permissions and limitations under the License.
17 import keyMirror from 'nfvo-utils/KeyMirror.js';
19 export const actionTypes = keyMirror(
21 SOFTWARE_PRODUCT_LOADED: null,
22 SOFTWARE_PRODUCT_LIST_LOADED: null,
23 ARCHIVED_SOFTWARE_PRODUCT_LIST_LOADED: null,
24 FINALIZED_SOFTWARE_PRODUCT_LIST_LOADED: null,
25 SOFTWARE_PRODUCT_LIST_EDIT: null,
26 SOFTWARE_PRODUCT_CATEGORIES_LOADED: null,
27 SOFTWARE_PRODUCT_MODELS_LOADED: null,
28 SOFTWARE_PRODUCT_QUESTIONNAIRE_UPDATE: null,
29 LOAD_LICENSING_VERSIONS_LIST: null,
30 TOGGLE_NAVIGATION_ITEM: null,
31 CANDIDATE_IN_PROCESS: null,
33 softwareProductEditor: {
37 IS_VALIDITY_DATA_CHANGED: null
43 export const onboardingMethod = {
45 NETWORK_PACKAGE: 'NetworkPackage'
48 export const ModelOption = {
53 export const onboardingOriginTypes = {
59 export const forms = keyMirror({
60 VENDOR_SOFTWARE_PRODUCT_DETAILS: 'vendor-software-product-details'
63 export const PRODUCT_QUESTIONNAIRE = 'product';