<datapower-configuration version="3">
    <export-details>
        <description>Exported Configuration</description>
        <user>admin</user>
        <domain>APIC-System</domain>
        <product-id>5725</product-id>
        <product>IDG</product>
        <display-product>IDG</display-product>
        <model>IBM DataPower Gateway</model>
        <display-model>IBM DataPower Gateway</display-model>
        <serial-number>0000000</serial-number>
        <firmware-version>IDG.7.7.0.2</firmware-version>
        <display-firmware-version>IDG.7.7.0.2</display-firmware-version>
        <firmware-build>298364</firmware-build>
        <firmware-timestamp>2018/04/17 15:33:37</firmware-timestamp>
    </export-details>
    <configuration domain="APIC-System">


        <StylePolicyAction name="&PROJNAME;-handle-error-xform" xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:dp="http://www.datapower.com/schemas/management">
            <mAdminState>enabled</mAdminState>
            <Type>xform</Type>
            <Input>NULL</Input>
            <Transform>local:///policy/&PROJNAME;/error.xsl</Transform>
            <ActionDebug persisted="false">off</ActionDebug>
            <Output>NULL</Output>
            <NamedInOutLocationType>default</NamedInOutLocationType>
            <SSLClientConfigType>proxy</SSLClientConfigType>
            <OutputType>default</OutputType>
            <Transactional>off</Transactional>
            <SOAPValidation>body</SOAPValidation>
            <SQLSourceType>static</SQLSourceType>
            <JWSVerifyStripSignature>on</JWSVerifyStripSignature>
            <Asynchronous>off</Asynchronous>
            <ResultsMode>first-available</ResultsMode>
            <RetryCount>0</RetryCount>
            <RetryInterval>1000</RetryInterval>
            <MultipleOutputs>off</MultipleOutputs>
            <IteratorType>XPATH</IteratorType>
            <Timeout>0</Timeout>
            <MethodRewriteType>GET</MethodRewriteType>
            <MethodType>POST</MethodType>
            <MethodType2>POST</MethodType2>
        </StylePolicyAction>
        <StylePolicyRule name="&PROJNAME;-error" xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:dp="http://www.datapower.com/schemas/management">
            <mAdminState>enabled</mAdminState>
            <Direction>error-rule</Direction>
            <InputFormat>none</InputFormat>
            <OutputFormat>none</OutputFormat>
            <NonXMLProcessing>on</NonXMLProcessing>
            <Unprocessed>off</Unprocessed>
            <Actions class="StylePolicyAction">&PROJNAME;-handle-error-xform</Actions>
        </StylePolicyRule>


        <StylePolicyAction name="&PROJNAME;-on-error-continue-custom" xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:dp="http://www.datapower.com/schemas/management">
            <mAdminState>enabled</mAdminState>
            <Type>on-error</Type>
            <ActionDebug persisted="false">off</ActionDebug>
            <NamedInOutLocationType>default</NamedInOutLocationType>
            <SSLClientConfigType>proxy</SSLClientConfigType>
            <ErrorMode>continue</ErrorMode>
            <Rule>&PROJNAME;-error</Rule><!-- Referencing the Rule created above -->
            <Transactional>off</Transactional>
            <SOAPValidation>body</SOAPValidation>
            <SQLSourceType>static</SQLSourceType>
            <JWSVerifyStripSignature>on</JWSVerifyStripSignature>
            <Asynchronous>off</Asynchronous>
            <ResultsMode>first-available</ResultsMode>
            <RetryCount>0</RetryCount>
            <RetryInterval>1000</RetryInterval>
            <MultipleOutputs>off</MultipleOutputs>
            <IteratorType>XPATH</IteratorType>
            <Timeout>0</Timeout>
            <MethodRewriteType>GET</MethodRewriteType>
            <MethodType>POST</MethodType>
            <MethodType2>POST</MethodType2>
        </StylePolicyAction>
        <StylePolicyAction name="&PROJNAME;-get-payload" xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:dp="http://www.datapower.com/schemas/management">
            <mAdminState>enabled</mAdminState>
            <Type>xform</Type>
            <Input>INPUT</Input>
            <Transform>local:///policy/&PROJNAME;/payload.xsl</Transform>
            <ActionDebug persisted="false">off</ActionDebug>
            <Output>INPUT</Output>
            <NamedInOutLocationType>default</NamedInOutLocationType>
            <SSLClientConfigType>proxy</SSLClientConfigType>
            <OutputType>default</OutputType>
            <Transactional>off</Transactional>
            <SOAPValidation>body</SOAPValidation>
            <SQLSourceType>static</SQLSourceType>
            <JWSVerifyStripSignature>on</JWSVerifyStripSignature>
            <Asynchronous>off</Asynchronous>
            <ResultsMode>first-available</ResultsMode>
            <RetryCount>0</RetryCount>
            <RetryInterval>1000</RetryInterval>
            <MultipleOutputs>off</MultipleOutputs>
            <IteratorType>XPATH</IteratorType>
            <Timeout>0</Timeout>
            <MethodRewriteType>GET</MethodRewriteType>
            <MethodType>POST</MethodType>
            <MethodType2>POST</MethodType2>
        </StylePolicyAction>
        <StylePolicyAction name="&PROJNAME;-run" xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:dp="http://www.datapower.com/schemas/management">
            <mAdminState>enabled</mAdminState>
            <Type>gatewayscript</Type>
            <Input>INPUT</Input>
            <GatewayScriptLocation>local:///policy/&PROJNAME;/&PROJNAME;.js</GatewayScriptLocation>
            <ActionDebug persisted="false">off</ActionDebug>
            <Output>policy-output-temp</Output> <!-- This OUTPUT variable is caught by webapi-check-policy-output which runs apim.policy.check.output which runs apim.policy.wrap.js -->
            <NamedInOutLocationType>default</NamedInOutLocationType>
            <SSLClientConfigType>proxy</SSLClientConfigType>
            <Transactional>off</Transactional>
            <SOAPValidation>body</SOAPValidation>
            <SQLSourceType>static</SQLSourceType>
            <JWSVerifyStripSignature>on</JWSVerifyStripSignature>
            <Asynchronous>off</Asynchronous>
            <ResultsMode>first-available</ResultsMode>
            <RetryCount>0</RetryCount>
            <RetryInterval>1000</RetryInterval>
            <MultipleOutputs>off</MultipleOutputs>
            <IteratorType>XPATH</IteratorType>
            <Timeout>0</Timeout>
            <MethodRewriteType>GET</MethodRewriteType>
            <MethodType>POST</MethodType>
            <MethodType2>POST</MethodType2>
        </StylePolicyAction>
        <StylePolicyRule name="&PROJNAME;-main" xmlns:env="http://www.w3.org/2003/05/soap-envelope" xmlns:dp="http://www.datapower.com/schemas/management">
            <mAdminState>enabled</mAdminState>
            <Direction>request-rule</Direction>
            <InputFormat>none</InputFormat>
            <OutputFormat>none</OutputFormat>
            <NonXMLProcessing>off</NonXMLProcessing>
            <Unprocessed>off</Unprocessed>
            <Actions class="StylePolicyAction">&PROJNAME;-on-error-continue-custom</Actions>
            <Actions class="StylePolicyAction">&PROJNAME;-get-payload</Actions>
            <Actions class="StylePolicyAction">&PROJNAME;-run</Actions>
            <Actions class="StylePolicyAction">webapi-on-error-abort</Actions>
            <Actions class="StylePolicyAction">webapi-check-policy-output</Actions>
        </StylePolicyRule>

    </configuration>
    <files>
        <file name="local:///policy/&PROJNAME;/error.xsl" src="local/policy/&PROJNAME;/error.xsl" location="local" hash="&ERRORFILEHASH;"/>
        <file name="local:///policy/&PROJNAME;/payload.xsl" src="local/policy/&PROJNAME;/payload.xsl" location="local" hash="&PAYLOADFILEHASH;"/>
        <!--&MOREFILES;-->
    </files>
</datapower-configuration>