Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

websocket client adapter #152

Merged
merged 1 commit into from
Apr 5, 2024
Merged

websocket client adapter #152

merged 1 commit into from
Apr 5, 2024

Conversation

wrieg123
Copy link
Collaborator

Added a Websocket Client Adapter (w/ and w/o TLS support).

Further, there is an output adapter for updating headers on reconnects.

@wrieg123 wrieg123 requested a review from robambalu March 14, 2024 14:21
@wrieg123 wrieg123 force-pushed the wrr/websockets branch 2 times, most recently from 7f9f923 to 91bc70b Compare March 14, 2024 15:35
@timkpaine timkpaine added adapter: new Issues and PRs related to creating new input/output adapters type: feature Issues and PRs related to new features labels Mar 17, 2024
Copy link
Collaborator

@AdamGlustein AdamGlustein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Made a first pass through just focusing on the csp related code as I'm not familiar with how websockets work.

conda/dev-environment-linux.yml Outdated Show resolved Hide resolved
cpp/csp/adapters/websockets/ClientInputAdapter.cpp Outdated Show resolved Hide resolved
cpp/csp/adapters/websockets/ClientInputAdapter.cpp Outdated Show resolved Hide resolved
cpp/csp/adapters/websockets/ClientInputAdapter.cpp Outdated Show resolved Hide resolved
csp/adapters/websocket_client.py Outdated Show resolved Hide resolved
cpp/csp/adapters/websockets/WebsocketEndpoint.cpp Outdated Show resolved Hide resolved
cpp/csp/adapters/websockets/ClientOutputAdapter.h Outdated Show resolved Hide resolved
cpp/csp/adapters/websockets/ClientOutputAdapter.cpp Outdated Show resolved Hide resolved
cpp/csp/adapters/websockets/ClientHeaderUpdateAdapter.cpp Outdated Show resolved Hide resolved
cpp/csp/adapters/websockets/ClientAdapterManager.h Outdated Show resolved Hide resolved
conda/dev-environment-linux.yml Outdated Show resolved Hide resolved
CMakeLists.txt Show resolved Hide resolved
timkpaine
timkpaine previously approved these changes Mar 22, 2024
Copy link
Member

@timkpaine timkpaine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm comfortable with the vcpkg, cmake, conda, and setup.py changes. The remaining will require other people to review

cpp/csp/adapters/websockets/CMakeLists.txt Outdated Show resolved Hide resolved
cpp/csp/adapters/websockets/ClientAdapterManager.cpp Outdated Show resolved Hide resolved
cpp/csp/adapters/websockets/WebsocketEndpoint.h Outdated Show resolved Hide resolved
cpp/csp/adapters/websockets/WebsocketEndpoint.h Outdated Show resolved Hide resolved
cpp/csp/adapters/websockets/WebsocketEndpoint.cpp Outdated Show resolved Hide resolved
cpp/csp/adapters/websockets/ClientHeaderUpdateAdapter.cpp Outdated Show resolved Hide resolved
cpp/csp/adapters/websockets/ClientHeaderUpdateAdapter.cpp Outdated Show resolved Hide resolved
cpp/csp/adapters/websockets/ClientHeaderUpdateAdapter.h Outdated Show resolved Hide resolved
cpp/csp/adapters/websockets/ClientOutputAdapter.h Outdated Show resolved Hide resolved
cpp/csp/python/adapters/websocketsadapterimpl.cpp Outdated Show resolved Hide resolved
@wrieg123 wrieg123 force-pushed the wrr/websockets branch 5 times, most recently from 6fb4924 to e13f08c Compare April 2, 2024 14:06
Copy link
Member

@timkpaine timkpaine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I forgot the NOTICE also has to be regenerated

Signed-off-by: Rieger <wr10136@devqtccrt05.saccap.int>
@wrieg123 wrieg123 merged commit 0eb84fc into main Apr 5, 2024
22 checks passed
@wrieg123 wrieg123 deleted the wrr/websockets branch April 5, 2024 17:57
@@ -18,6 +18,7 @@ dependencies:
- isort
- libarrow=15
- librdkafka
- libboost-headers
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wrieg123 alphabetize!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
adapter: new Issues and PRs related to creating new input/output adapters type: feature Issues and PRs related to new features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants