-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement support for TLS config, OAuth credentials and setup CP inte…
…gration tests (#201) * Add mTLS and OAuth 2.0 support for direct connections to Kafka and SR Resolves #125 #126 Adds preliminary support to allow Kafka and SR clients to use mTLS and OAuth 2.0 to authenticate for direct connections. These changes have been unit tested to verify the expected client configurations are generated. However, those expected configurations have NOT yet been tested against CCloud or CP via integration tests. * Add mTLS and OAuth 2.0 support for direct connections to Kafka and SR Resolves #125 #126 Adds preliminary support to allow Kafka and SR clients to use mTLS and OAuth 2.0 to authenticate for direct connections. These changes have been unit tested to verify the expected client configurations are generated. However, those expected configurations have NOT yet been tested against CCloud or CP via integration tests. * Add cp-demo testcontainer classes * Make some progress * Works with schemaless records tests (finally) * Tweak healthchecks * Allow reusing containers across test runs * wip stuff * wip * more wip * more wip * Setup tests for basic auth and mTLS * add tests * address feedback and add tests * add connection spec tests * Add scripts and mechanisms to start/stop/cleanup cp-demo * Shutdown cp-demo if running on CI * Fix all containers running check * Cache docker images and add TestLifecycle annotation to LocalIT * only run docker load if file exists * Use fully qualified name to avoid name conflicts in AbstractIT's connection cache * Disable surefire tests in the native profile * Store test results first before caching * Don't set id -- that makes the integration tests run twice. * Make delete topic test more robust * Remove confluentinc/common-parent as parent POM * Add back confluentinc/common-parent as parent POM * shutdown testcontainers by default * wip * Remove surefire config from native profile (move to followup) * Move TLS into Kafka/SR cluster configs * revert pom change * Handle no auth but SSL case * Cleanup * Refactor tests * Remove MutualTLSCredentials class * add openapi changes * Disable TLS * Fix CP tests * Fix CP tests * Disable TLS for confluent local direct connection * retry test * remove retrying annotation * remove integration-test id * Make produce tests more robust by retrying on 404 * remove unused imports * try `combine.self="override"` * set id * Address reviewer feedback * Harden shouldThrowNotImplementedForUnsupportedSchemaDetails * fix extra space and remove unnecessary changes from openapi files --------- Co-authored-by: Randall Hauch <[email protected]>
- Loading branch information
Showing
50 changed files
with
3,531 additions
and
382 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.