fiware

Cygnus not presisting data on MySql database

∥☆過路亽.° 提交于 2019-12-01 22:47:53
So i have read all the documentation and followed the tutorial on MySQL persistence but i can't still presist any kind of data on MySQL database. Even though i'm puting the presistence mode = row it doesn't create any database nor table. What am i doing wrong? My Subscription: python2.7 SetSubscription.py bustest4 http://localhost:5050/notify Output: * Asking to http://localhost:1026/v1/subscribeContext * Headers: {'Fiware-Service': 'fiwaretestapi', 'content-type': 'application/json ', 'accept': 'application/json', 'X-Auth-Token': 'NULL'} * Sending PAYLOAD: { "reference": "http://localhost

Cygnus can not persist data on Cosmos global instance

删除回忆录丶 提交于 2019-12-01 21:47:02
When trying to persist an entity from Cygnus to Cosmos global instance it fails. Looking at the log file I see something like that: 2015 15:31:50,006 DEBUG [SinkRunner-PollingRunner-DefaultSinkProcessor] (org.apache.http.impl.conn.DefaultClientConnection.sendRequestHeader:273) - >> GET /webhdfs/v1/user/ms/def_serv/def_servpath/6_registervalues/6_registervalues.txt?op=getfilestatus&user.name=ms HTTP/1.1 12 Nov 2015 15:31:50,006 DEBUG [SinkRunner-PollingRunner-DefaultSinkProcessor] (org.apache.http.impl.conn.DefaultClientConnection.sendRequestHeader:276) - >> X-Auth-Token: xxxxxxxxxxxxxxxxxxx 12

Subscription to CB working but not visible

心已入冬 提交于 2019-12-01 20:52:43
I have an entity represented on the Context Broker with severall attributes (such as temperature, humidity etc...). I have a MySql database that persists the values from that entity by row . So in order to persist that info i have to make a subscription from cygnus. The problem here is that the information is being presisted but when i run the command (curl http://localhost:1026/v2/subscription) i get the output: [] as if any subscription was being made. If i do the command echo 'db.csubs.count()' | mongo orion --quiet it even shows the output 0. Running OS: Centos 6 My Orion Context Broker

Filter by attribute value in Orion Context Broker 0.23.0

我的梦境 提交于 2019-12-01 18:13:37
In current version of Orion Context Broker, 0.23.0, one of the new added features is that it supports filtering entities according to attribute values (NGSI v2). I am currently executing GET operations as indicated in http://telefonicaid.github.io/fiware-orion/api/v2/ and what I obtain is the whole set of entities, no filtering action. Could you please help me in this regard with a clear example on how to use the new REST API, NGSI v2? Thank you very much in advance The NGSIv2 filtering capabilities are based in the following operation: GET /v2/entities?q=<query_string> where query_string

Filter by attribute value in Orion Context Broker 0.23.0

余生长醉 提交于 2019-12-01 18:13:06
问题 In current version of Orion Context Broker, 0.23.0, one of the new added features is that it supports filtering entities according to attribute values (NGSI v2). I am currently executing GET operations as indicated in http://telefonicaid.github.io/fiware-orion/api/v2/ and what I obtain is the whole set of entities, no filtering action. Could you please help me in this regard with a clear example on how to use the new REST API, NGSI v2? Thank you very much in advance 回答1: The NGSIv2 filtering

How to make rush work with my orionInstance

依然范特西╮ 提交于 2019-12-01 17:49:59
问题 Following my previous question How to show an entity from OrionContextBroker in the MapViewer widget I configured my context broker instance using Rush and I am using https://ngsiproxy.lab.fi-ware.org as NGSI proxy. I start the orionContextBroker instance like this: contextBroker -rush localhost:5001 and everything seems to be working correctly (I can insert/query data etc), but when the MapViewerWidget gets loaded I get this message from the OrionInstance log: INFO@17:32:53 clientSocketHttp

CKAN with data access only after login

 ̄綄美尐妖づ 提交于 2019-12-01 14:46:21
Can CKAN be used for a website where users only get access to the datasets after login? I have in mind a site like www.statista.com run with CKAN that gives users access to only a few datasets. Full access is granted after signing in (e.g., to users who are paying for a subscription). Is that possible with CKAN? If that is possible, does CKAN have its own authentication system or can it be managed with FIWARE Key Rock GE and Access Control GE? CKAN has its own authentication system, but we have developed a extension that allows developers to use some IdM (including the FIWARE one) to

How to add a custom header in outgoing notifications with Orion?

懵懂的女人 提交于 2019-12-01 13:34:23
I read the "Custom notifications" section in the NGSIv2 specification and I still have doubts in how to make this work. Do I have to put in my subscribe POST the following code as a payload? "httpCustom": { "url": "http://foo.com/entity/${id}", "headers": { "Content-Type": "text/plain" }, "method": "PUT", "qs": { "type": "${type}" }, "payload": "The temperature is ${temperature} degrees" } How would be a complete payload with a httpCustom for a subscribe with Authentication/Authorization? Lastly, is really necessary to use Rush , as stated at Rush Relayer ? In this case, we have to use a

CKAN with data access only after login

*爱你&永不变心* 提交于 2019-12-01 12:20:35
问题 Can CKAN be used for a website where users only get access to the datasets after login? I have in mind a site like www.statista.com run with CKAN that gives users access to only a few datasets. Full access is granted after signing in (e.g., to users who are paying for a subscription). Is that possible with CKAN? If that is possible, does CKAN have its own authentication system or can it be managed with FIWARE Key Rock GE and Access Control GE? 回答1: CKAN has its own authentication system, but

Cygnus 0.7.1 does not create tables (MySQL and HDFS)

孤街浪徒 提交于 2019-12-01 11:15:24
问题 I've installed (from source) cygnus 0.7.1, and after configuring it (MySQL and HDFS sinks) I can start it without problems. When I subscribe cygnus to a orion context, it receives the information ok, but there is a problem with MySQL and HDFS. This is the log: 15/03/17 13:58:52 INFO handlers.OrionRestHandler: Starting transaction (1426597123-891-0000000000) 15/03/17 13:58:52 INFO handlers.OrionRestHandler: Received data ({ "subscriptionId" : "5508250c1860a36e55240c84", "originator" :