blob: 684c20c878f6e114646a068e8ab973724a4052f7 [file] [log] [blame]
svishnev1eb66b72018-01-11 14:39:45 +02001/*
svishnev7c727c12018-05-24 13:20:51 +03002 * Copyright © 2016-2018 European Support Limited
svishnev1eb66b72018-01-11 14:39:45 +02003 *
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 or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
Einav Weiss Keidar7fdf7332018-03-20 14:45:40 +020017import { combineReducers } from 'redux';
svishnev1eb66b72018-01-11 14:39:45 +020018import onBoardingReducersMap from './onboarding/OnboardingReducersMap.js';
19import flowsReducersMap from './flows/FlowsReducersMap.js';
20import loaderReducer from 'nfvo-components/loader/LoaderReducer.js';
21import globalModalReducer from 'nfvo-components/modal/GlobalModalReducer.js';
22import notificationsReducer from 'sdc-app/onboarding/userNotifications/NotificationsReducer.js';
svishnev7c727c12018-05-24 13:20:51 +030023import { default as popupNotifications } from 'nfvo-components/notification/NotificationsReducer.js';
svishnev1eb66b72018-01-11 14:39:45 +020024export default combineReducers({
Einav Weiss Keidar7fdf7332018-03-20 14:45:40 +020025 // on-boarding reducers
26 ...onBoardingReducersMap,
svishnev1eb66b72018-01-11 14:39:45 +020027
Einav Weiss Keidar7fdf7332018-03-20 14:45:40 +020028 // flows reducers
29 ...flowsReducersMap,
30 modal: globalModalReducer,
31 loader: loaderReducer,
svishnev7c727c12018-05-24 13:20:51 +030032 notifications: notificationsReducer,
33 popupNotifications
svishnev1eb66b72018-01-11 14:39:45 +020034});