STH获得历史原始环境 [英] STH getting historical raw context

查看:85
本文介绍了STH获得历史原始环境的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我安装了Orion和Fiware STH,以使用简约选项.

I installed Orion and Fiware STH in order to use the minimalistic option.

问题是当我订阅一个orion上下文然后进行查询时,该数组为空.

The problem is that when i subscribe to an orion context then consult, the array is null.

"name": "temperature",
"values": []

在STH日志中显示:

收集原始数据集合以进行检索时出错(该集合可能不存在).

ERROR when collecting the raw data collection for retrieval (the collection may not exist).

我注意到,当我尝试退订时,它会返回带有以下正文的 200 OK 消息:

I noticed that when i try to unsubscribe it returns a 200 OK message with the following body:

{
    "subscriptionId": "xxx",
    "statusCode": {
        "code": "404",
        "reasonPhrase": "No context element found",
        "details": "subscriptionId: /xxx/"
    }
}

请求URL为:
192.168.60.117:8080/STH/v1/contextEntities/type/room/id/Room‌1/

The request URL is:
192.168.60.117:8080/STH/v1/contextEntities/type/room/id/Room‌​1/

(In my case the type is "room" and not "Room"). The headers are Accept, 
Content-Type, Fiware-Service, Fiware-ServicePath

推荐答案

与ORTH进行数据处理相比,对ORION进行订阅时看起来更成问题,您可以找到如何在Orion和如何通过此链接通知STH: https://fiware-sth-comet.readthedocs.io/en/latest/data-storage/index.html ,此外,如果您提供有关如何进行订阅和日志的更多信息,我可以更好地了解问题出在哪里,我可以更好地为您提供帮助.

It looks like more a problem when you make the subscription to ORION than when the data is processed by STH, you can find how to make the subscription in Orion and how to notify to STH in this link: https://fiware-sth-comet.readthedocs.io/en/latest/data-storage/index.html, Also, if you provide more information of how you make the subscription and the logs I could have a better view of where is the problem and I can help you in a better way.

这篇关于STH获得历史原始环境的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆