You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@edgent.apache.org by "Dale LaBossiere (JIRA)" <ji...@apache.org> on 2017/01/31 19:05:51 UTC

[jira] (EDGENT-375) Want a Watson IoTP device connector that uses HTTP

Dale LaBossiere created EDGENT-375:
--------------------------------------

             Summary: Want a Watson IoTP device connector that uses HTTP
                 Key: EDGENT-375
                 URL: https://issues.apache.org/jira/browse/EDGENT-375
             Project: Edgent
          Issue Type: Improvement
          Components: Connectors
            Reporter: Dale LaBossiere


Use case: I want to be able to write an Edgent device application that connects to the IBM Watson IoT Platform and publishes device events using its HTTP based protocol.  That would eliminate the need for my Edgent device to have an MQTT client installed.

The current Watson IoT Platform connector, [IotpDevice|https://github.com/apache/incubator-edgent/blob/master/connectors/iotp/src/main/java/org/apache/edgent/connectors/iotp/IotpDevice.java] supports the MQTT based protocol.

Adding support for an HTTP-based WIoTP connector would likely involve creating a class like "IotpHttpDevice implements IotDevice".  The IotDevice "events()" methods would use WIoTP HTTP publishing mechanism.  WIoTP does not support subscribing to device commands using HTTP so the IotDevice "commands()" method would be documented to throw UnsupportedOperationException.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)