36cb3f56a2a57a64b149102d53f424a336b9d190
[aai/gizmo.git] / src / main / java / org / onap / crud / logging / CrudServiceMsgs.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.crud.logging;
22
23 import com.att.eelf.i18n.EELFResourceManager;
24
25 import org.onap.aai.cl.eelf.LogMessageEnum;
26
27 public enum CrudServiceMsgs implements LogMessageEnum {
28
29   /**
30    * Received request {0} {1} from {2}. Sending response: {3}
31    *
32    * <p>
33    * Arguments: {0} = operation {1} = target URL {2} = source {3} = response
34    * code
35    */
36   PROCESS_REST_REQUEST,
37
38   INVALID_OXM_FILE, INVALID_OXM_DIR, OXM_FILE_CHANGED, TRANSACTION,
39
40   /**
41    * Successfully loaded schema: {0}
42    *
43    * <p>
44    * Arguments: {0} = oxm filename
45    */
46   LOADED_OXM_FILE,
47
48   /**
49    * Unable to load OXM schema: {0}
50    *
51    * <p>
52    * Arguments: {0} = error
53    */
54   OXM_LOAD_ERROR,
55
56   /**
57    * Stopping ChampDAO...
58    *
59    * <p>
60    * Arguments:
61    */
62   STOPPING_CHAMP_DAO,
63
64   /**
65    * Failure instantiating CRUD Rest Service. Cause: {0}
66    *
67    * <p>
68    * Arguments: {0} - Failure cause.
69    */
70   INSTANTIATE_AUTH_ERR,
71
72   /**
73    * Any info log related to ASYNC_DATA_SERVICE_INFO
74    *
75    * <p>Arguments:
76    * {0} - Info.
77    */
78   ASYNC_DATA_SERVICE_INFO,
79   
80   /**
81    * Any error log related to ASYNC_DATA_SERVICE_ERROR
82    *
83    * <p>Arguments:
84    * {0} - Error.
85    */
86   ASYNC_DATA_SERVICE_ERROR,
87   
88   /**
89    * Any info log related to ASYNC_DATA_CACHE_INFO
90    *
91    * <p>Arguments:
92    * {0} - Info.
93    */
94   ASYNC_DATA_CACHE_INFO,
95
96   /**
97    * Any error log related to ASYNC_DATA_CACHE_ERROR
98    *
99    * <p>Arguments:
100    * {0} - Error.
101    */
102   ASYNC_DATA_CACHE_ERROR,
103   
104   /**
105    * Any info log related to ASYNC_RESPONSE_CONSUMER_INFO
106    *
107    * <p>Arguments:
108    * {0} - Info.
109    */
110   ASYNC_RESPONSE_CONSUMER_INFO,
111
112   /**
113    * Any error log related to ASYNC_RESPONSE_CONSUMER_ERROR
114    *
115    * <p>Arguments:
116    * {0} - Error.
117    */
118   ASYNC_RESPONSE_CONSUMER_ERROR,
119
120   /**
121    * Arguments: {0} Opertaion {1} URI {2} = Exception
122    */
123   EXCEPTION_DURING_METHOD_CALL;
124
125   /**
126    * Static initializer to ensure the resource bundles for this class are
127    * loaded...
128    */
129   static {
130     EELFResourceManager.loadMessageBundle("logging/CrudServiceMsgs");
131   }
132 }