-
Notifications
You must be signed in to change notification settings - Fork 410
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
Iox 2408 multi domain id req rep #2425
Iox 2408 multi domain id req rep #2425
Conversation
@jmyvalour Thanks for this PR! A few organizational topics, could you please:
|
987ce8b
to
dff5f74
Compare
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.
Thanks for the PR! I left a few remarks and questions. @elBoberido should have a look as well.
iceoryx_posh/experimental/include/iox/posh/experimental/node.hpp
Outdated
Show resolved
Hide resolved
iceoryx_posh/experimental/include/iox/posh/experimental/client.hpp
Outdated
Show resolved
Hide resolved
iceoryx_posh/experimental/include/iox/posh/experimental/detail/client.inl
Outdated
Show resolved
Hide resolved
iceoryx_posh/test/integrationtests/test_posh_experimental_node.cpp
Outdated
Show resolved
Hide resolved
iceoryx_posh/test/integrationtests/test_posh_experimental_node.cpp
Outdated
Show resolved
Hide resolved
iceoryx_posh/test/integrationtests/test_posh_experimental_node.cpp
Outdated
Show resolved
Hide resolved
iceoryx_posh/test/integrationtests/test_posh_experimental_node.cpp
Outdated
Show resolved
Hide resolved
hey @mossmaurice , Thank you for your review, I added the Listener support too and the required tests to have a more extensive coverage. Exhaust, Typed / Untyped server, client, and a listener creation through the Node. Open question would be about the setDefaultRuntime and how you want to have it internally, migh be a question for @elBoberido |
Hello @elBoberido @mossmaurice and thank you for your time reviewing this PR, D:\a\iceoryx\iceoryx\iceoryx_hoofs\test\moduletests\test_time_unit_duration.cpp(1119,44): error C2039: 'system_clock': is not a member of 'std::chrono' |
@jmyvalour you might need to rebase to main. There was a fix for this error some time ago. You most probably have branched away before that fix was merged. |
@elBoberido just rebased remote main into the PR and retrieved the window build fix indeed, thx for the info |
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.
Can you also please add an example to iceoryx_examples/experimental/node
. You can copy iceoryx_examples/request_response/client_cxx_waitset.cpp
to iox_cpp_node_client.cpp
and iceoryx_examples/request_response/server_cxx_listener.cpp
to iox_cpp_node_server.cpp
.
When done, please also add that example to the integrationtests:
- copy
iceoryx_integrationtests/iceoryx_integrationtests/test_experimental_node.py
to e.g.test_experimental_node_request_response.py
- rename
test_experimental_node.py
to e.g. `test_experimental_node_publish_subscribe.py`` - add/adjust the test names in
iceoryx_integrationtests/CMakeLists.txt
- add/adjust the test names in
iceoryx_integrationtests/package.xml
iceoryx_posh/experimental/include/iox/posh/experimental/node.hpp
Outdated
Show resolved
Hide resolved
iceoryx_posh/test/integrationtests/test_posh_experimental_node.cpp
Outdated
Show resolved
Hide resolved
iceoryx_posh/test/integrationtests/test_posh_experimental_node.cpp
Outdated
Show resolved
Hide resolved
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.
Looks good. Just one minor nitpik. Once that is removed and the CI is green, this can be merged
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 code can be merged. I noticed you used 1295 as issue number for the last commits. Can you please change that to 2408, like the initial commits.
3786496
to
0570d2f
Compare
@elBoberido apologies for the mistake, I rewrote the commit messages with the correct ticket numbers, |
@jmyvalour the git commit history is a bit messy. Could you please execute the following commands on your local checkout git checkout main
git remote add upstream [email protected]:eclipse-iceoryx/iceoryx.git
git fetch --all
git branch --set-upstream-to=upstream/main
git pull
git checkout iox-2408-multi-domain-id-req-rep
git rebase main This should remove the unrelated commits from this PR |
…e new client / server ctor
…xperimental Node
…rt, remove Node forward declaration in posh_runtime
fc0cd34
to
436040b
Compare
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.
Thanks very much. Now it's just waiting for the CI and hoping for the best
Thank you for your help cleaning the PR and the commits history, |
@jmyvalour we did not yet encounter this problem but I just tried a local build and it works. I triggered a new run for the bazel job. Let's see if we are lucky. |
@jmyvalour congratulations to your first iceoryx PR. Thanks for your patience and looking forward to the next PR. |
Thank you @elBoberido , @mossmaurice for your help and support through this PR, will try to be more effective for the next one following your comments, not sure when I will get the time to go into the service discovery PR but I keep it in mind and prioritize. |
Notes for Reviewer
Added support for Server, Client multi domain ID, as part of the experimental Node (already supporting Subscribe/Publisher)
Added setDefaultRuntime to overload the RuntimeFactory in order for discovery service to use by default the poshruntime interface provided by the node.
Pre-Review Checklist for the PR Author
iox-123-this-is-a-branch
)iox-#123 commit text
)task-list-completed
)Checklist for the PR Reviewer
iceoryx_hoofs
have been added to./clang-tidy-diff-scans.txt
Post-review Checklist for the PR Author
Related tickets:
#1129
#2408