Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
- Added warnings to sensor `SensorState`.
- Added a common `TimeIntervalFilter` message in `frequenz.api.common.v1.types` to standardize time interval filtering across APIs. This uses `start_time` (inclusive) and `end_time` (exclusive) fields, aligning with ISO 8601 and common programming conventions.
- Added new message `CommunicationComponentDiagnostic` to represent warnings and errors in microgrid communication components.
- Added new message definitions for streaming events (Deleted, Created, Updated)

## Bug Fixes

Expand Down
26 changes: 26 additions & 0 deletions proto/frequenz/api/common/v1/streaming/event.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// Possible streaming events
//
// Copyright 2025 Frequenz Energy-as-a-Service GmbH
//
// Licensed under the MIT License (the "License");
// you may not use this file except in compliance with the License.

syntax = "proto3";

package frequenz.api.common.v1.streaming;

// This enum message is used to inform receivers of events what kind of
// event they just received
enum Event {
// Default, unspecified event
EVENT_UNSPECIFIED = 0;

// A new dispatch has been created
EVENT_CREATED = 1;

// An existing dispatch has been updated
EVENT_UPDATED = 2;

// An existing dispatch has been deleted
EVENT_DELETED = 3;
}
4 changes: 4 additions & 0 deletions py/frequenz/api/common/v1/streaming/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# License: MIT
# Copyright © 2023 Frequenz Energy-as-a-Service GmbH

"""Frequenz common gRPC API and bindings."""
Loading