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