[midPoint-git] [Evolveum/midpoint] a54829: Implement event tags PoC more conservatively

mederly noreply at github.com
Sat Dec 17 01:06:16 CET 2022


  Branch: refs/heads/feature/simulations
  Home:   https://github.com/Evolveum/midpoint
  Commit: a54829510bdd52dea287ba1e4a584e6bb960a606
      https://github.com/Evolveum/midpoint/commit/a54829510bdd52dea287ba1e4a584e6bb960a606
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2022-12-17 (Sat, 17 Dec 2022)

  Changed paths:
    M infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd
    M infra/schema/src/main/resources/xml/ns/public/common/common-simulations-3.xsd
    A model/model-api/src/main/java/com/evolveum/midpoint/model/api/simulation/ProcessedObject.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/ClockworkAuditHelper.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/LensFocusContext.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensProjectionContext.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/SimulationResultContextImpl.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/simulation/AbstractBasicSimulationExecutionTest.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/simulation/AbstractSimulationsTest.java
    A 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 repo/task-api/src/main/java/com/evolveum/midpoint/task/api/AggregatedObjectProcessingListener.java
    M repo/task-api/src/main/java/com/evolveum/midpoint/task/api/test/NullTaskImpl.java
    M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/TaskQuartzImpl.java

  Log Message:
  -----------
  Implement event tags PoC more conservatively

This is an experiment to implement so-called event tags without the need
to add new ObjectType (TagType). Here the tags are represented by plain
string values (e.g. URIs). The rest is the same as in
d9c1b5d4446bfd5a069295f0ffb533503e54ed4e:

1. Each policy rule has a set of tags it induces. These are (by default)
not written anywhere, just collected for the purposes of simulation and
auditing.
2. In the former case, these event tags are stored as metric identifiers
in SimulationResultProcessedObjectType. (Will be probably renamed.)

Other changes:

- The AggregatedObjectProcessingListener (temporary name) was adapted
to work with event tags.
- The XSD for SimulationResultProcessedObjectType was fixed, and the
creation of these objects was improved (see ProcessedObject class).

Work in progress. The final form of event tags should be decided.
It may be a string (OID, URI) or QName.




More information about the midPoint-svn mailing list