-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update up-client-zenoh-rust with up-spec 1.5.7 (#21)
* Port to up-rust latest version (up-spec 1.5.7) Signed-off-by: ChenYing Kuo <[email protected]> * Use better way to create uAttributes. Signed-off-by: ChenYing Kuo <[email protected]> * Update how to log the errors. Signed-off-by: ChenYing Kuo <[email protected]> * Fix running test errors. Signed-off-by: ChenYing Kuo <[email protected]> * Add document to the contstructor. Signed-off-by: ChenYing Kuo <[email protected]> * Add some comments to the code for easy understanding. Signed-off-by: ChenYing Kuo <[email protected]> * Reorganize the test files. Signed-off-by: ChenYing Kuo <[email protected]> * Fix clippy warning in tests. Signed-off-by: ChenYing Kuo <[email protected]> * Update notification test. Signed-off-by: ChenYing Kuo <[email protected]> * Update the comments in tests. Signed-off-by: ChenYing Kuo <[email protected]> * gse correct source address from the constructor. Signed-off-by: ChenYing Kuo <[email protected]> * Add request and response test. Signed-off-by: ChenYing Kuo <[email protected]> * Use API to simplify creating UMessage. Signed-off-by: ChenYing Kuo <[email protected]> * Fix the comments. Signed-off-by: ChenYing Kuo <[email protected]> * Remove some wrong TODO items. Signed-off-by: ChenYing Kuo <[email protected]> * Show the minimum UAttributes version. Signed-off-by: ChenYing Kuo <[email protected]> * ghange the publish & notification tests. Signed-off-by: ChenYing Kuo <[email protected]> * Update the notification test. Signed-off-by: ChenYing Kuo <[email protected]> * Comment some code to pass the test for the time being. Signed-off-by: ChenYing Kuo <[email protected]> * Rename register_publish_listener to register_publish_notification_listener Signed-off-by: ChenYing Kuo <[email protected]> * Rename uuri to source_uuri. Signed-off-by: ChenYing Kuo <[email protected]> * Use UAuthority and UEntity instead of UUri. Signed-off-by: ChenYing Kuo <[email protected]> * Update the constructors. Signed-off-by: ChenYing Kuo <[email protected]> * Remove Zenoh key in send_response to avoid the misunderstanding. Signed-off-by: ChenYing Kuo <[email protected]> * Bump up-rust to the latest version with notification validator patch. Signed-off-by: ChenYing Kuo <[email protected]> * Add validation of UAuthority and UEntity. Signed-off-by: ChenYing Kuo <[email protected]> * Rename send function and also remove the TODO. Signed-off-by: ChenYing Kuo <[email protected]> --------- Signed-off-by: ChenYing Kuo <[email protected]>
- Loading branch information
Showing
11 changed files
with
1,078 additions
and
822 deletions.
There are no files selected for viewing
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
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
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
Oops, something went wrong.