diff options
author | Joss Armstrong <joss.armstrong@ericsson.com> | 2019-02-28 10:46:08 +0000 |
---|---|---|
committer | Takamune Cho <takamune.cho@att.com> | 2019-02-28 14:48:31 +0000 |
commit | f3b94a73f7693b95164f970eca1d2ec283f85499 (patch) | |
tree | 15d37eae789035a0f0805a77d1bee2e3ae01ede4 /appc-provider/appc-provider-bundle/src/main | |
parent | ac73fdb6edf67652785aa58b5b205b2e61c1e417 (diff) |
Test coverage in TopologyService
Increased coverage from 80% to 97%
Fix Sonar major issue for branch coverage
Issue-ID: APPC-1509
Change-Id: I2f5af194b44e5871fc00c9cc12123fa6d6c1fd5d
Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
Diffstat (limited to 'appc-provider/appc-provider-bundle/src/main')
-rw-r--r-- | appc-provider/appc-provider-bundle/src/main/java/org/onap/appc/provider/topology/TopologyService.java | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/appc-provider/appc-provider-bundle/src/main/java/org/onap/appc/provider/topology/TopologyService.java b/appc-provider/appc-provider-bundle/src/main/java/org/onap/appc/provider/topology/TopologyService.java index 441aab624..1a95d24ab 100644 --- a/appc-provider/appc-provider-bundle/src/main/java/org/onap/appc/provider/topology/TopologyService.java +++ b/appc-provider/appc-provider-bundle/src/main/java/org/onap/appc/provider/topology/TopologyService.java @@ -84,14 +84,10 @@ public class TopologyService { private final EELFLogger auditLogger = EELFManager.getInstance().getAuditLogger(); private final EELFLogger metricsLogger = EELFManager.getInstance().getMetricsLogger(); private final EELFLogger performanceLogger = EELFManager.getInstance().getPerformanceLogger(); - private final static String DATE_FORMAT = "yyyy-MM-dd'T'HH:mm:ssX"; - private final static String START_TIME_PARAM = "startTime"; private final static String RESTART_INITIATED_STR = "Metrics Logger: App-C Restart initiated. Start Time: [%s]. Request ID: [%s]"; private final static String TARGET_PARAM = "target"; private final static String SUCCESS_PARAM = "SUCCESS"; private final static String FAILURE_PARAM = "FAILURE"; - private final static String END_TIME_PARAM = "endTime"; - private final static String DURATION_PARAM = "duration"; private final static String ERROR_STR = "An error occurred"; /** @@ -701,6 +697,4 @@ public class TopologyService { Msg.DEBUG_GRAPH_RESPONSE_DETAIL, appName, graphName, key, (String) respProps.get(key))); } } - } - |