Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

mulesoft-consulting/mule4-smb-connector-v2

Repository files navigation

MuleSoft SMB Extension

SMB Connector for Mule 4

Publishing the Connector into Anypoint Exchange

It is recommended to publish the SMB connector in Anypoint Exchange so it can be easily discovered and reused by the organization.

Please, follow the steps described in the official documentation to publish the asset in Anypoint Exchange.

IMPORTANT: to skip unit tests, deploy the connector issuing the following command:

mvn deploy -DskipTests

Running the demo

  • Make sure the connector was published into Anypoint Exchange

  • Start a new Samba server docker image:

sudo docker run -it -p 139:139 -p 445:445 -d dperson/samba -p  -u "mulesoft;mulesoft"  -s "shared;/shared;no;no;no;mulesoft" -w "WORKGROUP"
  • Update the SMB Connector dependency declaration in pom.xml file

  • Import the demo project in Anypoint Studio 7.x

  • Start Anypoint Studio embedded Mule Runtime

  • Send a request to the application: POST http://localhost:8081/write (payload can be anything, and it will be written to the file)

Final Notes

Found and issue or had an exciting idea? Great! Feel free to fork this repo and create pull requests with bug fixes and/or feature implemetations. You can also submit an issue, if you prefer!

Provide feedback, contribute and enjoy! :)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published