integration test

This commit is contained in:
omercier 2024-12-16 11:00:33 +01:00
parent 77ad3ff41a
commit 7557739913

41
doc/test.md Normal file
View File

@ -0,0 +1,41 @@
# Comparatif PlantUML vs Mermaid
## Diagrammes de séquences
### Extrait tout simple du diagramme des plugins
```plantuml
participant centreon_plugins.pl
create participant script.pm
centreon_plugins.pl -> script.pm : new()
centreon_plugins.pl -> script.pm : run()
activate script.pm
script.pm -> script.pm : get_plugin()
note right: lasts the next n calls
create participant options.pm
script.pm -> options.pm : new()
note right: imports GetOptions from Getopt::Long
create participant output.pm
script.pm -> output.pm : new()
output.pm -> options.pm : add_options()
note left: adds options for output and perfdata
```
```mermaid
sequenceDiagram
participant centreon_plugins.pl
create participant script.pm
centreon_plugins.pl ->> script.pm : new()
centreon_plugins.pl ->> +script.pm : run()
script.pm ->> +script.pm : get_plugin()
create participant options.pm
script.pm ->> options.pm : new()
Note right of options.pm: imports GetOptions from Getopt::Long
create participant output.pm
script.pm ->> +output.pm : new()
output.pm ->> -options.pm : add_options()
deactivate script.pm
script.pm -->> -centreon_plugins.pl : (end of run())
```