fiware-orion

STH getting historical raw context

孤街醉人 提交于 2019-12-14 02:56:34
问题 I installed Orion and Fiware STH in order to use the minimalistic option. The problem is that when i subscribe to an orion context then consult, the array is null. "name": "temperature", "values": [] In the STH log it says: ERROR when collecting the raw data collection for retrieval (the collection may not exist). I noticed that when i try to unsubscribe it returns a 200 OK message with the following body: { "subscriptionId": "xxx", "statusCode": { "code": "404", "reasonPhrase": "No context

How to configure Cygnus to save in mysql

五迷三道 提交于 2019-12-14 02:49:34
问题 I'm trying to configure Cygnus in order to persist Orion context data in a MySQL database. I have installed phpmyadmin, and I'm trying to use this database to save the data. The whole workflow is the following one: Orion recives some data, then it is sent to Cygnus, and finally Cygnus sends it to the SQL db. This is my configuration: # OrionMySQLSink configuration # channel name from where to read notification events cygnusagent.sinks.mysql-sink.channel = mysql-channel # sink class, must not

FIWARE - Orion Context Broker offset parameter behaviour

ぐ巨炮叔叔 提交于 2019-12-14 02:24:17
问题 I am facing the following problem regarding FIWARE Orion Context Broker, I hope someone has an idea about it. I store records in FIWARE Orion CB, version 1.2.0, running in a Docker instance and in one type I receive the following response after posting a GET call to http://mywebsite.eu:1016/v2/types/MyTYPE { "attrs": { "cid": { "types": [ "String" ] }, "datetime": { "types": [ "String" ] }, "humidity": { "types": [ "Float" ] }, "luminosity": { "types": [ "Integer" ] }, "temperature": { "types

Fiware Orion - pepProxy

牧云@^-^@ 提交于 2019-12-13 16:41:48
问题 i'm part of a team that is developing an application that uses the Fiware GE's has part of the Smart-AgriFood accelerator. We are using the Orion Context Broker for gathering the data provided by the sensor network, and we intend to use the Pep-Proxy to authenticate the sensor node for access the Orion instance. We have tried the following pepProxy's: https://github.com/telefonicaid/fiware-orion-pep https://github.com/ging/fi-ware-pep-proxy We only have success implementing the second ( fi

IDAS not connecting to the ContextBroker

落爺英雄遲暮 提交于 2019-12-13 02:25:03
问题 i'm having a problem sending the mesurements to the contextBroker. I have the ContextBroker running on a CentOS virtual machine. On another CentOS virtual machine i'm setting the figway config.ini file with the host=/ ContextBroker Virtual Machine Host IP / and Port=1026. When i send mesurements to my ContextBroker: python2.7 SendObservation.py Bus1 't|1' it simply doesn't stick the values to the entity. It gives me a code:200 but the response is just blank. What am i doing wrong? UPDATE:

Cygnus error: class not found DestinationExtractor$Builder

╄→尐↘猪︶ㄣ 提交于 2019-12-12 20:12:29
问题 I'm trying to run Cygnus but there might be an error in cygnus.conf file or the way the connector is executed because nothing appears neither in my HDFS space in Cosmos nor in my MySQL. I've made a suscription and this works well. Here is my .conf file 1 and what I get when executing cygnus 2. 回答1: This is a known issue with Cygnus 0.5 (the one you are ussing according to the logs you are citing): the path to the matching table and the matching table file itself (cygnusagent.sources.http

Fiware error: Access-Control-Allow-Origin

 ̄綄美尐妖づ 提交于 2019-12-12 19:24:44
问题 I'm making a call to the contextBroker and it gives me this error. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:4200' is therefore not allowed access. The response had HTTP status code 405. From postman or from freeboard I do not get any of this. getContextBroker(){ console.log("Consumimos el servicio getContextBroker"); let headers = new Headers ({'Accept': 'application

Why this orion subscription don't works as I want?

邮差的信 提交于 2019-12-12 17:14:53
问题 I have the following subscription in orion 1.2.1: curl --include \ --header 'Content-Type: application/json' \ --request POST \ --data-binary '{ "description": "subscription", "subject": { "entities": [ { "idPattern": "event-.*", "type": "Event" } ], "condition": { "attrs": [ "IdEvent", "mFlag" ], "expression": { "q": "mFlag>0" } } }, "notification": { "attrsFormat":"legacy", "http": { "url" : "http://localhost:5050/notify" }, "attrs": [ "IdEvent" ] } }' \ 'http://localhost:1026/v2

Missing attributes on Orion CB Entity when registering device through IDAS

送分小仙女□ 提交于 2019-12-12 13:33:42
问题 I've had some troubles getting the expected results doing the exercises from http://www.slideshare.net/FI-WARE/io-t-basicexercisesdevelopersweek No problem when registering a new device, its entity it's also successfully created on Orion CB but when querying for the created Entity non of the device attributes are shown. Created Entity just have TimeInstant attribute. I get a 200 response code when sending observations but it apparently has noeffect since Entity attributes on CB are missing.

How to store data in MySql using cygnus?

余生长醉 提交于 2019-12-12 09:47:29
问题 I have read all the documentation about how cygnus works, I specifically tested this one successfully. I also finished reading this tutorial, but I am sure I haven't configured something correctly. in cygnus_instance_1.conf I created: CYGNUS_USER=root CONFIG_FOLDER=/usr/cygnus/conf CONFIG_FILE=/usr/cygnus/conf/agent_1.conf AGENT_NAME=cygnusagent LOGFILE_NAME=cygnus.log ADMIN_PORT=8081 and in agent_1.conf I created: #============================================= # To be put in APACHE_FLUME