From Moti Asayag <masayag(a)redhat.com>:
Moti Asayag has submitted this change and it was merged.
Change subject: engine: Introduce AuditLogableImpl
......................................................................
engine: Introduce AuditLogableImpl
AuditLogableImpl is a POJO which could be used for logging an event by
the AuditLogDirector without the need to consider how the various
members should be evaluated.
It purely logs only the data that was provided by the user, therefore
it is the responsibility of the user to set any relevant data for the event.
As future improvement, we can set the logic to populate the fields which
could be resolved transitively on the DB level, by adding that logic to
the Insert statement of the audit_log table.
Change-Id: I7c2770d31f4ad9dcd39be1700762bf556cd805d1
Signed-off-by: Moti Asayag <masayag(a)redhat.com>
---
A
backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dal/dbbroker/auditloghandling/AuditLogableImpl.java
1 file changed, 445 insertions(+), 0 deletions(-)
Approvals:
Jenkins CI: Passed CI tests
Moti Asayag: Verified
Oved Ourfali: Looks good to me, approved
--
To view, visit
https://gerrit.ovirt.org/76048
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I7c2770d31f4ad9dcd39be1700762bf556cd805d1
Gerrit-PatchSet: 8
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Moti Asayag <masayag(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Peřina <mperina(a)redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag(a)redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali(a)redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>