Orion v2注册在server:port / v2 / registrations中不起作用

时间:2016-06-03 09:30:03

标签: fiware-orion

当我在我的本地Orion ContextBroker上进行GET操作时(我也尝试过在这个网址http://10.174.123.243:1026/v2/上的文件实验室[orion.lab.fi-ware.org:1026])或者它工作正常并告诉我ORION允许的操作:

{
    "entities_url": "/v2/entities",
    "types_url": "/v2/types",
    "subscriptions_url": "/v2/subscriptions",
    "registrations_url": "/v2/registrations"
}

除了/ v2 / registrations之外,所有这些都在工作。当我尝试以下GET操作http://10.174.123.243:1026/v2/registrations时,我收到400错误。

{
    "error": "BadRequest",
    "description": "service not found"
}

Orion Context Broker的GET /v2/registrations操作是否可用?我尝试过Orion 0.24和1.2版本。

1 个答案:

答案 0 :(得分:1)

NGSIv2尚未定义注册管理。虽然work-in-progress version of the NGSIv2 specification显示了一些"草案操作"与注册相关(正如你提到的那样)并且它在某个时刻将被定义,Orion暂时没有实现它们(即Orion版本1.2)。

请注意,the current (May 2016) NGSIv2 specification release candidate不包含该操作。

但是,Orion仍支持NGSIv1注册管理(请查看Orion NGSIv1 walkthrough)。