mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[Automatic Import] update path automatic import (#203751)
This commit is contained in:
parent
693a16bf72
commit
20b7e238f8
9 changed files with 11 additions and 11 deletions
|
@ -3,7 +3,7 @@ info:
|
|||
title: Auto Import Analyze Logs API endpoint
|
||||
version: "1"
|
||||
paths:
|
||||
/api/integration_assistant/analyzelogs:
|
||||
/internal/automatic_import/analyzelogs:
|
||||
post:
|
||||
summary: Analyzes log samples and processes them.
|
||||
operationId: AnalyzeLogs
|
||||
|
|
|
@ -3,7 +3,7 @@ info:
|
|||
title: Integration Assistatnt Build Integrarion API endpoint
|
||||
version: "1"
|
||||
paths:
|
||||
/api/integration_assistant/build:
|
||||
/internal/automatic_import/build:
|
||||
post:
|
||||
summary: Builds Integration with the given input samples
|
||||
operationId: BuildIntegration
|
||||
|
|
|
@ -3,7 +3,7 @@ info:
|
|||
title: Integration Assistatnt Categorization API endpoint
|
||||
version: "1"
|
||||
paths:
|
||||
/api/integration_assistant/categorization:
|
||||
/internal/automatic_import/categorization:
|
||||
post:
|
||||
summary: Builds Categorization processors based on the samples
|
||||
operationId: Categorization
|
||||
|
|
|
@ -3,7 +3,7 @@ info:
|
|||
title: Automatic Import CEL Input API endpoint
|
||||
version: "1"
|
||||
paths:
|
||||
/api/integration_assistant/cel:
|
||||
/internal/automatic_import/cel:
|
||||
post:
|
||||
summary: Builds CEL input configuration
|
||||
operationId: CelInput
|
||||
|
|
|
@ -3,7 +3,7 @@ info:
|
|||
title: Integration Assistatnt Check Pipeline API endpoint
|
||||
version: "1"
|
||||
paths:
|
||||
/api/integration_assistant/pipeline:
|
||||
/internal/automatic_import/pipeline:
|
||||
post:
|
||||
summary: Checks if the pipeline is valid for the given samples
|
||||
operationId: CheckPipeline
|
||||
|
|
|
@ -3,7 +3,7 @@ info:
|
|||
title: Integration Assistatnt ECS Mapping API endpoint
|
||||
version: "1"
|
||||
paths:
|
||||
/api/integration_assistant/ecs:
|
||||
/internal/automatic_import/ecs:
|
||||
post:
|
||||
summary: Builds ECS Mapping based on the input samples
|
||||
operationId: EcsMapping
|
||||
|
|
|
@ -3,7 +3,7 @@ info:
|
|||
title: Integration Assistatnt Related API endpoint
|
||||
version: "1"
|
||||
paths:
|
||||
/api/integration_assistant/related:
|
||||
/internal/automatic_import/related:
|
||||
post:
|
||||
summary: Builds related.* fields for integration with the given input samples
|
||||
operationId: Related
|
||||
|
|
|
@ -14,7 +14,7 @@ export const PLUGIN_ID = 'integrationAssistant';
|
|||
export const INTEGRATION_ASSISTANT_APP_ROUTE = '/app/integration_assistant';
|
||||
|
||||
// Server API Routes
|
||||
export const INTEGRATION_ASSISTANT_BASE_PATH = '/api/integration_assistant';
|
||||
export const INTEGRATION_ASSISTANT_BASE_PATH = '/internal/automatic_import';
|
||||
|
||||
export const ECS_GRAPH_PATH = `${INTEGRATION_ASSISTANT_BASE_PATH}/ecs`;
|
||||
export const CATEGORIZATION_GRAPH_PATH = `${INTEGRATION_ASSISTANT_BASE_PATH}/categorization`;
|
||||
|
|
|
@ -45,19 +45,19 @@ describe('Add Integration - Automatic Import', () => {
|
|||
deleteConnectors();
|
||||
createBedrockConnector();
|
||||
// Mock API Responses
|
||||
cy.intercept('POST', '/api/integration_assistant/ecs', {
|
||||
cy.intercept('POST', '/internal/automatic_import/ecs', {
|
||||
statusCode: 200,
|
||||
body: {
|
||||
results: ecsResultsForJson,
|
||||
},
|
||||
});
|
||||
cy.intercept('POST', '/api/integration_assistant/categorization', {
|
||||
cy.intercept('POST', '/internal/automatic_import/categorization', {
|
||||
statusCode: 200,
|
||||
body: {
|
||||
results: categorizationResultsForJson,
|
||||
},
|
||||
});
|
||||
cy.intercept('POST', '/api/integration_assistant/related', {
|
||||
cy.intercept('POST', '/internal/automatic_import/related', {
|
||||
statusCode: 200,
|
||||
body: {
|
||||
results: relatedResultsForJson,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue