Details
-
Type: extRequest
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Fix Version/s: None
-
Component/s: FIWARE-TECH-HELP
-
Labels:None
-
HD-Enabler:STH-Comet
Description
Hello,
I’m currently using a setup with orion->cygnus-> mongo <-sth-comet.
I’d like to use the API of sth-comet to query the mongodb data stored by Cygnus. Currently, the data is landing fine in mongo, but I’m not able to query the data with sth-comet. When I send a query to sth-comet I get a statuscode 200 with body:
{
"contextResponses": [
{
"contextElement": {
"attributes": [
],
"id": "einaireas14",
"isPattern": false,
"type": "AirQualityObserved"
},
"statusCode":
}
]
}
In the sth-comet container I can see the following error:
DEBUG GET /STH/v1/contextEntities/type/AirQualityObserved/id/einaireas14/attributes/temperature?hLimit=3&hOffset=0&dateFrom=2019-02-18T00:00:00.000Z&dateTo=2019-02-18T23:59:59.999Z
{ corr: '2fcffad3-62d9-48b7-b991-c43abd9d0bb8', trans: '2fcffad3-62d9-48b7-b991-c43abd9d0bb8', op: 'OPER_STH_GET', from: 'n/a', srv: 'default', subsrv: '/', comp: 'STH' }DEBUG Getting access to the raw data collection for retrieval...
{ corr: '2fcffad3-62d9-48b7-b991-c43abd9d0bb8', trans: '2fcffad3-62d9-48b7-b991-c43abd9d0bb8', op: 'OPER_STH_GET', from: 'n/a', srv: 'default', subsrv: '/', comp: 'STH' }WARN Error when getting the raw data collection for retrieval (the collection 'null' may not exist)
{ corr: '2fcffad3-62d9-48b7-b991-c43abd9d0bb8', trans: '2fcffad3-62d9-48b7-b991-c43abd9d0bb8', op: 'OPER_STH_GET', from: 'n/a', srv: 'default', subsrv: '/', comp: 'STH' }I am not able to figure out why the collection name that sth comet is looking for is ‘null’. Im not violating any database/collection naming rules of mongodb as far as I can see. Could you tell me what is going on?
Regards,
Ir. Wout Ypma
Data Scientist
M: +31 6 36197510
linkedin.com/in/wout-ypma/<http://www.linkedin.com/in/wout-ypma/>
Burgemeester Rijnderslaan 30,
1185 MC Amstelveen
www.atos.net<https://webmail.it-solutions.atos.net/owa/redir.aspx?C=r1Ld3x2IXCqFMziNZJKhx7pBoXRKGiBVBAM2FIl3_lo0POJ_ZuXUCA..&URL=http%3a%2f%2fwww.atos.net%2f>
[cid:image001.jpg@01D429B6.C19F3450][cid:A8443A530474CD45AF88DE1F9C432419@eurprd02.prod.outlook.com]
This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, Atos’ liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted. On all offers and agreements under which Atos Nederland B.V. supplies goods and/or services of whatever nature, the Terms of Delivery from Atos Nederland B.V. exclusively apply. The Terms of Delivery shall be promptly submitted to you on your request.
__________________________________________________________________________________________
You can get more information about our cookies and privacy policies on the following links:
- http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/FIWARE_Privacy_Policy
- http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Cookies_Policy_FIWARE
Fiware-tech-help mailing list
Fiware-tech-help@lists.fiware.org
https://lists.fiware.org/listinfo/fiware-tech-help
[Created via e-mail received from: "Ypma, Wout (ext)" <wout.ypma.external@atos.net>]
Activity
- All
- Comments
- History
- Activity
- Transitions