[midPoint-git] [Evolveum/midpoint] a7e7d8: Improve archetype processing in <objectType> def

mederly noreply at github.com
Thu Jun 23 13:12:59 CEST 2022


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: a7e7d80be52babe9d4726faa963bbc158e4b5972
      https://github.com/Evolveum/midpoint/commit/a7e7d80be52babe9d4726faa963bbc158e4b5972
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2022-06-23 (Thu, 23 Jun 2022)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/factory/wrapper/TaskHandlerWrapperFactory.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ResourceObjectTypeDefinition.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/SynchronizationPolicy.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/SynchronizationPolicyFactory.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ArchetypeTypeUtil.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/FocusTypeUtil.java
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ObjectTypeUtil.java
    M infra/schema/src/main/resources/xml/ns/public/common/common-provisioning-3.xsd
    M model/cases-impl/src/main/java/com/evolveum/midpoint/cases/impl/engine/CaseEngineImpl.java
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/ModelInteractionService.java
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/context/ModelElementContext.java
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/correlator/CorrelationContext.java
    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/ArchetypeManager.java
    M model/model-common/src/main/java/com/evolveum/midpoint/model/common/LinkManager.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/CollectionProcessor.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/MidpointFunctionsImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/ElementState.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensContext.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/LensFocusContext.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/projector/focus/InboundProcessor.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/loader/ContextLoadOperation.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/loader/ContextLoader.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/BaseClockworkAction.java
    M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/AbstractAssignmentEvaluatorTest.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestImportRecon.java
    M model/model-intest/src/test/resources/sync/archetype-employee.xml
    A model/model-intest/src/test/resources/sync/archetype-other.xml
    M model/model-intest/src/test/resources/sync/resource-dummy-archetyped.xml

  Log Message:
  -----------
  Improve archetype processing in <objectType> def

When focus/archetypeRef is specified for a resource object type, it is
now enforced to all focuses that have this resource object type linked
(i.e. not only to newly-created ones). See the XSD docs.

Related changes:

- The algorithm for determining archetypes for objects being changed
(by clockwork) was improved a bit.

- Focus template is now present in LensFocusContext (where it belongs),
not in LensContext. Only the externally-set template OID is kept in
LensContext.

- Methods for updating archetypes, archetype policy, and object template
for focus contexts were streamlined.
(See ContextLoader#updateArchetypePolicyAndRelatives.)

- When system configuration is missing, the archetype policies
determination was originally skipped. This is now fixed.

Work in progress.


  Commit: 10d1d650117892c34b2f0ce95b8733c6078cf9f7
      https://github.com/Evolveum/midpoint/commit/10d1d650117892c34b2f0ce95b8733c6078cf9f7
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2022-06-23 (Thu, 23 Jun 2022)

  Changed paths:
    M gui/admin-gui/src/frontend/scss/midpoint.scss
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/BadgeListPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/BadgePanel.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/Toggle.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/TogglePanel.html
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/TogglePanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/wizard/BasicWizardPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/wizard/WizardHeader.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/page/PageAdminLTE.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/registry/DataProviderRegistry.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/component/MultivalueContainerListPanel.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/button/SelectableItemListPopoverPanel.html
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/button/SelectableItemListPopoverPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/data/column/CompositedIconPanel.html
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/data/column/CompositedIconWithLabelColumn.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/data/column/CompositedIconWithLabelPanel.html
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/data/column/CompositedIconWithLabelPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/search/AbstractSearchItemWrapper.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/search/Search.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/search/SearchConfigurationWrapper.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/search/SearchFactory.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/search/SearchPanel.html
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/search/SearchPanel.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/factory/data/InMemoryAssignmentDataProviderFactory.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/factory/data/RepositoryAssignmentDataProviderFactory.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/assignmentholder/component/assignmentType/AbstractAssignmentTypePanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/assignmentholder/component/assignmentType/assignment/GenericAbstractRoleAssignmentPanel.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/self/PageSelfDashboard.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/self/requestAccess/CartSummaryPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/self/requestAccess/Conflict.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/self/requestAccess/ConflictItem.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/self/requestAccess/ConflictItemPanel.html
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/self/requestAccess/ConflictItemPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/self/requestAccess/ConflictSolverPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/self/requestAccess/ConflictState.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/self/requestAccess/PersonOfInterestPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/self/requestAccess/RelationPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/self/requestAccess/RequestAccess.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/self/requestAccess/RoleCatalogPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/self/requestAccess/ShoppingCartPanel.java
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/self/requestAccess/Toggle.java
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/self/requestAccess/TogglePanel.html
    R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/self/requestAccess/TogglePanel.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/registry/DataProviderRegistryImpl.java
    A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/data/ContainerValueDataProviderFactory.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/input/DurationPanel.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/util/RepoAssignmentListProvider.java
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/reports/component/AuditLogViewerPanel.java
    M infra/schema/src/main/resources/xml/ns/public/common/common-gui-3.xsd
    M model/model-api/src/main/java/com/evolveum/midpoint/model/api/authentication/CompiledGuiProfile.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/security/GuiProfileCompiler.java
    M repo/audit-api/src/main/java/com/evolveum/midpoint/audit/api/AuditEventType.java
    A tools/jenkins/midpoint-compile-pipeline
    M tools/jenkins/midpoint-main-pipeline
    M tools/jenkins/midpoint-quick-pipeline

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


  Commit: f006ff14962fb0f77be73d9d973e9ba4293e4189
      https://github.com/Evolveum/midpoint/commit/f006ff14962fb0f77be73d9d973e9ba4293e4189
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2022-06-23 (Thu, 23 Jun 2022)

  Changed paths:
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/SqaleRepositoryService.java
    M repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/SearchTest.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/query/restriction/ReferenceRestriction.java

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


Compare: https://github.com/Evolveum/midpoint/compare/92d0dda6f9a9...f006ff14962f


More information about the midPoint-svn mailing list