Hi! Trying to help, here is our opinion Since recommendations or reviews are persistent information and not context information, we believe that using Orion Context Broker may not be the best approach. In our opinion, probably the simplest option is to store the data directly in a DB and access it using a custom REST API like: http://<host>/addRecommendation/ [post] body [ { "restaurant" : "ElBulli", "Quality" : "5", "Price" : "3", "Text" : "Great place for ....." }, ... ] -- http://<host>/getRecommendation/ElBulli [get] Response { "restaurant": "ElBulli", "recommendations":[ { "Quality" : "5", "Price" : "3", "Text" : "Great place for ....." }, { "Quality" : "5", "Price" : "4", "Text" : "Great place for ....." }, ..... ] } If we want to force to use Orion, an approach could be to insert the last recommendation as context and use another GE to retrieve historical data: - We don't have experience using STH but we think that we could use it and ask for all recommendations of a particular restaurant in a specified time, or ask for the sum of elements and make an average of reviews. - We could use Cosmos and it may be interesting if we think that recommendations are Big Data. The problem could be that create an instance of Cosmos is not easy. By the way. ULPGC team prepared a small system to publish data stored in PosgreSQL DB using CKAN. It may be useful at any time. If we need it, just ask for it Kind regards, ULPGC Team 2015-07-06 10:09 GMT+01:00 Alvaro del Castillo <acs at bitergia.com>: > Hi all! > > In restaurants we need to store recommendations. In Orion we will store > the context information (name, address ...) but this changing (and > growing) information, recommendations, how should be managed in Orion? > > An approach could be to store the last recommendation in context > information (orion) and the history of recommendations, to be stored in > MySQL (for example) using cygnus. > > Thoughts? Should we move this kind of questions to stackoverflow? > > Cheers > -- > Alvaro del Castillo San Félix > acs at bitergia.com - Chief Technical Officer (CTO) > http://www.bitergia.com > "Software metrics for your peace of mind" > > > _______________________________________________ > Fiware-developer-experience mailing list > Fiware-developer-experience at lists.fiware.org > https://lists.fiware.org/listinfo/fiware-developer-experience > -- Pablo Fernández Moniz GIT Analyst Web <http://www.pablofm.com> Linkedin <http://www.linkedin.com/in/pablofernandezmoniz/> Twitter <http://www.twitter.com/monizpablo> -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.fiware.org/private/fiware-developer-experience/attachments/20150706/b62569f0/attachment.html>
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy