blob: 459469a342cdc296961dd04e2a822ca6b8c37001 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
package org.onap.pnfsimulator.message;
public final class MessageConstants {
public static final String SIMULATOR_PARAMS_CONTAINER = "simulatorParams";
public static final String MESSAGE_PARAMS_CONTAINER = "messageParams";
static final String EVENT = "event";
static final String DOMAIN = "domain";
static final String EVENT_ID = "eventId";
static final String EVENT_TYPE = "eventType";
static final String LAST_EPOCH_MICROSEC = "lastEpochMicrosec";
static final String PRIORITY = "priority";
static final String SEQUENCE = "sequence";
static final String START_EPOCH_MICROSEC = "startEpochMicrosec";
static final String INTERNAL_HEADER_FIELDS = "internalHeaderFields";
static final String VERSION = "version";
static final String PNF_REGISTRATION_FIELDS_VERSION = "pnfRegistrationFieldsVersion";
static final String PNF_LAST_SERVICE_DATE = "lastServiceDate";
static final String PNF_MANUFACTURE_DATE = "manufactureDate";
static final String VES_EVENT_LISTENER_VERSION = "vesEventListenerVersion";
// mandatory used in json file, but not in java logic
//public static final String PNF_OAM_IPV4_ADDRESS = "pnfOamIpv4Address";
//public static final String PNF_OAM_IPV6_ADDRESS = "pnfOamIpv6Address";
//public static final String PNF_SERIAL_NUMBER = "pnfSerialNumber";
//public static final String PNF_VENDOR_NAME = "pnfVendorName";
public static final String VES_SERVER_URL = "vesServerUrl";
public static final String TEST_DURATION = "testDuration";
public static final String MESSAGE_INTERVAL = "messageInterval";
static final String PNF_PREFIX = "pnf_";
static final String COMMON_EVENT_HEADER = "commonEventHeader";
static final String PNF_REGISTRATION_FIELDS = "pnfRegistrationFields";
//===============================================================
//constant values
static final String PNF_REGISTRATION ="pnfRegistration";
static final String PRIORITY_NORMAL = "Normal";
static final String VERSION_NUMBER = "4.0.1";
static final String VES_EVENT_LISTENER_VERSION_NUMBER = "7.0.1";
static final String PNF_REGISTRATION_FIELDS_VERSION_VALUE = "2.0";
static final int SEQUENCE_NUMBER = 0;
private MessageConstants() {
}
}
|