aboutsummaryrefslogtreecommitdiffstats
path: root/reference/logging-demo/src/main/java/org/onap/demo/logging/RestHealthServiceImpl.java
diff options
context:
space:
mode:
authorMichael O'Brien <frank.obrien@amdocs.com>2018-07-23 18:11:05 -0400
committerMichael O'Brien <frank.obrien@amdocs.com>2018-07-23 22:44:15 -0400
commit3bb57a533bb0b022940c495cf68142c48c58136b (patch)
treefad4c54d6635f512a7d02f94dd99dc1c96c552ed /reference/logging-demo/src/main/java/org/onap/demo/logging/RestHealthServiceImpl.java
parent268e848b1494dc09d614d8479f70bf9aefa69166 (diff)
inc log aop code coverage
Change-Id: I004fdc5ea71eef412fb096207523d41a669fdc61 Issue-ID: LOG-148 Signed-off-by: Michael O'Brien <frank.obrien@amdocs.com>
Diffstat (limited to 'reference/logging-demo/src/main/java/org/onap/demo/logging/RestHealthServiceImpl.java')
-rw-r--r--reference/logging-demo/src/main/java/org/onap/demo/logging/RestHealthServiceImpl.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/reference/logging-demo/src/main/java/org/onap/demo/logging/RestHealthServiceImpl.java b/reference/logging-demo/src/main/java/org/onap/demo/logging/RestHealthServiceImpl.java
index bcc4efb..7000f08 100644
--- a/reference/logging-demo/src/main/java/org/onap/demo/logging/RestHealthServiceImpl.java
+++ b/reference/logging-demo/src/main/java/org/onap/demo/logging/RestHealthServiceImpl.java
@@ -48,5 +48,13 @@ public class RestHealthServiceImpl extends Application {
return applicationServiceLocal.health(servletRequest).toString();
}
+ /**
+ * Use only for testing
+ * @param aService
+ */
+ public void setApplicationService(ApplicationServiceLocal aService) {
+ applicationServiceLocal = aService;
+ }
+
}