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

Add examples for ContentFilterTopic [14220] #2596

Merged
merged 17 commits into from
Apr 12, 2022

Conversation

richiware
Copy link
Member

@richiware richiware commented Mar 23, 2022

Description

This PR adds two examples related to ContentFilterTopic:

  • DefaultSQLFilter: example using the built-in SQL-like filter.
  • CustomFilter: example using a custom filter.

Contributor Checklist

  • Commit messages follow the project guidelines.
  • The code follows the style guidelines of this project.
  • na Tests that thoroughly check the new feature have been added/Regression tests checking the bug and its fix have been added.
  • na Any new/modified methods have been properly documented using Doxygen.
  • Fast DDS test suite has been run locally.
  • Changes are ABI compatible.
  • Changes are API compatible.
  • Documentation builds and tests pass locally.
  • na New feature has been added to the versions.md file (if applicable).
  • na New feature has been documented/Current behavior is correctly described in the documentation.

Reviewer Checklist

  • Check contributor checklist is correct.
  • Check CI results: changes do not issue any warning.
  • Check CI results: failing tests are unrelated with the changes.

Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
@richiware richiware changed the title Add examples for ContentFilterTopic Add examples for ContentFilterTopic [14220] Mar 23, 2022
@JLBuenoLopez
Copy link
Contributor

CI failures are unrelated to the PR. Linters are failing in an autogenerated file so it is a false positive.

Copy link
Contributor

@jparisu jparisu left a comment

Choose a reason for hiding this comment

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

Please, add README.md file with a brief explanation

@JLBuenoLopez
Copy link
Contributor

Please, add README.md file with a brief explanation

A description of the custom filter should also be included in the README

…he same one with an user option indicating which filter to use (default SQL or custom one)

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
…ilter. Default filter expression has been modified to filter different messages than the custom filter

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
jparisu
jparisu previously approved these changes Apr 6, 2022
Copy link
Contributor

@jparisu jparisu left a comment

Choose a reason for hiding this comment

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

README Revised 👍

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
@JLBuenoLopez
Copy link
Contributor

CI failures are unrelated (changes does not affect library's code)

Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
@EduPonz EduPonz added no-test Skip CI tests if PR marked with this label no-aarch Skip build & test for aarch64 labels Apr 11, 2022
Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
Copy link

@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.

LGTM with green CI

@EduPonz EduPonz merged commit 56f9f5a into master Apr 12, 2022
@EduPonz EduPonz deleted the feature/contentfilter-example branch April 12, 2022 05:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-aarch Skip build & test for aarch64 no-test Skip CI tests if PR marked with this label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants