AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 1 | /*! |
svishnev | bacc715 | 2018-11-05 12:11:30 +0200 | [diff] [blame] | 2 | * Copyright © 2016-2018 European Support Limited |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 3 | * |
| 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 |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 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. |
| 15 | */ |
| 16 | import keyMirror from 'nfvo-utils/KeyMirror.js'; |
| 17 | |
| 18 | export const overviewItems = keyMirror({ |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 19 | LICENSE_AGREEMENTS: 'License Agreements', |
| 20 | FEATURE_GROUPS: 'Feature Groups', |
| 21 | ENTITLEMENT_POOLS: 'Entitlement Pools', |
| 22 | LICENSE_KEY_GROUPS: 'License Key Groups' |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 23 | }); |
| 24 | |
| 25 | export const overviewEditorHeaders = keyMirror({ |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 26 | LICENSE_AGREEMENT: 'License Agreement', |
| 27 | FEATURE_GROUP: 'Feature Group', |
| 28 | ENTITLEMENT_POOL: 'Entitlement Pool', |
| 29 | LICENSE_KEY_GROUP: 'License Key Group' |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 30 | }); |
| 31 | |
svishnev | bacc715 | 2018-11-05 12:11:30 +0200 | [diff] [blame] | 32 | export const actionTypes = keyMirror( |
| 33 | { |
| 34 | LICENSE_MODEL_OVERVIEW_TAB_SELECTED: null, |
| 35 | LM_DATA_CHANGED: null |
| 36 | }, |
| 37 | 'licenseModelOverview' |
| 38 | ); |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 39 | |
Avi Ziv | 61070c9 | 2017-07-26 17:37:57 +0300 | [diff] [blame] | 40 | export const selectedButton = { |
Einav Weiss Keidar | 7fdf733 | 2018-03-20 14:45:40 +0200 | [diff] [blame] | 41 | VLM_LIST_VIEW: 'VLM_LIST_VIEW', |
| 42 | NOT_IN_USE: 'NOT_IN_USE' |
Avi Ziv | 61070c9 | 2017-07-26 17:37:57 +0300 | [diff] [blame] | 43 | }; |
AviZi | 280f801 | 2017-06-09 02:39:56 +0300 | [diff] [blame] | 44 | |
| 45 | export const VLM_DESCRIPTION_FORM = 'VLMDEWSCRIPTIONFORM'; |