mirror of
https://github.com/elastic/kibana.git
synced 2025-06-28 19:13:14 -04:00
Add tiles and integrations for Jira Data Center and Confluence Data Center (#177436)
## Summary This PR adds tiles for two connectors: - Jira Data Center - Confluence Data Center These connectors internally use same service types: `jira` and `confluence`. They re-use documentation for these connectors - it can be found in the same pages as for original Jira/Confluence connectors. The tiles are added to Enterprise Search connectors page + into integrations page. See screenshots. <img width="1217" alt="Screenshot 2024-02-21 at 14 10 20" src="da944de9
-828b-453b-ad38-1695ae3d557a"> <img width="1217" alt="Screenshot 2024-02-21 at 14 11 09" src="aaac975e
-e423-42a3-846b-628e9e673b5a"> ### Checklist Delete any items that are not applicable to this PR. - [x] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md) - [x] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials - [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\ ### For maintainers - [ ] This was checked for breaking API changes and was [labeled appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
8391175396
commit
c2dedc957a
3 changed files with 86 additions and 1 deletions
|
@ -43,6 +43,17 @@ export const CONNECTOR_DEFINITIONS: ConnectorServerSideDefinition[] = [
|
|||
}),
|
||||
serviceType: 'confluence',
|
||||
},
|
||||
{
|
||||
iconPath: 'confluence_cloud.svg',
|
||||
isBeta: false,
|
||||
isNative: true,
|
||||
isTechPreview: true,
|
||||
keywords: ['confluence', 'data', 'center', 'connector'],
|
||||
name: i18n.translate('searchConnectors.content.nativeConnectors.confluence_data_center.name', {
|
||||
defaultMessage: 'Confluence Data Center',
|
||||
}),
|
||||
serviceType: 'confluence',
|
||||
},
|
||||
{
|
||||
iconPath: 'dropbox.svg',
|
||||
isBeta: false,
|
||||
|
@ -64,6 +75,17 @@ export const CONNECTOR_DEFINITIONS: ConnectorServerSideDefinition[] = [
|
|||
}),
|
||||
serviceType: 'jira',
|
||||
},
|
||||
{
|
||||
iconPath: 'jira_cloud.svg',
|
||||
isBeta: false,
|
||||
isTechPreview: true,
|
||||
isNative: true,
|
||||
keywords: ['jira', 'data', 'center', 'connector'],
|
||||
name: i18n.translate('searchConnectors.content.nativeConnectors.jira_data_center.name', {
|
||||
defaultMessage: 'Jira Data Center',
|
||||
}),
|
||||
serviceType: 'jira',
|
||||
},
|
||||
{
|
||||
iconPath: 'github.svg',
|
||||
isBeta: false,
|
||||
|
|
|
@ -22,7 +22,7 @@ export default function ({ getService }: FtrProviderContext) {
|
|||
|
||||
expect(resp.body).to.be.an('array');
|
||||
|
||||
expect(resp.body.length).to.be(54);
|
||||
expect(resp.body.length).to.be(56);
|
||||
|
||||
// Test for sample data card
|
||||
expect(resp.body.findIndex((c: { id: string }) => c.id === 'sample_data_all')).to.be.above(
|
||||
|
|
|
@ -817,6 +817,34 @@ export const registerEnterpriseSearchIntegrations = (
|
|||
shipper: 'enterprise_search',
|
||||
isBeta: false,
|
||||
});
|
||||
customIntegrations.registerCustomIntegration({
|
||||
id: 'confluence_data_center',
|
||||
title: i18n.translate(
|
||||
'xpack.enterpriseSearch.integrations.connectors.confluenceDataCenterTitle',
|
||||
{
|
||||
defaultMessage: 'Confluence Data Center',
|
||||
}
|
||||
),
|
||||
description: i18n.translate(
|
||||
'xpack.enterpriseSearch.integrations.connectors.confluenceDataCenterDescription',
|
||||
{
|
||||
defaultMessage: 'Search over your content on Confluence Data Center.',
|
||||
}
|
||||
),
|
||||
categories: ['enterprise_search', 'elastic_stack', 'custom', 'connector', 'connector_client'],
|
||||
uiInternalPath:
|
||||
'/app/enterprise_search/content/search_indices/new_index/connector?service_type=confluence',
|
||||
icons: [
|
||||
{
|
||||
type: 'svg',
|
||||
src: http.basePath.prepend(
|
||||
'/plugins/enterpriseSearch/assets/source_icons/confluence_cloud.svg'
|
||||
),
|
||||
},
|
||||
],
|
||||
shipper: 'enterprise_search',
|
||||
isBeta: false,
|
||||
});
|
||||
customIntegrations.registerCustomIntegration({
|
||||
id: 'jira_cloud',
|
||||
title: i18n.translate('xpack.enterpriseSearch.integrations.connectors.jiraCloudTitle', {
|
||||
|
@ -850,6 +878,41 @@ export const registerEnterpriseSearchIntegrations = (
|
|||
shipper: 'enterprise_search',
|
||||
isBeta: false,
|
||||
});
|
||||
customIntegrations.registerCustomIntegration({
|
||||
id: 'jira_data_center',
|
||||
title: i18n.translate(
|
||||
'xpack.enterpriseSearch.integrations.connectors.jiraDataCenterCloudTitle',
|
||||
{
|
||||
defaultMessage: 'Jira Data Center',
|
||||
}
|
||||
),
|
||||
description: i18n.translate(
|
||||
'xpack.enterpriseSearch.integrations.connectors.jiraDataCenterDescription',
|
||||
{
|
||||
defaultMessage: 'Search over your content on Jira Data Center.',
|
||||
}
|
||||
),
|
||||
categories: [
|
||||
'enterprise_search',
|
||||
'elastic_stack',
|
||||
'custom',
|
||||
'connector',
|
||||
'connector_client',
|
||||
...nativeSearchTag,
|
||||
],
|
||||
uiInternalPath:
|
||||
'/app/enterprise_search/content/search_indices/new_index/connector?service_type=jira',
|
||||
icons: [
|
||||
{
|
||||
type: 'svg',
|
||||
src: http.basePath.prepend(
|
||||
'/plugins/enterpriseSearch/assets/source_icons/jira_cloud.svg'
|
||||
),
|
||||
},
|
||||
],
|
||||
shipper: 'enterprise_search',
|
||||
isBeta: false,
|
||||
});
|
||||
|
||||
customIntegrations.registerCustomIntegration({
|
||||
id: 'jira_server',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue