e8635b24181feab0db1eae2a10b615f2f2743453
[sdc.git] /
1 /*
2  * Copyright © 2016-2018 European Support Limited
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 package org.openecomp.sdc.logging;
18
19 /**
20  * Constants that must be visible across the logging API.
21  *
22  * @author evitaliy
23  * @since 18 Mar 2018
24  */
25 public class LoggingConstants {
26
27     /**
28      * Default HTTP header for propagation of a request ID for distributed tracing.
29      */
30     public static final String DEFAULT_REQUEST_ID_HEADER = "X-ECOMP-RequestID";
31
32     /**
33      * Default HTTP header for exchanging a partner name between components.
34      */
35     public static final String DEFAULT_PARTNER_NAME_HEADER = "USER_ID";
36
37     private LoggingConstants() {
38         // prevent instantiation of the constants class
39     }
40 }