fiware

How a widget can figure out the user logged in WireCloud?

被刻印的时光 ゝ 提交于 2019-12-07 09:41:59
问题 As widget developer, I would like to show different information in my widget depending of the user that is logged in WireCloud. How could the widget figure out who is the user that is logged in WireCloud when it is loaded? 回答1: WireCloud provides support for accessing context information currently available through the MashupPlatform API. Currently WireCloud provides both the username and the full name of the user: var username = MashupPlatform.context.get('username'); var realname =

Error Cepheus broker not forwards updates to Cepheus CEP

北战南征 提交于 2019-12-06 14:27:52
问题 I use Cepheus GE for my use case and I enabled it in the multi tenant mode and uploaded my config.json file to it, But when I start to send updates to the Cepheus broker in order to forward them to the CEP, the Cepheus broker just receives the updates but doesn't forward them to the Cepheus cap as it couldn't recognize the service and service-path that are set in the config.json . And when I tried to send my updates directly to the Cepheus-CEP, it accepted them and processed them successfully

ContextBroker subscriptions Error

别来无恙 提交于 2019-12-06 12:00:48
问题 I've updated cygnus from version 0.13 to 1.7.0 by installing NGSI following this tutorial: https://github.com/telefonicaid/fiware-cygnus/tree/master/cygnus-ngsi Error the subscription [ { "id": "59d38a92dbaa1e477aef9c00", "description": "A subscription to get info about pruebas", "status": "failed", "subject": { "entities": [ { "id": "pruebas", "type": "pruebas" } ], "condition": { "attrs": [ "pressure" ] } }, "notification": { "timesSent": 2, "lastNotification": "2017-10-03T13:03:43.00Z",

How to achieve security level 3 in FIWARE?

可紊 提交于 2019-12-06 11:14:09
I am deploying FIWARE security GEs (i.e., Wilma, AuthzForce, Keyrock) in my computer. Security level 2 (Basic Authorization) is working well, but now I need security level 3 (Advanced Authorization) using XACML. Long story short, I want a tutorial of implementation security level 3. However, as far as I know, any tutorial or document about security level 3 does not exist. For now, I create my policy with PAP's API, and change 'custom_policy' option in config.js from 'undefined' to 'policy.js'. And then I create 'policy.js' file into 'PEP/policies', but don't change anything compared with its

What would be the behavior of subscriptions and notifications in an Orion Load-Balancing scenario?

我只是一个虾纸丫 提交于 2019-12-06 08:20:11
Based on this answer about how to scale Orion Context Broker with load balancing https://stackoverflow.com/a/33068119/3706998 what should be the behavior of subscriptions and also notifications? Witch server should it come from? What is the workflow? Could it cause some disturbe or cloned subscriptions ? Let's consider different cases, depending on subscription cache usage. Let's consider two Orion nodes (A and B) without loss of generality, both sharing the same MongoDB instance. Using subscription cache (i.e. -noCache is not set) The subscription creation request is dispatched to some of the

Cancel Subscription on Cygnus

徘徊边缘 提交于 2019-12-06 06:21:01
I have a subscription made to an entity's attribute to a MySql sink. The problem is that while I was testing my rest service to do a subscription if the data was not yet persisted, i made a ton of subscriptions. Now every time I do an update on the entity's attribute what happens is that the value is persisted a lot of times. Is there anyway of deleting a subscription without the subscriptionID? Yes, it is. First, you can list the existing subscriptions with the GET /v2/subscriptions operation (have a look to the draft NGSIv2 specification ). Once you have the IDs the unsubscribeContext

Obtain Auth-Token from Keyrock Fiware API

≡放荡痞女 提交于 2019-12-06 04:39:35
I am running Keyrock Fiware locally on my laptop in docker. I know this is working because I can visit http://localhost:8000 and http://localhost:8000/sign_up through my browser and they respond correctly. I am having trouble when it comes to creating API calls. I am trying to use Postman, but I am having trouble with obtaining an auth-token, which is required to make some api calls. Following this guide I am trying to create a POST request to http:/localhost:8000/oauth2/tokens This by itself doesn't seem to work and I need to add other information like grant_type=password&username=YOUR

Automatic creation of the hive tables on cosmos

帅比萌擦擦* 提交于 2019-12-06 02:36:26
I have an Orion context broker and i use cygnus(0.6) to send data to my cosmos account. Cygnus creates correctly the txt file with the data on my cosmos, but it does not create the tables for hive. I would query my data through an hive client. Is there a configuration paramater to set in cygnus.conf to do that? How can i solve? Ignacio Martin I found myself with the same issue and found the problem. Check this: Cygnus release/0.6.0 does not create Hive extended tables 来源: https://stackoverflow.com/questions/27918545/automatic-creation-of-the-hive-tables-on-cosmos

How to configure the Fiware PEP WILMA proxy to use a Keyrock and Orion instance on my own servers

我与影子孤独终老i 提交于 2019-12-06 02:09:11
I've spent most of the day trying to configure the Fiware PEP proxy Wilma to secure an Orion Context Broker i have running on a development server. The documentation here: http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/PEP_Proxy_- Wilma -_Installation_and_Administration_Guide is not clear. Here is my setup: A Fiware Keyrock instance running on server1, port 3000 A PEP Proxy running on server 1 An Orion Context Broker running on server2, port 1026 The manual states to edit the config.js script. Here is what i changed (Stackoverflow prevents me from entering url's so replace

How to do rtmp streaming in kurento media server?

回眸只為那壹抹淺笑 提交于 2019-12-06 00:42:56
I was just wondering if there is any feature like RTMP in Kurento Media Server . I need it to stream my vod content . Any ideas ? anyhow RTP can be used for it ? Thanks Pawan There isn't a rtmp endpoint in Kurento, at least yet. But we have streamed content to a Wowza mediaserver using an RTP Endpoint with the last kurento development version. Maybe this can also work for you. 来源: https://stackoverflow.com/questions/27203318/how-to-do-rtmp-streaming-in-kurento-media-server