store: add missing apis to onPrem

Currently, the wizard still needs some of the other stores. If we
omit them, the wizard fails to launch
This commit is contained in:
Gianluca Zuccarelli 2025-01-10 12:51:53 +00:00 committed by Sanne Raymaekers
parent 6e9bd89b08
commit 592ea952e2

View file

@ -33,6 +33,10 @@ export const serviceReducer = combineReducers({
});
export const onPremReducer = combineReducers({
[contentSourcesApi.reducerPath]: contentSourcesApi.reducer,
[rhsmApi.reducerPath]: rhsmApi.reducer,
[provisioningApi.reducerPath]: provisioningApi.reducer,
[complianceApi.reducerPath]: complianceApi.reducer,
[cockpitApi.reducerPath]: cockpitApi.reducer,
// TODO: add other endpoints so we can remove this.
// It's still needed to get things to work.
@ -125,6 +129,10 @@ export const onPremMiddleware = (getDefaultMiddleware: Function) =>
promiseMiddleware,
// TODO: add other endpoints so we can remove this.
// It's still needed to get things to work.
contentSourcesApi.middleware,
rhsmApi.middleware,
provisioningApi.middleware,
complianceApi.middleware,
imageBuilderApi.middleware,
cockpitApi.middleware
);