Update license date and text
[aai/champ.git] / champ-service / src / main / java / org / onap / champ / service / logging / ChampMsgs.java
1 /**
2  * ============LICENSE_START==========================================
3  * org.onap.aai
4  * ===================================================================
5  * Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
6  * Copyright © 2017-2018 Amdocs
7  * ===================================================================
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  *     http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  * ============LICENSE_END============================================
20  */
21 package org.onap.champ.service.logging;
22
23 import com.att.eelf.i18n.EELFResourceManager;
24 import org.onap.aai.cl.eelf.LogMessageEnum;
25
26 public enum ChampMsgs implements LogMessageEnum {
27
28   /**
29    * Received request {0} {1} from {2}. Sending response: {3}
30    *
31    * <p>
32    * Arguments: {0} = operation {1} = target URL {2} = source {3} = response
33    * code
34    */
35     PROCESS_REST_REQUEST, 
36   /**
37      * Processed event {0}. Result: {1}.
38      *
39      * Arguments: {0} = event {1} = result
40      */
41     PROCESS_EVENT,
42
43     /**
44     * Query: {0}
45      * Arguments: {0} = query
46     */
47     QUERY,
48
49     /**
50      * Arguments: {0}  = transactionID, {1} = request
51      */
52     INCOMING_REQUEST,
53
54     /**
55      * Arguments: {0}  = HTTP request type, {1} = time to process in milliseconds
56      */
57     PROCESSED_REQUEST,
58
59     /**
60      * Arguments: {0} = transaction ID
61      */
62     TRANSACTION_NOT_FOUND,
63
64     /**
65      * Arguments: {0} = request, {1} = Error
66      */
67     BAD_REQUEST,
68
69   /**
70    * Arguments: {0} = Info
71    */
72   CHAMP_TX_CACHE,
73   
74   /**
75    * Any info log related to CHAMP_ASYNC_REQUEST_PROCESSOR_INFO
76    *
77    * <p>Arguments:
78    * {0} - Info.
79    */
80   CHAMP_ASYNC_REQUEST_PROCESSOR_INFO,
81   CHAMP_ASYNC_REQUEST_PROCESSOR_WARN,
82
83   /**
84    * Any error log related to CHAMP_ASYNC_REQUEST_PROCESSOR_ERROR
85    *
86    * <p>Arguments:
87    * {0} - Error.
88    */
89   CHAMP_ASYNC_REQUEST_PROCESSOR_ERROR,
90   
91   /**
92    * Any info log related to CHAMP_DATA_SERVICE_INFO
93    *
94    * <p>Arguments:
95    * {0} - Info.
96    */
97   CHAMP_DATA_SERVICE_INFO,
98
99   /**
100    * Any error log related to CHAMP_DATA_SERVICE_INFO
101    *
102    * <p>Arguments:
103    * {0} - Error.
104    */
105   CHAMP_DATA_SERVICE_ERROR,
106   
107
108   /**
109    * Any info log related to CHAMP_ASYNC_RESPONSE_PUBLISHER_INFO
110    *
111    * <p>Arguments:
112    * {0} - Info.
113    */
114   CHAMP_ASYNC_RESPONSE_PUBLISHER_INFO,
115
116   /**
117    * Any error log related to CHAMP_ASYNC_RESPONSE_PUBLISHER_ERROR
118    *
119    * <p>Arguments:
120    * {0} - Error.
121    */
122   CHAMP_ASYNC_RESPONSE_PUBLISHER_ERROR;
123     /**
124      * Static initializer to ensure the resource bundles for this class are loaded...
125      */
126     static {
127         EELFResourceManager.loadMessageBundle("logging/ChampMsgs");
128     }
129 }