svlad-90 / DLT-Message-Analyzer

"Extended search" plugin for the DLT-viewer
GNU General Public License v3.0
77 stars 13 forks source link

[SEARCH] Integrate regex name scripting with plantuml.jar #76

Closed svlad-90 closed 4 years ago

svlad-90 commented 4 years ago

As a user, I want to be able to automatically build sequence diagrams out of the output of the different applications within the system. I want to be able to normalize data from different applications and put them all into a single unified sequence diagram.


In order to do that we can use plantuml.jar out of here: https://github.com/plantuml/plantuml


The integration point should be an extension of regex name scripting.

User should specify the following groups within the message:

<USID> - optional UML_SEQUENCE_ID <UCL> - mandatory UML_CLIENT <URT>|<URS>|<UE> - mandatory one of UML_REQUEST|UML_RESPONSE|UML_EVENT <US> - mandatory UML_SERVICE <UM> - mandatory UML_METHOD <UA> - optional UML_ARGUMENTS

In case if all mandatory groups would be found, the found row would be used to form the single step of the sequence.

Result plantuml formatting would look like this: <UCL> <URT|URS|UE> <US> : [timestamp] <USID><UM>(<UA>)