|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> |
|
<mule-configuration xmlns="http://www.mulesoft.com/tooling/messageflow" name="CBJenkins"> |
|
<global-element name="Jenkins" type="http://www.mulesoft.org/schema/mule/jenkins/config" entity-id="Jenkins#1"> |
|
<properties> |
|
<property name="username" value="ericjsilva@gmail.com"/> |
|
<property name="jenkinsUrl" value="https://ericjsilva.ci.cloudbees.com"/> |
|
<property name="name" value="jenkinsconf"/> |
|
<property name="password" value="Sith@l0rd"/> |
|
<property name="connectionName" value="main"/> |
|
<property name="auxiliary;index" value="1"/> |
|
</properties> |
|
</global-element> |
|
<flow SubFlow="false" name="API-GET-JENKINS-INFO" entity-id="6fa9c3a3-620a-4406-a3fb-4b340c3c4ac0"> |
|
<properties> |
|
<property name="processingStrategy"/> |
|
<property name="processingStrategy2"/> |
|
<property name="bussinessEventsLabel"/> |
|
<property name="auxiliary;index" value="2"/> |
|
<property name="tracking:enable-default-events"/> |
|
</properties> |
|
<lane hadOnlyOneElement="false" index="0" isChoiceOtherwiseLane="false" entity-id="compartment-lane#1"> |
|
<graphicalData x="0" y="0" width="0" height="0"/> |
|
<endpoint direction="Inbound" message-exchange-pattern="RequestResponse" name="HTTP" type="http://www.mulesoft.org/schema/mule/http/endpoint" entity-id="HTTP#1"> |
|
<graphicalData x="0" y="0" width="0" height="0"/> |
|
<properties> |
|
<property name="port" value="${http.port}"/> |
|
<property name="host" value="${http.server}"/> |
|
<property name="businessEventsLabel"/> |
|
<property name="followRedirects"/> |
|
<property name="org.mule.tooling.ui.modules.core.widgets.meta.ModeAttribute" value="http://www.mulesoft.org/schema/mule/http/endpoint"/> |
|
<property name="keep-alive"/> |
|
<property name="contentType"/> |
|
<property name="disableTransportTransformer"/> |
|
<property name="password"/> |
|
<property name="exchange-pattern" value="request-response"/> |
|
<property name="tracking:enable-default-events"/> |
|
<property name="ref"/> |
|
<property name="transformer-refs"/> |
|
<property name="httpLabel"/> |
|
<property name="address"/> |
|
<property name="path" value="jenkins/info"/> |
|
<property name="encoding"/> |
|
<property name="responseTransformer-refs"/> |
|
<property name="method"/> |
|
<property name="user"/> |
|
<property name="auxiliary;index" value="3"/> |
|
<property name="responseTimeout"/> |
|
<property name="mimeType"/> |
|
<property name="connector-ref"/> |
|
</properties> |
|
</endpoint> |
|
<pattern name="Jenkins" type="http://www.mulesoft.org/schema/mule/jenkins/jenkins-connector" entity-id="Jenkins#2"> |
|
<graphicalData x="0" y="0" width="0" height="0"/> |
|
<properties> |
|
<property name=""/> |
|
<property name="username"/> |
|
<property name="jenkinsUrl"/> |
|
<property name="org.mule.tooling.ui.modules.core.widgets.meta.ModeAttribute" value="http://www.mulesoft.org/schema/mule/jenkins/get-jenkins-node-info"/> |
|
<property name="password"/> |
|
<property name="connectionName"/> |
|
<property name="config-ref" value="jenkinsconf"/> |
|
<property name="auxiliary;index" value="4"/> |
|
</properties> |
|
</pattern> |
|
<pattern name="Object to JSON" type="http://www.mulesoft.org/schema/mule/json/object-to-json-transformer" entity-id="Object to JSON#1"> |
|
<graphicalData x="0" y="0" width="0" height="0"/> |
|
<properties> |
|
<property name="sourceClass"/> |
|
<property name="returnClass"/> |
|
<property name="ignoreBadInput"/> |
|
<property name="encoding"/> |
|
<property name="mapper-ref"/> |
|
<property name="auxiliary;index" value="5"/> |
|
<property name="mimeType"/> |
|
</properties> |
|
</pattern> |
|
</lane> |
|
<apikit>false</apikit> |
|
</flow> |
|
<flow SubFlow="false" name="API-GET-JENKINS-JOB-INFO" entity-id="d8b52422-85f3-4b44-b9fc-c40485d34999"> |
|
<properties> |
|
<property name="processingStrategy"/> |
|
<property name="processingStrategy2"/> |
|
<property name="bussinessEventsLabel"/> |
|
<property name="auxiliary;index" value="6"/> |
|
<property name="tracking:enable-default-events"/> |
|
</properties> |
|
<lane hadOnlyOneElement="false" index="0" isChoiceOtherwiseLane="false" entity-id="compartment-lane#2"> |
|
<graphicalData x="0" y="0" width="0" height="0"/> |
|
<endpoint direction="Inbound" message-exchange-pattern="RequestResponse" name="HTTP" type="http://www.mulesoft.org/schema/mule/http/endpoint" entity-id="HTTP#2"> |
|
<graphicalData x="0" y="0" width="0" height="0"/> |
|
<properties> |
|
<property name="port" value="${http.port}"/> |
|
<property name="host" value="${http.server}"/> |
|
<property name="businessEventsLabel"/> |
|
<property name="followRedirects"/> |
|
<property name="org.mule.tooling.ui.modules.core.widgets.meta.ModeAttribute" value="http://www.mulesoft.org/schema/mule/http/endpoint"/> |
|
<property name="keep-alive"/> |
|
<property name="contentType"/> |
|
<property name="disableTransportTransformer"/> |
|
<property name="password"/> |
|
<property name="exchange-pattern" value="request-response"/> |
|
<property name="tracking:enable-default-events"/> |
|
<property name="ref"/> |
|
<property name="transformer-refs"/> |
|
<property name="httpLabel"/> |
|
<property name="address"/> |
|
<property name="path" value="jenkins/jobinfo"/> |
|
<property name="encoding"/> |
|
<property name="responseTransformer-refs"/> |
|
<property name="method"/> |
|
<property name="user"/> |
|
<property name="auxiliary;index" value="7"/> |
|
<property name="responseTimeout"/> |
|
<property name="mimeType" value="application/json"/> |
|
<property name="connector-ref"/> |
|
</properties> |
|
</endpoint> |
|
<pattern name="Jenkins" type="http://www.mulesoft.org/schema/mule/jenkins/jenkins-connector" entity-id="Jenkins#3"> |
|
<graphicalData x="0" y="0" width="0" height="0"/> |
|
<properties> |
|
<property name=""/> |
|
<property name="username"/> |
|
<property name="jenkinsUrl"/> |
|
<property name="org.mule.tooling.ui.modules.core.widgets.meta.ModeAttribute" value="http://www.mulesoft.org/schema/mule/jenkins/get-job-info"/> |
|
<property name="password"/> |
|
<property name="connectionName"/> |
|
<property name="jobName" value="test-job-mulesoft"/> |
|
<property name="config-ref" value="jenkinsconf"/> |
|
<property name="auxiliary;index" value="8"/> |
|
</properties> |
|
</pattern> |
|
<pattern name="Object to JSON" type="http://www.mulesoft.org/schema/mule/json/object-to-json-transformer" entity-id="Object to JSON#2"> |
|
<graphicalData x="0" y="0" width="0" height="0"/> |
|
<properties> |
|
<property name="sourceClass"/> |
|
<property name="returnClass"/> |
|
<property name="ignoreBadInput"/> |
|
<property name="encoding"/> |
|
<property name="mapper-ref"/> |
|
<property name="auxiliary;index" value="9"/> |
|
<property name="mimeType"/> |
|
</properties> |
|
</pattern> |
|
</lane> |
|
<apikit>false</apikit> |
|
</flow> |
|
<flow SubFlow="false" name="API-JENKINS-BUILD-JOB" entity-id="e0e661bd-48b0-4243-9362-5c4d627dd3b3"> |
|
<properties> |
|
<property name="processingStrategy"/> |
|
<property name="processingStrategy2"/> |
|
<property name="bussinessEventsLabel"/> |
|
<property name="auxiliary;index" value="10"/> |
|
<property name="tracking:enable-default-events"/> |
|
</properties> |
|
<lane hadOnlyOneElement="false" index="0" isChoiceOtherwiseLane="false" entity-id="compartment-lane#3"> |
|
<graphicalData x="0" y="0" width="0" height="0"/> |
|
<endpoint direction="Inbound" message-exchange-pattern="RequestResponse" name="HTTP" type="http://www.mulesoft.org/schema/mule/http/endpoint" entity-id="HTTP#3"> |
|
<graphicalData x="0" y="0" width="0" height="0"/> |
|
<properties> |
|
<property name="port" value="${http.port}"/> |
|
<property name="host" value="${http.server}"/> |
|
<property name="businessEventsLabel"/> |
|
<property name="followRedirects"/> |
|
<property name="org.mule.tooling.ui.modules.core.widgets.meta.ModeAttribute" value="http://www.mulesoft.org/schema/mule/http/endpoint"/> |
|
<property name="keep-alive"/> |
|
<property name="contentType"/> |
|
<property name="disableTransportTransformer"/> |
|
<property name="password"/> |
|
<property name="exchange-pattern" value="request-response"/> |
|
<property name="tracking:enable-default-events"/> |
|
<property name="ref"/> |
|
<property name="transformer-refs"/> |
|
<property name="httpLabel"/> |
|
<property name="address"/> |
|
<property name="path" value="jenkins/build"/> |
|
<property name="encoding"/> |
|
<property name="responseTransformer-refs"/> |
|
<property name="method"/> |
|
<property name="user"/> |
|
<property name="auxiliary;index" value="11"/> |
|
<property name="responseTimeout"/> |
|
<property name="mimeType" value="application/json"/> |
|
<property name="connector-ref"/> |
|
</properties> |
|
</endpoint> |
|
<pattern name="Jenkins" type="http://www.mulesoft.org/schema/mule/jenkins/jenkins-connector" entity-id="Jenkins#4"> |
|
<graphicalData x="0" y="0" width="0" height="0"/> |
|
<properties> |
|
<property name=""/> |
|
<property name="username"/> |
|
<property name="jenkinsUrl"/> |
|
<property name="org.mule.tooling.ui.modules.core.widgets.meta.ModeAttribute" value="http://www.mulesoft.org/schema/mule/jenkins/build"/> |
|
<property name="password"/> |
|
<property name="connectionName"/> |
|
<property name="jobName" value="test-job-mulesoft"/> |
|
<property name="config-ref" value="jenkinsconf"/> |
|
<property name="auxiliary;index" value="12"/> |
|
</properties> |
|
</pattern> |
|
</lane> |
|
<apikit>false</apikit> |
|
</flow> |
|
<description></description> |
|
</mule-configuration> |