-
Notifications
You must be signed in to change notification settings - Fork 264
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
Subscription name #4392
Comments
Instead of introducing a new field in the subscription document, why don't use the existing Next, a
|
It would be great implement also the regex search (see https://github.com/telefonicaid/fiware-orion/blob/master/doc/manuals/orion-api.md#simple-query-language), eg:
|
Is your feature request related to a problem / use case? Please describe.
After subscribing, if I need to get a specific subscription, today I should use the URL to ensure that the wanted subscription is that I need.
To use
GET subscriptions/{id}
we should know the id, I see only one way that is to getAll subscriptions and find the good id by using the notify url as I said above.An alternative is to use the returned Id in the location header but once I have to choice, save it inmemory or using a KV db or cache to save the {sub:id} kv.
For me is too much, for retrieving subcriptions easily.
Describe the solution you'd like
It will be good to have a subscription Name that can be correspond to the subscribed service.
Describe alternatives you've considered
I check if the url notify urls match.
Describe why you need this feature
I want to update the subscription.
Do you have the intention to implement the solution
The text was updated successfully, but these errors were encountered: