cloudhub

“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

how to merge two Json based on key value in Mule

落爺英雄遲暮 提交于 2019-12-25 08:18:02
问题 Hi I have a 1 json as below "first": [ { "projectid": "15", "approval_status": "A" }, { "projectid": "24", "approval_status": "A" } ]} The next payload is stores in a flowVariable { "Second": [ { "projectid": "15", "total": "123", "updated": "yes" }, { "projectid": "24", "total": "123", "updated": "yes" }]} Am using datawevae to merge these payload but its not giving expected result my expected value is { "Result": [ { "projectid": "15", "total": "123", "approval_status": "A" }, { "projectid"

spellcheck-service.cloudhub.io/spellcheck times out from the MuleSoft mule beginner tutorial

此生再无相见时 提交于 2019-12-25 07:21:06
问题 I'm trying to run the program from the beginner tutorial on mulesoft, with the spell check service. I don't know what seems to be going wrong but it seems to time out, I get a mule_error--2. I think the spell check cloud hub service is not running... This is the result: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Started app 'spellchecker' + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ INFO 2013-07-25 15:41:33,413 [[spellchecker].connector.file.mule.default

Issue writing file to sftp - carriage return removed

馋奶兔 提交于 2019-12-13 20:28:20
问题 I have a simple requirement where i have to write a csv to linux sftp . In the current implementation Which I have done CR-'carriage return' is being removed when writting the csv to sftp using mulesoft sftp connector . I have set encoding=US-ASCII on the sftp connector , in the dataweave , even in the property file as mule.encoding=US-ASCII. Nothing seems like working in cloud hub , but surprisingly the same works fine in my local . I understand after reading few blogs/ white papers that

Accessing mule-app.properties in custom properties file located in src/main/resources on cloudhub

匆匆过客 提交于 2019-12-11 13:37:29
问题 I have a mule application built using mule apikit. The mule-app.properties file contains below property: orig.db.url=jdbc:db2://mmrs001.nmd.net:1004/dudu:user=abc43;password=xxxx; The custom properties file src/main/resources/dev.properties contains below property: db.url=${orig.db.url} And, the mule configuration xml file contains below property-placeholder: <context:property-placeholder location="dev.properties"/> Now, when I deploy it locally everything works fine and I am able to run the

Mule: Unable to locate .json file when Deployable archive move to CloudHub

≯℡__Kan透↙ 提交于 2019-12-02 20:04:52
问题 Could someone please help. I have read you recommendation but not able to understand that. I have to read one json file in cloudhub. In my local repositories I have kept the .json file in location test/src/main/resources/input.json . And reading this from Java Class private static final String jsonFilePath = "src\main\resources\input.json"; OR private static final String jsonFilePath = "input.json"; When .json file is in root folder of project byte[] jsonFile = Files.readAllBytes(Paths.get

Mule: Unable to locate .json file when Deployable archive move to CloudHub

血红的双手。 提交于 2019-12-02 07:57:45
Could someone please help. I have read you recommendation but not able to understand that. I have to read one json file in cloudhub. In my local repositories I have kept the .json file in location test/src/main/resources/input.json . And reading this from Java Class private static final String jsonFilePath = "src\main\resources\input.json"; OR private static final String jsonFilePath = "input.json"; When .json file is in root folder of project byte[] jsonFile = Files.readAllBytes(Paths.get(jsonFilePath)); Not able to find the " input.json " file when MDA moved to cloud hub and I am getting