From: Alexis de Talhouët Date: Mon, 4 Mar 2019 15:22:04 +0000 (-0500) Subject: Define EventType contract for gRPC message X-Git-Tag: 0.4.2~163^2~19 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=2028db8399fd7afa55cb129beef501994753cb63;p=ccsdk%2Fcds.git Define EventType contract for gRPC message Change-Id: Ic8bde56d13f774120c8d64a56993ade71e7b4612 Issue-ID: CCSDK-1118 Signed-off-by: Alexis de Talhouët --- diff --git a/components/model-catalog/proto-definition/proto/BluePrintCommon.proto b/components/model-catalog/proto-definition/proto/BluePrintCommon.proto index 0f17783aa..de92bdc1c 100644 --- a/components/model-catalog/proto-definition/proto/BluePrintCommon.proto +++ b/components/model-catalog/proto-definition/proto/BluePrintCommon.proto @@ -26,6 +26,13 @@ message Status { int32 code = 1; string errorMessage = 2; string message = 3; - string eventType = 4; + EventType eventType = 4; string timestamp = 5; +} + +enum EventType { + EVENT_COMPONENT_FAILURE = 0; + EVENT_COMPONENT_PROCESSING = 1; + EVENT_COMPONENT_NOTIFICATION = 2; + EVENT_COMPONENT_EXECUTED = 3; } \ No newline at end of file