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

Context for forwarding requests to be stored in the registration in mongo #860

Open
kzangeli opened this issue May 27, 2021 · 0 comments
Open

Comments

@kzangeli
Copy link
Collaborator

No context is stored as part of a registration right now - it's missing functionality.
In the future, a special payload body field (yet to be named in ETSI ISG CIM) of a registration is to assign an @context to be used when forwarding triggered by the registration.
Right now (and, Orion-LD hasn't implemented that EITHER! - only for subs/notifs) the @context used during the registration creation is supposed to be stored inside the registration in the DB. But, if we do that, then you can't create the reg with one @context have another @context to be used when forwarded messages are triggered.

So, a new field, perhaps called "ldContext" is to be added to the Registration and this field is to be stoired in the DB and it is to be PATCHable.

@kzangeli kzangeli mentioned this issue Jun 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant