2 * ================================================================================
3 * Copyright (c) 2018 AT&T Intellectual Property. 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
28 * @author Rajiv Singla
31 @EqualsAndHashCode(callSuper = true)
32 public class CommonEventHeader extends BaseCEFModel {
35 private static final long serialVersionUID = 1L;
38 * The eventing domain associated with this event
40 private Domain domain;
43 * Event key that is unique to the event source
45 private String eventId;
50 private String eventName;
54 * Event type e.g. applicationVnf, guestOS, hostOS, platform
56 private String eventType;
60 * Enrichment fields for internal VES Event Listener service use only, not supplied by event sources
62 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
69 private Long lastEpochMicrosec;
73 * Three character network function component type as aligned with vfc naming standards
75 private String nfcNamingCode;
79 * Four character network function type as aligned with vnf naming standards
81 private String nfNamingCode;
87 private Priority priority;
91 * UUID identifying the entity reporting the event, for example an OAM VM; must be populated by the
94 private String reportingEntityId;
98 * Name of the entity reporting the event, for example, an EMS name; may be the same as sourceName
100 private String reportingEntityName;
104 * Ordering of events communicated by an event source instance or 0 if not needed
106 private Integer sequence;
110 * UUID identifying the entity experiencing the event issue; must be populated by the enrichment process
112 private String sourceId;
116 * Name of the entity experiencing the event issue
118 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
125 private Long startEpochMicrosec;
129 * Version of the event header
131 private Float version;