Commit 5e30dd33 authored by Wei Shoulin's avatar Wei Shoulin
Browse files

add catalog_query_file

parent 57fc4a09
This diff is collapsed.
...@@ -24,6 +24,11 @@ class Level2SrvStub(object): ...@@ -24,6 +24,11 @@ class Level2SrvStub(object):
request_serializer=msc_dot_level2_dot_level2__pb2.FindLevel2CatalogReq.SerializeToString, request_serializer=msc_dot_level2_dot_level2__pb2.FindLevel2CatalogReq.SerializeToString,
response_deserializer=msc_dot_level2_dot_level2__pb2.FindLevel2CatalogResp.FromString, response_deserializer=msc_dot_level2_dot_level2__pb2.FindLevel2CatalogResp.FromString,
) )
self.FindCatalogFile = channel.unary_unary(
'/dfs.msc.level2.Level2Srv/FindCatalogFile',
request_serializer=msc_dot_level2_dot_level2__pb2.FindLevel2CatalogReq.SerializeToString,
response_deserializer=msc_dot_level2_dot_level2__pb2.FindCatalogFileResp.FromString,
)
self.Get = channel.unary_unary( self.Get = channel.unary_unary(
'/dfs.msc.level2.Level2Srv/Get', '/dfs.msc.level2.Level2Srv/Get',
request_serializer=msc_dot_level2_dot_level2__pb2.GetLevel2Req.SerializeToString, request_serializer=msc_dot_level2_dot_level2__pb2.GetLevel2Req.SerializeToString,
...@@ -69,6 +74,13 @@ class Level2SrvServicer(object): ...@@ -69,6 +74,13 @@ class Level2SrvServicer(object):
context.set_details('Method not implemented!') context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!') raise NotImplementedError('Method not implemented!')
def FindCatalogFile(self, request, context):
# missing associated documentation comment in .proto file
pass
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def Get(self, request, context): def Get(self, request, context):
# missing associated documentation comment in .proto file # missing associated documentation comment in .proto file
pass pass
...@@ -117,6 +129,11 @@ def add_Level2SrvServicer_to_server(servicer, server): ...@@ -117,6 +129,11 @@ def add_Level2SrvServicer_to_server(servicer, server):
request_deserializer=msc_dot_level2_dot_level2__pb2.FindLevel2CatalogReq.FromString, request_deserializer=msc_dot_level2_dot_level2__pb2.FindLevel2CatalogReq.FromString,
response_serializer=msc_dot_level2_dot_level2__pb2.FindLevel2CatalogResp.SerializeToString, response_serializer=msc_dot_level2_dot_level2__pb2.FindLevel2CatalogResp.SerializeToString,
), ),
'FindCatalogFile': grpc.unary_unary_rpc_method_handler(
servicer.FindCatalogFile,
request_deserializer=msc_dot_level2_dot_level2__pb2.FindLevel2CatalogReq.FromString,
response_serializer=msc_dot_level2_dot_level2__pb2.FindCatalogFileResp.SerializeToString,
),
'Get': grpc.unary_unary_rpc_method_handler( 'Get': grpc.unary_unary_rpc_method_handler(
servicer.Get, servicer.Get,
request_deserializer=msc_dot_level2_dot_level2__pb2.GetLevel2Req.FromString, request_deserializer=msc_dot_level2_dot_level2__pb2.GetLevel2Req.FromString,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment