Skip to content

Harvester Developer Guide⚓︎

Overview⚓︎

This tutorial will guide you through the process of implementing and executing a workflow with the Harvester component of the Resource Registration building block. In particular, you will learn

  • how to design a workflow with BPMN,
  • how to implement a worker for it in Python and
  • how to deploy and run the workflow.

Example Workflow⚓︎

The step-by-step procedures in this tutorial will develop a workflow, which represents the common use case of searching a STAC API and processing the STAC items contained in the search result. The graphical BPMN representation of the final workflow can be seen in figure below.

example workflow BPMN

The tutorial is split into three parts.

  1. Workflow design with BPMN - This part describes the creation of the BPMN representation of the workflow shown above. If you want to skip the modelling part, the final BPMN model can be downloaded here.
  2. Worker implementation with Python - In this part, the worker will be implemented which contains the logic to be executed for each part of the workflow.
  3. Deployment and workflow execution - Finally, the BPMN workflow model and the worker implementation will be deployed and executed.