Skip to content

Commit b60e85d

Browse files
Remove the HTTP proxy gateway URLs
Fixes #25 Signed-off-by: Stefan Brus <[email protected]>
1 parent b341c57 commit b60e85d

File tree

2 files changed

+4
-15
lines changed

2 files changed

+4
-15
lines changed

RELEASE_NOTES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@
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.
88
- Removed the ability to update `microgrid_id` on an existing dispatch.
9+
- Removed the HTTP proxy gateway URLs, as these will not be used by the dispatch API.

proto/frequenz/api/dispatch/dispatch.proto

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -21,25 +21,13 @@ import "frequenz/api/common/components.proto";
2121

2222
service DispatchService {
2323
// Returns a list of all dispatches
24-
rpc ListDispatches(DispatchListRequest) returns (DispatchList) {
25-
option (google.api.http) = {
26-
get: "/v1/dispatches"
27-
};
28-
}
24+
rpc ListDispatches(DispatchListRequest) returns (DispatchList);
2925

3026
// Create a new dispatch
31-
rpc CreateDispatch(DispatchCreateRequest) returns (google.protobuf.Empty) {
32-
option (google.api.http) = {
33-
post: "/v1/dispatches"
34-
};
35-
}
27+
rpc CreateDispatch(DispatchCreateRequest) returns (google.protobuf.Empty);
3628

3729
// Update a dispatch
38-
rpc UpdateDispatch(DispatchUpdateRequest) returns (google.protobuf.Empty) {
39-
option (google.api.http) = {
40-
patch: "/v1/dispatches"
41-
};
42-
}
30+
rpc UpdateDispatch(DispatchUpdateRequest) returns (google.protobuf.Empty);
4331
}
4432

4533
// Message representing one dispatch

0 commit comments

Comments
 (0)