diff options
Diffstat (limited to 'common-app-api/src/main/java/org/openecomp/sdc/common/ecomplog/api')
4 files changed, 0 insertions, 142 deletions
diff --git a/common-app-api/src/main/java/org/openecomp/sdc/common/ecomplog/api/IEcompLogConfiguration.java b/common-app-api/src/main/java/org/openecomp/sdc/common/ecomplog/api/IEcompLogConfiguration.java deleted file mode 100644 index 6521ea78e1..0000000000 --- a/common-app-api/src/main/java/org/openecomp/sdc/common/ecomplog/api/IEcompLogConfiguration.java +++ /dev/null @@ -1,42 +0,0 @@ -package org.openecomp.sdc.common.ecomplog.api; - -public interface IEcompLogConfiguration { - String PROPERTY_LOGGING_FILE_NAME = "com.att.ecomplog.logging.file"; - String PROPERTY_LOGGING_FILE_PATH = "com.att.ecomplog.logging.path"; - String GENERAL_LOGGER_NAME = "com.att.ecomplog"; - String METRICS_LOGGER_NAME = "com.att.ecomplog.metrics"; - String PERF_LOGGER_NAME = "com.att.ecomplog.perf"; - String POLICY_LOGGER_NAME = "com.att.ecomplog.policy"; - String SECURITY_LOGGER_NAME = "com.att.ecomplog.security"; - String SERVER_LOGGER_NAME = "com.att.ecomplog.server"; - String AUDIT_LOGGER_NAME = "com.att.ecomplog.audit"; - String ERROR_LOGGER_NAME = "com.att.ecomplog.error"; - String DEBUG_LOGGER_NAME = "com.att.ecomplog.debug"; - String MDC_KEY_REQUEST_ID = "RequestId"; - String MDC_SERVICE_INSTANCE_ID = "ServiceInstanceId"; - String MDC_SERVICE_NAME = "ServiceName"; - String MDC_INSTANCE_UUID = "InstanceUUID"; - String MDC_SERVER_IP_ADDRESS = "ServerIPAddress"; - String MDC_SERVER_FQDN = "ServerFQDN"; - String MDC_REMOTE_HOST = "RemoteHost"; - String MDC_ALERT_SEVERITY = "AlertSeverity"; - String MDC_BEGIN_TIMESTAMP = "BeginTimestamp"; - String MDC_END_TIMESTAMP = "EndTimestamp"; - String MDC_PARTNER_NAME = "PartnerName"; - String MDC_STATUS_CODE = "StatusCode"; - String MDC_RESPONSE_CODE = "ResponseCode"; - String MDC_RESPONSE_DESC = "ResponseDescription"; - String MDC_ELAPSED_TIME = "ElapsedTime"; - String MDC_PROCESS_KEY = "ProcessKey"; - String MDC_TARGET_ENTITY = "TargetEntity"; - String MDC_TARGET_SERVICE_NAME = "TargetServiceName"; - String MDC_TARGET_VIRTUAL_ENTITY = "TargetVirtualEntity"; - String MDC_ERROR_CATEGORY = "ErrorCategory"; - String MDC_ERROR_CODE = "ErrorCode"; - String MDC_ERROR_DESC = "ErrorDescription"; - String MDC_CLASS_NAME = "ClassName"; - String MDC_OPT_FIELD1 = "CustomField1"; - String MDC_OPT_FIELD2 = "CustomField2"; - String MDC_OPT_FIELD3 = "CustomField3"; - String MDC_OPT_FIELD4 = "CustomField4"; -}
\ No newline at end of file diff --git a/common-app-api/src/main/java/org/openecomp/sdc/common/ecomplog/api/IEcompLogger.java b/common-app-api/src/main/java/org/openecomp/sdc/common/ecomplog/api/IEcompLogger.java deleted file mode 100644 index 569343eaf6..0000000000 --- a/common-app-api/src/main/java/org/openecomp/sdc/common/ecomplog/api/IEcompLogger.java +++ /dev/null @@ -1,14 +0,0 @@ -package org.openecomp.sdc.common.ecomplog.api; - -import org.openecomp.sdc.common.ecomplog.Enums.LogLevel; - -/** - * Created by dd4296 on 12/24/2017. - */ -public interface IEcompLogger { - void log(LogLevel errorLevel, String message); - void initializeMandatoryFields(); - IEcompLogger clear(); - IEcompLogger startTimer(); - IEcompLogger setKeyRequestId(String keyRequestId); -} diff --git a/common-app-api/src/main/java/org/openecomp/sdc/common/ecomplog/api/IEcompMdcWrapper.java b/common-app-api/src/main/java/org/openecomp/sdc/common/ecomplog/api/IEcompMdcWrapper.java deleted file mode 100644 index 37d77fd6c5..0000000000 --- a/common-app-api/src/main/java/org/openecomp/sdc/common/ecomplog/api/IEcompMdcWrapper.java +++ /dev/null @@ -1,75 +0,0 @@ -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(); -} diff --git a/common-app-api/src/main/java/org/openecomp/sdc/common/ecomplog/api/IStopWatch.java b/common-app-api/src/main/java/org/openecomp/sdc/common/ecomplog/api/IStopWatch.java deleted file mode 100644 index 4f1649cef1..0000000000 --- a/common-app-api/src/main/java/org/openecomp/sdc/common/ecomplog/api/IStopWatch.java +++ /dev/null @@ -1,11 +0,0 @@ -package org.openecomp.sdc.common.ecomplog.api; - -/** - * Created by dd4296 on 12/14/2017. - * - * stop watch interface compliant with ecomplog stop watch class - */ -public interface IStopWatch { - void start(); - void stop(); -} |