Onboarding: Remove virtual firehose card (#183929)

As the firehose integration is GA now and includes all relevant
documentation, it's not necessary to have a link to the docs page from
the onboarding flow:
https://www.elastic.co/guide/en/kinesis/current/aws-firehose-setup-guide.html

This PR removes it
This commit is contained in:
Joe Reuter 2024-05-23 16:26:23 +02:00 committed by GitHub
parent 47293f778d
commit f5b93d500c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 2 additions and 47 deletions

View file

@ -11,10 +11,9 @@ import { CustomCard } from '../packages_list/types';
export function useVirtualSearchResults(): CustomCard[] {
const {
services: { application, http },
services: { application },
} = useKibana();
const getUrlForApp = application?.getUrlForApp;
const basePath = http?.basePath;
return [
{
@ -43,30 +42,5 @@ export function useVirtualSearchResults(): CustomCard[] {
integration: '',
isCollectionCard: false,
},
{
id: 'aws-firehose-virtual',
type: 'virtual',
title: i18n.translate('xpack.observability_onboarding.packageList.amazonFirehoseTitle', {
defaultMessage: 'Amazon Firehose',
}),
description: i18n.translate(
'xpack.observability_onboarding.packageList.amazonFirehoseDescription',
{
defaultMessage: 'Collect Amazon Firehose logs.',
}
),
name: 'aws-firehose',
categories: [],
icons: [
{
type: 'svg',
src: basePath?.prepend('/plugins/observabilityOnboarding/assets/aws_firehose.svg') ?? '',
},
],
url: 'https://www.elastic.co/guide/en/kinesis/current/aws-firehose-setup-guide.html',
version: '',
integration: '',
isCollectionCard: false,
},
];
}

View file

@ -23,14 +23,7 @@ interface WizardState {
logFilePaths: string[];
namespace: string;
customConfigurations: string;
logsType?:
| 'system'
| 'sys'
| 'http-endpoint'
| 'opentelemetry'
| 'amazon-firehose'
| 'log-file'
| 'service';
logsType?: 'system' | 'sys' | 'http-endpoint' | 'opentelemetry' | 'log-file' | 'service';
uploadType?: 'log-file' | 'api-key';
elasticAgentPlatform: 'linux-tar' | 'macos' | 'windows' | 'deb' | 'rpm';
autoDownloadConfig: boolean;

View file

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Icon-Architecture/16/Arch_Amazon-Kinesis-Data-Firehose_16</title>
<g id="Icon-Architecture/16/Arch_Amazon-Kinesis-Data-Firehose_16" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="Icon-Architecture-BG/16/Analytics" fill="#8C4FFF">
<rect id="Rectangle" x="0" y="0" width="24" height="24"></rect>
</g>
<g id="Icon-Service/16/Amazon-Kinesis-Data-Firehose" transform="translate(5.000000, 6.000000)" fill="#FFFFFF">
<path d="M14.5836386,7.241 L13.9526386,8.017 C13.1876386,7.396 12.0286386,6.994 11.0006386,6.994 L11.0006386,6.056 L11.0006386,5.994 L11.0006386,5.056 C12.1386386,5.056 13.2796386,4.507 13.9696386,3.992 L14.5666386,4.794 C14.2016386,5.067 12.9546386,5.9 11.3996386,6.03 C12.5466386,6.117 13.7346386,6.552 14.5836386,7.241 L14.5836386,7.241 Z M9.00063863,6.62 L7.00063863,7.12 L7.00063863,4.902 L9.00063863,5.402 L9.00063863,6.62 Z M6.00063863,8 L5.00063863,8 L5.00063863,4 L6.00063863,4 L6.00063863,4.261 L6.00063863,7.761 L6.00063863,8 Z M9.62163863,4.526 L7.00063863,3.871 L7.00063863,3.5 C7.00063863,3.223 6.77663863,3 6.50063863,3 L4.50063863,3 C4.22463863,3 4.00063863,3.223 4.00063863,3.5 L4.00063863,4.409 C1.46663863,4.086 1.00063863,3.16 1.00063863,1.42 L1.00063863,1.77635684e-15 L0.000638629816,1.77635684e-15 L0.000638629816,1.42 C0.000638629816,3.918 1.14663863,5.056 4.00063863,5.403 L4.00063863,5.5 L0.000638629816,5.5 L0.000638629816,6.5 L4.00063863,6.5 L4.00063863,6.604 C1.21763863,6.983 0.00163862982,8.274 0.00163862982,10.882 L0.00163862982,10.99 C-0.000361370184,11.279 -0.00136137018,11.995 0.00363862982,12.048 L1.00063863,11.97 C0.99663863,11.874 0.99963863,11.252 1.00163863,10.994 L1.00163863,10.882 C1.00163863,9.148 1.54263863,7.991 4.00063863,7.615 L4.00063863,8.5 C4.00063863,8.776 4.22463863,9 4.50063863,9 L6.50063863,9 C6.77663863,9 7.00063863,8.776 7.00063863,8.5 L7.00063863,8.151 L9.62163863,7.496 C9.84463863,7.44 10.0006386,7.241 10.0006386,7.011 L10.0006386,5.011 C10.0006386,4.782 9.84463863,4.582 9.62163863,4.526 L9.62163863,4.526 Z" id="Amazon-Kinesis-Data-Firehose_Icon_16_Squid"></path>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.3 KiB