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

[TASK] Update NGSI-LD Bridge to merge content rather than update whole properties #605

Open
wagmarcel opened this issue Oct 11, 2024 · 0 comments
Assignees

Comments

@wagmarcel
Copy link
Member

E.g. do not overwrite existing metadata such as UnitCode or other properties/relationships inside an attribute

Today: Update of properties can be done directly with information coming from ngsild.attributes kafka-channel.
However, merge API might require to provide the Type of object to update. That means you need to find out the type of the object from the entity definition. Today, every entity type is sent to a different Kafka topic e.g. Cutter is sent to ngsild.entities.Cutter topic which creates a problem when you want to access toe Entity table with a generic SQL command.
attributes=>SQL-CoreServices=>ngsild-update-channel=>ngsild-update-bridge
SQL expression cannot be generic over tables (e.g. you have to know which tables to access in advance)

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

2 participants