diff options
author | Jorge Hernandez <jh1730@att.com> | 2017-09-21 17:45:17 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-09-21 17:45:17 +0000 |
commit | 91ac137b2572203ed9aff1888b44ecd5f20ba785 (patch) | |
tree | c337f9ece9ed1b9b39ec52d6be48e5b5b9eee56e /common-logging/src/main/java/org/onap/policy/common/logging/eelf/Configuration.java | |
parent | a4a403db22bfb2322d254c76306174ad668b6c29 (diff) | |
parent | ce21545c8db4d39aa869f3b03e0d42dd91fb098d (diff) |
Merge "Redundant code removal and hadrcoded strings"
Diffstat (limited to 'common-logging/src/main/java/org/onap/policy/common/logging/eelf/Configuration.java')
-rw-r--r-- | common-logging/src/main/java/org/onap/policy/common/logging/eelf/Configuration.java | 147 |
1 files changed, 73 insertions, 74 deletions
diff --git a/common-logging/src/main/java/org/onap/policy/common/logging/eelf/Configuration.java b/common-logging/src/main/java/org/onap/policy/common/logging/eelf/Configuration.java index 4cbe63af..9d550c35 100644 --- a/common-logging/src/main/java/org/onap/policy/common/logging/eelf/Configuration.java +++ b/common-logging/src/main/java/org/onap/policy/common/logging/eelf/Configuration.java @@ -21,81 +21,80 @@ package org.onap.policy.common.logging.eelf; -public interface Configuration extends com.att.eelf.configuration.Configuration{ - - /** - * The Date-time of the start of a transaction - */ - public String BEGIN_TIME_STAMP = "BeginTimestamp"; - - /** - * The Date-time of the end of transaction - */ - public String END_TIME_STAMP = "EndTimestamp"; - - /** - * Externally advertised API invoked by clients of this component - */ - public String SERVICE_NAME = "ServiceName"; - - /** - * Client or user invoking the API - */ - public String PARTNER_NAME = "PartnerName"; - - /** - * Target Entity - */ - public String TARGET_ENTITY = "TargetEntity"; - +public interface Configuration extends com.att.eelf.configuration.Configuration { + + /** + * The Date-time of the start of a transaction + */ + String BEGIN_TIME_STAMP = "BeginTimestamp"; + + /** + * The Date-time of the end of transaction + */ + String END_TIME_STAMP = "EndTimestamp"; + + /** + * Externally advertised API invoked by clients of this component + */ + String SERVICE_NAME = "ServiceName"; + + /** + * Client or user invoking the API + */ + String PARTNER_NAME = "PartnerName"; + + /** + * Target Entity + */ + String TARGET_ENTITY = "TargetEntity"; + /** * Target service name */ - public String TARGET_SERVICE_NAME = "TargetServiceName"; - - /** - * High level success or failure (COMPLETE or ERROR) - */ - public String STATUS_CODE = "StatusCode"; - - /** - * Application specific response code - */ - public String RESPONSE_CODE = "ResponseCode"; - - /** - * Human readable description of the application specific response code - */ - public String RESPONSE_DESCRIPTION = "ResponseDescription"; - - /** - * Externally advertised API invoked by clients of this component - */ - public String ELAPSED_TIME = "ElapsedTime"; - - /** - * High level failure (ERROR) - */ - public String ERROR_CATEGORY = "ErrorCategory"; - - /** - * Error Code - */ - public String ERROR_CODE = "ErrorCode"; - - /** - * Error Description - */ - public String ERROR_DESCRIPTION = "ErrorDesciption"; - - /** - * Class name - */ - public String CLASS_NAME = "ClassName"; - - /** - * Server name - */ - public String SERVER_NAME = "ServerName"; - + String TARGET_SERVICE_NAME = "TargetServiceName"; + + /** + * High level success or failure (COMPLETE or ERROR) + */ + String STATUS_CODE = "StatusCode"; + + /** + * Application specific response code + */ + String RESPONSE_CODE = "ResponseCode"; + + /** + * Human readable description of the application specific response code + */ + String RESPONSE_DESCRIPTION = "ResponseDescription"; + + /** + * Externally advertised API invoked by clients of this component + */ + String ELAPSED_TIME = "ElapsedTime"; + + /** + * High level failure (ERROR) + */ + String ERROR_CATEGORY = "ErrorCategory"; + + /** + * Error Code + */ + String ERROR_CODE = "ErrorCode"; + + /** + * Error Description + */ + String ERROR_DESCRIPTION = "ErrorDescription"; + + /** + * Class name + */ + String CLASS_NAME = "ClassName"; + + /** + * Server name + */ + String SERVER_NAME = "ServerName"; } |