File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed
proto/frequenz/api/dispatch Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 55- The ` type ` field has been removed from update requests, to prevent it from being modified after creation.
66- ` DispatchFilter ` has been replaced by ` DispatchListRequest ` as a parameter for ` ListDispatches ` .
77 - The filter has additionally been re-designed, with fields that lack use cases being removed.
8+ - Removed the ability to update ` microgrid_id ` on an existing dispatch.
Original file line number Diff line number Diff line change @@ -177,27 +177,24 @@ message DispatchUpdateRequest {
177177 // The dispatch identifier
178178 uint64 id = 1 ;
179179
180- // The microgrid identifier
181- optional uint64 microgrid_id = 2 ;
182-
183180 // The start time
184181 // When updating a dispatch, ensure that the starting timestamp is set to
185182 // the current time or any future time.
186183 // Timestamps earlier than the current time are not allowed.
187- google.protobuf.Timestamp start_time = 3 ;
184+ google.protobuf.Timestamp start_time = 2 ;
188185
189186 // The end time
190- google.protobuf.Timestamp end_time = 4 ;
187+ google.protobuf.Timestamp end_time = 3 ;
191188
192189 // The component selector
193- DispatchComponentSelector selector = 5 ;
190+ DispatchComponentSelector selector = 4 ;
194191
195192 // The "active" status
196- optional bool is_active = 6 ;
193+ optional bool is_active = 5 ;
197194
198195 // The "dry run" status
199- optional bool is_dry_run = 7 ;
196+ optional bool is_dry_run = 6 ;
200197
201198 // The dispatch payload
202- google.protobuf.Struct payload = 8 ;
199+ google.protobuf.Struct payload = 7 ;
203200}
You can’t perform that action at this time.
0 commit comments