-
Notifications
You must be signed in to change notification settings - Fork 2
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
Replace Websockets with GRPC #20
Replace Websockets with GRPC #20
Commits on Sep 5, 2024
-
Directory.Packages.props: update STJ
Update System.Text.Json library to version 8.0.4 since previously used version (8.0.1) contains vlunerabilities.
Configuration menu - View commit details
-
Copy full SHA for db64f15 - Browse repository at this point
Copy the full SHA db64f15View commit details -
Replace WebSocketApp proj with GRPC*
Removed WebSocket project and added GRPC projects from RIM (copy&paste). Then removed unused stuff from GRPC* projects and specified package versions in Directory.Packages.props.
Configuration menu - View commit details
-
Copy full SHA for 844b45f - Browse repository at this point
Copy the full SHA 844b45fView commit details -
Tests,GrpcClient,GrpcServer: made e2e GRPC test
Made end-to-end GRPC test that makes sure GRPC communication is working.
Configuration menu - View commit details
-
Copy full SHA for 60642f4 - Browse repository at this point
Copy the full SHA 60642f4View commit details -
CI,GrpcClient,Tests: use HTTPS connection
Use HTTPS connection for GRPC communtication. Also added commands to CI that trust ASP.NET certificate on Linux because otherwise GRPC communication fails.
Configuration menu - View commit details
-
Copy full SHA for dfbecad - Browse repository at this point
Copy the full SHA dfbecadView commit details -
Enable TreatWarningsAsErrors in Directory.Build.props. Exception is CS8981 (lowercase type names) in GrpcClient and GrpcService projects because it is triggered by auto-generated protobuf types.
Configuration menu - View commit details
-
Copy full SHA for b75f01b - Browse repository at this point
Copy the full SHA b75f01bView commit details -
Add GrpcModels project for server/client interop
Added GrpcModels project for server/client interop which includes message models (that were in WebSocketApp), as well as Marshalling module (code from RIM). Use serialization options defined in Core/RedisStorageLayer.fs in Marshalling module. This is needed for F# types support.
Configuration menu - View commit details
-
Copy full SHA for 90fe289 - Browse repository at this point
Copy the full SHA 90fe289View commit details -
Core,GrpcModels: Match & Option json converters
Implemented json converters for Match and Option<'T> types. Match type converter is placed in GrpcModels.ModelSerialization since it's not used in Redis, but only in GRPC.
Configuration menu - View commit details
-
Copy full SHA for 7b4e449 - Browse repository at this point
Copy the full SHA 7b4e449View commit details -
Tests: use message that responds in e2e test
Modified e2e test to use message that returns response so that serilization is tested.
Configuration menu - View commit details
-
Copy full SHA for 549c4f4 - Browse repository at this point
Copy the full SHA 549c4f4View commit details -
Tests: clean DB after run in tests
Clean DB after each test run in BasicTests, MakerOnlyOrders, MarketOrders, and LimitOrders test classes. This is needed for all tests to start from empty state. This commit exposes bug in end2end test - response to the first LimitOrder should be None, not Some(Full). It will be fixed later.
Configuration menu - View commit details
-
Copy full SHA for 2796a76 - Browse repository at this point
Copy the full SHA 2796a76View commit details -
Tests: expand GrpcE2ETest to use Partial
Expand GrpcE2ETest so that Match.Partial case is used and any serialization errors cancerning it will be caught by this test.
Configuration menu - View commit details
-
Copy full SHA for c7708ca - Browse repository at this point
Copy the full SHA c7708caView commit details -
GrpcModels: fix in Match type deserialization
Fix in Match type deserialization (Partial case).
Configuration menu - View commit details
-
Copy full SHA for 75ecbfd - Browse repository at this point
Copy the full SHA 75ecbfdView commit details