refactor workflow stats

This commit is contained in:
rushtehrani
2020-04-28 16:59:24 -07:00
parent 015d78f1a3
commit beea0ce69e
8 changed files with 287 additions and 284 deletions

View File

@@ -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;
}