[midPoint-git] [Evolveum/midpoint] 351d7e: Support shadow effectiveMarkRef value metadata
mederly
noreply at github.com
Fri Sep 13 15:08:58 CEST 2024
Branch: refs/heads/master
Home: https://github.com/Evolveum/midpoint
Commit: 351d7e4718bef9ac90dffde8920bc7d536f42e84
https://github.com/Evolveum/midpoint/commit/351d7e4718bef9ac90dffde8920bc7d536f42e84
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2024-09-13 (Fri, 13 Sep 2024)
Changed paths:
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/MainObjectListPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/util/WebComponentUtil.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/simulation/ProcessedObjectsPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/shadows/ShadowTablePanel.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowMarkingRules.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/MarkTypeUtil.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ObjectTypeUtil.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ValueMetadataTypeUtil.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-metadata-3.xsd
M model/model-api/src/main/java/com/evolveum/midpoint/model/api/expr/MidpointFunctions.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/MarkManager.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/projector/policy/ObjectPolicyRulesEvaluator.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/PolicyRuleProcessor.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/PolicyStatementProcessor.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/simulation/ProcessedObjectImpl.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestShadowMarks.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ProvisioningContext.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ShadowMarksComputerConfiguration.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/manager/ShadowDeltaComputerAbsolute.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/manager/ShadowDeltaComputerRelative.java
M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummy.java
M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyShadowMarks.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/EvaluatedPolicyStatements.java
A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/ObjectMarkHelper.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/ObjectOperationPolicyHelper.java
M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/SqaleRepoModifyObjectTest.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/prism/PrismObjectAsserter.java
Log Message:
-----------
Support shadow effectiveMarkRef value metadata
The effectiveMarkRef item for shadows now supports the value metadata.
These are added for both policy statements and shadow marking rules.
(Note that policy rules currently do not provide object marks for
shadows.)
Also, marks provided by the rules but disabled by statements are stored
in effectiveMarkRef, but with the relation of org:related.
Interesting methods:
- MarkTypeUtil#isEffective checks the relation value;
- MarkTypeUtil#isTransitional is a replacement for isStateful() method;
- ObjectTypeUtil#getReallyEffectiveMarkRefs is a replacement for
the direct object.getEffectiveMarkRef call.
Other changes: ObjectMarkHelper was factored out from
ObjectOperationPolicyHelper to make things simpler.
Work in progress. Some tests should be provided.
NOTE:
Focus object marks are not influenced by this commit; they still have
no value metadata, neither for policy rules nor for policy statements.
Commit: a01db1c719c4bbdbb5af5f584671971472b95b80
https://github.com/Evolveum/midpoint/commit/a01db1c719c4bbdbb5af5f584671971472b95b80
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2024-09-13 (Fri, 13 Sep 2024)
Changed paths:
M docs/admin-gui/admin-gui-config/index.adoc
M docs/concepts/query/midpoint-query-language/introduction.adoc
M docs/concepts/query/midpoint-query-language/query-examples/index.adoc
M gui/admin-gui/package-lock.json
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/MainObjectListPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/ObjectBrowserPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/ContainerableListPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/action/AbstractGuiAction.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/action/CertItemResolveAction.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/data/column/AbstractItemWrapperColumnPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/tile/mining/candidate/RoleAnalysisCandidateTilePanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/wizard/AbstractWizardPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/factory/panel/CreateObjectForReferencePanelFactory.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/factory/wrapper/ResourceObjectTypeDefaultOptionalPolicyWrapperFactory.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/component/CertificationWorkItemTable.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/component/DashboardCertCampaignsPanel.java
R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/mark/ShadowMarkPanel.html
R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/mark/ShadowMarkPanel.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/mark/component/ShadowMarkPanel.html
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/mark/component/ShadowMarkPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/schemaHandling/objectType/correlation/CorrelationWizardPanel.java
R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/schemaHandling/objectType/policies/DefaultOperationPolicyStepPanel.java
R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/schemaHandling/objectType/policies/MarkingTable.java
R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/schemaHandling/objectType/policies/MarkingTableWizardPanel.html
R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/schemaHandling/objectType/policies/MarkingTableWizardPanel.java
R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/schemaHandling/objectType/policies/MarkingWizardPanel.java
R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/schemaHandling/objectType/policies/PatternStepPanel.java
R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/schemaHandling/objectType/policies/PatternWizardPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/schemaHandling/objectType/policies/PoliciesObjectTypeWizardChoicePanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/schemaHandling/objectType/policies/PoliciesObjectTypeWizardPanel.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/schemaHandling/objectType/policies/defaultOperationPolicies/DefaultOperationPoliciesTable.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/schemaHandling/objectType/policies/defaultOperationPolicies/DefaultOperationPoliciesTableWizardPanel.html
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/schemaHandling/objectType/policies/defaultOperationPolicies/DefaultOperationPoliciesTableWizardPanel.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/schemaHandling/objectType/policies/defaultOperationPolicies/DefaultOperationPoliciesWizardPanel.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/schemaHandling/objectType/policies/defaultOperationPolicies/DefaultOperationPolicyStepPanel.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/schemaHandling/objectType/policies/defaultOperationPolicies/DefaultOperationPolicyWizardPanel.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/schemaHandling/objectType/policies/marking/MarkingTable.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/schemaHandling/objectType/policies/marking/MarkingTableWizardPanel.html
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/schemaHandling/objectType/policies/marking/MarkingTableWizardPanel.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/schemaHandling/objectType/policies/marking/MarkingWizardPanel.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/schemaHandling/objectType/policies/marking/PatternStepPanel.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/schemaHandling/objectType/policies/marking/PatternWizardPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/schemaHandling/objectType/synchronization/SynchronizationWizardPanel.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/component/wizard/focusMapping/BasicFocusMappingStepPanel.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/component/wizard/focusMapping/FocusMappingMappingMainStepPanel.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/component/wizard/focusMapping/FocusMappingMappingOptionalStepPanel.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/component/wizard/focusMapping/FocusMappingMappingsStepPanel.html
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/component/wizard/focusMapping/FocusMappingMappingsStepPanel.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/component/wizard/focusMapping/FocusMappingMappingsTable.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/component/wizard/focusMapping/FocusMappingWizardPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/components/ProgressBarSecondStyle.html
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/page/outlier/panel/OutlierAttributeItemPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/panel/chart/RoleAnalysisAttributeChartPanel.html
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/panel/chart/RoleAnalysisAttributeResultChartPanel.html
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/panel/chart/RoleAnalysisAttributeResultChartPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/panel/cluster/aspects/RoleAnalysisClusterAnalysisAspectsPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/panel/outlier/RoleAnalysisMultiplePartitionAnomalyResultTabPopup.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/panel/outlier/RoleAnalysisSinglePartitionAnomalyResultTabPopup.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/mining/page/tmp/panel/RoleAnalysisDetectedPatternDetails.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/forgotpassword/PageResetPassword.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/login/AbstractPageLogin.html
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/login/AbstractPageLogin.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/login/module/PageAbstractAuthenticationModule.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/login/module/PageArchetypeSelection.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/login/module/PageAttributeVerification.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/login/module/PageCorrelation.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/login/module/PageDuoSelect.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/login/module/PageEmailNonce.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/login/module/PageFocusIdentification.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/login/module/PageLogin.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/login/module/PageOidcSelect.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/login/module/PagePasswordHint.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/login/module/PageSamlSelect.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/login/module/PageSecurityQuestions.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/lostusername/PageIdentityRecovery.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/util/DetailsPageUtil.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/data/column/ColumnUtils.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/data/column/DeltaProgressBarColumn.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/session/UserProfileStorage.java
M infra/common/src/main/java/com/evolveum/midpoint/common/mining/objects/analysis/AttributePathResult.java
M infra/schema/src/main/resources/xml/ns/public/common/common-certification-3.xsd
M infra/schema/src/main/resources/xml/ns/public/common/common-policy-3.xsd
M infra/schema/src/main/resources/xml/ns/public/common/common-provisioning-3.xsd
M infra/schema/src/main/resources/xml/ns/public/common/common-security-3.xsd
M model/authentication-api/src/main/java/com/evolveum/midpoint/authentication/api/config/ModuleAuthentication.java
M model/authentication-impl/src/main/java/com/evolveum/midpoint/authentication/impl/module/authentication/ModuleAuthenticationImpl.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/mining/RoleAnalysisServiceImpl.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/mining/analysis/AttributeAnalysisUtil.java
M model/model-test/src/main/java/com/evolveum/midpoint/model/test/AbstractModelIntegrationTest.java
Log Message:
-----------
Merge remote-tracking branch 'origin/master'
Compare: https://github.com/Evolveum/midpoint/compare/f916ecdf8173...a01db1c719c4
To unsubscribe from these emails, change your notification settings at https://github.com/Evolveum/midpoint/settings/notifications
More information about the midPoint-svn
mailing list