File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed
proto/frequenz/api/dispatch Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 77 - The filter has additionally been re-designed, with fields that lack use cases being removed.
88- Removed the ability to update ` microgrid_id ` on an existing dispatch.
99- Removed the HTTP proxy gateway URLs, as these will not be used by the dispatch API.
10+ - Added RPCs for getting and deleting a single dispatch.
Original file line number Diff line number Diff line change @@ -28,6 +28,12 @@ service DispatchService {
2828
2929 // Update a dispatch
3030 rpc UpdateDispatch (DispatchUpdateRequest ) returns (google .protobuf .Empty );
31+
32+ // Get a single dispatch
33+ rpc GetDispatch (DispatchGetRequest ) returns (Dispatch );
34+
35+ // Delete a given dispatch
36+ rpc DeleteDispatch (DispatchDeleteRequest ) returns (google .protobuf .Empty );
3137}
3238
3339// Message representing one dispatch
@@ -186,3 +192,15 @@ message DispatchUpdateRequest {
186192 // The dispatch payload
187193 google.protobuf.Struct payload = 7 ;
188194}
195+
196+ // Message to get a single dispatch by its ID
197+ message DispatchGetRequest {
198+ // The dispatch identifier
199+ uint64 id = 1 ;
200+ }
201+
202+ // Message to delete a single dispatch by its ID
203+ message DispatchDeleteRequest {
204+ // The dispatch identifier
205+ uint64 id = 1 ;
206+ }
You can’t perform that action at this time.
0 commit comments