Test Real-Time Script

The test-realtime script is designed to test the processing controller logic concerning processing block dependencies.

The sequence of actions carried out by the script is:

  • Claims processing block

  • Sets processing block status to WAITING

  • Waits for resources_available to be True

    • This is the signal from the processing controller that the script can run

  • Sets processing block status to RUNNING

  • At this point a substantive script would make deployments to do the processing

  • Sets processing block status to READY

  • Waits for execution block status to be set to FINISHED

    • This is the signal from the Subarray device that the execution block is finished

  • Sets processing block status to FINISHED

The script makes no deployments.

Changelog

0.6.0

  • Update to scripting library 0.6.1

0.5.1

  • Update to latest scripting library (0.5.2).

0.5.0

  • Update to latest scripting library (0.5.0). This required the update of how phase.wait_loop is used in the script.

0.4.0

  • Update scripting library to 0.4.1.

  • Set status to READY when script is ready to do its (fake) processing.

0.3.0

  • Port to use SDP scripting library (formerly known as the workflow library).

0.2.5

  • Use dependencies from the central artefact repository and publish the workflow image there.

0.2.4

  • Ported to use the latest version of workflow library (0.2.4).

0.2.3

  • use python:3.9-slim as the base docker image