[midPoint-git] [Evolveum/midpoint] 36650b: Re-allow null intent for dependency specification

mederly noreply at github.com
Thu Jun 9 13:41:43 CEST 2022


  Branch: refs/heads/feature/default-types
  Home:   https://github.com/Evolveum/midpoint
  Commit: 36650b92a68a5a8034ce64abeb01d876ae323df8
      https://github.com/Evolveum/midpoint/commit/36650b92a68a5a8034ce64abeb01d876ae323df8
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2022-06-09 (Thu, 09 Jun 2022)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/CompositeObjectDefinitionImpl.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/ResourceObjectTypeDefinitionImpl.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
    A infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ResourceObjectTypeDependencyTypeUtil.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ResourceTypeUtil.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/SchemaDebugUtil.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/context/ModelProjectionContext.java
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/context/ProjectionContextFilter.java
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/context/ProjectionContextKey.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensProjectionContext.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/ProjectionContextKeyFactoryImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/DependencyProcessor.java
    M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestDependencies.java
    M model/model-impl/src/test/resources/common/resource-dummy-dependency-filter-querydsl.xml
    M model/model-impl/src/test/resources/common/resource-dummy-dependency-filter.xml
    M model/model-impl/src/test/resources/lens/dependencies/resource-dummy-b.xml
    M model/model-impl/src/test/resources/lens/dependencies/resource-dummy-c.xml
    M model/model-impl/src/test/resources/lens/dependencies/resource-dummy-d.xml
    M model/model-impl/src/test/resources/lens/dependencies/resource-dummy-p.xml
    M model/model-impl/src/test/resources/lens/dependencies/resource-dummy-r.xml
    M model/model-impl/src/test/resources/lens/dependencies/resource-dummy-x.xml
    M model/model-impl/src/test/resources/lens/dependencies/resource-dummy-y.xml
    M model/model-impl/src/test/resources/lens/dependencies/resource-dummy-z.xml
    M model/model-intest/src/test/resources/multi-resource/resource-dummy-beige.xml
    M model/model-intest/src/test/resources/multi-resource/resource-dummy-dark-peru.xml
    M model/model-intest/src/test/resources/multi-resource/resource-dummy-david.xml
    M model/model-intest/src/test/resources/multi-resource/resource-dummy-goliath.xml
    M model/model-intest/src/test/resources/multi-resource/resource-dummy-ivory.xml
    M model/model-intest/src/test/resources/multi-resource/resource-dummy-lavender.xml
    M model/model-intest/src/test/resources/multi-resource/resource-dummy-peru.xml
    M model/model-intest/src/test/resources/preview/resource-dummy-lemon.xml
    M testing/story/src/test/resources/dependency-rename/resource-opendj.xml
    M testing/story/src/test/resources/science/resource-dummy-stats.xml
    M testing/story/src/test/resources/science/resource-dummy-unix.xml
    M testing/story/src/test/resources/science/resource-opendj-ad-simulation.xml

  Log Message:
  -----------
  Re-allow null intent for dependency specification

Making indent in dependency configuration obligatory
(in d62cd32e87ca66c033e182a73ce8b705eeb872e9) was not a good idea.

This commit implements handling of null intent there: it is interpreted
as "default in a kind". This means that specialized methods for
dependency lookup have been introduced in DependencyProcessor class.

Also, ResourceObjectTypeDependencyType has been separated from
ShadowDiscriminatorType. Not all fields are relevant, and the
meaning (hence the docs) is different as well.




More information about the midPoint-svn mailing list