Split out Titan specific dependencies from core
[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>Arguments:
36    * {0} = operation
37    * {1} = target URL
38    * {2} = source
39    * {3} = response code
40    */
41   PROCESS_REST_REQUEST,
42
43   INVALID_OXM_FILE,
44   INVALID_OXM_DIR,
45   OXM_FILE_CHANGED,
46
47   /**
48    * Successfully loaded schema: {0}
49    *
50    * <p>Arguments:
51    * {0} = oxm filename
52    */
53   LOADED_OXM_FILE,
54
55   /**
56    * Unable to load OXM schema: {0}
57    *
58    * <p>Arguments:
59    * {0} = error
60    */
61   OXM_LOAD_ERROR,
62
63   /**
64    * Stopping ChampDAO...
65    *
66    * <p>Arguments:
67    */
68   STOPPING_CHAMP_DAO,
69
70   /**
71    * Failure instantiating CRUD Rest Service.  Cause: {0}
72    *
73    * <p>Arguments:
74    * {0} - Failure cause.
75    */
76   INSTANTIATE_AUTH_ERR,
77
78   /**
79    * Arguments:
80    * {0} Opertaion
81    * {1} URI
82    * {2} = Exception
83    */
84   EXCEPTION_DURING_METHOD_CALL;
85
86
87   /**
88    * Static initializer to ensure the resource bundles for this class are loaded...
89    */
90   static {
91     EELFResourceManager.loadMessageBundle("logging/CrudServiceMsgs");
92   }
93 }