Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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`;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down