Skip to content

Commit

Permalink
Added deployment diagram #8
Browse files Browse the repository at this point in the history
  • Loading branch information
gabryelreyes committed Jul 15, 2024
1 parent 6ea6924 commit 900a787
Show file tree
Hide file tree
Showing 2 changed files with 82 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ pyMetricCli requires an adapter file to be supplied by the user. This shall cont

An example adapter can be found [here](examples/adapter/adapter.py).

### Deployment

![deployment](https://www.plantuml.com/plantuml/proxy?cache=no&src=https://raw.githubusercontent.com/NewTec-GmbH/pyMetricCli/main/doc/uml/deployment.puml)

## Usage

Show help information:
Expand Down
78 changes: 78 additions & 0 deletions doc/uml/deployment.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
@startuml DeploymentDiagram

node "Apache Superset"<<virtual-machine>> as superset

database "DB Server" {
component "Database" as supersetDb

note bottom of supersetDb
The database is project specific, means
one database per project.
end note

component "Database" as jiraDb
}

node "Polarion"<<virtual-machine>> as polarion
database "SVN Repository" as svnRepo

node "JIRA"<<virtual-machine>> as jira

interface "REST API" as supersetRestApi
interface "REST API" as jiraRestApi
interface "SOAP API" as polarionSoapApi

superset --- supersetRestApi
jira --- jiraRestApi
jira -- jiraDb
polarion --- polarionSoapApi
polarion -- svnRepo

superset -- supersetDb

node "Continuous Integration Server"<<virtual-machine>> {

package "scripts" {
component "pyJiraCli" as pyJiraCli
component "pyPolarionCli" as pyPolarionCli
component "pySupersetCli" as pySupersetCli
component "pyMetricCli" as pyMetricCli
component "pyMetricCli_Adapter" as adapter

pyJiraCli <.. pyMetricCli: <<uses>>
pyPolarionCli <.. pyMetricCli: <<uses>>
pySupersetCli <.. pyMetricCli: <<uses>>
pyMetricCli *--> adapter

note right of pyMetricCli
Called by CI cyclic to generate
metrics.
end note

note right of adapter
Is project specific.
Called by CI cyclic to generate
metrics.
end note
}
}

jiraRestApi )-- pyJiraCli: <<uses>>
polarionSoapApi )-- pyPolarionCli: <<uses>>

supersetRestApi )-- pySupersetCli: <<writes>>

note top of superset
Report frontend for project metrics.
end note

note top of jira
Issue tracking system.
end note

note top of polarion
Requirements management.
end note


@enduml

0 comments on commit 900a787

Please sign in to comment.