WS-1275 Dynamic PPR rendering from the CASA matrix
This populates the <ProcessingProcedure>
section of the PPR from the CASA matrix when making a new capability request. It also modifies the get_recipe
CASA matrix endpoint to accept a version_path
parameter that will override any CASA version checking for the case of users (cough cough VLASS) to override with setting casa_home
in the capability version parameters.
The procedures come from a file within each CASA release and the matrix is simply returning the contents of the file for the correct version.
Most of the PPRs for the alembic migration come from the existing PPRs in the capability_templates
table except the restore_basic_ms
one which came from an MS download using the current PPI workflow.
I'm expanding this to allow for multi-level rendering of the PPR files so we can render mustache tags within the procedure blocks themselves to easily support features like the onlineflags
that will be coming from the archive, but that can be in a separate MR.
Also, we may want to think about if we'll need to populate other parts of the PPR from the matrix like the <ProcessingIntents>
. If so, we'll need to reconsider how we're storing recipes in the capability.casa_recipe
field (comma separated list maybe?)