ab2958c6f20558ea466f499f9139d411548563dd
[ccsdk/oran.git] /
1 /*-
2  * ========================LICENSE_START=================================
3  * ONAP : ccsdk oran
4  * ======================================================================
5  * Copyright (C) 2020-2023 Nordix Foundation. All rights reserved.
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.onap.ccsdk.oran.a1policymanagementservice.configuration;
22
23 import lombok.Builder;
24 import lombok.Getter;
25 import lombok.ToString;
26
27 import reactor.netty.transport.ProxyProvider;
28
29 @Builder
30 @Getter
31 @ToString
32 public class WebClientConfig {
33     private String keyStoreType;
34
35     private String keyStorePassword;
36
37     private String keyStore;
38
39     @ToString.Exclude
40     private String keyPassword;
41
42     private boolean isTrustStoreUsed;
43
44     private String trustStorePassword;
45
46     private String trustStore;
47
48     @Builder
49     @Getter
50     @ToString
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
61 }