[midPoint-git] [Evolveum/midpoint] 166499: Add archetype support to object type definition
mederly
noreply at github.com
Mon Jun 13 23:10:09 CEST 2022
Branch: refs/heads/master
Home: https://github.com/Evolveum/midpoint
Commit: 16649908b0b799a5d33da8517a68472fa5342fe7
https://github.com/Evolveum/midpoint/commit/16649908b0b799a5d33da8517a68472fa5342fe7
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2022-06-13 (Mon, 13 Jun 2022)
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/constants/SchemaConstants.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/merger/resource/ObjectTypeDefinitionMerger.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/ResourceObjectTypeDefinitionImpl.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ResourceSchema.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/processor/deleg/ResourceObjectTypeDefinitionDelegator.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/CorrelationItemDefinitionUtil.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/SchemaTestConstants.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ShadowUtil.java
M infra/schema/src/main/resources/xml/ns/public/common/common-correlation-3.xsd
M infra/schema/src/main/resources/xml/ns/public/common/common-provisioning-3.xsd
M infra/schema/src/test/java/com/evolveum/midpoint/schema/TestQueryConverter.java
M infra/schema/src/test/java/com/evolveum/midpoint/schema/processor/TestResourceSchema.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/correlator/CorrelatorConfiguration.java
M model/model-common/src/test/java/com/evolveum/midpoint/model/common/mapping/TestMappingDynamicSimple.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/filter/FilterCorrelator.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/items/CorrelationItems.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/correlator/items/ItemsCorrelator.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/reactions/ActionInstantiationContext.java
M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/correlator/matching/AbstractIdMatchServiceTest.java
M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestClockwork.java
M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestProjector.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestCaseIgnore.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestConsistencySimple.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestEntitlements.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestModelServiceContract.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestPreviewChanges.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestImportRecon.java
A model/model-intest/src/test/resources/sync/archetype-employee.xml
A model/model-intest/src/test/resources/sync/resource-dummy-archetyped-filter-based.xml
A model/model-intest/src/test/resources/sync/resource-dummy-archetyped.xml
M model/model-test/src/main/java/com/evolveum/midpoint/model/test/AbstractModelIntegrationTest.java
A model/model-test/src/main/java/com/evolveum/midpoint/model/test/util/ImportSingleAccountRequest.java
M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/AbstractBasicDummyTest.java
M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/AbstractDummyTest.java
M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummy.java
M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyConsistency.java
M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummySchemaless.java
M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/opendj/TestOpenDj.java
M repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/ModifyTest.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/AbstractIntegrationTest.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/DummyResourceContoller.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/DummyTestResource.java
A repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/DummyTestResourceInitializer.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/IntegrationTestTools.java
M testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestPlentyOfAssignments.java
Log Message:
-----------
Add archetype support to object type definition
Now it's possible to specify a focus object archetype related to given
resource object type. (In addition to traditional focus class.) For
example, account/admin type can be linked to UserType with Administrator
archetype.
This means two things:
1. When creating new focus objects for unmatched accounts, they are
created with corresponding archetype assigned.
2. When correlating accounts, candidate focal objects are looked-for
based on the archetype (for filter- and items-based correlators).
Other changes:
- Added support for disabling a correlator.
- Created utility method to import a single account on background;
see AbstractModelIntegrationTest#importSingleAccountRequest.
- Finally documented defaultForKind/defaultForObjectClass properties.
- When inheriting object types, kind/intent are no longer required
to be specified. Defaults are automatically applied.
- Added SchemaConstants.ICFS_(NAME|UID)_PATH; replaced uses
of SchemaTestConstants.ICFS_(NAME|UID)* with their SchemaConstants
counterparts.
Commit: f81ff19bce2fa7e9a87a501cd94d5518aaae755e
https://github.com/Evolveum/midpoint/commit/f81ff19bce2fa7e9a87a501cd94d5518aaae755e
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2022-06-13 (Mon, 13 Jun 2022)
Changed paths:
A gui/admin-gui/src/frontend/js/list-group-menu.js
M gui/admin-gui/src/frontend/js/midpoint.js
M gui/admin-gui/src/frontend/scss/_list-group-menu.scss
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/menu/LeftMenuPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/self/PageRequestAccess.html
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/self/PageRequestAccess.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/self/credentials/ChangePasswordPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/self/credentials/PasswordAccountDto.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/self/credentials/PropagatePasswordPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/self/requestAccess/ListGroupMenuItem.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/self/requestAccess/ListGroupMenuItemPanel.html
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/self/requestAccess/ListGroupMenuItemPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/self/requestAccess/ListGroupMenuPanel.html
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/self/requestAccess/ListGroupMenuPanel.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/filtering/RefItemFilterProcessor.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/filtering/RefTableItemFilterProcessor.java
M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/AuditSearchTest.java
M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/SqaleRepoSearchTest.java
M repo/repo-sql-impl-test/src/main/java/com/evolveum/midpoint/repo/sql/testing/TestQueryListener.java
M repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/AuditSearchTest.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/data/common/embedded/REmbeddedReference.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/query/QueryInterpreter.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/query/resolution/ItemPathResolver.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/query/restriction/ItemValueRestriction.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/query/restriction/PropertyRestriction.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/29bbcef83da8...f81ff19bce2f
More information about the midPoint-svn
mailing list