mirror of
https://github.com/open-metadata/OpenMetadata
synced 2026-05-24 09:39:11 +00:00
* Re-enable MCP tests under openmetadata-integration-tests PR #26204 removed MCP tests from the openmetadata-mcp module. This re-creates them under openmetadata-integration-tests so they run as part of the standard integration test suite. Changes: - Add McpIntegrationIT: tests MCP initialization, tools/list, prompts/list, and tool calls via HTTP against the /mcp endpoint - Add McpToolsValidationIT: ordered tests validating each MCP tool (search, get entity, create glossary/term, patch, lineage, test definitions, test cases, root cause analysis, deleted field handling) - Add McpTestUtils: shared JSON-RPC request builders for MCP tests - Register MCP server in TestSuiteBootstrap after seed data loads using reflection to reset ApplicationContext and invoke registerMCPServer() - Add openmetadata-mcp and assertj-core dependencies to pom.xml - Delete .github/workflows/mcp-tests.yml (no longer needed) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Fix no-op assertion and remove blanket catch blocks in McpToolsValidationIT - Assert search result contains expected query instead of discarding the boolean return value of contains() - Remove try-catch blocks in testPatchEntityTool and testGetEntityLineageTool that silently swallowed all exceptions Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Fix search assertion to use substring match on entity names Search returns entity names like "mcp_val_table" for query "mcp_val", so the assertion must check if any returned name contains the query string rather than requiring an exact set membership match. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Refactor: extract McpTestBase, add ApplicationContext.reinitialize() - Add ApplicationContext.reinitialize() to replace reflection-based singleton reset in TestSuiteBootstrap - Extract shared MCP test infrastructure (HTTP client, auth, entity creation, SSE parsing, MCP request execution) into McpTestBase - McpIntegrationIT and McpToolsValidationIT now extend McpTestBase, removing ~230 lines of duplicated boilerplate - Fix SSE parser to concatenate all data: lines per the SSE spec Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| airflow-apis-tests.yml | ||
| auto-cherry-pick-labeled-prs.yaml | ||
| claude-code-review.yml | ||
| claude.yml | ||
| codeql.yml | ||
| docker-k8s-operator.yml | ||
| docker-openmetadata-db.yml | ||
| docker-openmetadata-ingestion-base-slim.yml | ||
| docker-openmetadata-ingestion-base.yml | ||
| docker-openmetadata-ingestion.yml | ||
| docker-openmetadata-postgres.yml | ||
| docker-openmetadata-server.yml | ||
| git-create-release-branch.yml | ||
| integration-tests-mysql-elasticsearch.yml | ||
| integration-tests-postgres-opensearch.yml | ||
| issues-notion-sync.yml | ||
| java-checkstyle.yml | ||
| maven-build-collate.yml | ||
| maven-build-skip.yml | ||
| maven-build.yml | ||
| maven-postgres-rdf-tests-build.yml | ||
| maven-postgres-tests-build-skip.yml | ||
| maven-postgres-tests-build.yml | ||
| maven-sonar-build.yml | ||
| monitor-slack-link.yml | ||
| mysql-nightly-e2e.yml | ||
| phylum.yml | ||
| playwright-docs-check.yml | ||
| playwright-integration-tests-mysql.yml | ||
| playwright-integration-tests-postgres.yml | ||
| playwright-mysql-e2e-skip.yml | ||
| playwright-mysql-e2e.yml | ||
| playwright-postgresql-e2e-skip.yml | ||
| playwright-postgresql-e2e.yml | ||
| playwright-sso-tests.yml | ||
| postgresql-nightly-e2e.yml | ||
| publish-maven-package.yml | ||
| py-checkstyle.yml | ||
| py-cli-e2e-tests.yml | ||
| py-nox-ci.yml | ||
| py-operator-build-test.yml | ||
| py-sonarcloud-nightly.yml | ||
| py-tests-postgres.yml | ||
| py-tests-skip.yml | ||
| py-tests.yml | ||
| python-packages-publish.yml | ||
| security-scan.yml | ||
| selenium-noIngestion-tests.yml | ||
| team-labeler.yml | ||
| trivy-scan-ingestion-base-slim-image.yml | ||
| trivy-scan-ingestion-image.yml | ||
| trivy-scan-openmetadata-server.yml | ||
| typescript-type-generation.yml | ||
| ui-core-components-tests.yml | ||
| update-playwright-e2e-docs.yml | ||
| validate-docker-compose-quickstart.yml | ||
| validate-jsons-yamls.yml | ||
| yarn-coverage.yml | ||