e65fdb990a2bdb0aef59d1d7ef9c3aa36e11258a
[nonrtric.git] / dmaap-adaptor-java / src / main / java / org / oran / dmaapadapter / configuration / WebClientConfig.java
1 /*-
2  * ========================LICENSE_START=================================
3  * O-RAN-SC
4  * %%
5  * Copyright (C) 2021 Nordix Foundation
6  * %%
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ========================LICENSE_END===================================
19  */
20
21 package org.oran.dmaapadapter.configuration;
22
23 import org.immutables.value.Value;
24
25 @Value.Immutable
26 @Value.Style(redactedMask = "####")
27 public interface WebClientConfig {
28     public String keyStoreType();
29
30     @Value.Redacted
31     public String keyStorePassword();
32
33     public String keyStore();
34
35     @Value.Redacted
36     public String keyPassword();
37
38     public boolean isTrustStoreUsed();
39
40     @Value.Redacted
41     public String trustStorePassword();
42
43     public String trustStore();
44
45     @Value.Immutable
46     public interface HttpProxyConfig {
47         public String httpProxyHost();
48
49         public int httpProxyPort();
50     }
51
52     public HttpProxyConfig httpProxyConfig();
53
54 }