feat: Add HTTP proxy configuration modules to CDK #630
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
feat: Add HTTP proxy configuration modules to CDK
Summary
This PR migrates HTTP proxy functionality from Airbyte PR #62451 into the Python CDK by adding two new reusable modules:
airbyte_cdk.utils.http_proxy
: Utility functions for configuring HTTP proxy settings, including environment variable management, CA certificate installation, and proxy configurationairbyte_cdk.models.http_proxy_config
: Pydantic model for HTTP proxy configuration that connectors can embed in their configuration schemasThe implementation maintains the same proxy configuration approach from the original source-file implementation while following CDK coding standards and providing a reusable, well-tested foundation for proxy support across all Airbyte connectors.
Key features:
Review & Testing Checklist for Human
AIRBYTE_NO_PROXY_ENTRIES
contains all necessary Airbyte infrastructure endpoints and no incorrect entriesHttpProxyConfig
aligns with expected connector configuration patterns and can be easily embedded in connector specsRecommended test plan: After this PR is merged, test the integration by updating a connector (like source-salesforce) to use the new CDK branch reference and verify that proxy configuration works end-to-end with actual HTTP requests.
Diagram
Notes