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

[21136] Add XML configuration for FlowControllerDescriptor to 2.x (backport #4893) #4906

Merged
merged 7 commits into from
Sep 11, 2024

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Jun 6, 2024

Description

This PR is a partial backport from #4837 that brings the XML configuration of the FLow Controller Descriptor List. In 2.x both ThroughtputController and FlowcontrollerDescriptor coexist.

@Mergifyio backport 2.13.x 2.10.x 2.6.x

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)
  • [ X 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.
  • 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.

This is an automatic backport of pull request #4893 done by [Mergify](https://mergify.com).

@mergify mergify bot added the conflicts Backport PR wich git cherry pick failed label Jun 6, 2024
Copy link
Contributor Author

mergify bot commented Jun 6, 2024

Cherry-pick of e6044e0 has failed:

On branch mergify/bp/2.10.x/pr-4893
Your branch is up to date with 'origin/2.10.x'.

You are currently cherry-picking commit e6044e011.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	modified:   include/fastdds/dds/core/policy/QosPolicies.hpp
	modified:   include/fastdds/rtps/attributes/WriterAttributes.h
	modified:   include/fastrtps/xmlparser/XMLParser.h
	modified:   include/fastrtps/xmlparser/XMLParserCommon.h
	modified:   src/cpp/rtps/participant/RTPSParticipantImpl.cpp
	modified:   src/cpp/rtps/xmlparser/XMLElementParser.cpp
	modified:   src/cpp/rtps/xmlparser/XMLParser.cpp
	modified:   src/cpp/rtps/xmlparser/XMLParserCommon.cpp
	modified:   test/unittest/dds/publisher/PublisherTests.cpp
	modified:   test/unittest/xmlparser/XMLElementParserTests.cpp
	modified:   test/unittest/xmlparser/XMLParserTests.cpp
	modified:   test/unittest/xmlparser/test_xml_deprecated.xml
	modified:   test/unittest/xmlparser/test_xml_rooted_deprecated.xml
	modified:   test/unittest/xmlparser/wrapper/XMLParserTest.hpp

Unmerged paths:
  (use "git add/rm <file>..." as appropriate to mark resolution)
	both modified:   include/fastdds/rtps/flowcontrol/FlowControllerDescriptor.hpp
	both modified:   resources/xsd/fastRTPS_profiles.xsd
	both modified:   test/unittest/dds/profiles/test_xml_for_string_profile.xml
	both modified:   test/unittest/dds/profiles/test_xml_profile.xml
	both modified:   test/unittest/xmlparser/XMLProfileParserTests.cpp
	both modified:   test/unittest/xmlparser/test_xml_profile.xml
	deleted by us:   test/unittest/xmlparser/test_xml_profile_env_var.xml
	both modified:   versions.md

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally

@JesusPoderoso
Copy link
Contributor

@MiguelCompany MiguelCompany self-requested a review July 16, 2024 14:49
@MiguelCompany MiguelCompany removed the conflicts Backport PR wich git cherry pick failed label Sep 6, 2024
@MiguelCompany MiguelCompany requested review from MiguelCompany and removed request for MiguelCompany September 6, 2024 07:45
@github-actions github-actions bot added the ci-pending PR which CI is running label Sep 6, 2024
* Refs #21136: Replace const char* with string

Signed-off-by: Mario Dominguez <[email protected]>

* Refs #21136: Update fastRTPS_profiles.xsd

Signed-off-by: Mario Dominguez <[email protected]>

* Refs #21136: Implement flow controller descriptor list in XML related source files

Signed-off-by: Mario Dominguez <[email protected]>

* Refs #21136: Update tests

Signed-off-by: Mario Dominguez <[email protected]>

* Refs #21136: versions.md

Signed-off-by: Mario Dominguez <[email protected]>

* Refs #21136: Linter

Signed-off-by: Mario Dominguez <[email protected]>

* Refs #21136: Apply rev

Signed-off-by: Mario Dominguez <[email protected]>

---------

Signed-off-by: Mario Dominguez <[email protected]>
* Refs #21054: Revert to const char* for flow controller names

Signed-off-by: Mario Dominguez <[email protected]>

* Refs #21054: Handle flow controller names in a XMLParser collection

Signed-off-by: Mario Dominguez <[email protected]>

* Refs #21054: Apply Miguel suggestion

Signed-off-by: Mario Dominguez <[email protected]>

* Refs #21054: Apply second suggestion

Signed-off-by: Mario Dominguez <[email protected]>

---------

Signed-off-by: Mario Dominguez <[email protected]>
@MiguelCompany MiguelCompany requested review from MiguelCompany and removed request for MiguelCompany September 6, 2024 10:18
@MiguelCompany MiguelCompany added in progress Issue or PR which is being reviewed and removed ci-pending PR which CI is running labels Sep 9, 2024
Signed-off-by: Miguel Company <[email protected]>
Signed-off-by: Miguel Company <[email protected]>
@MiguelCompany MiguelCompany requested review from MiguelCompany and removed request for MiguelCompany September 9, 2024 14:10
@MiguelCompany MiguelCompany removed the in progress Issue or PR which is being reviewed label Sep 9, 2024
@github-actions github-actions bot added the ci-pending PR which CI is running label Sep 9, 2024
@MiguelCompany MiguelCompany requested review from MiguelCompany and removed request for MiguelCompany September 10, 2024 11:06
MiguelCompany
MiguelCompany previously approved these changes Sep 10, 2024
Signed-off-by: Miguel Company <[email protected]>
Signed-off-by: Miguel Company <[email protected]>
Signed-off-by: Miguel Company <[email protected]>
@MiguelCompany MiguelCompany requested review from MiguelCompany and removed request for MiguelCompany September 11, 2024 08:36
@MiguelCompany MiguelCompany merged commit 31e745a into 2.10.x Sep 11, 2024
16 of 18 checks passed
@MiguelCompany MiguelCompany deleted the mergify/bp/2.10.x/pr-4893 branch September 11, 2024 14:08
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.

3 participants