Performance Improvements for Gizmo bulk API
[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    * Successfully loaded Edge Properties Files: {0}
50    *
51    * <p>
52    * Arguments: {0} = oxm filename
53    */
54   LOADED_DB_RULE_FILE,
55
56   /**
57    * Unable to load OXM schema: {0}
58    *
59    * <p>
60    * Arguments: {0} = error
61    */
62   OXM_LOAD_ERROR,
63
64   /**
65    * Stopping ChampDAO...
66    *
67    * <p>
68    * Arguments:
69    */
70   STOPPING_CHAMP_DAO,
71
72   /**
73    * Failure instantiating CRUD Rest Service. Cause: {0}
74    *
75    * <p>
76    * Arguments: {0} - Failure cause.
77    */
78   INSTANTIATE_AUTH_ERR,
79
80   /**
81    * Any info log related to ASYNC_DATA_SERVICE_INFO
82    *
83    * <p>Arguments:
84    * {0} - Info.
85    */
86   ASYNC_DATA_SERVICE_INFO,
87   
88   /**
89    * Any error log related to ASYNC_DATA_SERVICE_ERROR
90    *
91    * <p>Arguments:
92    * {0} - Error.
93    */
94   ASYNC_DATA_SERVICE_ERROR,
95   
96   /**
97    * Any info log related to CHAMP_BULK_OP_INFO
98    *
99    * <p>Arguments:
100    * {0} - Info.
101    */
102   CHAMP_BULK_OP_INFO,
103   
104   /**
105    * Any info log related to ASYNC_DATA_CACHE_INFO
106    *
107    * <p>Arguments:
108    * {0} - Info.
109    */
110   ASYNC_DATA_CACHE_INFO,
111
112   /**
113    * Any error log related to ASYNC_DATA_CACHE_ERROR
114    *
115    * <p>Arguments:
116    * {0} - Error.
117    */
118   ASYNC_DATA_CACHE_ERROR,
119   
120   /**
121    * Any info log related to ASYNC_RESPONSE_CONSUMER_INFO
122    *
123    * <p>Arguments:
124    * {0} - Info.
125    */
126   ASYNC_RESPONSE_CONSUMER_INFO,
127
128   /**
129    * Any error log related to ASYNC_RESPONSE_CONSUMER_ERROR
130    *
131    * <p>Arguments:
132    * {0} - Error.
133    */
134   ASYNC_RESPONSE_CONSUMER_ERROR,
135
136   /**
137    * Arguments: {0} Opertaion {1} URI {2} = Exception
138    */
139   EXCEPTION_DURING_METHOD_CALL,
140     
141   /**
142    * Schema Ingest properties file was not loaded properly
143    */
144   SCHEMA_INGEST_LOAD_ERROR;
145
146   /**
147    * Static initializer to ensure the resource bundles for this class are
148    * loaded...
149    */
150   static {
151     EELFResourceManager.loadMessageBundle("logging/CrudServiceMsgs");
152   }
153 }