<?xml version="1.0" encoding="UTF-8"?>
<!--
    Verb definitions for this channel.
-->
<beans xmlns="http://www.springframework.org/schema/beans"
    default-lazy-init="true"
    xmlns:c="http://www.springframework.org/schema/c"
    xmlns:p="http://www.springframework.org/schema/p"
    xmlns:util="http://www.springframework.org/schema/util"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="
        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
        http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd">

    <!--
        Import commonly used beans.
    -->
    <import resource="classpath:common-beans.xml"/>

    <!--
        Import channel-specific beans.
    -->
    <import resource="classpath:test/beans.xml"/>

    <bean id="serializeImported" parent="mda.SerializationStage">
        <property name="serializer" ref="serializer"/>
        <property name="outputFile">
            <bean parent="File">
                <constructor-arg value="${mdx.dir}/test/imported.xml"/>
            </bean>
        </property>
    </bean>

    <bean id="import" parent="mda.SimplePipeline">
        <property name="stages">
            <list>
                <ref bean="test_entities"/>
                <ref bean="standardImportActions"/>
                <ref bean="check_shib_regscope"/>
                <ref bean="standardImportTail"/>
                <ref bean="serializeImported"/>
            </list>
        </property>
    </bean>

    <bean id="importRaw" parent="mda.SimplePipeline">
        <property name="stages">
            <list>
                <ref bean="test_aggregate"/>
                <ref bean="serializeImported"/>
            </list>
        </property>
    </bean>

</beans>