-
Notifications
You must be signed in to change notification settings - Fork 4
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
support ngsi-ld api #88
Comments
when implementing support for NGSI-LD , include tests also with scorpio (see #187) by @SURAJKALLOLI |
Hi, Is there any update on the ngsi-ld rego package? For the below code what do I need to change to support /ngsi-ld/v1/entities
Also there is no /v2/types/ enpoint in ngsi-ld, so how can I change tis to support ngsi-ld?
Once I have a working version I can also share it. Appreciate the help. Thanks. |
Sorry for the late reply @tarik-kafein Currently no ETA on when we'll implement NGSI-LD support, as other tasks take precedence. Though regarding how it works in relation to the code you referenced: the rego rules are effectively just checking if the path matches in relation to the policies Anubis has (splitting the URL by the "/" and checking each element, checking if there is a policy that enables reading on a GET request, ...). So for ngsi-ld it is the same principle as the example with v2 we already have, but accounting for the different URL formats. Rego can be a bit tricky to work with in this context, but you were on the right track with it. We'll keep you informed |
Is your feature request related to a problem? Please describe.
Today we have a rule package only for ngsi-v2. We should have one also for NGSI-LD
Describe the solution you'd like
Create a new rego package for NGSI-LD apis.
Describe alternatives you've considered
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: