From 368ba6caf56dd09667f1815b336dc21a30526324 Mon Sep 17 00:00:00 2001 From: Jeremy Shih Date: Tue, 5 Nov 2024 16:47:48 +0800 Subject: [PATCH] feat(run): pipeline/model runs and metrics APIs --- config/settings-env/endpoints.json | 77 ++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) diff --git a/config/settings-env/endpoints.json b/config/settings-env/endpoints.json index 92bba58..323eedd 100644 --- a/config/settings-env/endpoints.json +++ b/config/settings-env/endpoints.json @@ -249,6 +249,29 @@ "aggregationWindow", "filter" ] + }, + { + "endpoint": "/v1beta/model-runs/count", + "url_pattern": "/v1beta/model-runs/count", + "method": "GET", + "timeout": "30s", + "input_query_strings": [ + "requesterId", + "start", + "stop" + ] + }, + { + "endpoint": "/v1beta/model-runs/query-charts", + "url_pattern": "/v1beta/model-runs/query-charts", + "method": "GET", + "timeout": "30s", + "input_query_strings": [ + "requesterId", + "aggregationWindow", + "start", + "stop" + ] } ], "no_auth": [ @@ -438,6 +461,18 @@ "url_pattern": "/core.mgmt.v1beta.MgmtPublicService/ListPipelineTriggerChartRecords", "method": "POST", "timeout": "30s" + }, + { + "endpoint": "/core.mgmt.v1beta.MgmtPublicService/GetModelTriggerCount", + "url_pattern": "/core.mgmt.v1beta.MgmtPublicService/GetModelTriggerCount", + "method": "POST", + "timeout": "30s" + }, + { + "endpoint": "/core.mgmt.v1beta.MgmtPublicService/ListModelTriggerChartRecords", + "url_pattern": "/core.mgmt.v1beta.MgmtPublicService/ListModelTriggerChartRecords", + "method": "POST", + "timeout": "30s" } ], "grpc_no_auth": [ @@ -1234,6 +1269,21 @@ "orderBy" ] }, + { + "endpoint": "/v1beta/dashboard/pipelines/runs", + "url_pattern": "/v1beta/dashboard/pipelines/runs", + "method": "GET", + "timeout": "30s", + "input_query_strings": [ + "pageSize", + "page", + "filter", + "orderBy", + "start", + "stop", + "requesterId" + ] + }, { "endpoint": "/v1beta/integrations", "url_pattern": "/v1beta/integrations", @@ -1968,6 +2018,12 @@ "url_pattern": "/vdp.pipeline.v1beta.PipelinePublicService/ListComponentRuns", "method": "POST", "timeout": "30s" + }, + { + "endpoint": "/vdp.pipeline.v1beta.PipelinePublicService/ListPipelineRunsByRequester", + "url_pattern": "/vdp.pipeline.v1beta.PipelinePublicService/ListPipelineRunsByRequester", + "method": "POST", + "timeout": "30s" } ], "grpc_no_auth": [ @@ -2149,6 +2205,21 @@ "orderBy" ] }, + { + "endpoint": "/v1alpha/dashboard/models/runs", + "url_pattern": "/v1alpha/dashboard/models/runs", + "method": "GET", + "timeout": "30s", + "input_query_strings": [ + "pageSize", + "page", + "filter", + "orderBy", + "start", + "stop", + "requesterId" + ] + }, { "endpoint": "/v1alpha/users/{user_id}/models", "url_pattern": "/v1alpha/users/{user_id}/models", @@ -2841,6 +2912,12 @@ "url_pattern": "/model.model.v1alpha.ModelPublicService/ListModelRuns", "method": "POST", "timeout": "30s" + }, + { + "endpoint": "/model.model.v1alpha.ModelPublicService/ListModelRunsByRequester", + "url_pattern": "/model.model.v1alpha.ModelPublicService/ListModelRunsByRequester", + "method": "POST", + "timeout": "30s" } ], "grpc_no_auth": [