Adding filter bar
[aai/sparky-fe.git] / src / app / tierSupport / TierSupportConstants.js
1 /*
2  * ============LICENSE_START===================================================
3  * SPARKY (AAI UI service)
4  * ============================================================================
5  * Copyright © 2017 AT&T Intellectual Property.
6  * Copyright © 2017 Amdocs
7  * All rights reserved.
8  * ============================================================================
9  * Licensed under the Apache License, Version 2.0 (the "License");
10  * you may not use this file except in compliance with the License.
11  * You may obtain a copy of the License at
12  *
13  *      http://www.apache.org/licenses/LICENSE-2.0
14  *
15  * Unless required by applicable law or agreed to in writing, software
16  * distributed under the License is distributed on an "AS IS" BASIS,
17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  * See the License for the specific language governing permissions and
19  * limitations under the License.
20  * ============LICENSE_END=====================================================
21  *
22  * ECOMP and OpenECOMP are trademarks
23  * and service marks of AT&T Intellectual Property.
24  */
25
26 import keyMirror from 'utils/KeyMirror.js';
27 import {BASE_URL} from 'app/networking/NetworkConstants.js';
28
29 export const tierSupportActionTypes = keyMirror({
30   TIER_SUPPORT_NETWORK_ERROR: null,
31   TS_NODE_SEARCH: null,
32   TS_NODE_SEARCH_RESULTS: null,
33   TS_NODE_SEARCH_NO_RESULTS: null,
34   TS_GRAPH_DATA_RESULTS: null,
35   TS_GRAPH_NODE_SELECTED: null,
36   TS_GRAPH_NODE_MENU_SELECTED: null,
37   SPLIT_PANE_RESIZE: null,
38   TIER_SUPPORT_CLEAR_DATA: null
39 });
40
41 export const TSUI_NODE_DETAILS_INITIAL_WIDTH = 300;
42 export const TSUI_NODE_DETAILS_MIN_WIDTH = 200;
43 export const TSUI_SEARCH_URL = BASE_URL + '/rest/search/viuiSearch/';
44
45 export const TSUI_TITLE = 'View & Inspect';
46 export const TSUI_GRAPH_MENU_NODE_DETAILS = 'NODE_DETAILS';
47 export const SEARCH_SELECTED_NODE_PATH = '/rest/visualization/prepareVisualization';
48 export const TS_BACKEND_SEARCH_SELECTED_NODE_URL = BASE_URL +
49   SEARCH_SELECTED_NODE_PATH;