Storage of PM Data
[nonrtric.git] / pmlog / src / main / java / org / oran / pmlog / configuration / WebClientConfig.java
1 /*-
2  * ========================LICENSE_START=================================
3  * O-RAN-SC
4  * %%
5  * Copyright (C) 2023 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.pmlog.configuration;
22
23 import lombok.Builder;
24 import lombok.Getter;
25 import lombok.ToString;
26 import reactor.netty.transport.ProxyProvider;
27
28 @Builder
29 @Getter
30 @ToString
31 public class WebClientConfig {
32     private String keyStoreType;
33
34     private String keyStorePassword;
35
36     private String keyStore;
37
38     @ToString.Exclude
39     private String keyPassword;
40
41     private boolean isTrustStoreUsed;
42
43     @ToString.Exclude
44     private String trustStorePassword;
45
46     private String trustStore;
47
48     @ToString
49     @Builder
50     @Getter
51     public static class HttpProxyConfig {
52         private String httpProxyHost;
53
54         private int httpProxyPort;
55
56         private ProxyProvider.Proxy httpProxyType;
57     }
58
59     private HttpProxyConfig httpProxyConfig;
60 }