[midPoint-git] [Evolveum/midpoint] bd0dff: Streamline sim. metrics definition and computation

mederly noreply at github.com
Fri Jan 27 23:19:02 CET 2023


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

  Changed paths:
    M infra/schema/src/main/resources/xml/ns/public/common/common-simulations-3.xsd
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/context/ModelElementContext.java
    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/ModelCommonBeans.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/EvaluatedPolicyRuleImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensElementContext.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/PolicyRulesContext.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/simulation/AggregatedMetricsComputation.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/simulation/ObjectMetricsComputation.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/simulation/ProcessedObjectImpl.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/simulation/SimulationMetricReference.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/simulation/AbstractBasicSimulationExecutionTest.java
    M model/model-intest/src/test/resources/simulation/system-configuration.xml
    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/ElementContextAsserter.java
    M model/model-test/src/main/java/com/evolveum/midpoint/model/test/asserter/ProcessedObjectAsserter.java
    M testing/story/src/test/resources/common/system-configuration.xml
    M testing/story/src/test/resources/first-steps/system-configuration.xml

  Log Message:
  -----------
  Streamline sim. metrics definition and computation

1. "In selection" and value computations are now clearly distinguished.
Either way (predicate or value expression) can be used to compute the
metric, according to its character.

2. Selection and domain for aggregation is now more clearly defined,
using "selectionRestriction" and "domainRestriction" items.

3. The computation code was simplified.

Work in progress.




More information about the midPoint-svn mailing list