[midPoint-git] [Evolveum/midpoint] 6b070d: repo-sqale: schema fix, shadow name_norm is not un...

virgo47 noreply at github.com
Mon Jul 12 18:08:10 CEST 2021


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

  Changed paths:
    M repo/repo-sqale/sql/pgnew-repo.sql

  Log Message:
  -----------
  repo-sqale: schema fix, shadow name_norm is not unique (fixes int test)


  Commit: be5d1d56b373fc69541970be9aed60bc527a28c6
      https://github.com/Evolveum/midpoint/commit/be5d1d56b373fc69541970be9aed60bc527a28c6
  Author: Richard Richter <richard.richter at evolveum.com>
  Date:   2021-07-12 (Mon, 12 Jul 2021)

  Changed paths:
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/SqaleRepoContext.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/UriCache.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/filtering/UriItemFilterProcessor.java
    M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/SqaleRepoSearchTest.java

  Log Message:
  -----------
  repo-sqale: URI cache methods take any Object on input

QName and String is processed as before, the rest is toString-ed.
This is better for handling anyURI (String) or real QName from schema
in a unified fashion both for filter and delta application.
Added test for shadow search by objectClass (that uses QName value).


  Commit: b9a5df8a76b3ccb1a3e367072f0c59488a7ef878
      https://github.com/Evolveum/midpoint/commit/b9a5df8a76b3ccb1a3e367072f0c59488a7ef878
  Author: Richard Richter <richard.richter at evolveum.com>
  Date:   2021-07-12 (Mon, 12 Jul 2021)

  Changed paths:
    M repo/repo-sql-impl-test/pom.xml
    A repo/repo-sql-impl-test/src/main/java/com/evolveum/midpoint/repo/sql/testing/TestSqaleRepositoryBeanConfig.java
    M repo/repo-sql-impl-test/src/main/resources/ctx-repository-test.xml
    M repo/repo-test-util/src/main/resources/ctx-configuration-test.xml
    A repo/repo-test-util/src/main/resources/test-config-new-repo.xml

  Log Message:
  -----------
  support for new repo in integration tests, first test passes

Similar to old repo, there is TestSqaleRepositoryBeanConfig, which also
takes care of DB cleanup that is required for integration tests.
Config XML file for StartupConfiguration in Spring test XML config can
be overridden like: -Dtest.config.file=test-config-new-repo.xml


Compare: https://github.com/Evolveum/midpoint/compare/6776344fc2d1...b9a5df8a76b3


More information about the midPoint-svn mailing list