mirror of
https://github.com/open-metadata/OpenMetadata
synced 2026-05-24 09:39:11 +00:00
* Add support for Dropwizard 5.0 and Jetty 12.1.x * Dropwizard 5x and Jetty 12.1 upgrade * Fix test behavior * Fix rdf tests * revert enableVirtualThreads * fix tests * Fix Tests * Fix tests * Switch to jersey-jetty-connector for Jetty 12 compatibility - Replace jersey-apache-connector with jersey-jetty-connector - Jersey 3.1.4+ jersey-jetty-connector supports Jetty 12.0.x+ - Use JettyConnectorProvider and JettyHttpClientSupplier for HTTP client - Keep reasonable timeouts (30s connect, 2min read) to prevent CI hangs - Set SYNC_LISTENER_RESPONSE_MAX_SIZE for large responses This fixes the 1,093 InterruptedException test failures caused by using the default Jersey client (HttpURLConnection-based) which doesn't handle concurrent test execution properly. * Fix: Start Jetty HttpClient before use Jetty 12 HttpClient implements LifeCycle and must be explicitly started with httpClient.start() before use. This fixes the 163 InterruptedException test failures. * Fix: Force jetty-client to 12.1.1 for jersey-jetty-connector jersey-jetty-connector brings transitive jetty-client:12.0.22 but Dropwizard 5.0 uses Jetty 12.1.1. The ClientConnector.newTransport() API changed between 12.0.x and 12.1.x, causing NoSuchMethodError. Fix: Exclude transitive jetty-client and add explicit 12.1.x dependency. * Use Java 11+ HttpClient connector for tests (jersey-jnh-connector) Switch from the broken jersey-jetty-connector (incompatible with Jetty 12.1.x) to jersey-jnh-connector which uses Java's built-in java.net.http.HttpClient. This connector: - Natively supports all HTTP methods including PATCH - Works with Java 21 - No external dependencies required - Avoids compatibility issues with Jetty versions * Use Apache HttpClient 5.x connector for tests (jersey-apache5-connector) Switch from jersey-jetty-connector (incompatible with Jetty 12.1.x) to jersey-apache5-connector which uses Apache HttpClient 5.x. This connector: - Supports all HTTP methods including PATCH - Lenient with empty PUT request bodies - Has proper timeout support to prevent indefinite hangs - Works with Jetty 12.1.x * Fix tests * Fix docker compose * Fix tests * Fix tests - make url compatible * Add URL parsing * Fix URL decode * fix tests * fix test * fix tests * Fix integration with new dropwizard-5x changes --------- Co-authored-by: Karan Hotchandani <33024356+karanh37@users.noreply.github.com> Co-authored-by: karanh37 <karanh37@gmail.com> Co-authored-by: Mohit Yadav <105265192+mohityadav766@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| airflow-apis-tests.yml | ||
| auto-cherry-pick-labeled-prs.yaml | ||
| claude-code-review.yml | ||
| claude.yml | ||
| codeql.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-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 | ||
| validate-docker-compose-quickstart.yml | ||
| validate-jsons-yamls.yml | ||
| yarn-coverage.yml | ||