blob: 37d77fd6c556dbd56dd3ccc8e9b1ed938e813eb3 (
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
68
69
70
71
72
73
74
75
|
package org.openecomp.sdc.common.ecomplog.api;
import org.openecomp.sdc.common.ecomplog.EcompMDCWrapper;
import org.openecomp.sdc.common.ecomplog.Enums.Severity;
/**
* Created by dd4296 on 12/25/2017.
*/
public interface IEcompMdcWrapper {
EcompMDCWrapper startTimer();
EcompMDCWrapper stopTimer();
EcompMDCWrapper setClassName(String className);
// automatic parameter this is optional
EcompMDCWrapper setAutoServerFQDN(String serverFQDN);
// automatic parameter this is optional
EcompMDCWrapper setAutoServerIPAddress(String serverIPAddress);
EcompMDCWrapper setInstanceUUID(String instanceUUID);
EcompMDCWrapper setProcessKey(String processKey);
EcompMDCWrapper setAlertSeverity(Severity alertSeverity);
EcompMDCWrapper setOptCustomField1(String customField1);
EcompMDCWrapper setOptCustomField2(String customField2);
EcompMDCWrapper setOptCustomField3(String customField3);
EcompMDCWrapper setOptCustomField4(String customField4);
EcompMDCWrapper setKeyRequestId(String keyRequestId);
EcompMDCWrapper setRemoteHost(String remoteHost);
EcompMDCWrapper setServiceName(String serviceName);
EcompMDCWrapper setStatusCode(String statusCode);
EcompMDCWrapper setPartnerName(String partnerName);
EcompMDCWrapper setResponseCode(int responseCode);
EcompMDCWrapper setResponseDesc(String responseDesc);
EcompMDCWrapper setServiceInstanceId(String serviceInstanceId);
EcompMDCWrapper setTargetEntity(String targetEntity);
EcompMDCWrapper setTargetServiceName(String targetServiceName);
EcompMDCWrapper setTargetVirtualEntity(String targetVirtualEntity);
EcompMDCWrapper setErrorCode(int errorCode);
EcompMDCWrapper setErrorDescription(String errorDescription);
EcompMDCWrapper clear();
void validateMandatoryFields();
void setMandatoryField(String mdcKeyRequestId);
void setOptionalField(String mdcKeyRequestId);
boolean isMDCParamEmpty(String mdcKeyName);
String getFqdn();
String getHostAddress();
}
|