diff options
author | wasala <przemyslaw.wasala@nokia.com> | 2018-03-28 14:20:58 +0200 |
---|---|---|
committer | wasala <przemyslaw.wasala@nokia.com> | 2018-03-28 14:20:58 +0200 |
commit | d8e4e88b6080dfd701ea7aa64d033c38899e77c6 (patch) | |
tree | 87e23a50375086b4c3737084f9e9d6f6d17229a2 /prh-app-server/src/main/java | |
parent | 961af3e21239edd4714e7e586ed5db902bd85d53 (diff) |
Added logs
Improve Dockerfile and build fat jar
Change-Id: I8b4dd1a56350af310c70236d6843ae1c357ad95e
Issue-ID: DCAEGEN2-407
Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
Diffstat (limited to 'prh-app-server/src/main/java')
-rw-r--r-- | prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/tasks/DmaapConsumerTask.java | 19 | ||||
-rw-r--r-- | prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/tasks/ScheduledTask.java | 2 |
2 files changed, 4 insertions, 17 deletions
diff --git a/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/tasks/DmaapConsumerTask.java b/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/tasks/DmaapConsumerTask.java index 91ed6024..cb2d1331 100644 --- a/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/tasks/DmaapConsumerTask.java +++ b/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/tasks/DmaapConsumerTask.java @@ -36,24 +36,11 @@ public class DmaapConsumerTask implements DmaapTask { @Override public void execute() { - logger.info("Start task DmaapConsumerTask::execute() :: Execution Time - {}", dateTimeFormatter.format( + logger.debug("Start task DmaapConsumerTask::execute() :: Execution Time - {}", dateTimeFormatter.format( LocalDateTime.now())); //TODO: ADD implementation for executing request to consume topic from dmaap - //DmappConsumerRunner dmappConsumerRunner = consumer.play() - //if(dmappConsumerRunner != null){ - //AAIProcess aaiProcess = new AAiPRocess(dmappConsumerRunner) - /* - try{ - aaiProcess.Execute() - } - catch(Exception e(){ - Log - return - } - DmaapConsumerPost post; - */ - //} - logger.info("End task DmaapConsumerTask::execute() :: Execution Time - {}", + + logger.debug("End task DmaapConsumerTask::execute() :: Execution Time - {}", dateTimeFormatter.format(LocalDateTime.now())); } }
\ No newline at end of file diff --git a/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/tasks/ScheduledTask.java b/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/tasks/ScheduledTask.java index 5ed3c8c0..a3a48b79 100644 --- a/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/tasks/ScheduledTask.java +++ b/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/tasks/ScheduledTask.java @@ -48,7 +48,7 @@ public class ScheduledTask { @Scheduled(fixedDelay = SCHEDULING_DELAY) public void scheduledTaskAskingDMaaPOfConsumeEvent() { - logger.info("Task scheduledTaskAskingDMaaPOfConsumeEvent() :: Execution Time - {}", dateTimeFormatter.format( + logger.debug("Task scheduledTaskAskingDMaaPOfConsumeEvent() :: Execution Time - {}", dateTimeFormatter.format( LocalDateTime.now())); try { dmaapConsumerTask.execute(); |