Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 2.11 KB

File metadata and controls

32 lines (21 loc) · 2.11 KB

🌱Camunda Carbon Reductor - Core

Core of the Carbon Reductor, providing a single input use case which calculates delay.

Uses the Carbon Aware API.

Table of Contents

🔧️Configuration

The environmental variable CARBON-REDUCTOR_CARBON-AWARE-API_BASE-PATH allows you to set the URL of the Carbon Aware API.
Default is http://localhost:8090.

Or you can override all properties in the application.yaml by applying e.g. a custom one.

🏗Building Blocks

Building Block View Level 1 Carbon Reductor Core

Element Description
DelayCalculator Input port to calculate a time shift.
DelayCalculatorService Implementation of the input port calculating the time shift.
CarbonReductorConfiguration Aggregate representing the input configuration.
CarbonReduction Aggregate representing the result of the time shift.
CarbonEmissionQuery Output port allowing to query for carbon emission forecast data.
CarbonAwareSdkClient Implementation of the output port using the Carbon Aware SDK
CarbonAwareComputingApiClient Implementation of the output port using the Carbon Aware Computing API