fiware

OAuth2 access to Cosmos' WebHDFS in FIWARE Lab

拥有回忆 提交于 2019-11-28 04:19:22
问题 I've recently seen the access to Cosmos' WebHDFS in FIWARE Lab has been protected with OAuth2. I know I have to add a OAuth2 token to the request in order to continue using WebHDFS, but: How can I get the token? How the token is added to the request? Without the token, the API always returns: $ curl -X GET "http://cosmos.lab.fi-ware.org:14000/webhdfs/v1/user/gtorodelvalle?op=liststatus&user.name=gtorodelvalle" Auth-token not found in request header 回答1: Yes, now WebHDFS access is protected

Boost-Libboost is needed in Centos7 (ContexBroker)

假如想象 提交于 2019-11-28 02:06:18
问题 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

Fiware AuthZForce error: “AZF domain not created for application”

家住魔仙堡 提交于 2019-11-27 16:24:47
I'm trying to protect Orion Context Broker using KeyRock idm, Wilma PEP-Proxy and AuthZForce PDP over Docker. For now, level 1 security works well and I can deny access to non logged users, but I get this error on Wilma when trying to add level 2. AZF domain not created for application <applicationID> Here it is my azf configuration in Wilma's config.js file: config.azf = { enabled: true, protocol: 'http', host: 'azfcontainer', port: 8080, custom_policy: undefined }; And this is how I set the access control configuration on KeyRock: # ACCESS CONTROL GE ACCESS_CONTROL_URL = 'http://azfcontainer

“AZF domain not created for application” AuthZforce

落爺英雄遲暮 提交于 2019-11-27 08:49:26
问题 I have an application that uses the KeyRock, PEP, PDP(AuthZForce). The security level 1 (authentication) with Keyrock and PEP are working, but when we try to use AuthZForce to check the authorization, I get the error message: AZF domain not created for application I have my user and my application that I created following the steps on the Fiware IdM User and Programmers Guide. I am also able to create domains as stated in the AuthZForce - Installation and Administration Guide but I don't know

How to configure system to use the FIWARE yum repository?

房东的猫 提交于 2019-11-26 23:06:35
I know that FI-WARE offers a public yum repository at http://repositories.testbed.fiware.org/ that can be used to install FI-WARE packages such as Orion contexto Broker. However, how can I configure my system to use that repository? E.g. which .conf file I need to add in my /etc/yum.repos.d/ directory to make it work. Thanks! henar You need to add a file fiware.repo in /etc/yum.repos.d/ with the following lines: [fiware] name=Fiware Repository baseurl=http://repositories.lab.fiware.org/repo/rpm/$releasever gpgcheck=0 enabled=1 I hope it helps you. EDIT: originally, baseurl were http:/

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),

Fiware AuthZForce error: “AZF domain not created for application”

痞子三分冷 提交于 2019-11-26 18:37:57
问题 I'm trying to protect Orion Context Broker using KeyRock idm, Wilma PEP-Proxy and AuthZForce PDP over Docker. For now, level 1 security works well and I can deny access to non logged users, but I get this error on Wilma when trying to add level 2. AZF domain not created for application <applicationID> Here it is my azf configuration in Wilma's config.js file: config.azf = { enabled: true, protocol: 'http', host: 'azfcontainer', port: 8080, custom_policy: undefined }; And this is how I set the

How to configure system to use the FIWARE yum repository?

China☆狼群 提交于 2019-11-26 08:35:53
问题 I know that FI-WARE offers a public yum repository at http://repositories.testbed.fiware.org/ that can be used to install FI-WARE packages such as Orion contexto Broker. However, how can I configure my system to use that repository? E.g. which .conf file I need to add in my /etc/yum.repos.d/ directory to make it work. Thanks! 回答1: You need to add a file fiware.repo in /etc/yum.repos.d/ with the following lines: [fiware] name=Fiware Repository baseurl=http://repositories.lab.fiware.org/repo