Batch configurations containing multiple references files don't install correctly

Issue #731 resolved
anbhatia created an issue

If a batch configuration is created for a pipeline that includes multiple steps that user references files the referenced files for different steps can get mixed up when the batch configuration is installed.

For example:

<?xml version="1.0" encoding="UTF-8"?>
<rainbowPipeline version="1">
  <step class="....steps.xsltransform.XSLTransformStep">#v1
   xsltPath=copySourceToTarget.xslt
   ...
  </step>
  <step class="....steps.common.RawDocumentToFilterEventsStep"></step>
  <step class="....steps.segmentation.SegmentationStep">#v1
     sourceSrxPath=SourceSRXRules.srx
     targetSrxPath=TargetSRXRules.srx
     ...
  </step>
  <step class="....steps.rainbowkit.creation.ExtractionStep">#v1
    ....
  </step>
</rainbowPipeline>

The installed pipeline will look something like:

<?xml version="1.0" encoding="UTF-8"?>
<rainbowPipeline version="1">
  <step class="....steps.xsltransform.XSLTransformStep">#v1
   xsltPath=SourceSRXRules.srx
   ...
  </step>
  <step class="....steps.common.RawDocumentToFilterEventsStep"></step>
  <step class="....steps.segmentation.SegmentationStep">#v1
     sourceSrxPath=SourceSRXRules.srx
     targetSrxPath=TargetSRXRules.srx
     ...
  </step>
  <step class="....steps.rainbowkit.creation.ExtractionStep">#v1
    ....
  </step>
</rainbowPipeline>

The referenced files of the second step get assigned to the parameters of the first step.

Comments (4)

  1. Log in to comment