aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzhangab <zhanganbing@chinamobile.com>2018-03-28 12:11:57 +0800
committerzhangab <zhanganbing@chinamobile.com>2018-03-28 12:12:03 +0800
commit24615aba39a7dcb0f45141553d625ec2a62a811c (patch)
treeaae00b56c85532bafe893597a1877be25b7a3fbf
parente38578b73d84b2de66ba748f40ba538124bbfffe (diff)
improve sonar coverage for uui-server
Change-Id: I84c6a0ca03a1dd0c4d195599dcdf2f3049715c0c Issue-ID: USECASEUI-103 Signed-off-by: zhangab <zhanganbing@chinamobile.com>
-rwxr-xr-xserver/src/main/java/org/onap/usecaseui/server/service/impl/AlarmsHeaderServiceImpl.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/src/main/java/org/onap/usecaseui/server/service/impl/AlarmsHeaderServiceImpl.java b/server/src/main/java/org/onap/usecaseui/server/service/impl/AlarmsHeaderServiceImpl.java
index e21102ec..0fee95cb 100755
--- a/server/src/main/java/org/onap/usecaseui/server/service/impl/AlarmsHeaderServiceImpl.java
+++ b/server/src/main/java/org/onap/usecaseui/server/service/impl/AlarmsHeaderServiceImpl.java
@@ -47,6 +47,8 @@ public class AlarmsHeaderServiceImpl implements AlarmsHeaderService {
public String saveAlarmsHeader(AlarmsHeader alarmsHeader) {
+ String testStr = "shentao_test";
+ logger.error(testStr);
try(Session session = sessionFactory.openSession();){
if (null == alarmsHeader) {
logger.error("AlarmsHeaderServiceImpl saveAlarmsHeader alarmsHeader is null!");