syntax = "proto3"; package dfs.facility.level1prc; option go_package = "cnlab.net/csst/proto/facility/level1prc"; import "common/error.proto"; service Level1PrcSrv { rpc Find(FindLevel1PrcReq) returns (FindLevel1PrcResp) {} rpc Write(WriteLevel1PrcReq) returns (WriteLevel1PrcResp) {} rpc UpdateProcStatus(UpdateProcStatusReq) returns (UpdateProcStatusResp) {} } message Level1PrcRecord { int64 id = 1; int64 level1_id = 2; string pipeline_id = 3; string prc_module = 4; string params_file_path = 5; int32 prc_status = 6; string prc_time = 7; string result_file_path = 8; } message FindLevel1PrcReq { int64 level1_id = 1; string pipeline_id = 2; string prc_module = 3; int32 prc_status = 4; map other_conditions = 5; } message FindLevel1PrcResp { bool success = 1; int32 totalCount = 2; common.Error error = 3; repeated Level1PrcRecord records = 4; } message WriteLevel1PrcReq { Level1PrcRecord record = 1; } message WriteLevel1PrcResp { bool success = 1; common.Error error = 2; Level1PrcRecord record = 3; } message UpdateProcStatusReq { int64 id = 1; int32 status = 2; } message UpdateProcStatusResp { bool success = 1; common.Error error = 2; }