Fixing the formatting
[aai/gizmo.git] / src / main / java / org / openecomp / crud / logging / CrudServiceMsgs.java
1 /**
2  * ============LICENSE_START=======================================================
3  * Gizmo
4  * ================================================================================
5  * Copyright © 2017 AT&T Intellectual Property.
6  * Copyright © 2017 Amdocs
7  * All rights reserved.
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
12  *
13  *    http://www.apache.org/licenses/LICENSE-2.0
14  *
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=========================================================
21  *
22  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
23  */
24 package org.openecomp.crud.logging;
25
26 import com.att.eelf.i18n.EELFResourceManager;
27
28 import org.openecomp.cl.eelf.LogMessageEnum;
29
30 public enum CrudServiceMsgs implements LogMessageEnum {
31
32   /**
33    * Received request {0} {1} from {2}. Sending response: {3}
34    *
35    * <p>
36    * Arguments: {0} = operation {1} = target URL {2} = source {3} = response
37    * code
38    */
39   PROCESS_REST_REQUEST,
40
41   INVALID_OXM_FILE, INVALID_OXM_DIR, OXM_FILE_CHANGED, TRANSACTION,
42
43   /**
44    * Successfully loaded schema: {0}
45    *
46    * <p>
47    * Arguments: {0} = oxm filename
48    */
49   LOADED_OXM_FILE,
50
51   /**
52    * Unable to load OXM schema: {0}
53    *
54    * <p>
55    * Arguments: {0} = error
56    */
57   OXM_LOAD_ERROR,
58
59   /**
60    * Stopping ChampDAO...
61    *
62    * <p>
63    * Arguments:
64    */
65   STOPPING_CHAMP_DAO,
66
67   /**
68    * Failure instantiating CRUD Rest Service. Cause: {0}
69    *
70    * <p>
71    * Arguments: {0} - Failure cause.
72    */
73   INSTANTIATE_AUTH_ERR,
74
75   /**
76    * Arguments: {0} Opertaion {1} URI {2} = Exception
77    */
78   EXCEPTION_DURING_METHOD_CALL;
79
80   /**
81    * Static initializer to ensure the resource bundles for this class are
82    * loaded...
83    */
84   static {
85     EELFResourceManager.loadMessageBundle("logging/CrudServiceMsgs");
86   }
87 }