[Backlogmanager] [FIWARE-JIRA] (HELP-13401) [fiware-stackoverflow] Fiware Cygnus: Can we store Orion data in MongoDB under other types than String?

Fernando Lopez (JIRA) jira-help-desk at jira.fiware.org
Tue Jan 16 14:08:00 CET 2018


     [ https://jira.fiware.org/browse/HELP-13401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fernando Lopez deleted HELP-13401:
----------------------------------


> [fiware-stackoverflow] Fiware Cygnus: Can we store Orion data in MongoDB under other types than String?
> -------------------------------------------------------------------------------------------------------
>
>                 Key: HELP-13401
>                 URL: https://jira.fiware.org/browse/HELP-13401
>             Project: Help-Desk
>          Issue Type: Monitor
>            Reporter: Backlog Manager
>              Labels: fiware, fiware-cygnus, mongodb
>
> Created question in FIWARE Q/A platform on 07-09-2015 at 17:09
> {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/32442212/fiware-cygnus-can-we-store-orion-data-in-mongodb-under-other-types-than-string
> +Question:+
> Fiware Cygnus: Can we store Orion data in MongoDB under other types than String?
> +Description:+
> I am subscribing to Orion Context Broker data using Cygnus. Cygnus stores the data on MongoDB like the following. Is there a possibility to store the attrValue as float not as String to be able to use Mongo's aggregation features?
> > db['cygnus_/kurapath_enocean_power_enocean'].find().pretty()
> {
>     "_id" : ObjectId("55e81e9631d7791085668331"),
>     "recvTime" : ISODate("2015-09-03T10:19:02Z"),
>     "attrName" : "power",
>     "attrType" : "string",
>     "attrValue" : "2085.0"
> }



--
This message was sent by Atlassian JIRA
(v6.4.1#64016)


More information about the Backlogmanager mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy