public String getPipelineVersion(final PipelineReference pipelineReference, final PipelineStore pipelineStore) {
        try {
            //only fetch the version once per pipeline process
            return pipelineDocRefToVersionCache.computeIfAbsent(pipelineReference.getPipeline(), docRef ->
                    pipelineStore.readDocument(pipelineReference.getPipeline()).getVersion());
        } catch (Exception e) {
            throw new RuntimeException(LogUtil.message(
                    "pipelineReference not found in store {}", pipelineReference), e);
        }
    }
A pipeline scoped holder for a {@link RefDataLoader} and a place to store transient state relating to
the loading of reference data using a reference data pipeline.
stroom-pipeline/src/main/java/stroom/pipeline/refdata/RefDataLoaderHolder.java