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

[21054] Add XML configuration for FlowControllerDescriptor and remove ThroughputController #4837

Merged
merged 19 commits into from
May 31, 2024

Conversation

Mario-DL
Copy link
Member

@Mario-DL Mario-DL commented May 23, 2024

Description

This PR removes the deprecated ThroughtputController and ThroughtputController in favor of the flow_controller_descriptor_list and its XML configuration.

Note: In the refactor I doubted how to proceed with the PDP writer modes. Will be discussed with the reviewer

Contributor Checklist

  • Commit messages follow the project guidelines.
  • The code follows the style guidelines of this project.
  • Tests that thoroughly check the new feature have been added/Regression tests checking the bug and its fix have been added; the added tests pass locally
  • Any new/modified methods have been properly documented using Doxygen.
  • Any new configuration API has an equivalent XML API (with the corresponding XSD extension)
  • ❌ Changes are backport compatible: they do NOT break ABI nor change library core behavior.
  • ❌ Changes are API compatible.
  • New feature has been added to the versions.md file (if applicable).
  • New feature has been documented/Current behavior is correctly described in the documentation.
  • NO Applicable backports have been included in the description.

Reviewer Checklist

  • The PR has a milestone assigned.
  • The title and description correctly express the PR's purpose.
  • Check contributor checklist is correct.
  • Check CI results: changes do not issue any warning.
  • Check CI results: failing tests are unrelated with the changes.

@Mario-DL Mario-DL added the doc-pending Issue or PR which is pending to be documented label May 23, 2024
@Mario-DL Mario-DL added this to the v3.0.0 milestone May 23, 2024
@github-actions github-actions bot added the ci-pending PR which CI is running label May 23, 2024
JesusPoderoso

This comment was marked as resolved.

@Mario-DL Mario-DL force-pushed the feature/21054 branch 2 times, most recently from b329da8 to 5989df4 Compare May 24, 2024 09:18
@Mario-DL Mario-DL requested review from JesusPoderoso and removed request for JesusPoderoso May 24, 2024 09:24
@Mario-DL Mario-DL requested review from JesusPoderoso and removed request for JesusPoderoso May 24, 2024 11:10
…/cpp files (except xmlparser)

Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
…er_descriptor_list

Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
JesusPoderoso
JesusPoderoso previously approved these changes May 27, 2024
Copy link
Contributor

@JesusPoderoso JesusPoderoso left a comment

Choose a reason for hiding this comment

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

LGTM with green CI

@JesusPoderoso JesusPoderoso added ready-to-merge Ready to be merged. CI and changes have been reviewed and approved. and removed ci-pending PR which CI is running labels May 27, 2024
@JesusPoderoso
Copy link
Contributor

@richiprosima please test_3 this

Copy link
Member

@EduPonz EduPonz left a comment

Choose a reason for hiding this comment

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

I'd like to request two things here:

  • Unit testing for getXMLFlowControllerDescriptorList. It is important to verify the min and max occurrences of the elements. I think right now it'd be possible to add several names to the same descriptor.
  • On the XML snippets, add the thread settings element, Also, in some of them, the scheduling policy is missing. This applies to the Fast DDS docs related PR as well

@EduPonz EduPonz added to-do and removed ready-to-merge Ready to be merged. CI and changes have been reviewed and approved. labels May 28, 2024
…g XML flow controller snippets

Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
…ting

Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
@Mario-DL Mario-DL added ci-pending PR which CI is running and removed to-do labels May 28, 2024
@Mario-DL Mario-DL requested a review from EduPonz May 28, 2024 13:43
Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
@Mario-DL Mario-DL requested review from EduPonz and removed request for EduPonz May 28, 2024 14:21
Signed-off-by: Mario Dominguez <mariodominguez@eprosima.com>
@Mario-DL Mario-DL requested review from EduPonz and removed request for EduPonz May 30, 2024 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-pending PR which CI is running
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants