e71f8557df579773fe82151a0d394a3f58fa8f23
[ccsdk/oran.git] /
1 /*-
2  * ========================LICENSE_START=================================
3  * ONAP : ccsdk oran
4  * ======================================================================
5  * Copyright (C) 2020 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 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     private String trustStorePassword;
44
45     private String trustStore;
46
47     @Builder
48     @Getter
49     @ToString
50     public static class HttpProxyConfig {
51         private String httpProxyHost;
52
53         private int httpProxyPort;
54
55         private ProxyProvider.Proxy httpProxyType;
56     }
57
58     private HttpProxyConfig httpProxyConfig;
59
60 }