[midPoint-git] [Evolveum/midpoint] e43acb: ninja: ExportAudit* code cleanup and class rename ...

virgo47 noreply at github.com
Tue Dec 7 23:51:50 CET 2021


  Branch: refs/heads/feature/ninja-audit
  Home:   https://github.com/Evolveum/midpoint
  Commit: e43acbe04e050b4d2b5c7481d6158957141ea690
      https://github.com/Evolveum/midpoint/commit/e43acbe04e050b4d2b5c7481d6158957141ea690
  Author: Richard Richter <richard.richter at evolveum.com>
  Date:   2021-12-07 (Tue, 07 Dec 2021)

  Changed paths:
    R tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/audit/AuditExportProducerWorker.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/audit/ExportAuditConsumerWorker.java
    A tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/audit/ExportAuditProducerWorker.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/audit/ExportAuditRepositoryAction.java

  Log Message:
  -----------
  ninja: ExportAudit* code cleanup and class rename for consistency


  Commit: 17cb34d368ee8a40e70c5561e55ccbf19de4abc6
      https://github.com/Evolveum/midpoint/commit/17cb34d368ee8a40e70c5561e55ccbf19de4abc6
  Author: Richard Richter <richard.richter at evolveum.com>
  Date:   2021-12-07 (Tue, 07 Dec 2021)

  Changed paths:
    M config/sql/native-new/postgres-new-audit.sql
    M config/sql/native-new/postgres-new-upgrade-audit.sql
    M config/sql/native-new/postgres-new-upgrade.sql
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/audit/SqaleAuditService.java
    M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/SqaleRepoSmokeTest.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/SqlAuditServiceImpl.java

  Log Message:
  -----------
  new audit ID generation rethought, we want to use SERIAL after all

Import must respect existing ID, because there is no other unique key
that prevents importing duplicates.


  Commit: 5c68e82cdb3d022e463a115b81867b4a3f9941cb
      https://github.com/Evolveum/midpoint/commit/5c68e82cdb3d022e463a115b81867b4a3f9941cb
  Author: Richard Richter <richard.richter at evolveum.com>
  Date:   2021-12-07 (Tue, 07 Dec 2021)

  Changed paths:
    M repo/audit-api/src/main/java/com/evolveum/midpoint/audit/api/AuditEventRecord.java
    A tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/audit/ImportAuditConsumerWorker.java
    A tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/audit/ImportAuditRepositoryAction.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/impl/Command.java

  Log Message:
  -----------
  first version of audit import; it works, but rework is on the way...

...we will try to use AERType in new audit() method directly, which
should be more straightforward than going from AERType to AER and back.


  Commit: 5a6b216fce124ec15d1547745281d01d2a0c4f3b
      https://github.com/Evolveum/midpoint/commit/5a6b216fce124ec15d1547745281d01d2a0c4f3b
  Author: Richard Richter <richard.richter at evolveum.com>
  Date:   2021-12-07 (Tue, 07 Dec 2021)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/DeltaConvertor.java
    M repo/audit-api/src/main/java/com/evolveum/midpoint/audit/api/AuditService.java
    M repo/audit-log-impl/src/main/java/com/evolveum/midpoint/audit/impl/LoggerAuditServiceImpl.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/audit/SqaleAuditService.java
    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/audit/beans/MAuditEventRecord.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/audit/mapping/QAuditEventRecordMapping.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
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/audit/ImportAuditConsumerWorker.java

  Log Message:
  -----------
  ninja importAudit: reworked to new AuditService.audit(AERType)

Implemented for old repo first, mostly for testing purposes.


Compare: https://github.com/Evolveum/midpoint/compare/3dd15b587132...5a6b216fce12


More information about the midPoint-svn mailing list