Wirecloud / wirecloud

Widgets Container and Mashup edition tools. Reference implementation of the FIWARE Application Mashup GE
https://wirecloud.rtfd.io/
Other
60 stars 45 forks source link

Support for STH-Comet #271

Open etatus opened 7 years ago

etatus commented 7 years ago

Is there a way (ideally an API through wirecloud NGSI-proxy) to communicate with a Comet endpoint to retrieve short term historic data from entities?

etatus commented 7 years ago

I found this operator: https://github.com/wirecloud-fiware/sth-source-operator

etatus commented 7 years ago

The operator doesn't work well "as is". I had to make several changes to make it work properly. For instance, my Wirecloud tells that "then" function doesn't exist in "mp.http.makeRequest" so I had to use onComplete and onException callbacks instead (as options).

aarranz commented 7 years ago

Sorry, current version of the operator is meant to be used in WireCloud 1.1 (not released yet). We accept pull requests 😉