mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[Search] refactor: rename ent-search elasticsearch app id (#165241)
## Summary Updated the elasticsearch app id in the enterprise search plugin from 'elasticsearch' to 'enterpriseSearchElasticsearch'. This is to remove any possible permission or privelege conflicts with the route `/app/elasticsearch`, which is registerd by serverless search. ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
This commit is contained in:
parent
bab03d4606
commit
1e347652cf
10 changed files with 13 additions and 10 deletions
|
@ -139,7 +139,7 @@ export const applicationUsageSchema = {
|
|||
enterpriseSearchApplications: commonSchema,
|
||||
enterpriseSearchEsre: commonSchema,
|
||||
enterpriseSearchVectorSearch: commonSchema,
|
||||
elasticsearch: commonSchema,
|
||||
enterpriseSearchElasticsearch: commonSchema,
|
||||
appSearch: commonSchema,
|
||||
workplaceSearch: commonSchema,
|
||||
searchExperiences: commonSchema,
|
||||
|
|
|
@ -2622,7 +2622,7 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"elasticsearch": {
|
||||
"enterpriseSearchElasticsearch": {
|
||||
"properties": {
|
||||
"appId": {
|
||||
"type": "keyword",
|
||||
|
|
|
@ -79,7 +79,7 @@ export const ANALYTICS_PLUGIN = {
|
|||
};
|
||||
|
||||
export const ELASTICSEARCH_PLUGIN = {
|
||||
ID: 'elasticsearch',
|
||||
ID: 'enterpriseSearchElasticsearch',
|
||||
NAME: i18n.translate('xpack.enterpriseSearch.elasticsearch.productName', {
|
||||
defaultMessage: 'Elasticsearch',
|
||||
}),
|
||||
|
|
|
@ -203,7 +203,7 @@ export class EnterpriseSearchPlugin implements Plugin<void, EnterpriseSearchPlug
|
|||
enterpriseSearchApplications: showEnterpriseSearch,
|
||||
enterpriseSearchEsre: showEnterpriseSearch,
|
||||
enterpriseSearchVectorSearch: showEnterpriseSearch,
|
||||
elasticsearch: showEnterpriseSearch,
|
||||
enterpriseSearchElasticsearch: showEnterpriseSearch,
|
||||
appSearch: hasAppSearchAccess && config.canDeployEntSearch,
|
||||
workplaceSearch: hasWorkplaceSearchAccess && config.canDeployEntSearch,
|
||||
searchExperiences: showEnterpriseSearch,
|
||||
|
@ -215,7 +215,7 @@ export class EnterpriseSearchPlugin implements Plugin<void, EnterpriseSearchPlug
|
|||
enterpriseSearchApplications: showEnterpriseSearch,
|
||||
enterpriseSearchEsre: showEnterpriseSearch,
|
||||
enterpriseSearchVectorSearch: showEnterpriseSearch,
|
||||
elasticsearch: showEnterpriseSearch,
|
||||
enterpriseSearchElasticsearch: showEnterpriseSearch,
|
||||
appSearch: hasAppSearchAccess && config.canDeployEntSearch,
|
||||
workplaceSearch: hasWorkplaceSearchAccess && config.canDeployEntSearch,
|
||||
searchExperiences: showEnterpriseSearch,
|
||||
|
|
|
@ -34,7 +34,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
it('loads a landing page with product cards', async function () {
|
||||
await retry.waitFor(
|
||||
'Elasticsearch product card visible',
|
||||
async () => await testSubjects.exists('elasticsearchProductCard')
|
||||
async () => await testSubjects.exists('enterpriseSearchElasticsearchProductCard')
|
||||
);
|
||||
await retry.waitFor(
|
||||
'Search Applications product card visible',
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
"method": "POST",
|
||||
"path": "/api/core/capabilities",
|
||||
"query": "?useDefaultCapabilities=true",
|
||||
"body": "{\"applications\":[\"error\",\"status\",\"kibana\",\"dev_tools\",\"r\",\"short_url_redirect\",\"home\",\"management\",\"space_selector\",\"security_access_agreement\",\"security_capture_url\",\"security_login\",\"security_logout\",\"security_logged_out\",\"security_overwritten_session\",\"security_account\",\"reportingRedirect\",\"graph\",\"discover\",\"integrations\",\"fleet\",\"ingestManager\",\"visualize\",\"canvas\",\"dashboards\",\"lens\",\"maps\",\"osquery\",\"observability-overview\",\"ml\",\"uptime\",\"synthetics\",\"securitySolutionUI\",\"siem\",\"logs\",\"metrics\",\"infra\",\"monitoring\",\"enterpriseSearch\",\"enterpriseSearchContent\",\"enterpriseSearchAnalytics\",\"elasticsearch\",\"appSearch\",\"workplaceSearch\",\"searchExperiences\",\"apm\",\"ux\",\"kibanaOverview\"]}",
|
||||
"body": "{\"applications\":[\"error\",\"status\",\"kibana\",\"dev_tools\",\"r\",\"short_url_redirect\",\"home\",\"management\",\"space_selector\",\"security_access_agreement\",\"security_capture_url\",\"security_login\",\"security_logout\",\"security_logged_out\",\"security_overwritten_session\",\"security_account\",\"reportingRedirect\",\"graph\",\"discover\",\"integrations\",\"fleet\",\"ingestManager\",\"visualize\",\"canvas\",\"dashboards\",\"lens\",\"maps\",\"osquery\",\"observability-overview\",\"ml\",\"uptime\",\"synthetics\",\"securitySolutionUI\",\"siem\",\"logs\",\"metrics\",\"infra\",\"monitoring\",\"enterpriseSearch\",\"enterpriseSearchContent\",\"enterpriseSearchAnalytics\",\"enterpriseSearchElasticsearch\",\"appSearch\",\"workplaceSearch\",\"searchExperiences\",\"apm\",\"ux\",\"kibanaOverview\"]}",
|
||||
"headers": {
|
||||
"Cookie": "",
|
||||
"Kbn-Version": "",
|
||||
|
|
|
@ -69,7 +69,7 @@ export default function catalogueTests({ getService }: FtrProviderContext) {
|
|||
'enterpriseSearchApplications',
|
||||
'enterpriseSearchEsre',
|
||||
'enterpriseSearchVectorSearch',
|
||||
'elasticsearch',
|
||||
'enterpriseSearchElasticsearch',
|
||||
'appSearch',
|
||||
'workplaceSearch',
|
||||
'searchExperiences',
|
||||
|
@ -99,7 +99,7 @@ export default function catalogueTests({ getService }: FtrProviderContext) {
|
|||
'enterpriseSearchApplications',
|
||||
'enterpriseSearchEsre',
|
||||
'enterpriseSearchVectorSearch',
|
||||
'elasticsearch',
|
||||
'enterpriseSearchElasticsearch',
|
||||
'appSearch',
|
||||
'observabilityAIAssistant',
|
||||
'workplaceSearch',
|
||||
|
|
|
@ -56,6 +56,7 @@ export default function navLinksTests({ getService }: FtrProviderContext) {
|
|||
'enterpriseSearchApplications',
|
||||
'enterpriseSearchEsre',
|
||||
'enterpriseSearchVectorSearch',
|
||||
'enterpriseSearchElasticsearch',
|
||||
'appSearch',
|
||||
'workplaceSearch'
|
||||
)
|
||||
|
@ -75,6 +76,7 @@ export default function navLinksTests({ getService }: FtrProviderContext) {
|
|||
'enterpriseSearchApplications',
|
||||
'enterpriseSearchEsre',
|
||||
'enterpriseSearchVectorSearch',
|
||||
'enterpriseSearchElasticsearch',
|
||||
'observabilityAIAssistant',
|
||||
'appSearch',
|
||||
'workplaceSearch',
|
||||
|
|
|
@ -33,7 +33,7 @@ export default function catalogueTests({ getService }: FtrProviderContext) {
|
|||
'enterpriseSearchApplications',
|
||||
'enterpriseSearchEsre',
|
||||
'enterpriseSearchVectorSearch',
|
||||
'elasticsearch',
|
||||
'enterpriseSearchElasticsearch',
|
||||
'appSearch',
|
||||
'workplaceSearch',
|
||||
'searchExperiences',
|
||||
|
|
|
@ -25,6 +25,7 @@ export default function navLinksTests({ getService }: FtrProviderContext) {
|
|||
'enterpriseSearchApplications',
|
||||
'enterpriseSearchEsre',
|
||||
'enterpriseSearchVectorSearch',
|
||||
'enterpriseSearchElasticsearch',
|
||||
'appSearch',
|
||||
'workplaceSearch',
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue