[midPoint-git] [Evolveum/midpoint] 65be15: Extend simulations schema

mederly noreply at github.com
Wed Jan 18 00:08:53 CET 2023


  Branch: refs/heads/feature/simulations
  Home:   https://github.com/Evolveum/midpoint
  Commit: 65be15c1ee9f9d40a9fc8dae6a1c7da34c2ac3eb
      https://github.com/Evolveum/midpoint/commit/65be15c1ee9f9d40a9fc8dae6a1c7da34c2ac3eb
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2023-01-18 (Wed, 18 Jan 2023)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/simulation/PageSimulationResult.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/TaskExecutionMode.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/constants/ExpressionConstants.java
    A infra/schema/src/main/java/com/evolveum/midpoint/schema/util/AbstractSimulationMetricReferenceTypeUtil.java
    A infra/schema/src/main/java/com/evolveum/midpoint/schema/util/AggregatedSimulationMetricValueTypeUtil.java
    A infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ConfigurationSpecificationTypeUtil.java
    M infra/schema/src/main/resources/xml/ns/public/common/common-simulations-3.xsd
    M infra/schema/src/main/resources/xml/ns/public/common/common-tasks-3.xsd
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/simulation/ProcessedObject.java
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/simulation/SimulationResultManager.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/simulation/SimulationResultContextImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/simulation/SimulationResultManagerImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/tasks/AdvancedActivityRunSupportImpl.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/model-test/src/main/java/com/evolveum/midpoint/model/test/SimulationResult.java
    M model/model-test/src/main/java/com/evolveum/midpoint/model/test/asserter/SimulationResultAsserter.java
    M model/model-test/src/main/java/com/evolveum/midpoint/model/test/util/SynchronizationRequest.java
    R model/model-test/src/main/resources/test-initial-objects/712-tag-focus-name-changed.xml
    A model/model-test/src/main/resources/test-initial-objects/712-tag-focus-renamed.xml
    R model/model-test/src/main/resources/test-initial-objects/732-tag-projection-name-changed.xml
    A model/model-test/src/main/resources/test-initial-objects/732-tag-projection-renamed.xml
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/definition/ActivityExecutionModeDefinition.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/run/AdvancedActivityRunSupport.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/run/NoOpAdvancedActivityRunSupport.java
    M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/run/SimulationSupport.java
    M repo/task-api/src/main/java/com/evolveum/midpoint/task/api/ObjectProcessingListener.java
    M repo/task-api/src/main/java/com/evolveum/midpoint/task/api/Task.java
    A repo/task-api/src/main/java/com/evolveum/midpoint/task/api/TaskObjectProcessingListener.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/TaskQuartzImpl.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestFirstSteps.java
    M testing/story/src/test/resources/first-steps/system-configuration.xml

  Log Message:
  -----------
  Extend simulations schema

This commit provides some improvements agreed on today's design meeting:

1. Extended simulation result with rootTaskRef and configurationUsed.
2. Added global definition of custom metrics, both object-level and
aggregated (very preliminary!)
3. Added definition for filtering of event tags and metrics for a given
simulation (SimulationMetricsDefinitionType).
4. Improved storage of metric values, for both individual objects
and the whole simulation result (aggregated form).

Functionality added:

- filling-in rootTaskRef & configurationUsed;
- computing custom object-level metrics.

Work in progress. Some tests may fail.




More information about the midPoint-svn mailing list