[midPoint-git] [Evolveum/midpoint] bddd6e: ReportUtils: ObjectReferenceType arguments migrate...

virgo47 noreply at github.com
Fri Feb 17 19:23:14 CET 2023


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: bddd6efa44eb42b8035d65e4685ece11fb07a37f
      https://github.com/Evolveum/midpoint/commit/bddd6efa44eb42b8035d65e4685ece11fb07a37f
  Author: Richard Richter <richard.richter at evolveum.com>
  Date:   2023-02-17 (Fri, 17 Feb 2023)

  Changed paths:
    M model/report-impl/src/main/java/com/evolveum/midpoint/report/impl/ReportUtils.java

  Log Message:
  -----------
  ReportUtils: ObjectReferenceType arguments migrated to Referencable

This is a preparation for cleaner contract for the type of "real value"
of a reference in expressions/scripts.


  Commit: 14b3ab865fecf518e871296a647ab8946b6c3972
      https://github.com/Evolveum/midpoint/commit/14b3ab865fecf518e871296a647ab8946b6c3972
  Author: Richard Richter <richard.richter at evolveum.com>
  Date:   2023-02-17 (Fri, 17 Feb 2023)

  Changed paths:
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/ExpressionUtil.java

  Log Message:
  -----------
  ExpressionUtil fix for real value of reference

Previously, real value (typically ObjectReferenceType) was returned
only if the PRV had definition, hence it wasn't clear whether you get
PRV or ORT in the script - which is not what we want.
Now it always return Referencable - ORT or DefaultReferencableImpl.


  Commit: f7925fc80a9239e419b49341a129381012ee5da5
      https://github.com/Evolveum/midpoint/commit/f7925fc80a9239e419b49341a129381012ee5da5
  Author: Richard Richter <richard.richter at evolveum.com>
  Date:   2023-02-17 (Fri, 17 Feb 2023)

  Changed paths:
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/TestReport.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/TestTask.java

  Log Message:
  -----------
  TestReport/TestTask: added more static factory methods


  Commit: b7f94771805573996621a168d2e86f71d92b790d
      https://github.com/Evolveum/midpoint/commit/b7f94771805573996621a168d2e86f71d92b790d
  Author: Richard Richter <richard.richter at evolveum.com>
  Date:   2023-02-17 (Fri, 17 Feb 2023)

  Changed paths:
    M model/report-impl/src/test/java/com/evolveum/midpoint/report/EmptyReportIntegrationTest.java
    M model/report-impl/src/test/java/com/evolveum/midpoint/report/TestCsvReport.java
    M model/report-impl/src/test/java/com/evolveum/midpoint/report/TestCsvReportAllAssignments.java
    M model/report-impl/src/test/java/com/evolveum/midpoint/report/TestCsvReportExportClassic.java
    M model/report-impl/src/test/resources/common/system-configuration.xml
    M model/report-impl/src/test/resources/reports/report-indirect-assignments.xml
    A model/report-impl/src/test/resources/reports/task-export-role-caching.xml

  Log Message:
  -----------
  report-impl: overhaul of TestCsvReportAllAssignments, much faster report

- report-indirect-assignments.xml is now run with new task that uses
custom caching profile (task-export-role-caching.xml)
- number of getObject called on the physical repo is drastically reduced
- more work done in the "data" subreport, column scripts are simpler
- also, report resolves objects on repo directly, because model is
currently very slow with SchemaTransformer.applySchemaAndSecurity()


Compare: https://github.com/Evolveum/midpoint/compare/d9455c85ca9b...b7f947718055


More information about the midPoint-svn mailing list