mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-04-08 17:06:05 +02:00
integration test
This commit is contained in:
parent
77ad3ff41a
commit
7557739913
41
doc/test.md
Normal file
41
doc/test.md
Normal 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())
|
||||
|
||||
```
|
Loading…
x
Reference in New Issue
Block a user