private DocRef getContextPipeline(final String feedName, final TextConverterType textConverterType,
                                      final Path contextTextConverterLocation, final Path contextXsltLocation) {
        final DocRef contextTextConverterRef = getTextConverter(feedName + "_CONTEXT", textConverterType,
                contextTextConverterLocation);
        final DocRef contextXSLT = getXSLT(feedName + "_CONTEXT", contextXsltLocation);

        // Setup the pipeline.
//        final String data = StreamUtil.fileToString(contextDataPipeline);
//        final DocRef pipelineRef = getPipeline(feedName + "_CONTEXT", data);
//        final PipelineDoc pipelineDoc = pipelineStore.readDocument(pipelineRef);

        final Tuple2<DocRef, PipelineDoc> pipelineRefAndDoc = duplicatePipeline(
                new DocRef(PipelineDoc.TYPE, CONTEXT_DATA_PIPELINE_UUID),
                feedName + "_CONTEXT");
        final PipelineDoc pipelineDoc = pipelineRefAndDoc._2();


        if (contextTextConverterRef != null) {
            pipelineDoc.getPipelineData().addProperty(PipelineDataUtil.createProperty(CombinedParser.DEFAULT_NAME,
                    "textConverter", contextTextConverterRef));
        }
        if (contextXSLT != null) {
            pipelineDoc.getPipelineData()
                    .addProperty(PipelineDataUtil.createProperty(
                            "translationFilter",
                            "xslt",
                            contextXSLT));
        }

        pipelineStore.writeDocument(pipelineDoc);
        return pipelineRefAndDoc._1();
    }
Adds event data to a stream store.

@param feedName                         The feed name to use.
@param translationTextConverterType     Type of text converter
@param translationTextConverterLocation The Text Converter location
@param translationXsltLocation          The XSLT location
@param dataLocation                     The event data location.
@param referenceFeeds                   The reference feeds used.
@return An event feed definition.
@throws IOException Thrown if files not found.
stroom-app/src/test/java/stroom/test/StoreCreationTool.java