Add bi-directional GRPC python executor.
[ccsdk/cds.git] / components / model-catalog / proto-definition / proto / BluePrintCommon.proto
index 0f17783..ce90929 100644 (file)
@@ -1,6 +1,6 @@
 syntax = "proto3";
 option java_multiple_files = true;
-package org.onap.ccsdk.apps.controllerblueprints.common.api;
+package org.onap.ccsdk.cds.controllerblueprints.common.api;
 
 message CommonHeader {
   string timestamp = 1;
@@ -24,8 +24,18 @@ message ActionIdentifiers {
 
 message Status {
   int32 code = 1;
+  // present only if message is failure
   string errorMessage = 2;
+  // This will be success or failure
   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;
+  EVENT_COMPONENT_TRACE = 4;
 }
\ No newline at end of file