[midPoint-git] [Evolveum/midpoint] d470d6: MID-4712, MID-6318: AuditEventRecord reworked to r...

virgo47 noreply at github.com
Fri Aug 7 20:39:58 CEST 2020


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: d470d68b2f1e0b0688987c31124376baf10f5db6
      https://github.com/Evolveum/midpoint/commit/d470d68b2f1e0b0688987c31124376baf10f5db6
  Author: Richard Richter <richard.richter at evolveum.com>
  Date:   2020-08-07 (Fri, 07 Aug 2020)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/AuditedAccessDeniedHandler.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/AuditedLogoutHandler.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/MidpointAccessDeniedHandler.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/util/DefaultColumnUtils.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/ModelController.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/ClockworkAuditHelper.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/security/SecurityHelper.java
    M model/report-impl/src/main/java/com/evolveum/midpoint/report/impl/JRMidpointEvaluator.java
    M model/report-impl/src/main/java/com/evolveum/midpoint/report/impl/controller/fileformat/FileFormatController.java
    M model/report-impl/src/test/resources/reports/report-audit-collection-with-condition.xml
    M model/rest-impl/src/main/java/com/evolveum/midpoint/rest/impl/AbstractRestController.java
    M model/rest-impl/src/main/java/com/evolveum/midpoint/rest/impl/ClusterRestController.java
    M model/rest-impl/src/main/java/com/evolveum/midpoint/rest/impl/ExtensionSchemaRestController.java
    M model/rest-impl/src/main/java/com/evolveum/midpoint/rest/impl/ModelRestController.java
    M model/rest-impl/src/main/java/com/evolveum/midpoint/rest/impl/RestApiIndex.java
    M model/rest-impl/src/main/java/com/evolveum/midpoint/rest/impl/RestExceptionHandler.java
    M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/engine/helpers/AuditHelper.java
    M repo/audit-api/src/main/java/com/evolveum/midpoint/audit/api/AuditEventRecord.java
    M repo/audit-impl/src/main/java/com/evolveum/midpoint/audit/impl/LoggerAuditServiceImpl.java
    M repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/AuditSearchTest.java
    M repo/repo-sql-impl/pom.xml
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/SqlAuditServiceImpl.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/audit/RAuditEventRecord.java
    A repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/helpers/JdbcHelper.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/DummyAuditService.java
    M repo/system-init/src/main/java/com/evolveum/midpoint/init/AuditServiceProxy.java

  Log Message:
  -----------
  MID-4712, MID-6318: AuditEventRecord reworked to references

- target already was PrismReferenceValue, it was renamed to targetRef
- other changes: initiatorRef, attorneyRef, targetOwnerRef
- setters with PrismObject require additional PrismContext
(that affected more code, but no problems occurred)
- this IS a audit-api change, not sure how it affects customers, only
one test used AER getter in report-audit-collection-with-condition.xml
- finally and most importantly, no getObject is needed in
SqlAuditServiceImpl.java for reading (writing is mostly unchanged)




More information about the midPoint-svn mailing list