Introduction🔗

This example takes the very simple flow element described in the simple flow element example, and adds a data file, upgrading the flow element to an Aspect Engine.

Instead of storing data statically, as the simple flow element example did, this example will store it in a data file which will be loaded and can also be updated.

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 now as it is implementing an Aspect Engine rather than a flow element.

Select a tab to view language specific dependencies.

Data🔗

The element data implemented in the previous example can now be upgraded to implement an aspect data.

Select a tab to view language specific aspect data implementation.

Aspect engine🔗

Now the actual Aspect Engine needs to be implemented. For this, the class from the previous example will now implement the On-premise Engine's base class.

Select a tab to view language specific Aspect Engine implementation.

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 data file.

Select a tab to view language specific element builder implementation.

Usage🔗

Select a tab to view language specific usage.

Next steps🔗

The Custom Client-Side Evidence example shows how you can build a custom engine that can take evidence supplied by the client.