Remove outdated doc for A1 Adaptor
[integration.git] / test / mocks / masspnfsim / pnf-sim-lightweight / src / main / java / org / onap / pnfsimulator / message / MessageConstants.java
1 /*
2  * ============LICENSE_START=======================================================
3  * PNF-REGISTRATION-HANDLER
4  * ================================================================================
5  * Copyright (C) 2018 NOKIA Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 package org.onap.pnfsimulator.message;
22
23 public final class MessageConstants {
24
25     public static final String SIMULATOR_PARAMS = "simulatorParams";
26     public static final String COMMON_EVENT_HEADER_PARAMS = "commonEventHeaderParams";
27     public static final String PNF_REGISTRATION_PARAMS = "pnfRegistrationParams";
28     public static final String NOTIFICATION_PARAMS = "notificationParams";
29
30     static final String COMMON_EVENT_HEADER = "commonEventHeader";
31     static final String PNF_REGISTRATION_FIELDS = "pnfRegistrationFields";
32     static final String NOTIFICATION_FIELDS = "notificationFields";
33     static final String EVENT = "event";
34
35     //=============================================================================================
36     //Simulation parameters
37     public static final String VES_SERVER_URL = "vesServerUrl";
38     public static final String TEST_DURATION = "testDuration";
39     public static final String MESSAGE_INTERVAL = "messageInterval";
40
41     //=============================================================================================
42     //commonEventHeader
43     //parameters
44     static final String DOMAIN = "domain";
45     static final String EVENT_ID = "eventId";
46     static final String TIME_ZONE_OFFSET = "timeZoneOffset";
47     static final String EVENT_TYPE = "eventType";
48     static final String LAST_EPOCH_MICROSEC = "lastEpochMicrosec";
49     static final String PRIORITY = "priority";
50     static final String SEQUENCE = "sequence";
51     static final String START_EPOCH_MICROSEC = "startEpochMicrosec";
52     static final String INTERNAL_HEADER_FIELDS = "internalHeaderFields";
53     static final String VERSION = "version";
54     static final String VES_EVENT_LISTENER_VERSION = "vesEventListenerVersion";
55     static final String SOURCE_NAME = "sourceName";
56     static final String REPORTING_ENTITY_NAME = "reportingEntityName";
57     //constant values
58     static final int SEQUENCE_NUMBER = 0;
59     static final String VERSION_NUMBER = "4.0.1";
60     static final String VES_EVENT_LISTENER_VERSION_NUMBER = "7.0.1";
61     static final String PRIORITY_NORMAL = "Normal";
62
63     //=============================================================================================
64     //PNF registration
65     //parameters
66     static final String PNF_REGISTRATION_FIELDS_VERSION = "pnfRegistrationFieldsVersion";
67     static final String PNF_LAST_SERVICE_DATE = "lastServiceDate";
68     static final String PNF_MANUFACTURE_DATE = "manufactureDate";
69     //constant values
70     static final String PNF_REGISTRATION_FIELDS_VERSION_VALUE = "2.0";
71     static final String DOMAIN_PNF_REGISTRATION ="pnfRegistration";
72
73     //=============================================================================================
74     // Notifications
75     //parameters
76     static final String NOTIFICATION_FIELDS_VERSION = "notificationFieldsVersion";
77     static final String ARRAY_OF_NAMED_HASH_MAP = "arrayOfNamedHashMap";
78     static final String NAME = "name";
79     static final String HASH_MAP = "hashMap";
80     static final String FILE_FORMAT_TYPE = "fileFormatType";
81     static final String LOCATION = "location";
82     static final String FILE_FORMAT_VERSION = "fileFormatVersion";
83     static final String COMPRESSION = "compression";
84
85     //constant values
86     static final String NOTIFICATION_FIELDS_VERSION_VALUE = "2.0";
87     static final String DOMAIN_NOTIFICATION ="notification";
88     static final String FILE_FORMAT_TYPE_VALUE = "org.3GPP.32.435#measCollec";
89     static final String FILE_FORMAT_VERSION_VALUE = "V10";
90     static final String COMPRESSION_VALUE = "gzip";
91
92     private MessageConstants() {
93     }
94
95 }