[midPoint-git] [Evolveum/midpoint] 45af56: repo-sqale: fix in ExtensionUpdateContext for Test...

virgo47 noreply at github.com
Fri Jul 30 10:41:17 CEST 2021


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: 45af56b37a96c5058e5e12cd91b93fec95629c0b
      https://github.com/Evolveum/midpoint/commit/45af56b37a96c5058e5e12cd91b93fec95629c0b
  Author: Richard Richter <richard.richter at evolveum.com>
  Date:   2021-07-30 (Fri, 30 Jul 2021)

  Changed paths:
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestUserTemplate.java
    M model/model-intest/testng-integration-sqale.xml
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/update/ExtensionUpdateContext.java

  Log Message:
  -----------
  repo-sqale: fix in ExtensionUpdateContext for TestUserTemplate

Previously it threw exception if there was nothing to do, but this seems
to be valid case, so the update context now just returns with no action.


  Commit: 22dd98c4cd2d30ef92b702b101fcf695638e8462
      https://github.com/Evolveum/midpoint/commit/22dd98c4cd2d30ef92b702b101fcf695638e8462
  Author: Richard Richter <richard.richter at evolveum.com>
  Date:   2021-07-30 (Fri, 30 Jul 2021)

  Changed paths:
    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/SqaleRepoSearchIterativeTest.java
    M repo/repo-sqlbase/src/main/java/com/evolveum/midpoint/repo/sqlbase/SqlQueryContext.java

  Log Message:
  -----------
  repo-sqale: fix in paging without offset (masSize wasn't respected)

Iterative search test uses two "pages" of data but doesn't page with
offset/limit, but with WHERE+ORDER on OID + limit.
Previously limit was ignored and sanity limit of (10_000 now) was used
instead - which doesn't really iterate.
Fix respects the maxSize in paging even if offset is not used.


Compare: https://github.com/Evolveum/midpoint/compare/9758b33e8b00...22dd98c4cd2d


More information about the midPoint-svn mailing list