[midPoint-git] [Evolveum/midpoint] 4056a3: repo-sqale: query support poly ext items and ignor...

virgo47 noreply at github.com
Tue Jun 22 00:09:03 CEST 2021


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: 4056a33efb1948ac935a81b1ab71ac8200d84f82
      https://github.com/Evolveum/midpoint/commit/4056a33efb1948ac935a81b1ab71ac8200d84f82
  Author: Richard Richter <richard.richter at evolveum.com>
  Date:   2021-06-21 (Mon, 21 Jun 2021)

  Changed paths:
    A repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/ExtUtils.java
    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/SqaleUtils.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/filtering/ExtensionItemFilterProcessor.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/filtering/UriItemFilterProcessor.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/mapping/SqaleTableMapping.java
    M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/SqaleRepoSearchObjectTest.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/audit/mapping/AuditCustomColumnItemFilterProcessor.java
    M repo/repo-sqlbase/src/main/java/com/evolveum/midpoint/repo/sqlbase/filtering/item/EnumItemFilterProcessor.java
    A repo/repo-sqlbase/src/main/java/com/evolveum/midpoint/repo/sqlbase/filtering/item/FilterOperation.java
    M repo/repo-sqlbase/src/main/java/com/evolveum/midpoint/repo/sqlbase/filtering/item/ItemFilterProcessor.java
    M repo/repo-sqlbase/src/main/java/com/evolveum/midpoint/repo/sqlbase/filtering/item/PolyStringItemFilterProcessor.java

  Log Message:
  -----------
  repo-sqale: query support poly ext items and ignore-case for gt/lt

Mainly - the poly-string extension items are now queryable.
Adding support for ignore-case for GT/GE/LT/LE required adding wrapper
around Querydsl Ops, because some ops contain IC implicitly (eg. EQ vs
EQ_IGNORE_CASE) while GT and similar have no track of it, so additional
boolean was needed. IC works only for string/poly items, of course.
Ignore-case support was added also for IN operation (EQ with more vals)
although no tests exist for that yet.


  Commit: 5e1d82bc3e1e29479a6c38c282cb52e83116c7cc
      https://github.com/Evolveum/midpoint/commit/5e1d82bc3e1e29479a6c38c282cb52e83116c7cc
  Author: Richard Richter <richard.richter at evolveum.com>
  Date:   2021-06-22 (Tue, 22 Jun 2021)

  Changed paths:
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/filtering/ExtensionItemFilterProcessor.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/filtering/RefItemFilterProcessor.java
    M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/SqaleRepoSearchObjectTest.java
    M repo/repo-sqlbase/src/main/java/com/evolveum/midpoint/repo/sqlbase/filtering/item/ItemFilterProcessor.java

  Log Message:
  -----------
  repo-sqale: added query support for ref extension items

This required change in ExtensionItemFilterProcessor which does not
extend from SinglePathItemFilterProcessor anymore (because it supports
only PropertyValueFilter) but from ItemFilterProcessor to allow
RefFilters too.


Compare: https://github.com/Evolveum/midpoint/compare/506aaf086b78...5e1d82bc3e1e


More information about the midPoint-svn mailing list