2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright © 2017 AT&T Intellectual Property.
6 * Copyright © 2017 Amdocs
8 * ================================================================================
9 * Licensed under the Apache License, Version 2.0 (the "License");
10 * you may not use this file except in compliance with the License.
11 * You may obtain a copy of the License at
13 * http://www.apache.org/licenses/LICENSE-2.0
15 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an "AS IS" BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
20 * ============LICENSE_END=========================================================
22 * ECOMP and OpenECOMP are trademarks
23 * and service marks of AT&T Intellectual Property.
25 package org.onap.aai.spike.logging;
27 import com.att.eelf.i18n.EELFResourceManager;
28 import org.onap.aai.cl.eelf.LogMessageEnum;
30 public enum SpikeMsgs implements LogMessageEnum {
33 * Unable to parse schema file: {0} due to error : {1}
35 * Arguments: {0} = schema file name {1} = error
40 * Invalid OXM dir: {0}
42 * Arguments: {0} = Directory.
47 * Unable to commit offset to event bus due to error: {0}
49 * Arguments: {0} = Failure cause.
51 OFFSET_COMMIT_FAILURE,
54 * Unable to load OXM schema: {0}
56 * Arguments: {0} = error
61 * OXM file change detected: {0}
63 * Arguments: {0} = file name
68 * Successfully loaded schema: {0}
70 * Arguments: {0} = oxm filename
75 * Successfully loaded Edge Properties Files: {0}
78 * Arguments: {0} = oxm filename
83 * Successfully Started Spike Service Arguments: {0} = Event interface implementation class name
85 SPIKE_SERVICE_STARTED_SUCCESSFULLY,
88 * Event bus offset manager started: buffer size={0} commit period={1}
90 * Arguments: {0} = Event buffer capacity {1} = Period in ms at which event bus offsets will be
93 OFFSET_MANAGER_STARTED,
96 * Unable to initialize : {0}
98 * Arguments: {0} = Service name
100 SPIKE_SERVICE_STARTED_FAILURE,
103 * Unable to consume event due to : {0}
105 * Arguments: {0} = error message
107 SPIKE_EVENT_CONSUME_FAILURE,
109 * Unable to publish event due to : {0}
111 * Arguments: {0} = error message
113 SPIKE_EVENT_PUBLISH_FAILURE,
115 * Event Received : {0}
117 * Arguments: {0} = event
119 SPIKE_EVENT_RECEIVED,
122 * Event Processed : {0}
124 * Arguments: {0} = event
126 SPIKE_EVENT_PROCESSED,
128 * Event Published : {0}
130 * Arguments: {0} = event
132 SPIKE_EVENT_PUBLISHED,
134 * Event failed to publish: {0}
136 * Arguments: {0} = event
138 SPIKE_PUBLISH_FAILED,
144 SPIKE_NO_EVENT_RECEIVED,
146 * Checking for events Arguments: none
148 SPIKE_QUERY_EVENT_SYSTEM,
151 * Schema Ingest properties file was not loaded properly
153 SPIKE_SCHEMA_INGEST_LOAD_ERROR,
156 * Received request {0} {1} from {2}. Sending response: {3} Arguments: {0} = operation {1} = target
157 * URL {2} = source {3} = response code
159 PROCESS_REST_REQUEST;
162 * Static initializer to ensure the resource bundles for this class are loaded...
165 EELFResourceManager.loadMessageBundle("logging/SpikeMsgs");