Signed-off-by: Li Yuanchao lyc163mail@163.com --- container/web-backend/web-backend | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+)
diff --git a/container/web-backend/web-backend b/container/web-backend/web-backend index 33a3fae..131cff0 100755 --- a/container/web-backend/web-backend +++ b/container/web-backend/web-backend @@ -146,3 +146,28 @@ end get '/get_repo_statistics' do new_refs_statistics(params) end + +# GET /get_group_jobs_table?suite=iperf&dimension=my_name +# must: +# - query_conditions +# - suite / group_id / ... +# - dimension +# - group_id / my_email / my_name +# +# Response like: +# - { +# "kezhiming" : { +# "all" : $all, +# "nr_pass" : $nr_pass, +# "nr_fail" : $nr_fali +# }, +# "chenqun" : { +# "all" : $all, +# "nr_pass" : $nr_pass, +# "nr_fail" : $nr_fali +# }, +# ... +# } +get '/get_group_jobs_table' do + group_jobs_table(params) +end
On Wed, Mar 17, 2021 at 11:13:39AM +0800, Li Yuanchao wrote:
Signed-off-by: Li Yuanchao lyc163mail@163.com
container/web-backend/web-backend | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+)
diff --git a/container/web-backend/web-backend b/container/web-backend/web-backend index 33a3fae..131cff0 100755 --- a/container/web-backend/web-backend +++ b/container/web-backend/web-backend @@ -146,3 +146,28 @@ end get '/get_repo_statistics' do new_refs_statistics(params) end
+# GET /get_group_jobs_table?suite=iperf&dimension=my_name
how about rename it to /get_jobs_summary?
Thanks, Weitao
+# must: +# - query_conditions +# - suite / group_id / ... +# - dimension +# - group_id / my_email / my_name +# +# Response like: +# - { +# "kezhiming" : { +# "all" : $all, +# "nr_pass" : $nr_pass, +# "nr_fail" : $nr_fali +# }, +# "chenqun" : { +# "all" : $all, +# "nr_pass" : $nr_pass, +# "nr_fail" : $nr_fali +# }, +# ... +# } +get '/get_group_jobs_table' do
- group_jobs_table(params)
+end
2.23.0
On Wed, Mar 17, 2021 at 04:32:29PM +0800, Lu Weitao wrote:
On Wed, Mar 17, 2021 at 11:13:39AM +0800, Li Yuanchao wrote:
Signed-off-by: Li Yuanchao lyc163mail@163.com
container/web-backend/web-backend | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+)
diff --git a/container/web-backend/web-backend b/container/web-backend/web-backend index 33a3fae..131cff0 100755 --- a/container/web-backend/web-backend +++ b/container/web-backend/web-backend @@ -146,3 +146,28 @@ end get '/get_repo_statistics' do new_refs_statistics(params) end
+# GET /get_group_jobs_table?suite=iperf&dimension=my_name
how about rename it to /get_jobs_summary?
ok
Thanks, Yuanchao