Reason for Change
For top-level tasks that launch other top-level tasks, e.g., any ASP task from L1Proc, the Pipeline server mode [PROD,DEV,TEST] needs to be inherited. The revised code checks the PIPELINE_FROMADDRESS env var to determine the server mode and propagates that information to the pipeline createStream command. This is needed since L1Proc instances are running in dev, but they are running the prod installation of ASP (which has the pipeline server mode set to PROD by default).
Test Procedure
Tested in dev with code instrumented to verify that the PIPELINE_FROMADDRESS variable is being examined and override performed.
Rollback Procedure
Revert to ASP/pyASP v3r5
CCB Jira
Details
- ASP/pyASP v3r5p1
- Modifications to PipelineCommand.py