Commit 1ddab086 authored by Wei Shoulin's avatar Wei Shoulin
Browse files

add build_id

parent 6981a2d4
Pipeline #2893 passed with stage
...@@ -216,7 +216,7 @@ class Level1DataApi(object): ...@@ -216,7 +216,7 @@ class Level1DataApi(object):
prc_time : [str] prc_time : [str]
pipeline_id : [str] pipeline_id : [str]
pmapname : [str] pmapname : [str]
refs: [dict] build_id : [int]
return csst_dfs_common.models.Result return csst_dfs_common.models.Result
''' '''
...@@ -234,7 +234,7 @@ class Level1DataApi(object): ...@@ -234,7 +234,7 @@ class Level1DataApi(object):
prc_status = get_parameter(kwargs, "prc_status", 0), prc_status = get_parameter(kwargs, "prc_status", 0),
prc_time = get_parameter(kwargs, "prc_time", format_datetime(datetime.now())), prc_time = get_parameter(kwargs, "prc_time", format_datetime(datetime.now())),
pipeline_id = get_parameter(kwargs, "pipeline_id", ""), pipeline_id = get_parameter(kwargs, "pipeline_id", ""),
build_id = get_parameter(kwargs, "build_id", -1024), build_id = get_parameter(kwargs, "build_id", 0),
pmapname = get_parameter(kwargs, "pmapname", ""), pmapname = get_parameter(kwargs, "pmapname", ""),
refs = get_parameter(kwargs, "refs", {}) refs = get_parameter(kwargs, "refs", {})
) )
......
...@@ -243,6 +243,7 @@ class Level2DataApi(object): ...@@ -243,6 +243,7 @@ class Level2DataApi(object):
prc_status : [int] prc_status : [int]
prc_time : [str] prc_time : [str]
pipeline_id : [str] pipeline_id : [str]
build_id : [int]
return csst_dfs_common.models.Result return csst_dfs_common.models.Result
''' '''
...@@ -260,6 +261,7 @@ class Level2DataApi(object): ...@@ -260,6 +261,7 @@ class Level2DataApi(object):
qc2_status = get_parameter(kwargs, "qc2_status", 0), qc2_status = get_parameter(kwargs, "qc2_status", 0),
prc_status = get_parameter(kwargs, "prc_status", 0), prc_status = get_parameter(kwargs, "prc_status", 0),
prc_time = get_parameter(kwargs, "prc_time", format_datetime(datetime.now())), prc_time = get_parameter(kwargs, "prc_time", format_datetime(datetime.now())),
build_id = get_parameter(kwargs, "build_id", 0),
pipeline_id = get_parameter(kwargs, "pipeline_id", "") pipeline_id = get_parameter(kwargs, "pipeline_id", "")
) )
def stream(rec): def stream(rec):
......
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