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

URI Expansion on attributes for String Filters #15

Open
kzangeli opened this issue Nov 20, 2018 · 0 comments
Open

URI Expansion on attributes for String Filters #15

kzangeli opened this issue Nov 20, 2018 · 0 comments
Assignees

Comments

@kzangeli
Copy link
Collaborator

String Filters in ngsild need to URI expand the attribute.
E.g. for the string filter ?q=A1.i==12 A1 will be URI expanded to http:/xxx.yyy.zzz/A1 (or any other URI depending on the @context).

But, what happens if an attribute is created with APIv2?
Then its name is actually "A1" in the database and after URI expansion, A1 will not be found.
To fix this, we'd need to know that en entity/attribute has been created with APIv2 and not ngsild and no URI expansion should be done for this entity/attribute.

@kzangeli kzangeli self-assigned this Nov 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant