bundle_creator: remove getBundleHistories
Since the renaming on CPCon side was deployed, remove
getBundleHistories.
BUG=b:133123216
TEST=manually send request by stubby command
Change-Id: I0050d2dbdd2376f46ca2a2cd8acdc07e73a079c2
Reviewed-on: https://chromium-review.googlesource.com/1634296
Commit-Ready: Liang-Chieh Chen <jamesqaq@chromium.org>
Tested-by: Liang-Chieh Chen <jamesqaq@chromium.org>
Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org>
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
diff --git a/py/bundle_creator/app_engine/rpc/stubby.py b/py/bundle_creator/app_engine/rpc/stubby.py
index 37b358c..a0bcaed 100644
--- a/py/bundle_creator/app_engine/rpc/stubby.py
+++ b/py/bundle_creator/app_engine/rpc/stubby.py
@@ -76,12 +76,6 @@
body=body)
return proto.CreateBundleRpcResponse()
- # TODO(b/133123216): remove this after modifying the code on CPCon side
- @remote.method(
- proto.GetBundleHistoryRpcRequest, proto.GetBundleHistoryRpcResponse)
- def GetBundleHistories(self, request):
- return self.GetBundleHistory(request)
-
@remote.method(
proto.GetBundleHistoryRpcRequest, proto.GetBundleHistoryRpcResponse)
def GetBundleHistory(self, request):
diff --git a/py/bundle_creator/proto/factorybundle.proto b/py/bundle_creator/proto/factorybundle.proto
index 841c881..cc6392f 100644
--- a/py/bundle_creator/proto/factorybundle.proto
+++ b/py/bundle_creator/proto/factorybundle.proto
@@ -73,10 +73,6 @@
rpc CreateBundleAsync(CreateBundleRpcRequest)
returns (CreateBundleRpcResponse) {
}
- // TODO(b/133123216): remove this after modifying the code on CPCon side
- rpc GetBundleHistories(GetBundleHistoryRpcRequest)
- returns (GetBundleHistoryRpcResponse) {
- }
rpc GetBundleHistory(GetBundleHistoryRpcRequest)
returns (GetBundleHistoryRpcResponse) {
}