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

Removed dependency on websocket++, minimized dependencies #568

Merged
merged 10 commits into from
Apr 26, 2024

Conversation

AssemblyJohn
Copy link
Contributor

@AssemblyJohn AssemblyJohn commented Apr 15, 2024

Describe your changes

Removed the strong dependency to websocket++ by adding the relevant headers to a 3rd_party folder, and making the library optional based on a cmake option. The hard-coded websocket++ constants were also removed.

Issue ticket number and link

Linked core PR: EVerest/everest-core#631

Checklist before requesting a review

@AssemblyJohn AssemblyJohn force-pushed the enhancement/websocketpp_remove_dependencies branch 3 times, most recently from 4435b41 to 2a0e47b Compare April 15, 2024 11:09
Copy link
Contributor

@Pietfried Pietfried left a comment

Choose a reason for hiding this comment

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

Looks good. Added a few remarks / suggestions.

@AssemblyJohn AssemblyJohn force-pushed the enhancement/websocketpp_remove_dependencies branch 2 times, most recently from 971c7e5 to e84f740 Compare April 16, 2024 13:08
@AssemblyJohn AssemblyJohn requested a review from Pietfried April 16, 2024 13:08
@AssemblyJohn
Copy link
Contributor Author

Implemented comments. Some codacity issues are related to some 3rd _party code I wouldn't modify too much. This can't be merged with the required modifications in everest-core.

Copy link
Contributor

@Pietfried Pietfried left a comment

Choose a reason for hiding this comment

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

looks good from my side. Please wait for @hikinggrass approval as well before merging

@AssemblyJohn
Copy link
Contributor Author

I'd also require a review on: EVerest/everest-core#631

This can't be merged without that.

@AssemblyJohn AssemblyJohn force-pushed the enhancement/websocketpp_remove_dependencies branch 3 times, most recently from 08f9d4a to ddf79b6 Compare April 16, 2024 13:38
@AssemblyJohn AssemblyJohn force-pushed the enhancement/websocketpp_remove_dependencies branch 2 times, most recently from bd52eea to 0832365 Compare April 17, 2024 09:54
@AssemblyJohn AssemblyJohn force-pushed the enhancement/websocketpp_remove_dependencies branch 2 times, most recently from 0f8f8ed to ba20ea2 Compare April 17, 2024 10:17
Signed-off-by: AssemblyJohn <[email protected]>
@AssemblyJohn AssemblyJohn force-pushed the enhancement/websocketpp_remove_dependencies branch from ba20ea2 to a1bb4b7 Compare April 17, 2024 12:31
Copy link
Contributor

@Pietfried Pietfried left a comment

Choose a reason for hiding this comment

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

looks good to me except a few nits

…pp_remove_dependencies

# Conflicts:
#	lib/ocpp/common/websocket/websocket_libwebsockets.cpp
Signed-off-by: Kai-Uwe Hermann <[email protected]>
Signed-off-by: Kai-Uwe Hermann <[email protected]>
Signed-off-by: Kai-Uwe Hermann <[email protected]>
@hikinggrass hikinggrass merged commit c0f942e into main Apr 26, 2024
3 of 4 checks passed
@hikinggrass hikinggrass deleted the enhancement/websocketpp_remove_dependencies branch April 26, 2024 11:07
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.

3 participants