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

Adds profile loading from XML string [12821] #2245

Merged
merged 8 commits into from
Dec 17, 2021

Conversation

SamuelWHalodi
Copy link
Contributor

@SamuelWHalodi SamuelWHalodi commented Oct 4, 2021

Implements #2179

Signed-off-by: Samuel Wilhelmsson samuel@halodi.com

This is a remake of a previous PR had to be closed because of a bad merge.

Related documentation PR: eProsima/Fast-DDS-docs#303

@SamuelWHalodi SamuelWHalodi force-pushed the feature/xml-string-config branch from dfdc90e to 5f98fce Compare October 4, 2021 11:04
Copy link
Contributor

@JLBuenoLopez JLBuenoLopez left a comment

Choose a reason for hiding this comment

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

Uncrustify is still complaining about the code style for some files: http://jenkins.eprosima.com:8080/job/fastdds_github_uncrustify/3115/

Also, would you mind adding some test for this new feature?

@JLBuenoLopez JLBuenoLopez added the doc-pending Issue or PR which is pending to be documented label Oct 21, 2021
Signed-off-by: Samuel Wilhelmsson <samuel@halodi.com>
Signed-off-by: Samuel Wilhelmsson <samuel@halodi.com>
Signed-off-by: Samuel Wilhelmsson <samuel@halodi.com>
Signed-off-by: Samuel Wilhelmsson <samuel@halodi.com>
@SamuelWHalodi SamuelWHalodi force-pushed the feature/xml-string-config branch from dd7cdb7 to 10b0358 Compare October 21, 2021 14:50
Signed-off-by: Samuel Wilhelmsson <samuel@halodi.com>
Signed-off-by: Samuel Wilhelmsson <samuel@halodi.com>
…ading from file

Signed-off-by: Samuel Wilhelmsson <samuel@halodi.com>
Signed-off-by: Samuel Wilhelmsson <samuel@halodi.com>
@SamuelWHalodi
Copy link
Contributor Author

@JLBuenoLopez-eProsima Hi, thanks for the feedback. I've added a test that loads the same profiles-file used in other test but as a string.

Copy link
Contributor

@JLBuenoLopez JLBuenoLopez left a comment

Choose a reason for hiding this comment

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

LGTM

Thanks a lot for the tests, @SamuelWHalodi. We should also include this new feature in our documentation before merging. Also, as this PR is adding new API, I have added it to the 2.5.0 milestone which is going to be released next month (December 2021).

@JLBuenoLopez JLBuenoLopez added this to the v2.5.0 milestone Nov 3, 2021
@JLBuenoLopez JLBuenoLopez changed the title Adds profile loading from XML string Adds profile loading from XML string [12821] Nov 3, 2021
@JLBuenoLopez JLBuenoLopez removed the doc-pending Issue or PR which is pending to be documented label Dec 9, 2021
@JLBuenoLopez JLBuenoLopez linked an issue Dec 10, 2021 that may be closed by this pull request
@JLBuenoLopez JLBuenoLopez added the ready-to-merge Ready to be merged. CI and changes have been reviewed and approved. label Dec 16, 2021
@EduPonz EduPonz merged commit 4253b8c into eProsima:master Dec 17, 2021
@EduPonz
Copy link

EduPonz commented Dec 17, 2021

Thanks again @SamuelWHalodi !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge Ready to be merged. CI and changes have been reviewed and approved.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Option to load XML profiles from String
3 participants