fiware-sth-comet
fiware-sth-comet copied to clipboard
Update raw API: Retrieve the attributes meta data from the mongoDB data base
Hello,
I added this feature to cygnus sink: https://github.com/telefonicaid/fiware-cygnus/pull/1416
So I need to update the STH comet raw API to be able to retrieve the stored meta-data attributes. I created this issue to follow and discuss this update. I will next post my proposition about the implementation.
Best, Sabrine
I propose to implement it this way: https://github.com/sabrine2020/fiware-sth-comet/commit/dbaac996e3b8c6545c0aa5c499f4069ddef341b6
I am open to your comments, is it ok?
Is the project still maintained? thanks
Thanks for your proposal @sabrine2020 I think this new behaviour, include "attrMetadata: 1" in mongo queries should be handle by a new configuration flag. What do you think?
Hello, Thanks for your replay. well It has been a while since I opened this issue so I don't exactly remember the different possibilities to implement it. So any implementation that you think is the right one to do is Okey for me :)
Thanks, Sabrine