A key aspect of Octave is the ability to write cloud-side logic, and this is done by implementing a Cloud Action.
Just as an Edge Action can read data from the Resources in the edge context, Cloud Actions can read, process, and write data in the cloud context. In the cloud, they have access to read and write data from other Streams as well as the ability to publish or consume data from external services using REST requests (i.e., making HTTP GET/POST requests to read/write using third-party APIs).
A Cloud Action can return events to a static Stream (e.g., to track the status of a process) or to a dynamically-generated Stream (typically a specific device
command Stream to send data to a given device).
The following topics describe how to manage, transform, and work with data from an Octave Edge Device in the cloud:
- Creating a Cloud Action: write cloud-side logic to handle Events.
- Adding a new Stream: create a stream to store data on the cloud side.
- Setting a Value From a Cloud Action: set the value on an Octave edge device from the cloud.
- Simple Forwarding: forward/create events in another Stream.
- Transforming Events: create a new Event using the data from an existing Event.
- Using Events from Other Streams: methods to find information about one or more events.
- Aggregating Events with Tag Actions: use the same Cloud Action logic on a given stream across multiple Octave edge devices.
- Cloud Initiated Streams: sending new Events in Streams from the cloud.
Updated 5 days ago