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

feat(20611): Add uniqueness validation to topic filter #400

Merged
merged 7 commits into from
May 3, 2024

Conversation

vanch3d
Copy link
Contributor

@vanch3d vanch3d commented Apr 29, 2024

See https://hivemq.kanbanize.com/ctrl_board/57/cards/20611/details/

The PR adds a custom validator to the Topic Filter configuration panel, ensuring that the filter added to a data policy is not already in use in another policy. Note that the check is purely syntactic on the filter itself, not on the topics it migth match.

Before

screenshot-localhost_3000-2024 04 29-12_11_55

After

screenshot-localhost_3000-2024 04 29-12_11_03

@vanch3d vanch3d requested review from h2xd and sfrehse April 29, 2024 11:11
@cla-bot cla-bot bot added the cla-signed label Apr 29, 2024
@vanch3d vanch3d self-assigned this Apr 29, 2024
@vanch3d vanch3d force-pushed the fix/20611/topic-fitler-valisation branch from 6a419b9 to 9341559 Compare April 29, 2024 13:59
Copy link
Contributor

@oli-hivemq oli-hivemq left a comment

Choose a reason for hiding this comment

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

I left a very minor comment. Apart from that, LGTM 🦣

@vanch3d vanch3d force-pushed the fix/20611/topic-fitler-valisation branch from 9341559 to fe99686 Compare May 3, 2024 10:28
@vanch3d vanch3d merged commit 62fb35e into master May 3, 2024
9 of 10 checks passed
@vanch3d vanch3d deleted the fix/20611/topic-fitler-valisation branch May 3, 2024 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants