[midPoint-git] [Evolveum/midpoint] cd02bd: Clarify domain evaluation for event tags
mederly
noreply at github.com
Thu Jan 19 12:46:50 CET 2023
Branch: refs/heads/feature/simulations
Home: https://github.com/Evolveum/midpoint
Commit: cd02bd31353166abd59b0d96329ee2245aad0fd9
https://github.com/Evolveum/midpoint/commit/cd02bd31353166abd59b0d96329ee2245aad0fd9
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2023-01-19 (Thu, 19 Jan 2023)
Changed paths:
A infra/schema/src/main/java/com/evolveum/midpoint/schema/util/TagTypeUtil.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
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/TagManager.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/ProcessedObjectImpl.java
M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestProjectionPolicyRules.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/simulation/AbstractSimulationsTest.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 repo/system-init/src/main/resources/initial-objects/tag/710-tag-focus-enabled.xml
M repo/system-init/src/main/resources/initial-objects/tag/711-tag-focus-disabled.xml
M repo/system-init/src/main/resources/initial-objects/tag/712-tag-focus-renamed.xml
M repo/system-init/src/main/resources/initial-objects/tag/713-tag-focus-assignment-changed.xml
M repo/system-init/src/main/resources/initial-objects/tag/714-tag-focus-archetype-changed.xml
M repo/system-init/src/main/resources/initial-objects/tag/715-tag-focus-parent-org-reference-changed.xml
M repo/system-init/src/main/resources/initial-objects/tag/716-tag-focus-role-membership-changed.xml
M repo/system-init/src/main/resources/initial-objects/tag/730-tag-projection-enabled.xml
M repo/system-init/src/main/resources/initial-objects/tag/731-tag-projection-disabled.xml
M repo/system-init/src/main/resources/initial-objects/tag/732-tag-projection-renamed.xml
M repo/system-init/src/main/resources/initial-objects/tag/733-tag-projection-identifier-changed.xml
M repo/system-init/src/main/resources/initial-objects/tag/734-tag-projection-entitlement-changed.xml
M repo/system-init/src/main/resources/initial-objects/tag/735-tag-projection-password-changed.xml
M testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestFirstSteps.java
Log Message:
-----------
Clarify domain evaluation for event tags
When providing simulation statistics on event tags, we need to know
the domain of each of these tags. This commit improves the preliminary
solution from yesterday by:
1. fixing the algorithm to determine tag applicability from the attached
policy rules;
2. providing an option to explicitly specify the domain, just like it
is for custom metrics.
Other change:
- added missing "event tag" archetype in tags in initial objects
More information about the midPoint-svn
mailing list