[midPoint-git] [Evolveum/midpoint] 8557f5: Extend mapping specification in value metadata

mederly noreply at github.com
Wed Oct 2 16:35:48 CEST 2024


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: 8557f5945222ac2a7c535f0d0458af725442b61b
      https://github.com/Evolveum/midpoint/commit/8557f5945222ac2a7c535f0d0458af725442b61b
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2024-10-02 (Wed, 02 Oct 2024)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/config/ConfigurationItemable.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/config/ShadowAssociationTypeDefinitionConfigItem.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/metadata/MidpointProvenanceEquivalenceStrategy.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-metadata-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/mapping/AbstractMappingImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/expr/AssociationSynchronizationExpressionEvaluator.java
    M 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
    M 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/prep/FullInboundsSource.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/InboundMappingContextSpecification.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/InboundsSource.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/LimitedInboundsSource.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/MappedSourceItem.java
    M 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-intest/src/test/java/com/evolveum/midpoint/model/intest/TestBasicValueMetadata.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestShadowCaching.java
    R model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/associations/DummyAdTrivialScenario.java
    R model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/associations/DummyDmsScenario.java
    R model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/associations/DummyHrScenarioExtended.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/associations/TestAssociations.java
    A model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/dummys/DummyAdTrivialScenario.java
    A model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/dummys/DummyDmsScenario.java
    A model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/dummys/DummyHrScenarioExtended.java
    A model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/dummys/ScenariosConstants.java
    A model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/dummys/package-info.java
    A model/model-intest/src/test/resources/metadata/basic/resource-dummy-hr.xml
    A model/model-intest/src/test/resources/metadata/basic/resource-dummy-multi-inbound.xml
    A model/model-intest/src/test/resources/metadata/basic/resource-dummy-provenance.xml
    M model/model-intest/src/test/resources/schema/hr.xsd
    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/util/SynchronizationRequest.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/AbstractAsserter.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/AssignmentAsserter.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/ProvenanceMetadataAsserter.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/ValueMetadataValueAsserter.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/prism/PrismObjectAsserter.java

  Log Message:
  -----------
  Extend mapping specification in value metadata

The association type name and the shadow tag were added to the mapping
specification in the provenance metadata. The former is primarily
to restrict the scope of the required uniqueness of mappings names.
The latter is to enable automatic ranges for multi-account scenarios.

This commit provides extensive tests in TestBasicValueMetadata,
including the one regarding auto-ranges in multivalued extension items
in assignments (import from associations).

Note that deleting shadows is not natively supported yet
(values and/or their metadata are not removed).

Also:
 - added "name" as the natural key for association type definition.


  Commit: a89727acb9ab9449165245d81e2909ad46a7e7cd
      https://github.com/Evolveum/midpoint/commit/a89727acb9ab9449165245d81e2909ad46a7e7cd
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2024-10-02 (Wed, 02 Oct 2024)

  Changed paths:
    M config/initial-objects/archetype/021-archetype-system-role.xml
    M config/initial-objects/archetype/022-archetype-business-role.xml
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/column/CertItemEditableCommentColumn.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/column/CertItemResponseColumn.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/certification/component/CertificationWorkItemTable.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/mining/algorithm/cluster/action/context/ClusteringActionExecutor.java
    A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/mining/utils/DebugOutlierDetectionEvaluation.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/mining/TestRoleAnalysis.java
    M repo/system-init/src/main/resources/initial-objects/archetype/021-archetype-system-role.xml
    M repo/system-init/src/main/resources/initial-objects/archetype/022-archetype-business-role.xml

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/master'


Compare: https://github.com/Evolveum/midpoint/compare/1e426dd72aad...a89727acb9ab

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