NewTec-GmbH / pyMetricCli

pyMetricCli is a collection of scripts and API implementations for generating and playing with metrics.
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Add deployment diagram #8

Closed BlueAndi closed 4 months ago

BlueAndi commented 4 months ago
@startuml

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

        pyJiraCli <.. pyMetricCli: <<uses>>
        pyPolarionCli <.. pyMetricCli: <<uses>>
        pySupersetCli <.. pyMetricCli: <<uses>>

        note bottom of pyMetricCli
            Can be 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
gabryelreyes commented 4 months ago

Diagram improved by adding adapter for specific projects. image