Skip to content

Commit

Permalink
readme uml
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesKonings committed Apr 22, 2020
1 parent 556da08 commit 3cc48af
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 3 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,15 @@

# architecture

## classdiagramm
## component diagramm

![classdiagramm](out/architecture/architecture_class/architecture_class.png)
![component diagramm](out/architecture/architecture_component/component_diagram.png)

## class diagramm

![class diagramm provider](out/architecture/architecture_class/provider.png)

![class diagramm converter](out/architecture/architecture_class/converter.png)

# local tests

Expand Down
12 changes: 11 additions & 1 deletion architecture/architecture_class.plantuml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
@startuml architecture_class
@startuml provider

class zcl_amp_strategist{
+ provide_metrics()
}

class zcl_amp_metrics_system <<zif_amp_metrics_collector>>
class zcl_amp_metrics_performance <<zif_amp_metrics_collector>>
class zcl_amp_metrics_ <<zif_amp_metrics_collector>>

interface zif_amp_metrics_collector{
get_metrics
Expand All @@ -15,5 +16,14 @@ zcl_amp_strategist o-- metrics_collector

metrics_collector <|-- zcl_amp_metrics_system
metrics_collector <|-- zcl_amp_metrics_performance
metrics_collector <|-- zcl_amp_metrics_p

@enduml

@startuml converter

class zcl_amp_conv_http_json <<zif_amp_converter>>
class zcl_amp_con_prom_keyvalue <<zif_amp_converter>>
class zcl_amp_metrics_ <<zif_amp_converter>>

@enduml
18 changes: 18 additions & 0 deletions architecture/architecture_component.plantuml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
@startuml component_diagram

Job - metricsProvider
HTTP - SICF
metricsProvider --> metricsStore
SICF --> metricsStore
package "metricsProvider" {
[metrics collector]
}

package "SICF" {
[metrics converter]
}

database "metricsStore" {

}
@enduml
Binary file not shown.
Binary file added out/architecture/architecture_class/converter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3cc48af

Please sign in to comment.