-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
166 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
@startuml | ||
|
||
component "Camunda Carbon Reductor" { | ||
portin "Camunda 7" | ||
portin "Camunda 8" | ||
|
||
component "Carbon Reductor Core" <<Maven Module>> | ||
component "Camunda Carbon Reductor C7" <<Maven Module>> | ||
component "Camunda Carbon Reductor C8" <<Maven Module>> | ||
|
||
component API <<Maven Module>> { | ||
component "Carbon Aware API" <<Maven Module>> | ||
component "Carbon Aware Computing API" <<Maven Module>> | ||
} | ||
|
||
portout "Carbon Aware SDK \n (WattTime | ElectricityMaps)" as CarbonAwareSDK | ||
portout "Carbon Aware Computing" | ||
|
||
"Camunda 7" --> "Camunda Carbon Reductor C7" | ||
"Camunda 8" --> "Camunda Carbon Reductor C8" | ||
|
||
"Camunda Carbon Reductor C7" --> "Carbon Reductor Core" | ||
"Camunda Carbon Reductor C8" --> "Carbon Reductor Core" | ||
|
||
"Carbon Reductor Core" --> "Carbon Aware API" | ||
"Carbon Reductor Core" --> "Carbon Aware Computing API" | ||
|
||
"Carbon Aware API" --> CarbonAwareSDK | ||
"Carbon Aware Computing API" --> "Carbon Aware Computing" | ||
} | ||
|
||
@enduml |
19 changes: 19 additions & 0 deletions
19
assets/diagram/building-block-view-level-1-camunda-carbon-reductor-c7.puml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
@startuml | ||
|
||
component "Camunda Carbon Reductor C7" <<Maven Module>> { | ||
portin "Camunda 7" | ||
|
||
component CarbonReductorTaskHandler | ||
|
||
component CarbonReductorVariableMapper | ||
|
||
portout "Carbon Reductor Core" <<Maven Module>> | ||
|
||
"Camunda 7" <-- CarbonReductorTaskHandler : import | ||
"Carbon Reductor Core" --> CarbonReductorTaskHandler : use | ||
|
||
CarbonReductorTaskHandler -> CarbonReductorVariableMapper : use | ||
CarbonReductorVariableMapper -> "Carbon Reductor Core" : import | ||
} | ||
|
||
@enduml |
24 changes: 24 additions & 0 deletions
24
assets/diagram/building-block-view-level-1-camunda-carbon-reductor-c8.puml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
@startuml | ||
|
||
component "Camunda Carbon Reductor C8" <<Maven Module>> { | ||
portin "Camunda 8" | ||
|
||
component CarbonReductorWorker | ||
|
||
component CarbonReductorVariableMapper | ||
component CarbonReductorInputVariable | ||
component CarbonReductorOutputVariable | ||
|
||
portout "Carbon Reductor Core" <<Maven Module>> | ||
|
||
"Camunda 8" <-- CarbonReductorWorker : import | ||
"Carbon Reductor Core" --> CarbonReductorWorker : use | ||
|
||
CarbonReductorWorker --> CarbonReductorVariableMapper : use | ||
CarbonReductorVariableMapper --> "Carbon Reductor Core" : import | ||
|
||
CarbonReductorVariableMapper --> CarbonReductorInputVariable : import | ||
CarbonReductorVariableMapper --> CarbonReductorOutputVariable : import | ||
} | ||
|
||
@enduml |
42 changes: 42 additions & 0 deletions
42
assets/diagram/building-block-view-level-1-carbon-reductor-core.puml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
@startuml | ||
|
||
component "Carbon Reductor Core" <<Maven Module>> { | ||
portin "Camunda Carbon Reductor C7" <<Maven Module>> | ||
portin "Camunda Carbon Reductor C8" <<Maven Module>> | ||
|
||
' Usecase | ||
component DelayCalculator <<Usecase_ In>> | ||
component CarbonEmissionQuery <<Usecase: Out>> | ||
|
||
' Domain | ||
component DelayCalculatorService <<DomainService>> | ||
|
||
component CarbonReduction <<Domain Model: Aggregate>> | ||
component CarbonReductorConfiguration <<Domain Model: Aggregate>> | ||
|
||
' Adapter | ||
component CarbonAwareSdkClient <<Adapter>> | ||
component CarbonAwareComputingApiClient <<Adapter>> | ||
|
||
portout "Carbon Aware API" <<Maven Module>> | ||
portout "Carbon Aware Computing API" <<Maven Module>> | ||
|
||
|
||
DelayCalculatorService --> CarbonReduction : use | ||
DelayCalculatorService --> CarbonReductorConfiguration : use | ||
|
||
DelayCalculator <-- DelayCalculatorService : implements | ||
CarbonEmissionQuery <-- CarbonAwareSdkClient : implements | ||
CarbonEmissionQuery <-- CarbonAwareComputingApiClient : implements | ||
|
||
DelayCalculatorService --> CarbonEmissionQuery : use | ||
|
||
|
||
"Camunda Carbon Reductor C7" --> DelayCalculator | ||
"Camunda Carbon Reductor C8" --> DelayCalculator | ||
|
||
CarbonAwareSdkClient --> "Carbon Aware API" | ||
CarbonAwareComputingApiClient --> "Carbon Aware Computing API" | ||
} | ||
|
||
@enduml |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+17 KB
...ts/diagram/generated/building-block-view-level-1-camunda-carbon-reductor-c7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+28.2 KB
...ts/diagram/generated/building-block-view-level-1-camunda-carbon-reductor-c8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+45.3 KB
assets/diagram/generated/building-block-view-level-1-carbon-reductor-core.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters