[midPoint-git] [Evolveum/midpoint] 1cd12d: new repo SQL: create trigger EXECUTE PROCEDURE -> ...

virgo47 noreply at github.com
Tue Dec 7 00:56:35 CET 2021


  Branch: refs/heads/feature/ninja-audit
  Home:   https://github.com/Evolveum/midpoint
  Commit: 1cd12d08e77a8ed69981574accfd4dbb788d9270
      https://github.com/Evolveum/midpoint/commit/1cd12d08e77a8ed69981574accfd4dbb788d9270
  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.sql

  Log Message:
  -----------
  new repo SQL: create trigger EXECUTE PROCEDURE -> FUNCTION

This is no change in function, only making the trigger declarations
more PG explicit, triggers are always functions.


  Commit: 3a8baaf759b8093ccdc14686843055a25fb43627
      https://github.com/Evolveum/midpoint/commit/3a8baaf759b8093ccdc14686843055a25fb43627
  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

  Log Message:
  -----------
  new repo audit: added support for partition creation in the past


  Commit: 2e99dc72fbdf24e202b8df832868ed21fb5d2f9e
      https://github.com/Evolveum/midpoint/commit/2e99dc72fbdf24e202b8df832868ed21fb5d2f9e
  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

  Log Message:
  -----------
  new repo audit: ID is always generated and MUST NOT be provided by app


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

  Changed paths:
    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/SqaleRepoBaseTest.java
    M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/AuditCleanupTest.java
    M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/AuditDeltaOperationResultTest.java
    M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/AuditSearchTest.java
    M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/SqaleAuditSearchIterativeTest.java
    M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/SqaleRepoSmokeTest.java

  Log Message:
  -----------
  SqaleAuditService#audit() ignores provided ID and returns assigned by DB

Tests of simple + reused audit ID were added to SqaleRepoSmokeTest.


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


More information about the midPoint-svn mailing list