Applying license changes to all files
[appc.git] / appc-common / src / main / java / org / openecomp / appc / logging / LoggingConstants.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP : APPC
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Copyright (C) 2017 Amdocs
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  * 
21  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
22  * ============LICENSE_END=========================================================
23  */
24
25 package org.openecomp.appc.logging;
26
27 public class LoggingConstants {
28
29     public static class MDCKeys {
30
31         public static final String ERROR_CODE = "ErrorCode";
32         public static final String ERROR_DESCRIPTION = "ErrorDescription";
33         public static final String STATUS_CODE = "StatusCode";
34         public static final String RESPONSE_CODE = "ResponseCode";
35         public static final String RESPONSE_DESCRIPTION = "ResponseDescription";
36         public static final String TARGET_ENTITY = "TargetEntity";
37         public static final String TARGET_SERVICE_NAME = "TargetServiceName";
38         public static final String PARTNER_NAME = "PartnerName";
39         public static final String SERVER_NAME = "ServerName";
40         public static final String BEGIN_TIMESTAMP = "BeginTimestamp";
41         public static final String END_TIMESTAMP = "EndTimestamp";
42         public static final String ELAPSED_TIME = "ElapsedTime";
43         public static final String CLASS_NAME = "ClassName";
44         public static final String TARGET_VIRTUAL_ENTITY = "TargetVirtualEntity";
45     }
46
47     public static class StatusCodes {
48         public static final String COMPLETE = "COMPLETE";
49         public static final String ERROR = "ERROR";
50     }
51
52     public static class TargetNames {
53         public static final String APPC = "APPC";
54         public static final String AAI = "A&AI";
55         public static final String DB = "DataBase";
56         public static final String APPC_PROVIDER = "APPC Provider";
57         public static final String APPC_OAM_PROVIDER = "APPC OAM Provider";
58         public static final String STATE_MACHINE = "StateMachine";
59         public static final String WORKFLOW_MANAGER = "WorkflowManager";
60         public static final String REQUEST_VALIDATOR = "RequestValidator";
61         public static final String LOCK_MANAGER = "LockManager";
62         public static final String REQUEST_HANDLER = "RequestHandler";
63     }
64
65     public static class TargetServiceNames{
66
67         public static class AAIServiceNames{
68             public static final String QUERY = "query";
69             public static final String GET_VNF_DATA = "getVnfData";
70         }
71
72     }
73
74 }