[midPoint-git] [Evolveum/midpoint] 695dd9: Fix "ref = ." association mappings

mederly noreply at github.com
Mon Apr 15 23:22:20 CEST 2024


  Branch: refs/heads/feature/native-associations
  Home:   https://github.com/Evolveum/midpoint
  Commit: 695dd9e75092c5d739f5b418fed4df0e59b6c833
      https://github.com/Evolveum/midpoint/commit/695dd9e75092c5d739f5b418fed4df0e59b6c833
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2024-04-15 (Mon, 15 Apr 2024)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ResourceObjectInboundDefinition.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/SimplePreInboundsContextImpl.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/sync/PreMappingsEvaluation.java

  Log Message:
  -----------
  Fix "ref = ." association mappings


  Commit: 461308b3907f9c73b84a857ab333c4048f32cb33
      https://github.com/Evolveum/midpoint/commit/461308b3907f9c73b84a857ab333c4048f32cb33
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2024-04-15 (Mon, 15 Apr 2024)

  Changed paths:
    M infra/common/src/test/java/com/evolveum/midpoint/common/refinery/TestRefinedSchema.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/AbstractResourceObjectDefinitionImpl.java
    A infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/AbstractShadowItemsContainerTypeDefinitionImpl.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/AssociationDefinitionStore.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/CompositeObjectDefinitionImpl.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ObjectFactory.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ResourceAttributeContainer.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ResourceAttributeContainerDefinition.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ResourceAttributeContainerDefinitionImpl.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ResourceAttributeContainerImpl.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ResourceObjectClassDefinition.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ResourceObjectClassDefinitionImpl.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ResourceObjectDefinition.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ResourceObjectInboundDefinition.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ResourceObjectTypeDefinitionImpl.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ResourceSchemaImpl.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowAssociationValue.java
    A infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowAssociationsComplexTypeDefinition.java
    A infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowAssociationsComplexTypeDefinitionImpl.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowAssociationsContainerDefinition.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowAssociationsContainerDefinitionImpl.java
    A infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowAttributesComplexTypeDefinition.java
    A infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowAttributesComplexTypeDefinitionImpl.java
    A infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowItemsComplexTypeDefinition.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/deleg/ResourceAttributeContainerDefinitionDelegator.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/deleg/ResourceObjectClassDefinitionDelegator.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/deleg/ResourceObjectDefinitionDelegator.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/deleg/ResourceObjectTypeDefinitionDelegator.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/result/OperationResultStatus.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/AbstractShadow.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/RawRepoShadow.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ShadowUtil.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/AssignmentProcessor.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/StopProcessingProjectionException.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/schema/transform/PartiallyMutableComplexTypeDefinition.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/schema/transform/TransformableComplexTypeDefinition.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/schema/transform/TransformableContainerDefinition.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/action/AddFocusAction.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/action/BaseAction.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/action/CreateCorrelationCaseAction.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/action/DeleteFocusAction.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/action/DeleteResourceObjectAction.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/action/InactivateFocusAction.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/action/InactivateResourceObjectAction.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/action/LinkAction.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/action/StandardActionsRegistrar.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/action/SynchronizeAction.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/action/UnlinkAction.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/reactions/SynchronizationActionFactory.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/misc/TestMisc.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/security/TestSecurityBasic.java
    M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/ShadowRefreshOperation.java
    M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummySchemaless.java
    M provisioning/ucf-impl-connid/src/main/java/com/evolveum/midpoint/provisioning/ucf/impl/connid/ConnectorInstanceConnIdImpl.java
    M provisioning/ucf-impl-connid/src/test/java/com/evolveum/midpoint/provisioning/ucf/impl/connid/TestUcfOpenDj.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/IntegrationTestTools.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/refinedschema/ResourceObjectDefinitionAsserter.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestUnix.java

  Log Message:
  -----------
  Fix a couple of tests

After some PoC work, this commit tries to put midPoint back into
a working state. There are the following fixes:

1. ResourceObjectDefinition is no longer a ComplexTypeDefinition. The
reason is that it symmetrically describes both attributes and
associations, currently residing in two separate containers:
ResourceAttributeContainer and ShadowAssociationsContainer.
Each of them has now its own CTD, derived from ResourceObjectDefinition
by simple wrapping.

2. "Target value" in DeltaSetTripleMapConsolidation is no longer
required to be non-null. It's perfectly legal for it to be null.

3. Some restrictions related to ShadowAssociationValue (like the
existence of the dereferenced shadow) were lifted. The final form
will be decided later.

4. Various other minor fixes.

Work in progress.

Some parts of the "efficient mutable definition framework"
(PartiallyMutableComplexTypeDefinition,
TransformableComplexTypeDefinition, etc) were temporarily removed.
To be reconstructed soon.


Compare: https://github.com/Evolveum/midpoint/compare/fd2cf3556f48...461308b3907f

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