2 ** ============LICENSE_START=======================================================
3 ** Copyright (c) 2022 Wipro Limited. All rights reserved.
4 ** ================================================================================
5 ** Licensed under the Apache License, Version 2.0 (the "License");
6 ** you may not use this file except in compliance with the License.
7 ** You may obtain a copy of the License at
9 ** http://www.apache.org/licenses/LICENSE-2.0
11 ** Unless required by applicable law or agreed to in writing, software
12 ** distributed under the License is distributed on an "AS IS" BASIS,
13 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 ** See the License for the specific language governing permissions and
15 ** limitations under the License.
16 ** ============LICENSE_END=========================================================
20 package org.onap.dcae.analytics.model.cef;
23 import lombok.EqualsAndHashCode;
26 * Fields common to all Events
30 @EqualsAndHashCode(callSuper = true)
31 public class CommonEventHeaderV7 extends BaseCEFModel {
33 private static final long serialVersionUID = 1L;
36 * The eventing domain associated with this event
39 private Domain domain;
42 * Event key that is unique to the event source
45 private String eventId;
51 private String eventName;
54 * Event type e.g. applicationVnf, guestOS, hostOS, platform
57 private String eventType;
60 * Enrichment fields for internal VES Event Listener service use only, not supplied by event sources
63 private InternalHeaderFields internalHeaderFields;
66 * The latest unix time aka epoch time associated with the event from any component--as microseconds elapsed since
67 * 1 Jan 1970 not including leap seconds
70 private Long lastEpochMicrosec;
73 * Three character network function component type as aligned with vfc naming standards
76 private String nfcNamingCode;
79 * Four character network function type as aligned with vnf naming standards
82 private String nfNamingCode;
88 private Priority priority;
91 * UUID identifying the entity reporting the event, for example an OAM VM; must be populated by the
95 private String reportingEntityId;
98 * Name of the entity reporting the event, for example, an EMS name; may be the same as sourceName
101 private String reportingEntityName;
104 * Ordering of events communicated by an event source instance or 0 if not needed
107 private Integer sequence;
110 * UUID identifying the entity experiencing the event issue; must be populated by the enrichment process
113 private String sourceId;
116 * Name of the entity experiencing the event issue
119 private String sourceName;
122 * The earliest unix time aka epoch time associated with the event from any component--as microseconds elapsed
123 * since 1 Jan 1970 not including leap seconds
126 private Long startEpochMicrosec;
129 * Version of the event header
132 private String version;
135 * Version of the VES event listener version
138 private String vesEventListenerVersion;