15
MULESOFT – DOCUMENTATION (AUTOMATIC)

Mulesoft - Documentation (Automation)

Embed Size (px)

Citation preview

Page 1: Mulesoft - Documentation (Automation)

MULESOFT – DOCUMENTATION (AUTOMATIC)

Page 2: Mulesoft - Documentation (Automation)

Documentation is very important aspect in our software project which explains how it operates or how to use it, and may mean different things to people in different role. It identify attributes, capabilities, characteristics, or qualities of a system or project.

Do you know your Anypoint Studio has a feature to generate documentation of our Mule project ??

Page 3: Mulesoft - Documentation (Automation)

Anypoint Studio simplifies the approach for application documentation. It allows to generate an HTML based documentation for the application by click of a button.It supports the ability to import and export your projects or various project elements and has the ability to document each of the flows, elements, code and it’s attributes.

Page 4: Mulesoft - Documentation (Automation)

So, How can we document in Anypoint studio?

?

Page 5: Mulesoft - Documentation (Automation)

Yes .. We can .. I will show you this trick .. How ??

Page 6: Mulesoft - Documentation (Automation)

Anypoint studio has an inbuilt document generator plugin available??

Page 7: Mulesoft - Documentation (Automation)

So, let’s consider we have following flow:-

Page 8: Mulesoft - Documentation (Automation)

Mule config will be

You can see in the code we have written the description of the components in the doc:name attributes .. Now when document will be generated we will be getting the description of the component in the documentation

Page 9: Mulesoft - Documentation (Automation)

Now, in Anypoint studio we will see a plugin that is for document generation :-

Now, let’s click on the plugin shown in the red mark above

Page 10: Mulesoft - Documentation (Automation)

It will ask for a location to generate our documentation files

We select a path and click on Generate Studio Documentation.In our case the documentation will generate in C:\Temp\docs folder

Page 11: Mulesoft - Documentation (Automation)

The document is getting generated in the given folder

Page 12: Mulesoft - Documentation (Automation)

We will find folders and a index.html files has been generated in the given folder as Studio generates, then saves the documentation for your project as an index.html file on your local drive.

If we double-click to open the index.html, file will open in our default Web browser as above.

Page 13: Mulesoft - Documentation (Automation)

Thus, the documentation contains every single flows and shows both the graphical flow design and XML configuration code of each individual flows within the application.

You can see it also contains our code and description of our flows and components both graphically and also in xml format

Page 14: Mulesoft - Documentation (Automation)

In my next slide I will bring some other techniques in Mule implementation .Hope you have enjoyed this simpler version. Keep sharing your knowledge and let our Mule community grow

Page 15: Mulesoft - Documentation (Automation)

Thank YouVamsi Krishna M