mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Add integration tiles for MySQL, MongoDB, and generic native connectors (#140957)
This commit is contained in:
parent
2fe75194d3
commit
c6177aea3a
2 changed files with 76 additions and 1 deletions
|
@ -22,7 +22,7 @@ export default function ({ getService }: FtrProviderContext) {
|
|||
|
||||
expect(resp.body).to.be.an('array');
|
||||
|
||||
expect(resp.body.length).to.be(40);
|
||||
expect(resp.body.length).to.be(43);
|
||||
|
||||
// Test for sample data card
|
||||
expect(resp.body.findIndex((c: { id: string }) => c.id === 'sample_data_all')).to.be.above(
|
||||
|
|
|
@ -396,4 +396,79 @@ export const registerEnterpriseSearchIntegrations = (
|
|||
shipper: 'enterprise_search',
|
||||
isBeta: false,
|
||||
});
|
||||
|
||||
customIntegrations.registerCustomIntegration({
|
||||
id: 'native_connector',
|
||||
title: i18n.translate(
|
||||
'xpack.enterpriseSearch.workplaceSearch.integrations.nativeConnectorName',
|
||||
{
|
||||
defaultMessage: 'Use a connector',
|
||||
}
|
||||
),
|
||||
description: i18n.translate(
|
||||
'xpack.enterpriseSearch.workplaceSearch.integrations.nativeConnectorDescription',
|
||||
{
|
||||
defaultMessage: 'Search over your data sources with a native Enterprise Search connector.',
|
||||
}
|
||||
),
|
||||
categories: ['elastic_stack', 'enterprise_search'],
|
||||
uiInternalPath:
|
||||
'/app/enterprise_search/content/search_indices/new_index?method=native_connector',
|
||||
icons: [
|
||||
{
|
||||
type: 'eui',
|
||||
src: 'logoEnterpriseSearch',
|
||||
},
|
||||
],
|
||||
shipper: 'enterprise_search',
|
||||
isBeta: false,
|
||||
});
|
||||
|
||||
customIntegrations.registerCustomIntegration({
|
||||
id: 'mongodb',
|
||||
title: i18n.translate('xpack.enterpriseSearch.workplaceSearch.integrations.mongoDBName', {
|
||||
defaultMessage: 'MongoDB',
|
||||
}),
|
||||
description: i18n.translate(
|
||||
'xpack.enterpriseSearch.workplaceSearch.integrations.mongoDBDescription',
|
||||
{
|
||||
defaultMessage: 'Search over your MongoDB content with Enterprise Search.',
|
||||
}
|
||||
),
|
||||
categories: ['datastore', 'enterprise_search'],
|
||||
uiInternalPath:
|
||||
'/app/enterprise_search/content/search_indices/new_index?method=native_connector',
|
||||
icons: [
|
||||
{
|
||||
type: 'svg',
|
||||
src: http.basePath.prepend('/plugins/enterpriseSearch/assets/source_icons/mongodb.svg'),
|
||||
},
|
||||
],
|
||||
shipper: 'enterprise_search',
|
||||
isBeta: false,
|
||||
});
|
||||
|
||||
customIntegrations.registerCustomIntegration({
|
||||
id: 'mysql',
|
||||
title: i18n.translate('xpack.enterpriseSearch.workplaceSearch.integrations.mysqlName', {
|
||||
defaultMessage: 'MySQL',
|
||||
}),
|
||||
description: i18n.translate(
|
||||
'xpack.enterpriseSearch.workplaceSearch.integrations.mysqlDescription',
|
||||
{
|
||||
defaultMessage: 'Search over your MySQL content with Enterprise Search.',
|
||||
}
|
||||
),
|
||||
categories: ['datastore', 'enterprise_search'],
|
||||
uiInternalPath:
|
||||
'/app/enterprise_search/content/search_indices/new_index?method=native_connector',
|
||||
icons: [
|
||||
{
|
||||
type: 'svg',
|
||||
src: http.basePath.prepend('/plugins/enterpriseSearch/assets/source_icons/mysql.svg'),
|
||||
},
|
||||
],
|
||||
shipper: 'enterprise_search',
|
||||
isBeta: false,
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue