-
Notifications
You must be signed in to change notification settings - Fork 0
Rpc client u subscription #13
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
base: main
Are you sure you want to change the base?
Conversation
Code coverage report is ready! 📈
|
Code coverage report is ready! 📈
|
Code coverage report is ready! 📈
|
Code coverage report is ready! 📈
|
Code coverage report is ready! 📈
|
Code coverage report is ready! 📈
|
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.
Only a very superficial review, but please go ahead and create a PR to upstream if you feel comfortable.
CMakeLists.txt
Outdated
file(GLOB_RECURSE SRC_FILES "${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp") | ||
|
||
add_library(${PROJECT_NAME} ${SRC_FILES}) | ||
add_library(${PROJECT_NAME} ${SRC_FILES} | ||
src/client/usubscription/v3/RpcClientUSubscription.cpp | ||
include/up-cpp/client/usubscription/v3/RpcClientUSubscription.h | ||
include/up-cpp/client/usubscription/v3/USubscription.h | ||
) |
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.
This construction seems odd. Why include only these particular headers and not others? Why include the headers at all? Shouldn't the source file already be picked up by the glob above?
/// | ||
/// @param topic The `v1::UUri` representing the topic to fetch. | ||
/// | ||
/// @return An `FetchSubscriptionsRequest` configured for the specified |
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.
/// @return An `FetchSubscriptionsRequest` configured for the specified | |
/// @return A `FetchSubscriptionsRequest` configured for the specified |
static FetchSubscriptionsRequest buildFetchSubscriptionsRequest( | ||
const v1::UUri& topic); | ||
|
||
/// @brief Build fetch subscritions request for a given subscriber. |
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.
/// @brief Build fetch subscritions request for a given subscriber. | |
/// @brief Build fetch subscriptions request for a given subscriber. |
/// @return An `UnsubscribeRequest` configured for the specified topic. | ||
static UnsubscribeRequest buildUnsubscribeRequest(const v1::UUri& topic); | ||
|
||
/// @brief Build fetch subscritions request for a given topic. |
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.
/// @brief Build fetch subscritions request for a given topic. | |
/// @brief Build fetch subscriptions request for a given topic. |
/// @param subscriber The `SubscriberInfo` representing the subscriber to | ||
/// fetch. | ||
/// | ||
/// @return An `FetchSubscriptionsRequest` configured for the specified |
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.
/// @return An `FetchSubscriptionsRequest` configured for the specified | |
/// @return A `FetchSubscriptionsRequest` configured for the specified |
/// | ||
/// @param topic The `v1::UUri` representing the topic to fetch. | ||
/// | ||
/// @return An `FetchSubscribersRequest` configured for the specified topic. |
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.
/// @return An `FetchSubscribersRequest` configured for the specified topic. | |
/// @return A `FetchSubscribersRequest` configured for the specified topic. |
/// @param topic The `v1::UUri` representing the topic to (un)register | ||
/// for/from. | ||
/// | ||
/// @return An `NotificationsRequest` configured for the specified topic. |
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.
/// @return An `NotificationsRequest` configured for the specified topic. | |
/// @return A `NotificationsRequest` configured for the specified topic. |
|
||
} // namespace uprotocol::core::usubscription::v3 | ||
|
||
#endif // UP_CPP_CLIENT_USUBSCRIPTION_V3_RPCCLIENTUSUBSCRIPTION_H |
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.
Please add newline
return uri; | ||
} | ||
|
||
} // namespace uprotocol::core::usubscription::v3 |
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.
Add newline please
Code coverage report is ready! 📈
|
Code coverage report is ready! 📈
|
7801d70
to
796a5b1
Compare
Code coverage report is ready! 📈
|
Code coverage report is ready! 📈
|
Code coverage report is ready! 📈
|
d80a943
to
fb81873
Compare
Code coverage report is ready! 📈
|
Code coverage report is ready! 📈
|
ede937e
to
bf9d68e
Compare
Code coverage report is ready! 📈
|
bf9d68e
to
563924e
Compare
Code coverage report is ready! 📈
|
563924e
to
798696b
Compare
Code coverage report is ready! 📈
|
798696b
to
303636e
Compare
Code coverage report is ready! 📈
|
303636e
to
47973ea
Compare
Code coverage report is ready! 📈
|
Code coverage report is ready! 📈
|
Code coverage report is ready! 📈
|
701bfdf
to
6aae8ea
Compare
Code coverage report is ready! 📈
|
Code coverage report is ready! 📈
|
2d22bb9
to
3b8a7ca
Compare
Code coverage report is ready! 📈
|
3b8a7ca
to
4375d15
Compare
Code coverage report is ready! 📈
|
Code coverage report is ready! 📈
|
ccb349b
to
15e8bcb
Compare
Code coverage report is ready! 📈
|
15e8bcb
to
0c41572
Compare
Code coverage report is ready! 📈
|
0c41572
to
c8fdce4
Compare
Code coverage report is ready! 📈
|
# Conflicts: # include/up-cpp/communication/RpcClient.h
c8fdce4
to
f899ee8
Compare
Code coverage report is ready! 📈
|
No description provided.