Skip to content

Commit

Permalink
[integration automatic-import] Missing input config fix (elastic#188695)
Browse files Browse the repository at this point in the history
## Summary

- Fixing missing configuration options by correcting input names from _
to -
- Prefixing ECS version with v in build file

<img width="982" alt="Screenshot 2024-07-18 at 3 48 42 PM"
src="https://github.com/user-attachments/assets/ba7476e8-6ebd-4177-9465-bd91d85f8aca">
  • Loading branch information
kgeller authored Jul 19, 2024
1 parent ef88274 commit 9faf2f6
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,16 +66,16 @@ components:
type: string
description: The input type for the dataStream to pull logs from.
enum:
- aws_cloudwatch
- aws_s3
- azure_blob_storage
- azure_eventhub
- aws-cloudwatch
- aws-s3
- azure-blob-storage
- azure-eventhub
- cel
- cloudfoundry
- filestream
- gcp_pubsub
- gcp-pubsub
- gcs
- http_endpoint
- http-endpoint
- journald
- kafka
- tcp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,16 +77,16 @@ export const Pipeline = z.object({
*/
export type InputType = z.infer<typeof InputType>;
export const InputType = z.enum([
'aws_cloudwatch',
'aws_s3',
'azure_blob_storage',
'azure_eventhub',
'aws-cloudwatch',
'aws-s3',
'azure-blob-storage',
'azure-eventhub',
'cel',
'cloudfoundry',
'filestream',
'gcp_pubsub',
'gcp-pubsub',
'gcs',
'http_endpoint',
'http-endpoint',
'journald',
'kafka',
'tcp',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* 2.0.
*/

import React, { useCallback, useEffect, useMemo, useState } from 'react';
import type { EuiComboBoxOptionOption } from '@elastic/eui';
import {
EuiComboBox,
Expand All @@ -16,27 +15,28 @@ import {
EuiFormRow,
EuiPanel,
} from '@elastic/eui';
import React, { useCallback, useEffect, useMemo, useState } from 'react';
import type { InputType } from '../../../../../../common';
import { useActions, type State } from '../../state';
import type { IntegrationSettings } from '../../types';
import { StepContentWrapper } from '../step_content_wrapper';
import { SampleLogsInput } from './sample_logs_input';
import type { OnComplete } from './generation_modal';
import { GenerationModal } from './generation_modal';
import { useLoadPackageNames } from './use_load_package_names';
import { SampleLogsInput } from './sample_logs_input';
import * as i18n from './translations';
import { useLoadPackageNames } from './use_load_package_names';

export const InputTypeOptions: Array<EuiComboBoxOptionOption<InputType>> = [
{ value: 'aws_cloudwatch', label: 'AWS Cloudwatch' },
{ value: 'aws_s3', label: 'AWS S3' },
{ value: 'azure_blob_storage', label: 'Azure Blob Storage' },
{ value: 'azure_eventhub', label: 'Azure Event Hub' },
{ value: 'aws-cloudwatch', label: 'AWS Cloudwatch' },
{ value: 'aws-s3', label: 'AWS S3' },
{ value: 'azure-blob-storage', label: 'Azure Blob Storage' },
{ value: 'azure-eventhub', label: 'Azure Event Hub' },
{ value: 'cel', label: 'Common Expression Language (CEL)' },
{ value: 'cloudfoundry', label: 'Cloud Foundry' },
{ value: 'filestream', label: 'File Stream' },
{ value: 'gcp_pubsub', label: 'GCP Pub/Sub' },
{ value: 'gcp-pubsub', label: 'GCP Pub/Sub' },
{ value: 'gcs', label: 'Google Cloud Storage' },
{ value: 'http_endpoint', label: 'HTTP Endpoint' },
{ value: 'http-endpoint', label: 'HTTP Endpoint' },
{ value: 'journald', label: 'Journald' },
{ value: 'kafka', label: 'Kafka' },
{ value: 'tcp', label: 'TCP' },
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
dependencies:
ecs:
reference: "git@{{ ecs_version }}"
reference: "git@v{{ ecs_version }}"

0 comments on commit 9faf2f6

Please sign in to comment.