diff options
author | Alexis de Talhouët <adetalhouet89@gmail.com> | 2019-03-04 10:22:04 -0500 |
---|---|---|
committer | Alexis de Talhouët <adetalhouet89@gmail.com> | 2019-03-05 14:23:44 +0000 |
commit | 2028db8399fd7afa55cb129beef501994753cb63 (patch) | |
tree | a820969348bf2b5792dbde9f3b7fef6cea13d733 /components/model-catalog/proto-definition/proto/BluePrintCommon.proto | |
parent | e950b19db14ee325416f8e73420d682d07e5e6cf (diff) |
Define EventType contract for gRPC message
Change-Id: Ic8bde56d13f774120c8d64a56993ade71e7b4612
Issue-ID: CCSDK-1118
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
Diffstat (limited to 'components/model-catalog/proto-definition/proto/BluePrintCommon.proto')
-rw-r--r-- | components/model-catalog/proto-definition/proto/BluePrintCommon.proto | 9 |
1 files changed, 8 insertions, 1 deletions
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 |