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

check if registration already exists #227

Open
5 tasks
tstorek opened this issue Dec 28, 2023 · 0 comments
Open
5 tasks

check if registration already exists #227

tstorek opened this issue Dec 28, 2023 · 0 comments
Labels
feature request Request a potential feature

Comments

@tstorek
Copy link
Collaborator

tstorek commented Dec 28, 2023

Is your feature request related to a problem? Please describe.
Currently, nothing progibts to post dublicate registrations to the context broker. This basically the same a with subscription #137
Hence, we require a strategy that checks for matching subscriptions or registrations before posting them and give at least a warning if it will dublicate an existing one.

Describe the solution you'd like

  • 1. feat: compare subscriptions for different dict formats #138 is an excellent starting point. Let's go from there
  • 2. implement a matching strategy for EntityPattern.
  • 3. check other fields of subscriptions and registration if they match
  • 4. Implement strategy if existing Subscription/Registration already covers the new one, e.g. raise an error.
  • 5. Implement strategy if existing Subscription/Registration partially dublicates the new one, e.g. give a merge option.
@tstorek tstorek added the feature request Request a potential feature label Dec 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Request a potential feature
Projects
None yet
Development

No branches or pull requests

1 participant