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"?> | |
<!-- global.xml --> | |
<mule xmlns:http="http://www.mulesoft.org/schema/mule/http" | |
xmlns="http://www.mulesoft.org/schema/mule/core" | |
xmlns:websocket="http://www.mulesoft.org/schema/mule/websocket" | |
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/http | |
http://www.mulesoft.org/schema/mule/http/current/mule-http.xsd |
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
# config.yaml | |
http: | |
port: "8081" | |
ws: | |
port: "8091" |
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
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/Chart.min.js"></script> | |
</head> | |
<body> | |
<div width="400" height="400"> | |
<canvas id="myChart"></canvas> | |
</div> |
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
%dw 2.0 | |
output application/json | |
--- | |
[{ | |
FirstName: "Max", | |
LastName: "Mule", | |
Email: "[email protected]", | |
Company: "MuleSoft" | |
}] |
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
%dw 2.0 | |
output application/json | |
--- | |
read(payload,'application/json') |
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
%dw 2.0 | |
output application/json | |
--- | |
vars.SaveS3Object mapObject ((value, key, index) -> | |
{ | |
(index) : value, | |
}) ++ vars.SaveObject mapObject ((value, key, index) -> | |
{ | |
(index) : value, | |
}) |
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
%dw 2.0 | |
output application/json | |
--- | |
{ | |
"0": payload | |
} |
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
{ | |
"0": { | |
"LastModifiedDate": "2020-10-21T21:55:38.000Z", | |
"Company": "MuleSoft", | |
"Email": null, | |
"Address": null, | |
"Latitude": null, | |
"ProductInterest__c": null, | |
"type": "Lead", | |
"MobilePhone": "4084895392", |
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
{ | |
"0" : | |
{ | |
"LastModifiedDate": "2020-10-21T21:55:38.000Z", | |
"Company": "MuleSoft", | |
"Email": null, | |
"Address": null, | |
"Latitude": null, | |
"ProductInterest__c": null, | |
"type": "Lead", |
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
Execution default-deploy of goal org.mule.tools.maven:mule-maven-plugin:3.3.5:deploy failed: | |
MessageBodyReader not found for media type=application/json;charset=utf-8, | |
type=class org.mule.tools.client.arm.model.AuthorizationResponse, | |
genericType=class org.mule.tools.client.arm.model.AuthorizationResponse. |