FAAST Output Report
Mule App URL copied
The Mule app lane emits one flow or sub-flow XML per source policy plus app wiring.
Flow orchestration output:
ApiGeeToMuleSoft/samples/FAAST-ZIP2P_LIDET_BL_GET-output/src/main/mule/FC-Authentication.xml
<mule xmlns="http://www.mulesoft.org/schema/mule/core"
xmlns:http="http://www.mulesoft.org/schema/mule/http"
xmlns:ee="http://www.mulesoft.org/schema/mule/ee/core"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<http:listener-config name="HTTP_Listener_Config"><http:listener-connection host="${http.listener.host}" port="${http.listener.port}"/></http:listener-config>
<http:request-config name="SAP_Backend_Config" basePath="${sap.backend.basePath}"><http:request-connection protocol="HTTPS" host="${sap.backend.host}" port="${sap.backend.port}"/></http:request-config>
<flow name="fc-authentication-flow">
<http:listener config-ref="HTTP_Listener_Config" path="${api.listener.path}" allowedMethods="GET"/>
<flow-ref name="ba-authentication-subflow"/>
<flow-ref name="kvm-sapbrimcred-subflow"/>
<flow-ref name="get-csrf-token-subflow"/>
<flow-ref name="assign-csrf-token-subflow"/>
<http:request config-ref="SAP_Backend_Config" method="GET" path="${sap.backend.targetPath}">
<http:headers><![CDATA[#[{'X-CSRF-Token': vars.csrfToken default 'fetch','Authorization': 'Basic ' ++ (((vars.sapUsername default '') ++ ':' ++ (vars.sapPassword default '')) as Binary toBase64)}]]]></http:headers>
<http:query-params><![CDATA[#[attributes.queryParams]]]></http:query-params>
</http:request>
<ee:transform><ee:message><ee:set-payload><![CDATA[%dw 2.0
output application/json
---
payload]]></ee:set-payload></ee:message></ee:transform>
<error-handler ref="auth-error-handler"/>
</flow>