[midPoint-git] [Evolveum/midpoint] 44f0ef: Improve association inbound/outbound definitions
mederly
noreply at github.com
Fri Jul 12 15:38:17 CEST 2024
Branch: refs/heads/master
Home: https://github.com/Evolveum/midpoint
Commit: 44f0efef336f929f4496841dab788f635823f98d
https://github.com/Evolveum/midpoint/commit/44f0efef336f929f4496841dab788f635823f98d
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2024-07-08 (Mon, 08 Jul 2024)
Changed paths:
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ResourceObjectInboundDefinition.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowAssociationDefinition.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowAssociationDefinitionImpl.java
M infra/schema/src/main/resources/xml/ns/public/common/common-provisioning-3.xsd
M model/model-api/src/main/java/com/evolveum/midpoint/model/api/InboundSourceData.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/construction/AssociationMapper.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/construction/AssociationValuesTripleComputation.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/construction/EvaluatedPlainResourceObjectConstructionImpl.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/construction/ShadowItemMapper.java
M model/model-intest/src/test/resources/associations/resource-dummy-ad.xml
M model/model-intest/src/test/resources/associations/resource-dummy-dms.xml
M model/model-intest/src/test/resources/associations/resource-dummy-hr.xml
M model/model-intest/src/test/resources/common/resource-dummy.xml
M testing/story/src/test/resources/associations-first-steps/resource-dms-120.xml
M testing/story/src/test/resources/associations-first-steps/resource-dms-130.xml
M testing/story/src/test/resources/associations-first-steps/resource-dms-140.xml
M testing/story/src/test/resources/associations-first-steps/resource-dms-150.xml
M testing/story/src/test/resources/associations-first-steps/resource-dms-170.xml
M testing/story/src/test/resources/associations-first-steps/resource-dms-300.xml
M testing/story/src/test/resources/associations-first-steps/resource-dms-xxx.xml
M testing/story/testng-integration.xml
Log Message:
-----------
Improve association inbound/outbound definitions
In order to support various inbound/outbound mappings related settings
(like lifecycle state, strength, authoritativeness, and so on), and
to support multiple inbound/outbound mappings per association type,
we decided to include these in separate "inbound" and "outbound" items.
PRELIMINARY SOLUTION.
Differences to agreed-upon version:
1. For simplicity, the embedded attribute/objectRef mappings are not
named "mapping", but - as it was before - "inbound" and "outbound".
This was to avoid the need of cloning ResourceAttributeDefinitionType
just for this small change. It will be done later.
2. The "focus", "correlation" and "synchronization" sections have no
meaning outside the "inbound" mapping definition, as they are specific
for given inbound mapping. So, they were moved into it; and instead
of "focus", we now have (more traditional) "target" config item.
Commit: 1b2d353790a3331cbc391fb489462f08ea01989c
https://github.com/Evolveum/midpoint/commit/1b2d353790a3331cbc391fb489462f08ea01989c
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2024-07-09 (Tue, 09 Jul 2024)
Changed paths:
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/schemaHandling/associationType/ResourceAssociationTypeWizardPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/schemaHandling/associationType/basic/AssociationDataAssociationTypeStepPanel.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ResourceObjectInboundDefinition.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-provisioning-3.xsd
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/construction/AssociationValuesTripleComputation.java
M model/model-intest/src/test/resources/associations/resource-dummy-ad.xml
M model/model-intest/src/test/resources/associations/resource-dummy-dms.xml
M model/model-intest/src/test/resources/associations/resource-dummy-hr.xml
M testing/story/src/test/resources/associations-first-steps/resource-dms-120.xml
M testing/story/src/test/resources/associations-first-steps/resource-dms-130.xml
M testing/story/src/test/resources/associations-first-steps/resource-dms-140.xml
M testing/story/src/test/resources/associations-first-steps/resource-dms-150.xml
M testing/story/src/test/resources/associations-first-steps/resource-dms-170.xml
M testing/story/src/test/resources/associations-first-steps/resource-dms-300.xml
M testing/story/src/test/resources/associations-first-steps/resource-dms-xxx.xml
Log Message:
-----------
Clean up the associations schema a bit
Here we removed strange inbound/objectRef/inbound and
outbound/objectRef/outbound combinations of elements, and replace
them with the envisioned inbound/objectRef/mapping and
outbound/objectRef/mapping ones - with the benefits of making
the schema more direct (avoiding meaningless configurations at the
level of XSD), with the cost of duplication of parts of it.
Also removed some leftovers ("REMOVE ME") from the last commit.
Commit: 9a6ba35aee5f4f1043f5d1b5a55408629d9d44ba
https://github.com/Evolveum/midpoint/commit/9a6ba35aee5f4f1043f5d1b5a55408629d9d44ba
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2024-07-11 (Thu, 11 Jul 2024)
Changed paths:
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ResourceObjectInboundDefinition.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowAssociation.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowAssociationDefinition.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowAssociationDefinitionImpl.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowAssociationValue.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-provisioning-3.xsd
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/transformation/CombinatorialEvaluation.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/mapping/AbstractMappingImpl.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlation/CorrelationServiceImpl.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/expr/AssociationValueConstructionExpressionEvaluator.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/expr/AssociationValueConstructionExpressionEvaluatorFactory.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/expr/AssociationValueSynchronizationExpressionEvaluator.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/expr/AssociationValueSynchronizationExpressionEvaluatorFactory.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/expr/ExpressionEvaluatorResult.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/construction/AssociationValuesTripleComputation.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/construction/ShadowItemMapper.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/AssignmentProcessor.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/DeltaSetTripleIvwoMap.java
R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/DeltaSetTripleMap.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/FocalMappingSetEvaluation.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/InboundProcessor.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/ProjectionMappingSetEvaluator.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/TemplateMappingsEvaluation.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/consolidation/DeltaSetTripleMapConsolidation.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/AbstractInboundsProcessing.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/DefaultSingleShadowInboundsProcessingContextImpl.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/FullInboundsProcessing.java
R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/InboundMappingEvaluationRequest.java
R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/LimitedInboundsProcessing.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/MappingEvaluationRequest.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/MappingEvaluationRequests.java
R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/PreInboundsContext.java
R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/SimplePreInboundsContextImpl.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/SingleShadowInboundsProcessing.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/SingleShadowInboundsProcessingContext.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/package-info.java
R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/Context.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/FullContext.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/FullInboundsPreparation.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/FullSource.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/FullTarget.java
R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/IMSource.java
R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/InboundsPreparation.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/LimitedContext.java
R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/LimitedInboundsPreparation.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/LimitedSource.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/LimitedTarget.java
R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/MSource.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/MappedItem.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/MappedItems.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/MappingContext.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/MappingSource.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/MappingTarget.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/SingleShadowInboundsPreparation.java
R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/Target.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/package-info.java
R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/PreMappingsEvaluation.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/PreMappingsEvaluator.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/SynchronizationContext.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/SynchronizationServiceImpl.java
M model/model-impl/src/main/resources/ctx-model.xml
M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/correlator/correlation/TestCorrelators.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/associations/TestAssociations.java
M model/model-intest/src/test/resources/associations/resource-dummy-ad.xml
M model/model-intest/src/test/resources/associations/resource-dummy-dms.xml
M model/model-intest/src/test/resources/associations/resource-dummy-hr.xml
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/ExpressionEvaluationContext.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/Source.java
M testing/story/src/test/resources/associations-first-steps/resource-dms-120.xml
M testing/story/src/test/resources/associations-first-steps/resource-dms-130.xml
M testing/story/src/test/resources/associations-first-steps/resource-dms-140.xml
M testing/story/src/test/resources/associations-first-steps/resource-dms-150.xml
M testing/story/src/test/resources/associations-first-steps/resource-dms-170.xml
M testing/story/src/test/resources/associations-first-steps/resource-dms-300.xml
M testing/story/src/test/resources/associations-first-steps/resource-dms-xxx.xml
Log Message:
-----------
Add association value specific expr. evaluators
Here we add two expression evaluators dedicated to handling association
values: associationValueConstruction/associationValueSynchronization.
The first is used in association outbounds, and creates an aggregated
association value based on mappings for attributes and object
references. The second is used in inbounds, and maps association values
into assignment values, doing correlation and obeying synchronization
reactions.
The second evaluator requires some extensions to the model of processing
data:
1) It has to have a direct access to the target item values
(assignments, later roleMembershipRefs).
2) In addition to a PrismValueDeltaSetTriple, it creates an attached
DeltaSetTripleIvwoMap - holding partial deltas related to assignments'
content.
However, the overall solution fits better with the original design
of midPoint, and requires less code duplication than previous attempts.
Work in progress. Some features are not yet implemented (in particular,
enforcing the range of the assignments). Some tests fail now.
Commit: 7e1887bc641e9b75d502e741055632365476b2be
https://github.com/Evolveum/midpoint/commit/7e1887bc641e9b75d502e741055632365476b2be
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2024-07-12 (Fri, 12 Jul 2024)
Changed paths:
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowAssociationDefinition.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowAssociationDefinitionImpl.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/construction/EvaluatedPlainResourceObjectConstructionImpl.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/MappedItems.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestIntent.java
Log Message:
-----------
Fix associations outbound mappings definitions
This fixes TestIntent.
Commit: d38ed3e45e2b9aa65f6bd60f58f671a5c986e089
https://github.com/Evolveum/midpoint/commit/d38ed3e45e2b9aa65f6bd60f58f671a5c986e089
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2024-07-12 (Fri, 12 Jul 2024)
Changed paths:
M config/sql/native/postgres-upgrade.sql
M config/sql/native/postgres.sql
A docs/admin-gui/admin-gui-config/admin-gui-config-examples.adoc
R docs/admin-gui/admin-gui-config/admin-gui-configuration-4-0.adoc
R docs/admin-gui/admin-gui-config/image2017-10-12-15-45-53.png
M docs/admin-gui/admin-gui-config/index.adoc
R docs/admin-gui/admin-gui-config/orgstruct.adoc
R docs/admin-gui/change-application.adoc
M docs/admin-gui/request-access/index.adoc
M docs/concepts/query/index.adoc
A docs/concepts/query/midpoint-query-language/errors/err-add-unsupported-filter-type.png
A docs/concepts/query/midpoint-query-language/errors/err-qname-value-expected.png
M docs/concepts/query/midpoint-query-language/errors/index.adoc
M docs/concepts/query/midpoint-query-language/index.adoc
M docs/concepts/query/midpoint-query-language/introduction.adoc
M docs/concepts/query/midpoint-query-language/query-examples/index.adoc
M docs/concepts/query/midpoint-query-language/query-playground/index.adoc
M docs/tasks/activities/work.adoc
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/CertItemCheckResponsesAction.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/menu/DetailsNavigationPanel.java
R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/table/DefinitionTablePanel.html
R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/table/DefinitionTablePanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/tile/MultiSelectContainerTileTablePanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/tile/MultiSelectObjectTileTablePanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/tile/MultiSelectTileTablePanel.java
R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/factory/panel/itempath/AssociationDefinitionRefPanelFactory.java
R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/factory/wrapper/ShadowAssociationRefContainerWrapperFactoryImpl.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/PageAdminCertification.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/PageCertCampaigns.html
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/PageCertCampaigns.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/PageCertDefinitions.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/component/CampaignTilePanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/component/CampaignsPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/helpers/CampaignProcessingHelper.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/helpers/CampaignStateHelper.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/helpers/CertMiscUtil.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/PageShadow.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/ResourceSchemaPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/schemaHandling/associationType/basic/AssociationDefinitionWrapper.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/schemaHandling/associationType/basic/ObjectAssociationStepPanel.java
R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/schema/component/ItemDefinitionPanel.html
R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/schema/component/ItemDefinitionPanel.java
R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/schema/dto/DefinitionDto.java
R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/schema/dto/ItemDefinitionDto.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/shadow/ShadowAssociationMenuPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/shadow/ShadowAssociationValuePanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/shadow/ShadowAssociationsTable.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/prism/panel/PrismContainerPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/util/ProvisioningObjectsUtil.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/application/ActionType.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/data/column/GuiActionColumn.java
R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/resources/component/SchemaListPanel.html
R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/resources/component/SchemaListPanel.java
R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/resources/dto/AttributeDto.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/TaskTablePanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/util/TaskOperationUtils.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/task/work/WorkDefinitionUtil.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-tasks-3.xsd
M model/certification-api/src/main/java/com/evolveum/midpoint/certification/api/CertificationManager.java
M model/certification-impl/src/main/java/com/evolveum/midpoint/certification/impl/AccCertCaseOperationsHelper.java
M model/certification-impl/src/main/java/com/evolveum/midpoint/certification/impl/AccCertGeneralHelper.java
M model/certification-impl/src/main/java/com/evolveum/midpoint/certification/impl/AccCertOpenerHelper.java
M model/certification-impl/src/main/java/com/evolveum/midpoint/certification/impl/AccCertQueryHelper.java
R model/certification-impl/src/main/java/com/evolveum/midpoint/certification/impl/AccessCertificationCampaignCreationTaskHandler.java
R model/certification-impl/src/main/java/com/evolveum/midpoint/certification/impl/AccessCertificationRemediationTaskHandler.java
M model/certification-impl/src/main/java/com/evolveum/midpoint/certification/impl/CertificationManagerImpl.java
A model/certification-impl/src/main/java/com/evolveum/midpoint/certification/impl/task/CertificationTaskLauncher.java
A model/certification-impl/src/main/java/com/evolveum/midpoint/certification/impl/task/campaignCreation/AccessCertificationCampaignCreationActivityHandler.java
A model/certification-impl/src/main/java/com/evolveum/midpoint/certification/impl/task/campaignCreation/AccessCertificationCampaignCreationRun.java
A model/certification-impl/src/main/java/com/evolveum/midpoint/certification/impl/task/campaignCreation/AccessCertificationCampaignCreationTaskHandler.java
A model/certification-impl/src/main/java/com/evolveum/midpoint/certification/impl/task/campaignCreation/AccessCertificationCampaignCreationWorkDefinition.java
A model/certification-impl/src/main/java/com/evolveum/midpoint/certification/impl/task/remediation/AccessCertificationRemediationActivityHandler.java
A model/certification-impl/src/main/java/com/evolveum/midpoint/certification/impl/task/remediation/AccessCertificationRemediationRun.java
A model/certification-impl/src/main/java/com/evolveum/midpoint/certification/impl/task/remediation/AccessCertificationRemediationTaskHandler.java
A model/certification-impl/src/main/java/com/evolveum/midpoint/certification/impl/task/remediation/AccessCertificationRemediationWorkDefinition.java
M model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/AbstractCertificationTest.java
M model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/TestCertificationBasic.java
M model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/TestCriticalRolesCertification.java
M model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/TestEscalation.java
M model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/TestManualEscalation.java
M model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/TestRoleInducementCertification.java
M model/certification-impl/src/test/java/com/evolveum/midpoint/certification/test/TestSoDCertification.java
A model/certification-impl/src/test/resources/common/archetype-campaign-creation.xml
A model/certification-impl/src/test/resources/common/archetype-remediation.xml
M model/model-api/src/main/java/com/evolveum/midpoint/model/api/AccessCertificationService.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/cleanup/CleanupWorkDefinition.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/ModelController.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/tasks/TaskOperationalDataManager.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/NonIterativeScriptingActivityHandler.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/tasks/ExplicitChangeExecutionActivityHandler.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/tasks/RoleAnalysisClusteringActivityHandler.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/tasks/RoleAnalysisPatternDetectionActivityHandler.java
M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/TestSchemaContext.java
M model/model-impl/src/test/resources/lens/role-judge.xml
M model/report-impl/src/main/java/com/evolveum/midpoint/report/impl/activity/AbstractReportWorkDefinition.java
M model/rest-impl/src/main/java/com/evolveum/midpoint/rest/impl/ModelRestController.java
M pom.xml
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/task/PropagationWorkDefinition.java
M release-notes.adoc
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/TaskActivityManager.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/definition/ActivityDefinition.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/definition/AffectedObjectSetProvider.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/definition/AffectedObjectsProvider.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/definition/CompositeWorkDefinition.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/definition/ObjectSetSpecificationProvider.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/definition/ResourceObjectSetSpecificationProvider.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/handlers/NoOpActivityHandler.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/activity/run/state/ActivityState.java
M repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/handlers/composite/CompositeMockWorkDefinition.java
M repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/handlers/iterative/IterativeMockWorkDefinition.java
M repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/handlers/simple/SimpleMockWorkDefinition.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/SqaleUtils.java
A repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/task/MAffectedObjectReference.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/task/MAffectedObjects.java
A repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/task/QAffectedObjectReference.java
A repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/task/QAffectedObjectReferenceMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/task/QAffectedObjectsMapping.java
M repo/security-api/src/main/java/com/evolveum/midpoint/security/api/RestAuthorizationAction.java
A repo/system-init/src/main/resources/initial-objects/archetype/534-archetype-task-certification-campaign-creation.xml
A repo/system-init/src/main/resources/initial-objects/archetype/535-archetype-task-certification-remediation.xml
A repo/system-init/src/main/resources/initial-objects/object-collection/263-object-collection-task-certification.xml
M repo/system-init/src/main/resources/initial-objects/system-configuration/000-system-configuration.xml
M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/tasks/TaskPersister.java
Log Message:
-----------
Merge branch 'refs/heads/master' into tmp/separate-associations-mappings
Commit: 1690f715ee134190ab2cdd2fbbc12c3aed870978
https://github.com/Evolveum/midpoint/commit/1690f715ee134190ab2cdd2fbbc12c3aed870978
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2024-07-12 (Fri, 12 Jul 2024)
Changed paths:
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowAssociationValue.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/mapping/AbstractMappingImpl.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/mapping/MappingParser.java
M model/model-intest/src/test/resources/associations/resource-dummy-ad.xml
M model/model-intest/src/test/resources/associations/resource-dummy-dms.xml
M model/model-intest/src/test/resources/associations/resource-dummy-hr.xml
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/ValueSetDefinition.java
M testing/story/src/test/resources/associations-first-steps/resource-dms-120.xml
M testing/story/src/test/resources/associations-first-steps/resource-dms-130.xml
M testing/story/src/test/resources/associations-first-steps/resource-dms-140.xml
M testing/story/src/test/resources/associations-first-steps/resource-dms-150.xml
M testing/story/src/test/resources/associations-first-steps/resource-dms-170.xml
M testing/story/src/test/resources/associations-first-steps/resource-dms-300.xml
Log Message:
-----------
Improve associations inbounds
1. Added support for assignment subtype and target type name in the
<target> element.
2. Fix equality checking for ShadowAssociationValue objects
(to ignore extra name/uid attributes). To be reviewed later.
3. Adapt test files by specifying predefined=all range (temporary).
Commit: 968356edf7f579831b169b1fc76e8bcd467e88c8
https://github.com/Evolveum/midpoint/commit/968356edf7f579831b169b1fc76e8bcd467e88c8
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2024-07-12 (Fri, 12 Jul 2024)
Changed paths:
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/mapping/AbstractMappingImpl.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/ModelInteractionServiceImpl.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/expr/AssociationValueSynchronizationExpressionEvaluator.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/ClockworkClick.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensUtil.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/ProjectionValuesProcessor.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/AssignmentHolderProcessor.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/IterationHelper.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/MappedItem.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/MappedItems.java
M model/model-intest/src/test/resources/associations/resource-dummy-ad.xml
M model/model-intest/src/test/resources/associations/resource-dummy-dms.xml
M model/model-intest/src/test/resources/associations/resource-dummy-hr.xml
M testing/story/src/test/resources/associations-first-steps/resource-dms-120.xml
M testing/story/src/test/resources/associations-first-steps/resource-dms-130.xml
M testing/story/src/test/resources/associations-first-steps/resource-dms-140.xml
M testing/story/src/test/resources/associations-first-steps/resource-dms-150.xml
M testing/story/src/test/resources/associations-first-steps/resource-dms-170.xml
M testing/story/src/test/resources/associations-first-steps/resource-dms-300.xml
M testing/story/src/test/resources/associations-first-steps/resource-dms-xxx.xml
Log Message:
-----------
Stop requiring path=assignment for assoc. inbounds
Commit: 9694ca8a41a4ba9fa3a0e5d900047d88d52f7a94
https://github.com/Evolveum/midpoint/commit/9694ca8a41a4ba9fa3a0e5d900047d88d52f7a94
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2024-07-12 (Fri, 12 Jul 2024)
Changed paths:
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/transformation/ValueTupleTransformation.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/mapping/MappingImpl.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/mapping/metadata/ValueMetadataComputation.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/expr/AssociationValueSynchronizationExpressionEvaluator.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/TransformationValueMetadataComputer.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/prism/PrismValueSetAsserter.java
M testing/story/src/test/java/com/evolveum/midpoint/testing/story/associations/TestAssociationsFirstSteps.java
A testing/story/src/test/resources/associations-first-steps/object-template-user.xml
M testing/story/src/test/resources/associations-first-steps/resource-dms-120.xml
M testing/story/src/test/resources/associations-first-steps/resource-dms-130.xml
M testing/story/src/test/resources/associations-first-steps/resource-dms-140.xml
M testing/story/src/test/resources/associations-first-steps/resource-dms-150.xml
M testing/story/src/test/resources/associations-first-steps/resource-dms-170.xml
M testing/story/src/test/resources/associations-first-steps/resource-dms-300.xml
M testing/story/src/test/resources/associations-first-steps/system-configuration.xml
Log Message:
-----------
Remove explicit ranges for associations 1st steps
This commit adds value metadata support to the
AssociationValueSynchronizationExpressionEvaluator.
The TestAssociationsFirstSteps now utilizes provenance metadata
to control association-to-assignment mapping range. It had to be
temporarily turned on explicitly, as the default processing is not
the master branch yet.
Commit: 9f13870880459f5041a05460b794bdac2357f8e0
https://github.com/Evolveum/midpoint/commit/9f13870880459f5041a05460b794bdac2357f8e0
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2024-07-12 (Fri, 12 Jul 2024)
Changed paths:
M config/sql/native/postgres-upgrade.sql
M config/sql/native/postgres.sql
M infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd
M infra/schema/src/test/java/com/evolveum/midpoint/schema/util/SchemaTestUtil.java
M model/model-api/src/main/java/com/evolveum/midpoint/model/api/context/AssociatedPolicyRule.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/assignments/ForeignPolicyRuleImpl.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/PolicyStateRecorder.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/SqaleUtils.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/assignment/MAssignment.java
A repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/assignment/MAssignmentMark.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/assignment/MAssignmentReference.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/assignment/QAssignmentMapping.java
A repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/assignment/QAssignmentMarkReference.java
A repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/assignment/QAssignmentMarkReferenceMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/assignment/QAssignmentReferenceMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/ref/MReferenceType.java
M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/SqaleRepoSearchTest.java
Log Message:
-----------
Merge branch 'refs/heads/master' into tmp/separate-associations-mappings
Commit: 27656b27b904ee44ab50b0ecc577c64cf4184cb0
https://github.com/Evolveum/midpoint/commit/27656b27b904ee44ab50b0ecc577c64cf4184cb0
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2024-07-12 (Fri, 12 Jul 2024)
Changed paths:
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ResourceObjectInboundDefinition.java
M infra/schema/src/main/resources/xml/ns/public/common/common-provisioning-3.xsd
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/expr/AssociationConstructionExpressionEvaluator.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/expr/AssociationConstructionExpressionEvaluatorFactory.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/expr/AssociationSynchronizationExpressionEvaluator.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/expr/AssociationSynchronizationExpressionEvaluatorFactory.java
R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/expr/AssociationValueConstructionExpressionEvaluator.java
R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/expr/AssociationValueConstructionExpressionEvaluatorFactory.java
R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/expr/AssociationValueSynchronizationExpressionEvaluator.java
R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/expr/AssociationValueSynchronizationExpressionEvaluatorFactory.java
M model/model-impl/src/main/resources/ctx-model.xml
M model/model-intest/src/test/resources/associations/resource-dummy-ad.xml
M model/model-intest/src/test/resources/associations/resource-dummy-dms.xml
M model/model-intest/src/test/resources/associations/resource-dummy-hr.xml
M testing/story/src/test/resources/associations-first-steps/resource-dms-120.xml
M testing/story/src/test/resources/associations-first-steps/resource-dms-130.xml
M testing/story/src/test/resources/associations-first-steps/resource-dms-140.xml
M testing/story/src/test/resources/associations-first-steps/resource-dms-150.xml
M testing/story/src/test/resources/associations-first-steps/resource-dms-170.xml
M testing/story/src/test/resources/associations-first-steps/resource-dms-300.xml
M testing/story/src/test/resources/associations-first-steps/resource-dms-xxx.xml
Log Message:
-----------
Rename association-related expression evaluators
<associationValueConstruction> -> <associationConstruction>
<associationValueSynchronization> -> <associationSynchronization>
Commit: b35169eb966eda0fb4a854b458fa28195e6d4ce9
https://github.com/Evolveum/midpoint/commit/b35169eb966eda0fb4a854b458fa28195e6d4ce9
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2024-07-12 (Fri, 12 Jul 2024)
Changed paths:
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/component/CampaignsPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/helpers/CampaignProcessingHelper.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/data/column/ColumnUtils.java
Log Message:
-----------
Merge remote-tracking branch 'origin/master'
Compare: https://github.com/Evolveum/midpoint/compare/4427c3f8150f...b35169eb966e
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