fiware

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

ⅰ亾dé卋堺 提交于 2019-12-29 01:53:30
问题 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

GlanceSync information needed to synchronise images

六眼飞鱼酱① 提交于 2019-12-25 16:52:01
问题 I am getting introduced into GlanceSync and I have a question about: What information do I need to synchronise the images to a region? Do I need to know the IP and port of the glance server?
 回答1: You only need the credential to upload the image, i.e. user, password, tenant name, region name and keystone URL. The address and port of the glance server is obtained from keystone with the credential: each server is registered as an endpoint of the "image" service. This is the way OpenStack works.

FIWARE AuthZForce 5.4.1 is not installing

橙三吉。 提交于 2019-12-25 13:39:12
问题 I am trying to install FIWARE AuthZForce 5.4.1, following the official documentation, but with no success because the Tomcat7 is not starting during the installation process as can be seen below. (Reading database ... 40187 files and directories currently installed.) Preparing to unpack authzforce-ce-server-dist-5.4.1.deb ... Unpacking authzforce-ce-server (5.4.1) over (5.4.1) ... Setting up authzforce-ce-server (5.4.1) ... * Starting Tomcat servlet engine tomcat7 [fail] dpkg: error

Fiware IDM+AuthZForce+PEP-Proxy-Wilma

别说谁变了你拦得住时间么 提交于 2019-12-25 08:47:49
问题 I'm trying to put to work the IDM+AuthZForce+PEP-Proxy-Wilma to secure the Orion context broker, but I'm having a bit of trouble, nothing works, all is up and running, but there's no autentication and no security. I changed all the configuration files and nothing changed. I tried to populate the database (mongoDB or PostgreSQL) and nothing changed, too. All services are running in a docker-compose instance. Anyonce already has deployed this successfully? 回答1: I think you can get some help

Fiware IoT Agent UL: Send command_value via mqtt to device

自作多情 提交于 2019-12-24 15:53:35
问题 I am using the IoT-agent for ultra light and I'd like to send a command (including a specific value) back to my IoT-Device. If I follow the example for a smart door here I can send something like: curl -iX PATCH \ 'http://localhost:1026/v2/entities/urn:ngsi-ld:pysense:002/attrs' \ -H 'Content-Type: application/json' \ -H 'fiware-service: openiot' \ -H 'fiware-servicepath: /' \ -d '{ "color": { "type" : "command", "value" : "100" } }' Fiware publishes the payload "urn:ngsi-ld:pysense:002@color

Can anyone explain the usage of Context Broker via PeP proxy?

久未见 提交于 2019-12-24 11:32:50
问题 I have installed orion Context Broker and pep proxy on my machine. I am targeting the global instance of keyRock and the AuthZforce to authenticate the context broker. Here is my config.js: var config = {}; config.pep_port = 1307; // Set this var to undefined if you don't want the server to listen on HTTPS config.https = { enabled: false, cert_file: 'cert/cert.crt', key_file: 'cert/key.key', port: 443 }; config.account_host = 'https://account.lab.fiware.org'; config.keystone_host = 'cloud.lab

Fiware IDM : Dynamic permission resource

六月ゝ 毕业季﹏ 提交于 2019-12-24 10:59:50
问题 I've deployed an application based on Fiware generic enablers, in Docker. The versions are: Orion 1.14 Cygnus 1.9.0 Authzforce 5.4.1 Keyrock: the latest Pep-proxy: 7.0.1 but, when I want to create a permission in keyrock I can't find a specific syntax or character sequence to enter a dynamic resource in the resource field like: /resource1/<user>/info , or to specify only the resource prefix like: /resource2/<whatever> . Really exists the syntax for the dynamic resource and authzforce can

Perseo front end is showing this errors in the logs: msg=missing subservice header msg=missing service header

喜夏-厌秋 提交于 2019-12-24 10:46:11
问题 Using perseo cep, I set a rule to it. I get this message in the Perseo fron End's Log: http://perseo-core:8080/perseo-core/rules returns {"code":200,"body":{}}. Then when I modify an attribute, in the Perseo Core's Log I see this message: msg=Firing Rule: MapEventBean. So far, so good, but then again in the Perseo FE's log I get the message: msg=missing subservice header msg=missing service header, and it is not updating my entity. This is the log: time=2019-05-11T14:30:48.774Z | lvl=INFO |

Fiware-Orion how to save an image .png file to orion

*爱你&永不变心* 提交于 2019-12-24 08:09:20
问题 As the title, I want to save my .png file to Orion. I tried to use binary file but I got an error due to fobiden character? So It is posible to save png file to orion. Is there a best practice for the case. Many thanks 回答1: if the image is not so big you can use a data URL https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs otherwise I would use an external storage mechanism and only keep in Orion a URL pointing to the object storage where your image is. best 来源: https:

Primitive types supported by Fiware Orion Context Broker?

筅森魡賤 提交于 2019-12-24 07:37:43
问题 I have been trying for some time to find in the official documentation of FIWARE which are the primitive types supported by Orion for the attributes of a context entity. This is the only piece of information that I found about that in NGSI docs: The attribute type represents the NGSI value type of the attribute value. Note that FIWARE NGSI has its own type system for attribute values, so NGSI value types are not the same as JSON types. I tried to create context entities using types like