-
Notifications
You must be signed in to change notification settings - Fork 2
Key Concepts
In the /theia
folder is a Django app that encapsulates access to the configuration objects and allows the creation of imagery requests. The API can be accessed at http://localhost:8080/api
The domain model of the Django app specifies the objects for creating pipeline configurations, as well as objects to track the processing of a particular request.
Adapters encapsulate the acquisition of imagery from a particular provider. They are responsible for receiving an ImageryRequest
and producing one or more JobBundle objects for subsequent processing.
Each discrete operation on a JobBundle is represented by an operation. Operations implement the AbstractOperation
class.
Celery tasks are specified in files named tasks.py
. Tasks that will likely be shared by all adapters are placed in /theia/tasks.py
, while tasks specific to a given adapter (like USGS' task wait_for_scene
) can be specified from within that adapter's code.
The test suite is in this folder and can be invoked by pipenv run tests