blob: dce327c150573701795f757e7d2716af4d7eaf19 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
package org.openecomp.sdc.be.config;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
/**
* Contains DMAAP Client configuration parameters
*/
@Getter
@Setter
@ToString
public class DmaapProducerConfiguration {
private Boolean active;
private String hosts;
private String consumerGroup;
private String consumerId;
private Integer timeoutMs;
private Integer limit;
private Integer pollingInterval;
private String topic;
private Double latitude;
private Double longitude;
private String version;
private String serviceName;
private String environment;
private String partner;
private String routeOffer;
private String protocol;
private String contenttype;
private Boolean dme2TraceOn;
private String aftEnvironment;
private Integer aftDme2ConnectionTimeoutMs;
private Integer aftDme2RoundtripTimeoutMs;
private Integer aftDme2ReadTimeoutMs;
private String dme2preferredRouterFilePath;
private Credential credential;
private Integer timeLimitForNotificationHandleMs;
private boolean aftDme2SslEnable;
private boolean aftDme2ClientIgnoreSslConfig;
private String aftDme2ClientKeystore;
private String aftDme2ClientKeystorePassword;
private String aftDme2ClientSslCertAlias;
public Boolean isDme2TraceOn() {
return dme2TraceOn;
}
/**
* Contains Dmaap Client credential parameters: username and password
*/
@Getter
@Setter
public static class Credential{
private String username;
private String password;
@Override
public String toString() {
return "Credential [username=" + username + ", password=" + password + "]";
}
}
}
|