fiware

Fiware Orion context broker subscriptions condition does not work

折月煮酒 提交于 2019-12-01 10:52:06
I am using Orion Context Broker version 1.1.0 I had the only entity in my DB: { "id"=>"Room1", "type"=>"Room", "temperature"=>{"type"=>"none", "value"=>10, "metadata"=>{}} } I did not have any subscription . Then I created 3 subscriptions : [ { "subject"=>{"entities"=>[{"id"=>"Room1", "idPattern"=>"", "type"=>""}], "condition"=>{"attrs"=>["temperature"], "expression"=>{"q"=>"temperature>10"}}} }, { "subject"=>{"entities"=>[{"id"=>"Room1", "idPattern"=>"", "type"=>""}], "condition"=>{"attrs"=>["temperature"], "expression"=>{"q"=>"temperature<10"}}} }, { "subject"=>{"entities"=>[{"id"=>"Room1",

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

僤鯓⒐⒋嵵緔 提交于 2019-12-01 10:39:21
问题 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?

How to scale Orion GE?

只谈情不闲聊 提交于 2019-12-01 05:29:50
I have deployed an Orion instance in FILAB and I have configured the Cygnus inyector in order to store information in Cosmos. But...let us imagine a scenario in which the number of entities increases drastically. In this hypothetical scenario one instance of Orion GE wouldn't be enough so it would be necessary to deploy more instances. What would be the scale procedure? Taking into account the maximum quotas are: VM Instances: 5 VCPUs: 10 Hard Disk: 100 GB Memory: 10240 MB Public IP: 1 I understand that quotas may be subject to changes but what would be the free account limit? What would be

AuthZForce Security Level 2: Basic Authorization error “AZF domain not created for application”

独自空忆成欢 提交于 2019-11-30 20:19:27
问题 We are trying to deploy our security layer (KeyRock, Wilma, AuthZForce) to protect our Orion instance. We are able to have security level 1 (authentication) with Keyrock and Wilma working, but when we try to insert AuthZForce to check the verb+resource authorization we get the error message: AZF domain not created for application In the PEP Proxy User Guide, under "Level 2: Basic Authorization" section, it is stated that we have to configure the roles and permissions for the user in the

yum error “Cannot retrieve metalink for repository: epel. Please verify its path and try again” updating ContextBroker

≯℡__Kan透↙ 提交于 2019-11-29 19:07:33
I'm trying to update Orion ContextBroker using the command yum install contextBroker. Unfortunatelly I get the following error: Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again What could be going wrong ? fgalan I solved this issue editing both /etc/yum.repos.d/epel.repo and /etc/yum.repos.d/epel-testing.repo files, commenting all entries starting with mirrorlist=... and uncommenting all the entries starting with baseurl=... . XoR You just needed to

Accesing to a VM on Fi-lab

我的梦境 提交于 2019-11-29 12:07:28
I’m training to get familiar with the Fi-Ware Cloud service. I can create blueprints templates and instances but I cannot access in SSH or Connect to VM display. I have the server up and running, I can see the page “It works” of Apache. The problem I have are: With SSH I don’t know what credential I have to use, I try with my Fi-Ware credential but the server always shows me “access denied” Connect to VM display it never appears the login interface. There is some tutorial where I can see an example of how to do it or a detailed documentation how to configure and access to in a Blueprints

Boost-Libboost is needed in Centos7 (ContexBroker)

旧时模样 提交于 2019-11-29 08:33:58
I am trying to install ContextBroker in Centos7: sudo rpm -i contextBroker-0.14.1-1.X86_64.rpm But I am getting the next error: error: Failed dependencies: libboost_filesystem-mt.so.5()(64bit) is needed by contextBroker-0.14.1-1.x86_64 libboost_system-mt.so.5()(64bit) is needed by contextBroker-0.14.1-1.x86_64 libboost_thread.so.5()(64bit) is needed by contextBroker-0.14.1-1.x86_64 Up to this point I thought that the solution was clear, lets install: sudo yum install boost boost-devel boost-doc But it was not functioning and Centos7 was giving me the same error. Then I though that maybe it was

Fiware - How to integrate Keyrock IdM, Wilma PEP Proxy and Orion Context Broker?

我只是一个虾纸丫 提交于 2019-11-28 14:20:36
I read all the documentation of Keyrock and Wilma and I watched all the videos in the FIWARE Academy, but I still do not get success in this integration. I am searching for this since a few days ago, but without success. I think the FIWARE documentation could have tutorials, hands on... I have a VM with Orion Context Broker and a container with Keyrock IdM and Wilma PEP Proxy. I am trying to generate an access token to grant access for an application, but I still did not get it. Besides, I would like to know how can I securely exchange messages between the Orion Context Broker and some IoT

Fiware - how to connect PEP proxy to Orion and configure both with HTTPS?

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-28 09:23:38
问题 I am working with Orion and I try to protect the future apps using the PEP proxy and Keyrock, but I cannot find a way combine these 3 GE. All my base files are in this repository, although I have running Orion, Keyrock and Cygnus, I cannbot send requests using the PEP proxy. This is my docker-compose.yml file: version: "2" networks: fiware: driver: bridge services: # Base de datos Orion mongodb: image: mongo:3.4.7 hostname: mongodb container_name: mongodb expose: - "27017" ports: - "27018

Orion Context Broker Context subscriptions with Android client

纵饮孤独 提交于 2019-11-28 08:27:14
问题 Is it possible to make context subscriptions to Orion Context Broker resources from an Android application? For NGSI10 basic operations (updateContext and queryContext) I supose that any common android rest client can be used, but how can we subscribe through subscribeContext? Thanks in advance. 回答1: Disclosure: I'm the co-founder of Bastly Bastly is an open source solution , so you can deploy on your own instances our software and use it for free (AGPL2) The hacker plan is enough to test it