Introduction
This example takes the very simple flow element described in the simple flow element example, and delegates all the logic to a cloud service.
Instead of the data being stored locally and processing being carried out by the flow element directly, as demonstrated in the simple flow element example, this example will call a cloud service to perform the required functionality.
Download example
The source code used in this example is available here:
Dependencies
The aspect engine will need a dependency on the Pipeline engines package, and cloud request engine package
Data
The element data implemented in the previous example can now be upgraded to implement an aspect data.
Aspect engine
Now the actual aspect engine needs to be implemented. For this, the class from the previous example will now implement the cloud aspect engine's base class.
Builder
Now the aspect engine needs one final thing, an element builder to construct it. This needs to provide the aspect engine with a logger and an aspect data factory as in the previous example. However, it also now needs a cloud request aspect engine.
Usage
Next steps
The Custom On-premise Engine example shows you how to build an on-premise engine to perform the functionality that was executed by the cloud engine here.