gpt4 book ai didi

FIWARE:Orion Context Broker 和 CKAN

转载 作者:行者123 更新时间:2023-12-02 05:22:53 26 4
gpt4 key购买 nike

我正在使用 Raspberry Pi 和 Figway 来与 Orion ContextBroker 配合使用。我的 Raspberry Pi 正在将数据从一些传感器发送到 Fiware 提供的公共(public)上下文代理(我没有任何本地上下文代理)。此外,我在Freeboard中有一个仪表板显示我的传感器的信息。

现在我发现Fiware有一个CKAN工具,它允许实时上下文信息可以作为Context Broker查询在CKAN中发布。我已经关注了这个Tutorial但我不明白如何在 Orion Context Broker 中将 CKAN 与我的设备连接。如何找到我的实体的 URL?

我对Fiware很陌生,我编写代码的概念还不够,但我能够学习!

提前致谢。

最佳答案

如文档中所述:

You can also provide dynamic context information by providing a context broker URL and selecting the fiware-ngsi format. Once selected the fiware-ngsi format, three extra fields will appear allowing you to configure the tenant and the service path to use for accesing the context broker (you can leave them empty if the data is stored in the default tenant or service path). The last field allows you to indicate whether the context broker requires authentication (see the Handling authorization and access control to APIs tutorial for more details).

NOTE: fiware-ngsi resources are always linked resources, so if the dataset is private, the fiware-ngsi must require an auth token for coherence.

另请参阅this guide .

You may take advantage of the connectors supported by the Context Broker that automatically generate historic records generated each time there is a change in the context information and make those records available for upload on the Open Data publication GE. The data is then stored in a Datastore, and can be downloaded and queried through REST APIs.

In order to achieve this behaviour it is necessary to deploy and configure Cygnus, a piece of software complementary to the Context Broker GE. The instructions to install Cygnus can be found here.

Once Cygnus has been installed, it is required to configure it. In a nutshell, there are three steps: configure CKAN storage, create the desired subscriptions in the Context Broker and run the process.

This sink persists the data in a datastore in CKAN. Datastores are associated to CKAN resources and as CKAN resources we use the entityId-entityType string concatenation. All CKAN resource IDs belong to the same dataset (also referred as package in CKAN terms), which name is specified with the default_dataset property (prefixed by organization name) in the CKAN sink configuration.

您必须配置Fiware Cygnus也是。

希望这可以帮助你。

关于FIWARE:Orion Context Broker 和 CKAN,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44761797/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com