fiware

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

Fiware suitable Components

假装没事ソ 提交于 2019-12-12 07:02:20
问题 Could someone suggest me suitable components to build a full path using fiware components?In the path i would like to register mobile devices to a broker (also Node-RED for getting info from broker).Above the broker i want to have a Complex Event Processing engine for the complex events. 回答1: Mobile Devices can be registered to Orion Context Broker. https://github.com/fiware/context.Orion. You should use NGSIv2 APIs, please check http://fiwaretourguide.readthedocs.io/en/latest/development

Getting Token in Orion Context Broker

拜拜、爱过 提交于 2019-12-12 06:58:26
问题 I'm trying to get an Authentication Token in order to start querying some information. The problem is that when I execute the Token Script in Linux and I type my name and password, the server doesn't give me the token. I just get an empty space. Does anybody know how to proceed? EDIT : I just type wget --no-check-certificate https://raw.githubusercontent.com/fgalan/oauth2-example-orion-client/master/token_script.sh bash token_script.sh In the Command Window in Ubuntu. The script asks me a

Fiware Keyrock - organizations are not returned

我们两清 提交于 2019-12-12 05:12:56
问题 I am needing the organizations info, from a specific user. This information is not returned as can be seen below: organizations: [], displayName: 'idm', roles: [ { name: 'Provider', id: 'provider' } ], I am getting an empty list of organizations. Even the owner of the organization receives an empty list. Is this a bug? What can we do to get this information? In my local instance I just get to do up to step 7 of this tutorial: http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php

Fiware keystone api create user and access with horizon

孤街醉人 提交于 2019-12-12 03:27:35
问题 im using keystone api to create an user (as in Fiware Keystone API Create User). my steps: create project with: curl -s -H "X-Auth-Token:17007fe11124bd71eb60" -H "Content-Type: application/json" -d '{"tenant": {"description":"Project1", "name":"proyecto1", "enabled": true}}' http://localhost:35357/v2.0/tenants -X POST | python -mjson.tool create role: curl -s -H "X-Auth-Token:17007fe11124bd71eb60" -H "Content-Type: application/json" -d '{"role":{"name":"Project1Admin", "description":"Role

Keystone create user and permissions by api

故事扮演 提交于 2019-12-12 03:04:34
问题 I have an instance of Keyrock in fiware lab. in my app, im trying to create user with api as Fiware keystone api create user and access with horizon. now i check user: curl -s -H "X-Auth-Token:17007fe11124bd71eb60" http://localhost:5000/v3/users/admin | python -mjson.tool response: > { > "user": { > "default_project_id": "d0f384973b9f4a57b975fcd9bef10c6e", > "description": "admin", > "domain_id": "default", > "email": "admin@gmail.com", > "enabled": true, > "id": "admin", > "links": { > "self

authentication on spagobi using keyrock

北城余情 提交于 2019-12-12 02:49:34
问题 We're having troubles authenticating on SpagoBI using KeyRock as authentication provider. We followed the guide here: http://spagobi.readthedocs.org/en/latest/admin/README/index.html The redirection to KeyRock works, but after we enter the user credentials there is an error which says: {"state": "None", "error": "invalid_redirect_uri"} (HTTP 400) The configuration page in KeyRock looks like this: keyrock screenshot We've simply copied client id, secret and the other parameters required in the