Created
January 24, 2012 03:49
-
-
Save federecio/1667678 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<mule xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:mulexml="http://www.mulesoft.org/schema/mule/xml" xmlns:http="http://www.mulesoft.org/schema/mule/http" xmlns:jira="http://www.mulesoft.org/schema/mule/jira" xmlns:doc="http://www.mulesoft.org/schema/mule/documentation" xmlns:spring="http://www.springframework.org/schema/beans" xmlns:core="http://www.mulesoft.org/schema/mule/core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="CE-3.2.1" xsi:schemaLocation=" | |
http://www.mulesoft.org/schema/mule/xml http://www.mulesoft.org/schema/mule/xml/current/mule-xml.xsd | |
http://www.mulesoft.org/schema/mule/http http://www.mulesoft.org/schema/mule/http/current/mule-http.xsd | |
http://www.mulesoft.org/schema/mule/jira http://www.mulesoft.org/schema/mule/jira/2.0/mule-jira.xsd | |
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd | |
http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd "> | |
<jira:config name="Jira" username="federico.recio" password="123" address="http://localhost:8080/rpc/soap/jirasoapservice-v2" doc:name="Jira"/> | |
<flow name="getFieldsToEdit" doc:name="flows1Flow2"> | |
<http:inbound-endpoint exchange-pattern="request-response" host="localhost" port="8081" path="fields" doc:name="HTTP"/> | |
<jira:get-fields-for-edit config-ref="Jira" issueKey="HACKATHON-204" doc:name="Jira"/> | |
<collection-splitter doc:name="Collection Splitter"/> | |
<mulexml:object-to-xml-transformer doc:name="Object to XML"/> | |
<logger message="#[payload]" level="INFO" doc:name="Logger"/> | |
</flow> | |
<flow name="UpdateIssue" doc:name="flows1Flow1"> | |
<http:inbound-endpoint exchange-pattern="request-response" host="localhost" port="8081" path="edit" doc:name="HTTP"/> | |
<jira:update-issue-single-value-fields config-ref="Jira" issueKey="HACKATHON-204" doc:name="Jira"> | |
<jira:fields> | |
<jira:field key="duedate">24/Jan/12</jira:field> | |
<jira:field key="labels">myLabel</jira:field> | |
</jira:fields> | |
</jira:update-issue-single-value-fields> | |
</flow> | |
</mule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment