diff options
Diffstat (limited to 'common-app-api/src/main/java/org/openecomp/sdc/common/log/api/ILogFieldsHandler.java')
-rw-r--r-- | common-app-api/src/main/java/org/openecomp/sdc/common/log/api/ILogFieldsHandler.java | 131 |
1 files changed, 0 insertions, 131 deletions
diff --git a/common-app-api/src/main/java/org/openecomp/sdc/common/log/api/ILogFieldsHandler.java b/common-app-api/src/main/java/org/openecomp/sdc/common/log/api/ILogFieldsHandler.java deleted file mode 100644 index 5b9728a6da..0000000000 --- a/common-app-api/src/main/java/org/openecomp/sdc/common/log/api/ILogFieldsHandler.java +++ /dev/null @@ -1,131 +0,0 @@ -/*- - * ============LICENSE_START======================================================= - * SDC - * ================================================================================ - * Copyright (C) 2019 AT&T Intellectual Property. All rights reserved. - * ================================================================================ - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * ============LICENSE_END========================================================= - */ - -package org.openecomp.sdc.common.log.api; - -import org.openecomp.sdc.common.log.enums.Severity; - -/** - * Created by dd4296 on 12/25/2017. - */ -public interface ILogFieldsHandler { - void startAuditTimer(); - - void startMetricTimer(); - - void stopAuditTimer(); - - void stopMetricTimer(); - - void setClassName(String className); - - void setServerFQDN(String serverFQDN); - - void setServerIPAddress(String serverIPAddress); - - // intended for setting this parameter in a given thread - void setServerFQDNInternally(); - - // intended for setting this parameter in a given thread - void setServerIPAddressInternally(); - - void setInstanceUUID(String instanceUUID); - - void setProcessKey(String processKey); - - void setAlertSeverity(Severity alertSeverity); - - void setOptCustomField1(String customField1); - - void setOptCustomField2(String customField2); - - void setOptCustomField3(String customField3); - - void setOptCustomField4(String customField4); - - void setKeyRequestId(String keyRequestId); - - void setRemoteHost(String remoteHost); - - void setServiceName(String serviceName); - - void setStatusCode(String statusCode); - - void setPartnerName(String partnerName); - - void setResponseCode(int responseCode); - - void setResponseDesc(String responseDesc); - - void setServiceInstanceId(String serviceInstanceId); - - void setTargetEntity(String targetEntity); - - void setTargetServiceName(String targetServiceName); - - void setTargetVirtualEntity(String targetVirtualEntity); - - void setErrorCode(int errorCode); - - void setErrorCategory(String errorCategory); - - String getErrorCode(); - - String getServiceName(); - - String getErrorCategory(); - - void clear(); - - boolean isMDCParamEmpty(String mdcKeyName); - - String getFqdn(); - - String getHostAddress(); - - String getKeyRequestId(); - - void removeStatusCode(); - - void removePartnerName(); - - void removeResponseCode(); - - void removeResponseDesc(); - - void removeServiceInstanceId(); - - void removeTargetEntity(); - - void removeTargetServiceName(); - - void removeTargetVirtualEntity(); - - void removeErrorCode(); - - void removeErrorCategory(); - - void removeErrorDescription(); - - void setAuditMessage(String message); - - String getAuditMessage(); - -} |