[midPoint-git] [Evolveum/midpoint] e5ede9: MID-6318: removed non-ref getters for refs from Au...

virgo47 noreply at github.com
Wed Aug 19 22:27:10 CEST 2020


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: e5ede99343a1cbde2c7d4a940c3fb0ab38723063
      https://github.com/Evolveum/midpoint/commit/e5ede99343a1cbde2c7d4a940c3fb0ab38723063
  Author: Richard Richter <richard.richter at evolveum.com>
  Date:   2020-08-19 (Wed, 19 Aug 2020)

  Changed paths:
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/util/DefaultColumnUtils.java
    M model/report-impl/src/main/java/com/evolveum/midpoint/report/impl/controller/fileformat/FileFormatController.java
    M repo/audit-api/src/main/java/com/evolveum/midpoint/audit/api/AuditEventRecord.java
    M repo/system-init/src/main/java/com/evolveum/midpoint/init/AuditServiceProxy.java

  Log Message:
  -----------
  MID-6318: removed non-ref getters for refs from AuditEventRecord


  Commit: 6f753f353b4e2c25434357b18db0d2829a7be6fc
      https://github.com/Evolveum/midpoint/commit/6f753f353b4e2c25434357b18db0d2829a7be6fc
  Author: Richard Richter <richard.richter at evolveum.com>
  Date:   2020-08-19 (Wed, 19 Aug 2020)

  Changed paths:
    M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/query/ValueFilter.java
    M repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/AuditSearchTest.java
    M repo/repo-sql-impl-test/src/test/resources/config-test.xml
    M repo/repo-sql-impl-test/src/test/resources/logback-test.xml
    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/pure/SqlPathContext.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/pure/SqlQueryContext.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/pure/SqlQueryExecutor.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/pure/SqlTransformer.java
    A repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/pure/mapping/AuditCustomColumnItemFilterProcessor.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/pure/mapping/ItemFilterProcessor.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/pure/mapping/ItemSqlMapper.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/pure/mapping/QueryModelMapping.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/pure/mapping/SqlDetailFetchMapper.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/pure/mapping/ValueFilterValues.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/pure/querymodel/mapping/AuditDeltaSqlTransformer.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/pure/querymodel/mapping/AuditEventRecordSqlTransformer.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/pure/querymodel/mapping/QAuditDeltaMapping.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/pure/querymodel/mapping/QAuditEventRecordMapping.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/pure/querymodel/mapping/QAuditItemMapping.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/pure/querymodel/mapping/QAuditPropertyValueMapping.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/pure/querymodel/mapping/QAuditRefValueMapping.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/pure/querymodel/mapping/QAuditResourceMapping.java

  Log Message:
  -----------
  MID-6318: added query by custom columns + tests

- Query results now return custom columns, this didn't work before.
- No abrupt change, but many small changes to Querydsl-based filtering
to support special kind of filter, where the value determines not only
the value to test, but also the column (item path).
- Queries now don't return just PageOf<R> but PageOf<Tuple>, where R
is one of returned elements followed by each custom column.
- This affected transformations too, in addition to bean -> schema type
we added Tuple -> schema type with custom columns.


Compare: https://github.com/Evolveum/midpoint/compare/dd006e8d3ab4...6f753f353b4e


More information about the midPoint-svn mailing list