From efceaa86a2fc3eb22b9e30bafd08c0fb6ad2a783 Mon Sep 17 00:00:00 2001 From: kjaniak Date: Wed, 25 Jul 2018 14:02:27 +0200 Subject: Enable UNDEFINED option in commonHeader GPB schema Closes ONAP-655 Change-Id: I6fc830d2b8c7bdd726f306a6fbf7e979f39e03f0 Signed-off-by: kjaniak Issue-ID: DCAEGEN2-601 --- .../src/main/proto/VesEvent-v5.proto | 32 ++++++++++++---------- 1 file changed, 17 insertions(+), 15 deletions(-) (limited to 'hv-collector-domain/src/main/proto') diff --git a/hv-collector-domain/src/main/proto/VesEvent-v5.proto b/hv-collector-domain/src/main/proto/VesEvent-v5.proto index 022cce4e..340133b2 100644 --- a/hv-collector-domain/src/main/proto/VesEvent-v5.proto +++ b/hv-collector-domain/src/main/proto/VesEvent-v5.proto @@ -30,27 +30,29 @@ message VesEvent { message CommonEventHeader { string version = 1; // required, "version of the event header" enum Domain { - FAULT = 0; - HEARTBEAT = 1; - MEASUREMENTS_FOR_VF_SCALING = 2; - MOBILE_FLOW = 3; - SIP_SIGNALING = 4; - STATE_CHANGE = 5; - SYSLOG = 6; - THRESHOLD_CROSSING_ALERT = 7; - VOICE_QUALITY = 8; - OTHER = 9; - HVRANMEAS = 10; + DOMAIN_UNDEFINED = 0; + FAULT = 1; + HEARTBEAT = 2; + MEASUREMENTS_FOR_VF_SCALING = 3; + MOBILE_FLOW = 4; + SIP_SIGNALING = 5; + STATE_CHANGE = 6; + SYSLOG = 7; + THRESHOLD_CROSSING_ALERT = 8; + VOICE_QUALITY = 9; + OTHER = 10; + HVRANMEAS = 11; } Domain domain = 2; // required, "the eventing domain associated with the event" [map to string] uint32 sequence = 3; // required, "ordering of events communicated by an event source instance or 0 if not needed" enum Priority { - HIGH = 0; - MEDIUM = 1; - NORMAL = 2; - LOW = 3; + PRIORITY_UNDEFINED = 0; + HIGH = 1; + MEDIUM = 2; + NORMAL = 3; + LOW = 4; } Priority priority = 4; // required, "processing priority" -- cgit 1.2.3-korg