From 63b56f7e2c98b47263d851cc8dddf4dbf72933c6 Mon Sep 17 00:00:00 2001 From: CD Cabrera Date: Wed, 10 Nov 2021 17:40:57 -0500 Subject: [PATCH] DEV adjust for openshift-streams --- .../__tests__/__snapshots__/authentication.test.js.snap | 4 ++-- .../router/__tests__/__snapshots__/redirect.test.js.snap | 2 +- .../router/__tests__/__snapshots__/router.test.js.snap | 2 +- .../router/__tests__/__snapshots__/routerHelpers.test.js.snap | 2 +- src/config/routes.js | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/components/authentication/__tests__/__snapshots__/authentication.test.js.snap b/src/components/authentication/__tests__/__snapshots__/authentication.test.js.snap index c9cba64aa..b7b33d20a 100644 --- a/src/components/authentication/__tests__/__snapshots__/authentication.test.js.snap +++ b/src/components/authentication/__tests__/__snapshots__/authentication.test.js.snap @@ -374,7 +374,7 @@ exports[`Authentication Component should return a redirect on 418 error: 418 err "disabled": false, "exact": true, "id": "rhosak", - "path": "/streams", + "path": "/openshift-streams", "redirect": null, }, Object { @@ -522,7 +522,7 @@ exports[`Authentication Component should return a redirect on a specific 403 err "disabled": false, "exact": true, "id": "rhosak", - "path": "/streams", + "path": "/openshift-streams", "redirect": null, }, Object { diff --git a/src/components/router/__tests__/__snapshots__/redirect.test.js.snap b/src/components/router/__tests__/__snapshots__/redirect.test.js.snap index cdbf52ccd..b7e59967c 100644 --- a/src/components/router/__tests__/__snapshots__/redirect.test.js.snap +++ b/src/components/router/__tests__/__snapshots__/redirect.test.js.snap @@ -402,7 +402,7 @@ exports[`Redirect Component should render a basic component: basic 1`] = ` "disabled": false, "exact": true, "id": "rhosak", - "path": "/streams", + "path": "/openshift-streams", "redirect": null, }, Object { diff --git a/src/components/router/__tests__/__snapshots__/router.test.js.snap b/src/components/router/__tests__/__snapshots__/router.test.js.snap index f679ab03e..0e158da53 100644 --- a/src/components/router/__tests__/__snapshots__/router.test.js.snap +++ b/src/components/router/__tests__/__snapshots__/router.test.js.snap @@ -128,7 +128,7 @@ exports[`Router Component should render a basic component: basic 1`] = ` "disabled": false, "exact": true, "id": "rhosak", - "path": "/streams", + "path": "/openshift-streams", "redirect": null, }, Object { diff --git a/src/components/router/__tests__/__snapshots__/routerHelpers.test.js.snap b/src/components/router/__tests__/__snapshots__/routerHelpers.test.js.snap index f199d9774..8e459baab 100644 --- a/src/components/router/__tests__/__snapshots__/routerHelpers.test.js.snap +++ b/src/components/router/__tests__/__snapshots__/routerHelpers.test.js.snap @@ -259,7 +259,7 @@ Object { "disabled": false, "exact": true, "id": "rhosak", - "path": "/streams", + "path": "/openshift-streams", "redirect": null, }, Object { diff --git a/src/config/routes.js b/src/config/routes.js index b0a4b932b..9c75d3e23 100644 --- a/src/config/routes.js +++ b/src/config/routes.js @@ -108,13 +108,13 @@ const routes = [ }, { id: 'rhosak', - path: '/streams', + path: '/openshift-streams', pathParameter: [rhosakConfig.productId], productParameter: [rhosakConfig.productGroup], productConfig: [rhosakConfig], redirect: null, isSearchable: true, - aliases: ['application-services', 'streams', 'rhosak'], + aliases: ['application-services', 'streams', 'rhosak', 'kafka'], activateOnError: false, disabled: helpers.UI_DISABLED, default: false,