[AAI-26] Adding gizmo data to the repository.
[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    * Instantiate data access layer for graph data store type: {0} graph: {1} using hosts: {2}
65    *
66    * <p>Arguments:
67    * {0} = Graph data store technology type
68    * {1} = Graph name
69    * {2} = Hosts list
70    */
71   INSTANTIATE_GRAPH_DAO,
72
73   /**
74    * Stopping ChampDAO...
75    *
76    * <p>Arguments:
77    */
78   STOPPING_CHAMP_DAO,
79
80   /**
81    * Unsupported graph database {0} specified.
82    *
83    * <p>Arguments:
84    * {0} = Graph database back end.
85    */
86   INVALID_GRAPH_BACKEND,
87
88   /**
89    * Failure instantiating {0} graph database backend.  Cause: {1}
90    *
91    * <p>Arguments:
92    * {0} - Graph database type.
93    * {1} - Failure cause.
94    */
95   INSTANTIATE_GRAPH_BACKEND_ERR,
96
97   /**
98    * Failure instantiating CRUD Rest Service.  Cause: {0}
99    *
100    * <p>Arguments:
101    * {0} - Failure cause.
102    */
103   INSTANTIATE_AUTH_ERR,
104
105   /**
106    * Any info log related to titan graph
107    *
108    * <p>Arguments:
109    * {0} - Info.
110    */
111   TITAN_GRAPH_INFO,
112   
113   /**
114    * Arguments:
115    * {0} Opertaion
116    * {1} URI
117    * {2} = Exception
118    */
119   EXCEPTION_DURING_METHOD_CALL;
120
121
122   /**
123    * Static initializer to ensure the resource bundles for this class are loaded...
124    */
125   static {
126     EELFResourceManager.loadMessageBundle("logging/CrudServiceMsgs");
127   }
128 }