private DocRef getEventFeed(final String feedName,
                                final TextConverterType translationTextConverterType,
                                final Path translationTextConverterLocation,
                                final Path translationXsltLocation,
                                final TextConverterType contextTextConverterType,
                                final Path contextTextConverterLocation,
                                final Path contextXsltLocation,
                                final Path flatteningXsltLocation,
                                final Set<DocRef> referenceFeeds) {
        final List<PipelineReference> pipelineReferences = new ArrayList<>();

        final DocRef docRef = getOrCreateFeedDoc(feedName);

        // Add context data loader pipeline.
        final DocRef contextPipeline = getContextPipeline(feedName, contextTextConverterType,
                contextTextConverterLocation, contextXsltLocation);
        pipelineReferences.add(PipelineDataUtil.createReference("translationFilter", "pipelineReference",
                contextPipeline, docRef, StreamTypeNames.CONTEXT));

        // Add reference data loader pipelines.
        if (referenceFeeds != null && referenceFeeds.size() > 0) {
            final DocRef referenceLoaderPipeline = getReferenceLoaderPipeline();
            for (final DocRef refFeed : referenceFeeds) {
                pipelineReferences.add(PipelineDataUtil.createReference(
                        "translationFilter",
                        "pipelineReference",
                        referenceLoaderPipeline,
                        refFeed,
                        StreamTypeNames.REFERENCE));
            }
        }

        // Create the event pipeline.
        createEventPipelineAndProcessors(
                feedName,
                translationTextConverterType,
                translationTextConverterLocation,
                translationXsltLocation,
                flatteningXsltLocation,
                pipelineReferences);

        return docRef;
    }
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