diff options
author | Muni Mohan Kunchi <munmohan@att.com> | 2021-01-05 17:31:47 -0500 |
---|---|---|
committer | Muni Mohan Kunchi <munmohan@att.com> | 2021-01-05 17:32:26 -0500 |
commit | a04d98b55a44d67918ff79bc550e760fd9e1e278 (patch) | |
tree | 2e029be474361136606fd7edfdab2e74777f2ca6 | |
parent | 8558d8485e6ca28d4085721caf8867ee93e684ed (diff) |
Pushing fix for tracking app and tab click activities.
Issue-ID: PORTAL-1054
Signed-off-by: Muni Mohan Kunchi <munmohan@att.com>
Change-Id: If17239d9d46334e05db37637f124d21e511e83cd
-rw-r--r-- | ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/controller/AuditLogController.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/controller/AuditLogController.java b/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/controller/AuditLogController.java index e89f9921..512fbea1 100644 --- a/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/controller/AuditLogController.java +++ b/ecomp-portal-BE-common/src/main/java/org/onap/portalapp/portal/controller/AuditLogController.java @@ -71,8 +71,9 @@ import org.onap.portalsdk.core.util.SystemProperties; @RestController @RequestMapping("/portalApi/auditLog") public class AuditLogController extends EPRestrictedBaseController { - private static final EELFLoggerDelegate logger = EELFLoggerDelegate.getLogger(DashboardController.class); + private static final EELFLoggerDelegate logger = EELFLoggerDelegate.getLogger(AuditLogController.class); private static final DataValidator dataValidator = new DataValidator(); + private AuditService auditService; @Autowired @@ -151,6 +152,7 @@ public class AuditLogController extends EPRestrictedBaseController { String requestId = UUID.randomUUID().toString(); MDC.put(Configuration.MDC_KEY_REQUEST_ID, requestId); } + auditService.logActivity(auditLog, null); String auditMessageInfo = EPLogUtil.formatAuditLogMessage( "AuditLogController.auditLog", cdType, user.getOrgUserId(), affectedAppId, comment); |