mirror of
https://github.com/onepanelio/onepanel.git
synced 2025-10-24 05:53:56 +08:00
refactor workflow stats
This commit is contained in:
@@ -106,7 +106,8 @@ service WorkflowService {
|
||||
|
||||
rpc CronStartWorkflowExecutionStatistic (CronStartWorkflowExecutionStatisticRequest) returns (google.protobuf.Empty) {
|
||||
option (google.api.http) = {
|
||||
get: "/apis/v1beta1/{namespace}/workflow_executions/{name}/cron_start_statistics/{workflowTemplateId}"
|
||||
post: "/apis/v1beta1/{namespace}/workflow_executions/{name}/cron_start_statistics"
|
||||
body: "statistics"
|
||||
};
|
||||
}
|
||||
|
||||
@@ -241,5 +242,5 @@ message AddWorkflowExecutionStatisticRequest {
|
||||
message CronStartWorkflowExecutionStatisticRequest {
|
||||
string namespace = 1;
|
||||
string name = 2;
|
||||
int64 workflowTemplateId = 3;
|
||||
Statistics statistics = 3;
|
||||
}
|
||||
Reference in New Issue
Block a user