-
Notifications
You must be signed in to change notification settings - Fork 34
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
Use json serialization for socket API #80
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
marcmo
force-pushed
the
pr_runtime_api
branch
2 times, most recently
from
August 14, 2020 17:44
7c43c4f
to
8c78392
Compare
bzld
requested changes
Aug 18, 2020
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The general change is fine, but we need to fix the missing length framing to prevent serious errors, and probably should refactor the .proto file a bit to make it more structured.
(Didn't fully review each command code for client and command handler yet)
marcmo
force-pushed
the
pr_runtime_api
branch
from
September 15, 2020 14:47
3ca4fa3
to
1703aef
Compare
marcmo
changed the title
Use protobuf serialization for socket API
Use json serialization for socket API
Sep 15, 2020
flxo
requested changes
Sep 16, 2020
* Add new data model * Usage of json api in console * new client based on json api * Serialization for Socket API with serde-json * Remove old dcon client * Move help to client * Add basic info to README * Add length to frames -- we pack the complete message into a frame that contains the length in 4 bytes before the actual message * Add tests for frame header * Add rake-task to do a debug build * Use uniqu hid for start/stop/uninstall (no regex is constructed anymore) makes it unambigous which component is meant * add request/response id pairs * add checks for matching request-response id pairs * move api to north_common * move API functionality out of command_processor into state so that it might be reused * update API documentation * Fix clippy warnings * add clippy nightly checks to rake task
marcmo
force-pushed
the
pr_runtime_api
branch
from
September 28, 2020 14:48
8bb2df9
to
2310ce3
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.