Skip to content

Add EVP proxy mode support #67

Merged
vitor-de-araujo merged 14 commits intomainfrom
vitor-de-araujo/SDTEST-2660/evp-proxy
Nov 19, 2025
Merged

Add EVP proxy mode support #67
vitor-de-araujo merged 14 commits intomainfrom
vitor-de-araujo/SDTEST-2660/evp-proxy

Conversation

@vitor-de-araujo
Copy link
Contributor

@vitor-de-araujo vitor-de-araujo commented Nov 16, 2025

This PR adds a BackendConnectorSetup class, with a subclass for each backend connection mode (agentless and EVP proxy mode). These classes hold the information necessary to create new connections in a given setup (such as API key, agent URL, whether gzip is supported).

On startup, BackendConnectorSetup.detect_setup() is called to detect, based on environment variables, which backend connection mode to use, and returns an instance of the appropriate subclass. Other parts of the code that need to talk to the backend (such as the API client and the writers) receive this instance and can use it to create new connections. In this way, the rest of the code does not have to care about which mode is being used.

@vitor-de-araujo vitor-de-araujo marked this pull request as ready for review November 18, 2025 15:07
@vitor-de-araujo vitor-de-araujo requested a review from a team as a code owner November 18, 2025 15:07
@vitor-de-araujo vitor-de-araujo enabled auto-merge (squash) November 18, 2025 15:36
@vitor-de-araujo vitor-de-araujo merged commit 952a136 into main Nov 19, 2025
16 checks passed
@vitor-de-araujo vitor-de-araujo deleted the vitor-de-araujo/SDTEST-2660/evp-proxy branch November 19, 2025 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants