Skip to content

Commit

Permalink
Change /epm to /integrations (#66030)
Browse files Browse the repository at this point in the history
  • Loading branch information
jen-huang committed May 13, 2020
1 parent bda8326 commit 7a09c91
Showing 1 changed file with 11 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,17 @@ export const BASE_PATH = '/app/ingestManager';
// `pagePathGetters()`, below, needs any modifications
export const PAGE_ROUTING_PATHS = {
overview: '/',
integrations: '/epm/:tabId?',
integrations_all: '/epm',
integrations_installed: '/epm/installed',
integration_details: '/epm/detail/:pkgkey/:panel?',
integrations: '/integrations/:tabId?',
integrations_all: '/integrations',
integrations_installed: '/integrations/installed',
integration_details: '/integrations/detail/:pkgkey/:panel?',
configurations: '/configs',
configurations_list: '/configs',
configuration_details: '/configs/:configId/:tabId?',
configuration_details_yaml: '/configs/:configId/yaml',
configuration_details_settings: '/configs/:configId/settings',
add_datasource_from_configuration: '/configs/:configId/add-datasource',
add_datasource_from_integration: '/epm/:pkgkey/add-datasource',
add_datasource_from_integration: '/integrations/:pkgkey/add-datasource',
edit_datasource: '/configs/:configId/edit-datasource/:datasourceId',
fleet: '/fleet',
fleet_agent_list: '/fleet/agents',
Expand All @@ -64,15 +64,16 @@ export const pagePathGetters: {
[key in DynamicPage]: (values: DynamicPagePathValues) => string;
} = {
overview: () => '/',
integrations: () => '/epm',
integrations_all: () => '/epm',
integrations_installed: () => '/epm/installed',
integration_details: ({ pkgkey, panel }) => `/epm/detail/${pkgkey}${panel ? `/${panel}` : ''}`,
integrations: () => '/integrations',
integrations_all: () => '/integrations',
integrations_installed: () => '/integrations/installed',
integration_details: ({ pkgkey, panel }) =>
`/integrations/detail/${pkgkey}${panel ? `/${panel}` : ''}`,
configurations: () => '/configs',
configurations_list: () => '/configs',
configuration_details: ({ configId, tabId }) => `/configs/${configId}${tabId ? `/${tabId}` : ''}`,
add_datasource_from_configuration: ({ configId }) => `/configs/${configId}/add-datasource`,
add_datasource_from_integration: ({ pkgkey }) => `/epm/${pkgkey}/add-datasource`,
add_datasource_from_integration: ({ pkgkey }) => `/integrations/${pkgkey}/add-datasource`,
edit_datasource: ({ configId, datasourceId }) =>
`/configs/${configId}/edit-datasource/${datasourceId}`,
fleet: () => '/fleet',
Expand Down

0 comments on commit 7a09c91

Please sign in to comment.