Skip to content
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

match rmw_fastrtps_dynamic_cpp / rmw_connext_dynamic_cpp #288

Merged
merged 1 commit into from
Jul 25, 2018
Merged

Conversation

dirk-thomas
Copy link
Member

Related to ros2/rmw_fastrtps#218.

@dirk-thomas dirk-thomas added the in review Waiting for review (Kanban column) label Jul 25, 2018
@dirk-thomas dirk-thomas self-assigned this Jul 25, 2018
Copy link
Member

@wjwwood wjwwood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess as long as it passes CI, my question is moot and could be followed up on after merging this if @mikaelarguedas has new information about it.

# TODO(mikaelarguedas) only Connext and FastRTPS support DDS-Security for now
if(
rmw_implementation STREQUAL "rmw_connext_cpp" OR
rmw_implementation STREQUAL "rmw_connext_dynamic_cpp" OR
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does connext dynamic support security? I suppose so, but I could imagine that it doesn't for some reason. @mikaelarguedas might be the best to ask about this.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Until now the only rmw FastRTPS implementation was dynamic. Since it supported security until now the newly named rmw impl. should do the same (if nothing was broken during the refactoring).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand. You added rmw_connext_dynamic_cpp where it wasn't there before. I don't see what it has to do with the FastRTPS refactor.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mistakenly was referring to the addition of FastRTPS dynamic here. I don't have any specific information about Connext dynamic and if it would support security. I would assume so but that is not based on any testing. Since Connext dynamic is currently disabled with an IGNORE in the repository the change shouldn't be a problem.

If @mikaelarguedas comments that it is not supported I am happy to remove it for the condition again.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As Connext dynamic was already not supported and not able to send nested messages at the time support for DDS security was added, I never enabled the tests for connext_dynamic.

The change was made to be compatible with connext_dynamic as well as static as all the core of changes live in the connext shared layer and the API (static and dynamic) have been adapted accordingly: https://github.com/ros2/rmw_connext/pull/225/files.

In conclusion, I have never tested Security with connext dynamic, but as all the security code is shared between connext static and connext dynamic it "should work" if the rest of the code works.

@dirk-thomas dirk-thomas merged commit 85f8d70 into master Jul 25, 2018
@dirk-thomas dirk-thomas deleted the pr203 branch July 25, 2018 22:03
@dirk-thomas dirk-thomas removed the in review Waiting for review (Kanban column) label Jul 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants