我正在尝试使用“NGSI 源”和“ map 查看器”组件构建一个简单的 Wirecloud 应用程序混搭,如描述的那样 here但使用 130.206.80.40 提供的测试服务。 由于本人是FIWARE平台新手,所以先关注了these简单的说明并成功地创建了一个虚拟(python)设备,向/从它发布和读取观察结果。然后,我在 FIWARE 实验室玩了一会儿,也成功地使用“NGSI 浏览器”和“Spy Wiring”小部件读取了我设备的数据。最后,当我尝试使用“NGSI source”运算符来“自动化”读数时,什么也没有发生。组件配置如下:
NGSI 浏览器
NGSI server URL: http://130.206.80.40:1026/
Use the FIWARE credentials of the user: Yes
NGSI entity types: [LEFT_BLANK]
Id pattern: test123
Extra Attributes: temp
NGSI 来源
NGSI server URL: http://130.206.80.40:1026/
NGSI proxy URL: https://ngsiproxy.lab.fiware.org (also tried other addresses, without success)
Use the FIWARE credentials of the user: Yes
Use the FIWARE credentials of the workspace owner: No (also tried with "Yes")
NGSI entity types: [LEFT_BLANK]
Id pattern: test123
Monitored NGSI Attributes: temp
请注意,“NGSI Source”运算符在其默认配置下完美运行。
此外,我还在 jira.fiware.org 上了解到 ContextBroker 必须支持 HTTPS;这是否意味着公共(public)测试服务器不支持它并且我不能将它用于我的最终目的?或者有没有 NGSI 代理(可能是另一个运营商)的情况下使用它的方法?
谢谢。
最佳答案
HTTPs 支持已添加到该实例。
干杯,
关于proxy - FIWARE Wirecloud 混搭 : NGSI Source + Public/Testing ContextBroker (Probable NGSI Proxy Issue),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31919887/