Task Performers

An EPT can define its own TaskPerformer classes to be used by ONE's Grid infrastructure.

To achieve this, first create a class that extends com.onenetwork.platform.grid.AbstractTaskPerformer. It is recommended (but not required) that your EPT TaskPerformer prefix its task type with "EPT.eptname", for example "EPT.ProgressiveRetailer".

Now you can register your TaskPerformerConfigs in the dvce-app-config.xml files of the relevant server(s). Here you need to add an "EnterpriseContext" element containing your enterprise name. This informs the Grid to instantiate the TaskPerformer class using your EPT.

<TaskPerformerConfig>
<Type>EPT.ProgressiveRetailer.SampleEptTask</Type>
<NumberOfThreads>1</NumberOfThreads>
<TaskPerformerClassName>com.onenetwork.pr.grid.SampleEptTaskPerformer</TaskPerformerClassName>
<EnterpriseContext>ProgressiveRetailer</EnterpriseContext>
</TaskPerformerConfig>