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

KeyValues option is not working when retrieving federated entities #1551

Closed
ravaga opened this issue Feb 9, 2024 · 3 comments · Fixed by #1552 or #1579
Closed

KeyValues option is not working when retrieving federated entities #1551

ravaga opened this issue Feb 9, 2024 · 3 comments · Fixed by #1552 or #1579
Assignees
Labels
bug Something isn't working Fixed - needs validation

Comments

@ravaga
Copy link

ravaga commented Feb 9, 2024

I have 3 Orion-LD federated instances through Context Source Registrations. When I make an HTTP GET request (/ngsi-ld/v1/entities?options=keyValues&type=T) to obtain all the entities of the type T in key-values format, only local entities of the broker are returned in this format. The entities that belong to the other brokers are returned in the default normalized format.

@kzangeli kzangeli self-assigned this Feb 9, 2024
@kzangeli kzangeli added the bug Something isn't working label Feb 9, 2024
@kzangeli
Copy link
Collaborator

kzangeli commented Feb 9, 2024

ok, that's unfortunate :)
I'll look into this asap,

@ravaga
Copy link
Author

ravaga commented Feb 12, 2024

After performing some tests using format=simplified , it's working as expected. The same applies for the concise format related bug.

@ravaga ravaga closed this as completed Feb 12, 2024
@ravaga ravaga reopened this Feb 29, 2024
@ravaga
Copy link
Author

ravaga commented Feb 29, 2024

The same bug occurs when retrieving a single entity using its ID GET /ngsi-ld/v1/entities/urn:ngsi-ld:E1?format=simplified and also with options=keyValues

kzangeli added a commit that referenced this issue Mar 7, 2024
kzangeli added a commit that referenced this issue Mar 7, 2024
@kzangeli kzangeli reopened this Mar 8, 2024
kzangeli added a commit that referenced this issue Mar 9, 2024
kzangeli added a commit that referenced this issue Mar 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Fixed - needs validation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants