From 9a7c10fd7f7c9e61ff5de64f5f1543ec4c8a4335 Mon Sep 17 00:00:00 2001 From: "oky.setiawan" Date: Tue, 10 Dec 2024 14:30:52 +0700 Subject: [PATCH] feat(optimus): add result level on job validate --- gotocompany/optimus/core/v1beta1/job_spec.proto | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gotocompany/optimus/core/v1beta1/job_spec.proto b/gotocompany/optimus/core/v1beta1/job_spec.proto index 0b3b8e21..2b4a0d2d 100644 --- a/gotocompany/optimus/core/v1beta1/job_spec.proto +++ b/gotocompany/optimus/core/v1beta1/job_spec.proto @@ -388,10 +388,17 @@ message ValidateRequest { } message ValidateResponse { + enum Level { + LEVEL_UNSPECIFIED = 0; + LEVEL_WARNING = 1; + LEVEL_ERROR = 2; + } + message Result { string name = 1; repeated string messages = 2; bool success = 3; + optional Level level = 4; } message ResultList {