[midPoint-git] [Evolveum/midpoint] 218cc1: Improve simulation reports
mederly
noreply at github.com
Sun Feb 26 10:53:56 CET 2023
Branch: refs/heads/master
Home: https://github.com/Evolveum/midpoint
Commit: 218cc17f58ac7996be308588c2751487ec7b7f9e
https://github.com/Evolveum/midpoint/commit/218cc17f58ac7996be308588c2751487ec7b7f9e
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2023-02-25 (Sat, 25 Feb 2023)
Changed paths:
M model/model-api/src/main/java/com/evolveum/midpoint/model/api/simulation/ProcessedObject.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/script/AbstractCachingScriptEvaluator.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/script/AbstractScriptEvaluator.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/script/ScriptExpression.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/simulation/ProcessedObjectImpl.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestModelServiceContract.java
M model/model-test/src/main/java/com/evolveum/midpoint/model/test/AbstractModelIntegrationTest.java
M model/model-test/src/main/java/com/evolveum/midpoint/model/test/CommonInitialObjects.java
M model/report-impl/src/main/java/com/evolveum/midpoint/report/impl/ReportFunctions.java
M model/report-impl/src/main/java/com/evolveum/midpoint/report/impl/ReportServiceImpl.java
M model/report-impl/src/main/java/com/evolveum/midpoint/report/impl/controller/ColumnDataConverter.java
M model/report-impl/src/test/java/com/evolveum/midpoint/report/EmptyReportIntegrationTest.java
M model/report-impl/src/test/java/com/evolveum/midpoint/report/TestCsvSimulationReport.java
A model/report-impl/src/test/resources/common/resource-dummy-outbound.xml
R model/report-impl/src/test/resources/common/resource-dummy.xml
A model/report-impl/src/test/resources/simulation/archetype-blue.xml
A model/report-impl/src/test/resources/simulation/archetype-magenta.xml
A model/report-impl/src/test/resources/simulation/org-hq.xml
A model/report-impl/src/test/resources/simulation/role-admin.xml
A model/report-impl/src/test/resources/simulation/role-developer.xml
A model/report-impl/src/test/resources/simulation/role-tester.xml
M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/AbstractProvisioningIntegrationTest.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/ExpressionUtil.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/AbstractIntegrationTest.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/DummyTestResource.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/TestObject.java
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
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/CsvAsserter.java
M repo/system-init/src/main/resources/initial-objects/report/170-report-simulation-objects.xml
M repo/system-init/src/main/resources/initial-objects/report/171-report-simulation-objects-by-marks.xml
M repo/system-init/src/main/resources/initial-objects/report/172-report-simulation-items-changed.xml
M repo/system-init/src/main/resources/initial-objects/report/173-report-simulation-values-changed.xml
Log Message:
-----------
Improve simulation reports
1. Basic categorization columns (primary archetype, resource, kind,
intent, tag) were added for all simulation reports.
2. "Related assignment" columns were added to item- and value-level
reports. These provide descriptive information regarding assignments
that are added, deleted, or modified.
3. Special "showIfNoDetails" mode parameter was introduced to item/value
simulation reports. It controls whether joins should be left or inner.
Related, potentially dangerous changes:
1. When evaluating scripts with no output definitions, all values were
treated like PPVs. This is not correct, and was fixed in this commit:
Now we wrap values as PPVs/PRVs/PCVs/POVs. This may break some fragile
client code.
2. Pretty-printing code in ColumnDataConverter was improved/fixed,
especially for assignments. They are now displayed in nice form, but
with some information loss compared with original ugly toString dump.
To be reviewed and tested.
Other minor changes:
1. OperationResult handling in ExpressionUtil ref resolution was fixed.
2. "Object after" in ProcessedObject is no longer obtained from
lens context, but from direct delta application on "object before".
It is more precise.
Commit: 5b37fb015929c8dbce67c7a1de3e2d2bd8777267
https://github.com/Evolveum/midpoint/commit/5b37fb015929c8dbce67c7a1de3e2d2bd8777267
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2023-02-26 (Sun, 26 Feb 2023)
Changed paths:
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/visualizer/Visualizer.java
Log Message:
-----------
Fix OOM in tests (hopefully)
Compare: https://github.com/Evolveum/midpoint/compare/1eb470f32717...5b37fb015929
More information about the midPoint-svn
mailing list