我正在将Orion和Cygnus_Ngsi与CKAN整合在一起。 我在Cygnus中配置了CKAN接收器如下:
cygnus-ngsi.sinks.ckan-sink.channel = ckan-channel
cygnus-ngsi.sinks.ckan-sink.type = com.telefonica.iot.cygnus.sinks.NGSICKANSink
cygnus-ngsi.sinks.ckan-sink.api_key = ba753aae-7c1f-XXXX-XXXXX-cf893100ab53
cygnus-ngsi.sinks.ckan-sink.ckan_host = ckan host
cygnus-ngsi.sinks.ckan-sink.ckan_port = 8080
cygnus-ngsi.sinks.ckan-sink.orion_url = http://orion ip:1026
cygnus-ngsi.sinks.ckan-sink.attr_persistence = row
cygnus-ngsi.sinks.ckan-sink.batch_size = 100
cygnus-ngsi.sinks.ckan-sink.batch_timeout = 30
在Orion中创建订阅后,执行更新上下文,上下文数据存储在CKAN中,但CKAN资源URL未被赋值,它为NULL。 为了让资源Url有价值并在CKAN中下载资源,我应该做哪些更改? 感谢