Commit 59d2e932 authored by Wei Shoulin's avatar Wei Shoulin
Browse files

new test

parent d8fe36fb
......@@ -21,7 +21,7 @@ DESCRIPTOR = _descriptor.FileDescriptor(
package='dfs.facility.brick',
syntax='proto3',
serialized_options=_b('Z#cnlab.net/csst/proto/facility/brick'),
serialized_pb=_b('\n\x1a\x66\x61\x63ility/brick/brick.proto\x12\x12\x64\x66s.facility.brick\x1a\x12\x63ommon/error.proto\"G\n\x0b\x42rickRecord\x12\n\n\x02id\x18\x01 \x01(\x03\x12\n\n\x02ra\x18\x02 \x01(\x02\x12\x0b\n\x03\x64\x65\x63\x18\x03 \x01(\x02\x12\x13\n\x0b\x62oundingbox\x18\x04 \x01(\t\"^\n\x14\x42rickObsStatusRecord\x12\x10\n\x08\x62rick_id\x18\x01 \x01(\x03\x12\x0c\n\x04\x62\x61nd\x18\x02 \x01(\t\x12\x11\n\tcover_num\x18\x03 \x01(\x05\x12\x13\n\x0bupdate_time\x18\x04 \x01(\t\"j\n\x11\x42rickLevel1Record\x12\x10\n\x08\x62rick_id\x18\x01 \x01(\x03\x12\x11\n\tlevel1_id\x18\x02 \x01(\x03\x12\x0e\n\x06obs_id\x18\x03 \x01(\t\x12\x0e\n\x06module\x18\x04 \x01(\t\x12\x10\n\x08obs_time\x18\x05 \x01(\t\"\xa6\x01\n\x0c\x46indBrickReq\x12\r\n\x05limit\x18\x01 \x01(\x05\x12O\n\x10other_conditions\x18\x02 \x03(\x0b\x32\x35.dfs.facility.brick.FindBrickReq.OtherConditionsEntry\x1a\x36\n\x14OtherConditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x84\x01\n\rFindBrickResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x30\n\x07records\x18\x04 \x03(\x0b\x32\x1f.dfs.facility.brick.BrickRecord\"\x19\n\x0bGetBrickReq\x12\n\n\x02id\x18\x01 \x01(\x03\"?\n\x0cGetBrickResp\x12/\n\x06record\x18\x01 \x01(\x0b\x32\x1f.dfs.facility.brick.BrickRecord\"@\n\rWriteBrickReq\x12/\n\x06record\x18\x01 \x01(\x0b\x32\x1f.dfs.facility.brick.BrickRecord\"p\n\x0eWriteBrickResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12/\n\x06record\x18\x03 \x01(\x0b\x32\x1f.dfs.facility.brick.BrickRecord\"\xbf\x01\n\x10\x46indObsStatusReq\x12\x10\n\x08\x62rick_id\x18\x01 \x01(\x03\x12\x0c\n\x04\x62\x61nd\x18\x02 \x01(\t\x12S\n\x10other_conditions\x18\x03 \x03(\x0b\x32\x39.dfs.facility.brick.FindObsStatusReq.OtherConditionsEntry\x1a\x36\n\x14OtherConditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x91\x01\n\x11\x46indObsStatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x39\n\x07records\x18\x04 \x03(\x0b\x32(.dfs.facility.brick.BrickObsStatusRecord\"D\n\rFindLevel1Req\x12\x10\n\x08\x62rick_id\x18\x01 \x01(\x03\x12\x11\n\tlevel1_id\x18\x02 \x01(\x03\x12\x0e\n\x06module\x18\x03 \x01(\t\"\x8b\x01\n\x0e\x46indLevel1Resp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x36\n\x07records\x18\x04 \x03(\x0b\x32%.dfs.facility.brick.BrickLevel1Record2\xae\x03\n\x08\x42rickSrv\x12M\n\x04\x46ind\x12 .dfs.facility.brick.FindBrickReq\x1a!.dfs.facility.brick.FindBrickResp\"\x00\x12J\n\x03Get\x12\x1f.dfs.facility.brick.GetBrickReq\x1a .dfs.facility.brick.GetBrickResp\"\x00\x12P\n\x05Write\x12!.dfs.facility.brick.WriteBrickReq\x1a\".dfs.facility.brick.WriteBrickResp\"\x00\x12^\n\rFindObsStatus\x12$.dfs.facility.brick.FindObsStatusReq\x1a%.dfs.facility.brick.FindObsStatusResp\"\x00\x12U\n\nFindLevel1\x12!.dfs.facility.brick.FindLevel1Req\x1a\".dfs.facility.brick.FindLevel1Resp\"\x00\x42%Z#cnlab.net/csst/proto/facility/brickb\x06proto3')
serialized_pb=_b('\n\x1a\x66\x61\x63ility/brick/brick.proto\x12\x12\x64\x66s.facility.brick\x1a\x12\x63ommon/error.proto\"G\n\x0b\x42rickRecord\x12\n\n\x02id\x18\x01 \x01(\x03\x12\n\n\x02ra\x18\x02 \x01(\x02\x12\x0b\n\x03\x64\x65\x63\x18\x03 \x01(\x02\x12\x13\n\x0b\x62oundingbox\x18\x04 \x01(\t\"^\n\x14\x42rickObsStatusRecord\x12\x10\n\x08\x62rick_id\x18\x01 \x01(\x03\x12\x0c\n\x04\x62\x61nd\x18\x02 \x01(\t\x12\x11\n\tcover_num\x18\x03 \x01(\x05\x12\x13\n\x0bupdate_time\x18\x04 \x01(\t\"j\n\x11\x42rickLevel1Record\x12\x10\n\x08\x62rick_id\x18\x01 \x01(\x03\x12\x11\n\tlevel1_id\x18\x02 \x01(\x03\x12\x0e\n\x06obs_id\x18\x03 \x01(\t\x12\x0e\n\x06module\x18\x04 \x01(\t\x12\x10\n\x08obs_time\x18\x05 \x01(\t\"\xa6\x01\n\x0c\x46indBrickReq\x12\r\n\x05limit\x18\x01 \x01(\x05\x12O\n\x10other_conditions\x18\x02 \x03(\x0b\x32\x35.dfs.facility.brick.FindBrickReq.OtherConditionsEntry\x1a\x36\n\x14OtherConditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x84\x01\n\rFindBrickResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x30\n\x07records\x18\x04 \x03(\x0b\x32\x1f.dfs.facility.brick.BrickRecord\"\x19\n\x0bGetBrickReq\x12\n\n\x02id\x18\x01 \x01(\x03\"?\n\x0cGetBrickResp\x12/\n\x06record\x18\x01 \x01(\x0b\x32\x1f.dfs.facility.brick.BrickRecord\"@\n\rWriteBrickReq\x12/\n\x06record\x18\x01 \x01(\x0b\x32\x1f.dfs.facility.brick.BrickRecord\"p\n\x0eWriteBrickResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12/\n\x06record\x18\x03 \x01(\x0b\x32\x1f.dfs.facility.brick.BrickRecord\"\xce\x01\n\x10\x46indObsStatusReq\x12\x10\n\x08\x62rick_id\x18\x01 \x01(\x03\x12\x0c\n\x04\x62\x61nd\x18\x02 \x01(\t\x12\r\n\x05limit\x18\x03 \x01(\x05\x12S\n\x10other_conditions\x18\x04 \x03(\x0b\x32\x39.dfs.facility.brick.FindObsStatusReq.OtherConditionsEntry\x1a\x36\n\x14OtherConditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x91\x01\n\x11\x46indObsStatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x39\n\x07records\x18\x04 \x03(\x0b\x32(.dfs.facility.brick.BrickObsStatusRecord\"S\n\rFindLevel1Req\x12\x10\n\x08\x62rick_id\x18\x01 \x01(\x03\x12\x11\n\tlevel1_id\x18\x02 \x01(\x03\x12\x0e\n\x06module\x18\x03 \x01(\t\x12\r\n\x05limit\x18\x04 \x01(\x05\"\x8b\x01\n\x0e\x46indLevel1Resp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x36\n\x07records\x18\x04 \x03(\x0b\x32%.dfs.facility.brick.BrickLevel1Record2\xae\x03\n\x08\x42rickSrv\x12M\n\x04\x46ind\x12 .dfs.facility.brick.FindBrickReq\x1a!.dfs.facility.brick.FindBrickResp\"\x00\x12J\n\x03Get\x12\x1f.dfs.facility.brick.GetBrickReq\x1a .dfs.facility.brick.GetBrickResp\"\x00\x12P\n\x05Write\x12!.dfs.facility.brick.WriteBrickReq\x1a\".dfs.facility.brick.WriteBrickResp\"\x00\x12^\n\rFindObsStatus\x12$.dfs.facility.brick.FindObsStatusReq\x1a%.dfs.facility.brick.FindObsStatusResp\"\x00\x12U\n\nFindLevel1\x12!.dfs.facility.brick.FindLevel1Req\x1a\".dfs.facility.brick.FindLevel1Resp\"\x00\x42%Z#cnlab.net/csst/proto/facility/brickb\x06proto3')
,
dependencies=[common_dot_error__pb2.DESCRIPTOR,])
......@@ -515,8 +515,15 @@ _FINDOBSSTATUSREQ = _descriptor.Descriptor(
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='other_conditions', full_name='dfs.facility.brick.FindObsStatusReq.other_conditions', index=2,
number=3, type=11, cpp_type=10, label=3,
name='limit', full_name='dfs.facility.brick.FindObsStatusReq.limit', index=2,
number=3, type=5, cpp_type=1, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='other_conditions', full_name='dfs.facility.brick.FindObsStatusReq.other_conditions', index=3,
number=4, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
......@@ -534,7 +541,7 @@ _FINDOBSSTATUSREQ = _descriptor.Descriptor(
oneofs=[
],
serialized_start=924,
serialized_end=1115,
serialized_end=1130,
)
......@@ -585,8 +592,8 @@ _FINDOBSSTATUSRESP = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=1118,
serialized_end=1263,
serialized_start=1133,
serialized_end=1278,
)
......@@ -618,6 +625,13 @@ _FINDLEVEL1REQ = _descriptor.Descriptor(
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='limit', full_name='dfs.facility.brick.FindLevel1Req.limit', index=3,
number=4, type=5, cpp_type=1, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
......@@ -630,8 +644,8 @@ _FINDLEVEL1REQ = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=1265,
serialized_end=1333,
serialized_start=1280,
serialized_end=1363,
)
......@@ -682,8 +696,8 @@ _FINDLEVEL1RESP = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=1336,
serialized_end=1475,
serialized_start=1366,
serialized_end=1505,
)
_FINDBRICKREQ_OTHERCONDITIONSENTRY.containing_type = _FINDBRICKREQ
......@@ -833,8 +847,8 @@ _BRICKSRV = _descriptor.ServiceDescriptor(
file=DESCRIPTOR,
index=0,
serialized_options=None,
serialized_start=1478,
serialized_end=1908,
serialized_start=1508,
serialized_end=1938,
methods=[
_descriptor.MethodDescriptor(
name='Find',
......
......@@ -21,7 +21,7 @@ DESCRIPTOR = _descriptor.FileDescriptor(
package='dfs.facility.level2producer',
syntax='proto3',
serialized_options=_b('Z,cnlab.net/csst/proto/facility/level2producer'),
serialized_pb=_b('\n,facility/level2producer/level2producer.proto\x12\x1b\x64\x66s.facility.level2producer\x1a\x12\x63ommon/error.proto\"\xa8\x01\n\x14Level2ProducerRecord\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0f\n\x07gitlink\x18\x03 \x01(\t\x12\x12\n\nparamfiles\x18\x04 \x01(\t\x12\x10\n\x08priority\x18\x05 \x01(\x05\x12\x15\n\rpre_producers\x18\x06 \x03(\x03\x12\x13\n\x0b\x63reate_time\x18\x07 \x01(\t\x12\x13\n\x0bupdate_time\x18\x08 \x01(\t\"d\n\x0fLevel2JobRecord\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0b\n\x03\x64\x61g\x18\x02 \x01(\t\x12\x0e\n\x06status\x18\x03 \x01(\x05\x12\x13\n\x0b\x63reate_time\x18\x04 \x01(\t\x12\x13\n\x0bupdate_time\x18\x05 \x01(\t\"\xd7\x01\n\x1aLevel2ProducerRuningRecord\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0e\n\x06job_id\x18\x02 \x01(\x03\x12\x13\n\x0bproducer_id\x18\x03 \x01(\x03\x12\x10\n\x08\x62rick_id\x18\x04 \x01(\x03\x12\x12\n\nstart_time\x18\x05 \x01(\t\x12\x10\n\x08\x65nd_time\x18\x06 \x01(\t\x12\x12\n\nprc_status\x18\x07 \x01(\x05\x12\x12\n\nprc_result\x18\x08 \x01(\t\x12\x13\n\x0b\x63reate_time\x18\t \x01(\t\x12\x13\n\x0bupdate_time\x18\n \x01(\t\"P\n\x0bRegisterReq\x12\x41\n\x06record\x18\x01 \x01(\x0b\x32\x31.dfs.facility.level2producer.Level2ProducerRecord\"\x80\x01\n\x0cRegisterResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12\x41\n\x06record\x18\x03 \x01(\x0b\x32\x31.dfs.facility.level2producer.Level2ProducerRecord\"\x16\n\x07\x46indReq\x12\x0b\n\x03key\x18\x01 \x01(\t\"\x91\x01\n\x08\x46indResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x42\n\x07records\x18\x04 \x03(\x0b\x32\x31.dfs.facility.level2producer.Level2ProducerRecord\"\x1b\n\x0c\x46indStartReq\x12\x0b\n\x03key\x18\x01 \x01(\t\"\x96\x01\n\rFindStartResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x42\n\x07records\x18\x04 \x03(\x0b\x32\x31.dfs.facility.level2producer.Level2ProducerRecord\"\x1a\n\x0c\x46indNextsReq\x12\n\n\x02id\x18\x01 \x01(\x03\"\x96\x01\n\rFindNextsResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x42\n\x07records\x18\x04 \x03(\x0b\x32\x31.dfs.facility.level2producer.Level2ProducerRecord\"\x14\n\x06GetReq\x12\n\n\x02id\x18\x01 \x01(\x03\"L\n\x07GetResp\x12\x41\n\x06record\x18\x01 \x01(\x0b\x32\x31.dfs.facility.level2producer.Level2ProducerRecord\"N\n\tUpdateReq\x12\x41\n\x06record\x18\x01 \x01(\x0b\x32\x31.dfs.facility.level2producer.Level2ProducerRecord\";\n\nUpdateResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\"\x17\n\tDeleteReq\x12\n\n\x02id\x18\x01 \x01(\x03\";\n\nDeleteResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\"I\n\tNewJobReq\x12<\n\x06record\x18\x01 \x01(\x0b\x32,.dfs.facility.level2producer.Level2JobRecord\"y\n\nNewJobResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12<\n\x06record\x18\x03 \x01(\x0b\x32,.dfs.facility.level2producer.Level2JobRecord\"\x17\n\tGetJobReq\x12\n\n\x02id\x18\x01 \x01(\x03\"J\n\nGetJobResp\x12<\n\x06record\x18\x01 \x01(\x0b\x32,.dfs.facility.level2producer.Level2JobRecord\"L\n\x0cUpdateJobReq\x12<\n\x06record\x18\x01 \x01(\x0b\x32,.dfs.facility.level2producer.Level2JobRecord\">\n\rUpdateJobResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\"Z\n\x0fWriteRunningReq\x12G\n\x06record\x18\x01 \x01(\x0b\x32\x37.dfs.facility.level2producer.Level2ProducerRuningRecord\"\x8a\x01\n\x10WriteRunningResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12G\n\x06record\x18\x03 \x01(\x0b\x32\x37.dfs.facility.level2producer.Level2ProducerRuningRecord\"\x1b\n\rGetRunningReq\x12\n\n\x02id\x18\x01 \x01(\x03\"Y\n\x0eGetRunningResp\x12G\n\x06record\x18\x01 \x01(\x0b\x32\x37.dfs.facility.level2producer.Level2ProducerRuningRecord\"[\n\x10UpdateRunningReq\x12G\n\x06record\x18\x01 \x01(\x0b\x32\x37.dfs.facility.level2producer.Level2ProducerRuningRecord\"B\n\x11UpdateRunningResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\"\x90\x01\n\x0e\x46indRunningReq\x12\x0e\n\x06job_id\x18\x01 \x01(\x03\x12\x13\n\x0bproducer_id\x18\x02 \x01(\x03\x12\x10\n\x08\x62rick_id\x18\x03 \x01(\x03\x12\x12\n\nprc_status\x18\x04 \x01(\x05\x12\x12\n\nstart_time\x18\x05 \x01(\t\x12\x10\n\x08\x65nd_time\x18\x06 \x01(\t\x12\r\n\x05limit\x18\x07 \x01(\x05\"\x98\x01\n\x0f\x46indRunningResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x42\n\x07records\x18\x04 \x03(\x0b\x32\x31.dfs.facility.level2producer.Level2ProducerRecord2\xfd\n\n\x11Level2ProducerSrv\x12\x61\n\x08Register\x12(.dfs.facility.level2producer.RegisterReq\x1a).dfs.facility.level2producer.RegisterResp\"\x00\x12U\n\x04\x46ind\x12$.dfs.facility.level2producer.FindReq\x1a%.dfs.facility.level2producer.FindResp\"\x00\x12\x64\n\tFindNexts\x12).dfs.facility.level2producer.FindNextsReq\x1a*.dfs.facility.level2producer.FindNextsResp\"\x00\x12\x64\n\tFindStart\x12).dfs.facility.level2producer.FindStartReq\x1a*.dfs.facility.level2producer.FindStartResp\"\x00\x12R\n\x03Get\x12#.dfs.facility.level2producer.GetReq\x1a$.dfs.facility.level2producer.GetResp\"\x00\x12[\n\x06Update\x12&.dfs.facility.level2producer.UpdateReq\x1a\'.dfs.facility.level2producer.UpdateResp\"\x00\x12[\n\x06\x44\x65lete\x12&.dfs.facility.level2producer.DeleteReq\x1a\'.dfs.facility.level2producer.DeleteResp\"\x00\x12[\n\x06NewJob\x12&.dfs.facility.level2producer.NewJobReq\x1a\'.dfs.facility.level2producer.NewJobResp\"\x00\x12[\n\x06GetJob\x12&.dfs.facility.level2producer.GetJobReq\x1a\'.dfs.facility.level2producer.GetJobResp\"\x00\x12\x64\n\tUpdateJob\x12).dfs.facility.level2producer.UpdateJobReq\x1a*.dfs.facility.level2producer.UpdateJobResp\"\x00\x12m\n\x0cWriteRunning\x12,.dfs.facility.level2producer.WriteRunningReq\x1a-.dfs.facility.level2producer.WriteRunningResp\"\x00\x12g\n\nGetRunning\x12*.dfs.facility.level2producer.GetRunningReq\x1a+.dfs.facility.level2producer.GetRunningResp\"\x00\x12p\n\rUpdateRunning\x12-.dfs.facility.level2producer.UpdateRunningReq\x1a..dfs.facility.level2producer.UpdateRunningResp\"\x00\x12j\n\x0b\x46indRunning\x12+.dfs.facility.level2producer.FindRunningReq\x1a,.dfs.facility.level2producer.FindRunningResp\"\x00\x42.Z,cnlab.net/csst/proto/facility/level2producerb\x06proto3')
serialized_pb=_b('\n,facility/level2producer/level2producer.proto\x12\x1b\x64\x66s.facility.level2producer\x1a\x12\x63ommon/error.proto\"\xa8\x01\n\x14Level2ProducerRecord\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0f\n\x07gitlink\x18\x03 \x01(\t\x12\x12\n\nparamfiles\x18\x04 \x01(\t\x12\x10\n\x08priority\x18\x05 \x01(\x05\x12\x15\n\rpre_producers\x18\x06 \x03(\x03\x12\x13\n\x0b\x63reate_time\x18\x07 \x01(\t\x12\x13\n\x0bupdate_time\x18\x08 \x01(\t\"d\n\x0fLevel2JobRecord\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0b\n\x03\x64\x61g\x18\x02 \x01(\t\x12\x0e\n\x06status\x18\x03 \x01(\x05\x12\x13\n\x0b\x63reate_time\x18\x04 \x01(\t\x12\x13\n\x0bupdate_time\x18\x05 \x01(\t\"\xd7\x01\n\x1aLevel2ProducerRuningRecord\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0e\n\x06job_id\x18\x02 \x01(\x03\x12\x13\n\x0bproducer_id\x18\x03 \x01(\x03\x12\x10\n\x08\x62rick_id\x18\x04 \x01(\x03\x12\x12\n\nstart_time\x18\x05 \x01(\t\x12\x10\n\x08\x65nd_time\x18\x06 \x01(\t\x12\x12\n\nprc_status\x18\x07 \x01(\x05\x12\x12\n\nprc_result\x18\x08 \x01(\t\x12\x13\n\x0b\x63reate_time\x18\t \x01(\t\x12\x13\n\x0bupdate_time\x18\n \x01(\t\"P\n\x0bRegisterReq\x12\x41\n\x06record\x18\x01 \x01(\x0b\x32\x31.dfs.facility.level2producer.Level2ProducerRecord\"\x80\x01\n\x0cRegisterResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12\x41\n\x06record\x18\x03 \x01(\x0b\x32\x31.dfs.facility.level2producer.Level2ProducerRecord\"%\n\x07\x46indReq\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05limit\x18\x02 \x01(\x05\"\x91\x01\n\x08\x46indResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x42\n\x07records\x18\x04 \x03(\x0b\x32\x31.dfs.facility.level2producer.Level2ProducerRecord\"\x1b\n\x0c\x46indStartReq\x12\x0b\n\x03key\x18\x01 \x01(\t\"\x96\x01\n\rFindStartResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x42\n\x07records\x18\x04 \x03(\x0b\x32\x31.dfs.facility.level2producer.Level2ProducerRecord\"\x1a\n\x0c\x46indNextsReq\x12\n\n\x02id\x18\x01 \x01(\x03\"\x96\x01\n\rFindNextsResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x42\n\x07records\x18\x04 \x03(\x0b\x32\x31.dfs.facility.level2producer.Level2ProducerRecord\"\x14\n\x06GetReq\x12\n\n\x02id\x18\x01 \x01(\x03\"L\n\x07GetResp\x12\x41\n\x06record\x18\x01 \x01(\x0b\x32\x31.dfs.facility.level2producer.Level2ProducerRecord\"N\n\tUpdateReq\x12\x41\n\x06record\x18\x01 \x01(\x0b\x32\x31.dfs.facility.level2producer.Level2ProducerRecord\";\n\nUpdateResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\"\x17\n\tDeleteReq\x12\n\n\x02id\x18\x01 \x01(\x03\";\n\nDeleteResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\"I\n\tNewJobReq\x12<\n\x06record\x18\x01 \x01(\x0b\x32,.dfs.facility.level2producer.Level2JobRecord\"y\n\nNewJobResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12<\n\x06record\x18\x03 \x01(\x0b\x32,.dfs.facility.level2producer.Level2JobRecord\"\x17\n\tGetJobReq\x12\n\n\x02id\x18\x01 \x01(\x03\"J\n\nGetJobResp\x12<\n\x06record\x18\x01 \x01(\x0b\x32,.dfs.facility.level2producer.Level2JobRecord\"L\n\x0cUpdateJobReq\x12<\n\x06record\x18\x01 \x01(\x0b\x32,.dfs.facility.level2producer.Level2JobRecord\">\n\rUpdateJobResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\"Z\n\x0fWriteRunningReq\x12G\n\x06record\x18\x01 \x01(\x0b\x32\x37.dfs.facility.level2producer.Level2ProducerRuningRecord\"\x8a\x01\n\x10WriteRunningResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12G\n\x06record\x18\x03 \x01(\x0b\x32\x37.dfs.facility.level2producer.Level2ProducerRuningRecord\"\x1b\n\rGetRunningReq\x12\n\n\x02id\x18\x01 \x01(\x03\"Y\n\x0eGetRunningResp\x12G\n\x06record\x18\x01 \x01(\x0b\x32\x37.dfs.facility.level2producer.Level2ProducerRuningRecord\"[\n\x10UpdateRunningReq\x12G\n\x06record\x18\x01 \x01(\x0b\x32\x37.dfs.facility.level2producer.Level2ProducerRuningRecord\"B\n\x11UpdateRunningResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\"\x90\x01\n\x0e\x46indRunningReq\x12\x0e\n\x06job_id\x18\x01 \x01(\x03\x12\x13\n\x0bproducer_id\x18\x02 \x01(\x03\x12\x10\n\x08\x62rick_id\x18\x03 \x01(\x03\x12\x12\n\nprc_status\x18\x04 \x01(\x05\x12\x12\n\nstart_time\x18\x05 \x01(\t\x12\x10\n\x08\x65nd_time\x18\x06 \x01(\t\x12\r\n\x05limit\x18\x07 \x01(\x05\"\x9e\x01\n\x0f\x46indRunningResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12H\n\x07records\x18\x04 \x03(\x0b\x32\x37.dfs.facility.level2producer.Level2ProducerRuningRecord2\xfd\n\n\x11Level2ProducerSrv\x12\x61\n\x08Register\x12(.dfs.facility.level2producer.RegisterReq\x1a).dfs.facility.level2producer.RegisterResp\"\x00\x12U\n\x04\x46ind\x12$.dfs.facility.level2producer.FindReq\x1a%.dfs.facility.level2producer.FindResp\"\x00\x12\x64\n\tFindNexts\x12).dfs.facility.level2producer.FindNextsReq\x1a*.dfs.facility.level2producer.FindNextsResp\"\x00\x12\x64\n\tFindStart\x12).dfs.facility.level2producer.FindStartReq\x1a*.dfs.facility.level2producer.FindStartResp\"\x00\x12R\n\x03Get\x12#.dfs.facility.level2producer.GetReq\x1a$.dfs.facility.level2producer.GetResp\"\x00\x12[\n\x06Update\x12&.dfs.facility.level2producer.UpdateReq\x1a\'.dfs.facility.level2producer.UpdateResp\"\x00\x12[\n\x06\x44\x65lete\x12&.dfs.facility.level2producer.DeleteReq\x1a\'.dfs.facility.level2producer.DeleteResp\"\x00\x12[\n\x06NewJob\x12&.dfs.facility.level2producer.NewJobReq\x1a\'.dfs.facility.level2producer.NewJobResp\"\x00\x12[\n\x06GetJob\x12&.dfs.facility.level2producer.GetJobReq\x1a\'.dfs.facility.level2producer.GetJobResp\"\x00\x12\x64\n\tUpdateJob\x12).dfs.facility.level2producer.UpdateJobReq\x1a*.dfs.facility.level2producer.UpdateJobResp\"\x00\x12m\n\x0cWriteRunning\x12,.dfs.facility.level2producer.WriteRunningReq\x1a-.dfs.facility.level2producer.WriteRunningResp\"\x00\x12g\n\nGetRunning\x12*.dfs.facility.level2producer.GetRunningReq\x1a+.dfs.facility.level2producer.GetRunningResp\"\x00\x12p\n\rUpdateRunning\x12-.dfs.facility.level2producer.UpdateRunningReq\x1a..dfs.facility.level2producer.UpdateRunningResp\"\x00\x12j\n\x0b\x46indRunning\x12+.dfs.facility.level2producer.FindRunningReq\x1a,.dfs.facility.level2producer.FindRunningResp\"\x00\x42.Z,cnlab.net/csst/proto/facility/level2producerb\x06proto3')
,
dependencies=[common_dot_error__pb2.DESCRIPTOR,])
......@@ -351,6 +351,13 @@ _FINDREQ = _descriptor.Descriptor(
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='limit', full_name='dfs.facility.level2producer.FindReq.limit', index=1,
number=2, type=5, cpp_type=1, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
......@@ -364,7 +371,7 @@ _FINDREQ = _descriptor.Descriptor(
oneofs=[
],
serialized_start=801,
serialized_end=823,
serialized_end=838,
)
......@@ -415,8 +422,8 @@ _FINDRESP = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=826,
serialized_end=971,
serialized_start=841,
serialized_end=986,
)
......@@ -446,8 +453,8 @@ _FINDSTARTREQ = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=973,
serialized_end=1000,
serialized_start=988,
serialized_end=1015,
)
......@@ -498,8 +505,8 @@ _FINDSTARTRESP = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=1003,
serialized_end=1153,
serialized_start=1018,
serialized_end=1168,
)
......@@ -529,8 +536,8 @@ _FINDNEXTSREQ = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=1155,
serialized_end=1181,
serialized_start=1170,
serialized_end=1196,
)
......@@ -581,8 +588,8 @@ _FINDNEXTSRESP = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=1184,
serialized_end=1334,
serialized_start=1199,
serialized_end=1349,
)
......@@ -612,8 +619,8 @@ _GETREQ = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=1336,
serialized_end=1356,
serialized_start=1351,
serialized_end=1371,
)
......@@ -643,8 +650,8 @@ _GETRESP = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=1358,
serialized_end=1434,
serialized_start=1373,
serialized_end=1449,
)
......@@ -674,8 +681,8 @@ _UPDATEREQ = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=1436,
serialized_end=1514,
serialized_start=1451,
serialized_end=1529,
)
......@@ -712,8 +719,8 @@ _UPDATERESP = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=1516,
serialized_end=1575,
serialized_start=1531,
serialized_end=1590,
)
......@@ -743,8 +750,8 @@ _DELETEREQ = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=1577,
serialized_end=1600,
serialized_start=1592,
serialized_end=1615,
)
......@@ -781,8 +788,8 @@ _DELETERESP = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=1602,
serialized_end=1661,
serialized_start=1617,
serialized_end=1676,
)
......@@ -812,8 +819,8 @@ _NEWJOBREQ = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=1663,
serialized_end=1736,
serialized_start=1678,
serialized_end=1751,
)
......@@ -857,8 +864,8 @@ _NEWJOBRESP = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=1738,
serialized_end=1859,
serialized_start=1753,
serialized_end=1874,
)
......@@ -888,8 +895,8 @@ _GETJOBREQ = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=1861,
serialized_end=1884,
serialized_start=1876,
serialized_end=1899,
)
......@@ -919,8 +926,8 @@ _GETJOBRESP = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=1886,
serialized_end=1960,
serialized_start=1901,
serialized_end=1975,
)
......@@ -950,8 +957,8 @@ _UPDATEJOBREQ = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=1962,
serialized_end=2038,
serialized_start=1977,
serialized_end=2053,
)
......@@ -988,8 +995,8 @@ _UPDATEJOBRESP = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=2040,
serialized_end=2102,
serialized_start=2055,
serialized_end=2117,
)
......@@ -1019,8 +1026,8 @@ _WRITERUNNINGREQ = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=2104,
serialized_end=2194,
serialized_start=2119,
serialized_end=2209,
)
......@@ -1064,8 +1071,8 @@ _WRITERUNNINGRESP = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=2197,
serialized_end=2335,
serialized_start=2212,
serialized_end=2350,
)
......@@ -1095,8 +1102,8 @@ _GETRUNNINGREQ = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=2337,
serialized_end=2364,
serialized_start=2352,
serialized_end=2379,
)
......@@ -1126,8 +1133,8 @@ _GETRUNNINGRESP = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=2366,
serialized_end=2455,
serialized_start=2381,
serialized_end=2470,
)
......@@ -1157,8 +1164,8 @@ _UPDATERUNNINGREQ = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=2457,
serialized_end=2548,
serialized_start=2472,
serialized_end=2563,
)
......@@ -1195,8 +1202,8 @@ _UPDATERUNNINGRESP = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=2550,
serialized_end=2616,
serialized_start=2565,
serialized_end=2631,
)
......@@ -1268,8 +1275,8 @@ _FINDRUNNINGREQ = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=2619,
serialized_end=2763,
serialized_start=2634,
serialized_end=2778,
)
......@@ -1320,8 +1327,8 @@ _FINDRUNNINGRESP = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=2766,
serialized_end=2918,
serialized_start=2781,
serialized_end=2939,
)
_REGISTERREQ.fields_by_name['record'].message_type = _LEVEL2PRODUCERRECORD
......@@ -1350,7 +1357,7 @@ _GETRUNNINGRESP.fields_by_name['record'].message_type = _LEVEL2PRODUCERRUNINGREC
_UPDATERUNNINGREQ.fields_by_name['record'].message_type = _LEVEL2PRODUCERRUNINGRECORD
_UPDATERUNNINGRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR
_FINDRUNNINGRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR
_FINDRUNNINGRESP.fields_by_name['records'].message_type = _LEVEL2PRODUCERRECORD
_FINDRUNNINGRESP.fields_by_name['records'].message_type = _LEVEL2PRODUCERRUNINGRECORD
DESCRIPTOR.message_types_by_name['Level2ProducerRecord'] = _LEVEL2PRODUCERRECORD
DESCRIPTOR.message_types_by_name['Level2JobRecord'] = _LEVEL2JOBRECORD
DESCRIPTOR.message_types_by_name['Level2ProducerRuningRecord'] = _LEVEL2PRODUCERRUNINGRECORD
......@@ -1610,8 +1617,8 @@ _LEVEL2PRODUCERSRV = _descriptor.ServiceDescriptor(
file=DESCRIPTOR,
index=0,
serialized_options=None,
serialized_start=2921,
serialized_end=4326,
serialized_start=2942,
serialized_end=4347,
methods=[
_descriptor.MethodDescriptor(
name='Register',
......
......@@ -3,7 +3,6 @@ import grpc
from . import level2producer_pb2 as facility_dot_level2producer_dot_level2producer__pb2
class Level2ProducerSrvStub(object):
# missing associated documentation comment in .proto file
pass
......
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