-
Notifications
You must be signed in to change notification settings - Fork 789
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
[18763] Improve content filter expression parameters checks and verbosity. #3565
Conversation
@richiprosima please test this |
@richiprosima please test this |
@richiprosima please test this |
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.
LGTM. Please remember to include a note in the documentation stating the limit in the number of parameters in the corresponding QoS: https://fast-dds.docs.eprosima.com/en/latest/fastdds/dds_layer/core/policy/eprosimaExtensions.html#contentfilterproperty-allocationconfiguration. Also, reading the CFT section I do not find any reference to this section so I suggest including it in the same PR.
Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>
…ontentFilteredTopics Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>
Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>
Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>
Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>
Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>
Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>
Signed-off-by: Javier Santiago <javiersantiago@eprosima.com>
552376d
to
c26670e
Compare
@richiprosima please test this |
@Mergifyio backport 2.10.x 2.9.x 2.6.x |
✅ Backports have been created
|
…3565) * Refs #18763: Added max expression parameter test Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18763: Fixed maximum parameter size checks when deserializing ContentFilteredTopics Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18763: Added test for qos expression_parameter constraints Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18763: Added check for expression_parameter constraints Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18763: Added runtime modification to test Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18763: Added check to set_expression_parameters Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18763: Fixed signed/unsigned mismatch Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18763: Applied suggestions Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> --------- Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> (cherry picked from commit 3073c64)
…3565) * Refs #18763: Added max expression parameter test Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18763: Fixed maximum parameter size checks when deserializing ContentFilteredTopics Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18763: Added test for qos expression_parameter constraints Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18763: Added check for expression_parameter constraints Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18763: Added runtime modification to test Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18763: Added check to set_expression_parameters Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18763: Fixed signed/unsigned mismatch Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18763: Applied suggestions Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> --------- Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> (cherry picked from commit 3073c64)
…3565) * Refs #18763: Added max expression parameter test Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18763: Fixed maximum parameter size checks when deserializing ContentFilteredTopics Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18763: Added test for qos expression_parameter constraints Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18763: Added check for expression_parameter constraints Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18763: Added runtime modification to test Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18763: Added check to set_expression_parameters Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18763: Fixed signed/unsigned mismatch Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18763: Applied suggestions Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> --------- Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> (cherry picked from commit 3073c64) # Conflicts: # src/cpp/fastdds/domain/DomainParticipantImpl.cpp
…3565) (#3592) * Refs #18763: Added max expression parameter test Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18763: Fixed maximum parameter size checks when deserializing ContentFilteredTopics Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18763: Added test for qos expression_parameter constraints Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18763: Added check for expression_parameter constraints Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18763: Added runtime modification to test Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18763: Added check to set_expression_parameters Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18763: Fixed signed/unsigned mismatch Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18763: Applied suggestions Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> --------- Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> (cherry picked from commit 3073c64) Co-authored-by: jsantiago-eProsima <90755661+jsantiago-eProsima@users.noreply.github.com>
) (#3591) * Refs #18763: Added max expression parameter test Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18763: Fixed maximum parameter size checks when deserializing ContentFilteredTopics Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18763: Added test for qos expression_parameter constraints Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18763: Added check for expression_parameter constraints Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18763: Added runtime modification to test Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18763: Added check to set_expression_parameters Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18763: Fixed signed/unsigned mismatch Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18763: Applied suggestions Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> --------- Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> (cherry picked from commit 3073c64) Co-authored-by: jsantiago-eProsima <90755661+jsantiago-eProsima@users.noreply.github.com>
…3565) * Refs #18763: Added max expression parameter test Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18763: Fixed maximum parameter size checks when deserializing ContentFilteredTopics Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18763: Added test for qos expression_parameter constraints Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18763: Added check for expression_parameter constraints Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18763: Added runtime modification to test Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18763: Added check to set_expression_parameters Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18763: Fixed signed/unsigned mismatch Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18763: Applied suggestions Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> --------- Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> (cherry picked from commit 3073c64)
) (#3593) * Refs #18763: Added max expression parameter test Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18763: Fixed maximum parameter size checks when deserializing ContentFilteredTopics Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18763: Added test for qos expression_parameter constraints Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18763: Added check for expression_parameter constraints Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18763: Added runtime modification to test Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18763: Added check to set_expression_parameters Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18763: Fixed signed/unsigned mismatch Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> * Refs #18763: Applied suggestions Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> --------- Signed-off-by: Javier Santiago <javiersantiago@eprosima.com> (cherry picked from commit 3073c64) Co-authored-by: jsantiago-eProsima <90755661+jsantiago-eProsima@users.noreply.github.com>
Description
This PR adds an additional check to verify that the expression_parameters vector provided when creating a ContentFilteredTopic math with the limits established in the DomainParticipantQoS. It also fixes a wrong length comparison when deserializing that same vector.
@Mergifyio backport 2.10.x 2.9.x 2.6.x
Related documentation PR: eProsima/Fast-DDS-docs#510
Contributor Checklist
versions.md
file (if applicable).Reviewer Checklist