mulesoft

“Unknown lifecycle phase ”mvn“. You must specify a valid lifecycle phase or a goal” While Deploying the application using Azure

≡放荡痞女 提交于 2020-07-10 10:26:49
问题 I am trying to deploy a mule application on cloud hub using Azure Devops. While trying to deploy the application I am running a job which have a task Maven that is suppose to run a maven command: mvn package deploy -DmuleDeploy -Dcloud.env=Sandbox -Danypoint.businessGroup=TestBusiness -Dcloudhub.workerType=Small -DcloudhubAppName=testdeployment -Dmule.version=4.2.2 -Dcloud.user=UserUser -Dcloud.password=*** That should deploy the build using the pom.xml file on cloud hub But I am getting this

GET call works for POSTMAN/SOAPUI but not at mule 4.1.3

最后都变了- 提交于 2020-03-25 19:39:38
问题 Im getting connection timeout error in Mule(anypoint studion), when invoking a request. I have added dummy url(for testing purpose) in an http request flow. That dummy url is working fine with postman and soaupui. But not from Mule. I get, Message : HTTP GET on resource 'http://xxx:3080/hr/INT053' failed: Connection timed out: no further information. Error type : HTTP:CONNECTIVITY if i invoke http://xxx:3080/hr/INT053 directly from postman/soapui it works. What might be the cause? I have

GET call works for POSTMAN/SOAPUI but not at mule 4.1.3

泄露秘密 提交于 2020-03-25 19:39:29
问题 Im getting connection timeout error in Mule(anypoint studion), when invoking a request. I have added dummy url(for testing purpose) in an http request flow. That dummy url is working fine with postman and soaupui. But not from Mule. I get, Message : HTTP GET on resource 'http://xxx:3080/hr/INT053' failed: Connection timed out: no further information. Error type : HTTP:CONNECTIVITY if i invoke http://xxx:3080/hr/INT053 directly from postman/soapui it works. What might be the cause? I have

Want to capture Data Load Log to a SQL or Snowflake table in Mule Flow

两盒软妹~` 提交于 2020-01-30 10:57:27
问题 <?xml version="1.0" encoding="UTF-8"?> <mule xmlns:batch="http://www.mulesoft.org/schema/mule/batch" xmlns:ee="http://www.mulesoft.org/schema/mule/ee/core" xmlns:db="http://www.mulesoft.org/schema/mule/db" xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:doc="http://www.mulesoft.org/schema/mule/documentation" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd http:/

Mapping from XML to CSV loop over values separated by underscore

[亡魂溺海] 提交于 2020-01-16 09:59:50
问题 <tXML> <Header> <Source>J1_RETAIL</Source> <Action_Type>Update</Action_Type> <Sequence_Number>0</Sequence_Number> <Batch_ID>4383352</Batch_ID> <Reference_ID>04381645</Reference_ID> <User_ID>SAP</User_ID> <Password>password</Password> <Message_Type>SAP_DO</Message_Type> <Company_ID>J1</Company_ID> <Msg_Locale>English (United States)</Msg_Locale> <Msg_Time_Zone>Eastern Standard Time</Msg_Time_Zone> <Version></Version> <Internal_Reference_ID></Internal_Reference_ID> <Internal_Date_Time_Stamp><

How can i increment variable value inside function mapobject datawave 2.0?

房东的猫 提交于 2020-01-06 02:42:43
问题 How can i increment variable value inside mapobject(I do not want to use index) in mule4 datawave2.0? My Code: "Employees":{(inputData.*Employees.*Employee map{ "Employee": ($) mapObject(v,k) -> { ---Increment variable value here (k):updateReferenceId(v,($$)+1,v) } })} 回答1: You can increment values in the accumulator of a reduce operation, and you can then add these to the structured data plan f the output. There are some examples in the MuleSoft DataWeave training course flightsInput reduce

How to access the payload when implementing the validator interface?

☆樱花仙子☆ 提交于 2020-01-03 01:58:06
问题 I have to validate the incoming json payload and throw custom errors if the json is not valid. I tried implementing the validator interface as shown in the above image. But how should I access the payload now?In earlier versions the method accepted a mule event through which we could easily get the payload: public interface Validator { /** * Performs the validation and generates a * {@link ValidationResult} back. * * @param event the current {@link MuleEvent} * @return a {@link

Why does Mule DataWeave array map strip top level objects?

大兔子大兔子 提交于 2019-12-10 17:35:24
问题 I'm trying to understand the behaviour of DataWeave v1.0 when it comes to mapping objects in a root JSON array. At this stage I just want to map each item in the array as-is without mapping each individual field of the item. I need to do it for each item in the array because later on I want to edit some of the fields, but since there are potentially many I don't want the overhead of mapping them one-by-one. This is my dataweave: %dw 1.0 %output application/json --- payload map { ($) } This is