[midPoint-git] [Evolveum/midpoint] d9c1b5: Add rough experimental "event tags" implementation

mederly noreply at github.com
Fri Dec 16 21:50:54 CET 2022


  Branch: refs/heads/feature/tag-experiment
  Home:   https://github.com/Evolveum/midpoint
  Commit: d9c1b5d4446bfd5a069295f0ffb533503e54ed4e
      https://github.com/Evolveum/midpoint/commit/d9c1b5d4446bfd5a069295f0ffb533503e54ed4e
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2022-12-16 (Fri, 16 Dec 2022)

  Changed paths:
    M config/sql/generic-old/h2-4.6-all.sql
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/util/ObjectTypeGuiDescriptor.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/constants/ObjectTypes.java
    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
    A model/model-intest/src/test/resources/simulation/tag-user-add.xml
    A model/model-intest/src/test/resources/simulation/tag-user-delete.xml
    M model/model-test/src/main/java/com/evolveum/midpoint/model/test/SimulationResult.java
    M repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/BaseSQLRepoTest.java
    M repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/QueryInterpreterTest.java
    M repo/repo-sql-impl-test/src/test/resources/schema/extension.xsd
    A repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RTag.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/other/RObjectType.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/util/ClassMapper.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:
  -----------
  Add rough experimental "event tags" implementation

1. TagType is experimentally supported in the old repo.
2. Each PolicyRuleType has a set of tags it induce (analogous to the
policy situation URI, that might be eventually deprecated).
3. Each LensElementContext thus can present its event tags, derived
from triggered policy rules.
4. This information is finally stored as metric identifiers (will be
probably renamed to "event tags") in SimulationResultProcessedObjectType
- may go to audit log as well.
5. Policies for collecting the tags are currently stored in system
configuration as global policy rules. But nothing prevents us from
keeping them right with the event tags.




More information about the midPoint-svn mailing list