fiware-wirecloud

Oauth2 in Wirecloud

岁酱吖の 提交于 2019-12-02 06:08:06
问题 Which is the best way to implement OAuth2 authorization in an operator? We have secured our backend API with PEP proxy and we need a valid token. Does wirecloud provide any mean to access it once the user is logged in. Something like: MashupPlatform.context.getOAuthToken() We try to avoid hardcoding user credentials in the logic of the operator. 回答1: Yeah, Although, you cannot read the OAuth2 token from widgets/operators, you can use the WireCloud's proxy and configure it to inject the OAuth2

Rush installation and integration with Orion Context Broker

随声附和 提交于 2019-12-02 04:18:44
After having running the listener and one time a consumer in the Rush, I run: contextBroker -rush localhost:5001 I made sure to use Orion 0.17 instead of 0.14 and what It's shown after enter to the /version url is: <orion> <version>0.17.0</version> <uptime>0 d, 0 h, 12 m, 14 s</uptime> <git_hash>127793ff921b37a6a570cd315ddce9a3ec541ccf</git_hash> <compile_time>Fri Nov 28 09:41:22 CET 2014</compile_time> <compiled_by>fermin</compiled_by> <compiled_in>centollo</compiled_in> </orion> Now Rush relayer works fine, what it's shown in the terminal is : [root@fiware ngsi-proxy]# contextBroker -rush

How to show an entity from in the Wirecloud MapViewer widget

只愿长相守 提交于 2019-11-26 22:08:48
问题 Well I'm trying to show the following entity: { "contextResponses" : [ { "contextElement" : { "type" : "City", "isPattern" : "false", "id" : "Miraflores", "attributes" : [ { "name" : "position", "type" : "coords", "value" : "-12.119816, -77.028916", "metadatas" : [ { "name" : "location", "type" : "string", "value" : "WSG84" } ] } ] }, "statusCode" : { "code" : "200", "reasonPhrase" : "OK" } } ] } Wiring NGSI Source and NGSI Entity to Poi operatiors with MapViewer widget (Insert/Update PoI),