[midPoint-git] [Evolveum/midpoint] c868a4: accesses metadata first test and implementation (a...
mederly
noreply at github.com
Wed Dec 21 20:14:00 CET 2022
Branch: refs/heads/feature/simulations
Home: https://github.com/Evolveum/midpoint
Commit: c868a4d0e8c341ce99a525f0ee8ceea395cfcad0
https://github.com/Evolveum/midpoint/commit/c868a4d0e8c341ce99a525f0ee8ceea395cfcad0
Author: Richard Richter <richard.richter at evolveum.com>
Date: 2022-12-20 (Tue, 20 Dec 2022)
Changed paths:
M infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd
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-model-context-3.xsd
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/assignments/AssignmentPathImpl.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/assignments/PathSegmentEvaluation.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/AssignmentProcessor.java
A model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestAccessesValueMetadata.java
A model/model-intest/src/test/resources/common/system-configuration-enabled-accesses-metadata.xml
Log Message:
-----------
accesses metadata first test and implementation (as assignment paths)
When sysconfig roleManagement/accessesMetadataEnabled is set to true,
change in roleMembershipRefs stores also value metadata under
provenance/assignmentPath.
Commit: 17481c08ef4806b0e19efa6d8cfcf9212e8c0af3
https://github.com/Evolveum/midpoint/commit/17481c08ef4806b0e19efa6d8cfcf9212e8c0af3
Author: Viliam Repan <vilo.repan at evolveum.com>
Date: 2022-12-21 (Wed, 21 Dec 2022)
Changed paths:
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/PageAbout.java
M repo/system-init/src/main/java/com/evolveum/midpoint/init/StartupConfiguration.java
Log Message:
-----------
MID-8426 fixed display of sensitive jvm options on about page
Commit: 7ee41f9e626e29bf4b27a22bea98fb6824511b73
https://github.com/Evolveum/midpoint/commit/7ee41f9e626e29bf4b27a22bea98fb6824511b73
Author: Richard Richter <richard.richter at evolveum.com>
Date: 2022-12-21 (Wed, 21 Dec 2022)
Changed paths:
M repo/system-init/src/main/java/com/evolveum/midpoint/init/StartupConfiguration.java
Log Message:
-----------
StartupConfiguration: javadocs around sensitive values
Also, deprecated midpointPrintSensitiveValues system property option was
removed, only midpoint.printSensitiveValues works now.
Commit: 2ed8b76d97929db6afe707689cd526e680f69b85
https://github.com/Evolveum/midpoint/commit/2ed8b76d97929db6afe707689cd526e680f69b85
Author: Richard Richter <richard.richter at evolveum.com>
Date: 2022-12-21 (Wed, 21 Dec 2022)
Changed paths:
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/AbstractIntegrationTest.java
Log Message:
-----------
MidpointTestContextWithTask initialized in initSystem()
Now you can getTestTask() in init method as well.
Commit: 41c7d3bc6d5165f81c23364fe2993676335a40b4
https://github.com/Evolveum/midpoint/commit/41c7d3bc6d5165f81c23364fe2993676335a40b4
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2022-12-21 (Wed, 21 Dec 2022)
Changed paths:
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/ResourceTypeAssignmentPopupTabPanel.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ObjectTypeUtil.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/SimpleObjectResolver.java
M model/authentication-impl/src/test/java/com/evolveum/midpoint/authentication/evaluator/TestAbstractAuthenticationEvaluator.java
M model/model-common/src/test/java/com/evolveum/midpoint/model/common/mapping/TestMappingMetadata.java
M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/correlator/correlation/TestCorrelators.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/sync/TestCorrelationDuringResourceLifecycle.java
M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/sync/TestSynchronizationService.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/AbstractEmptyModelIntegrationTest.java
R model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/CommonInitialObjects.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestActivation.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestCustomRelations.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestLinkedObjects.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestMemberRecompute.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/async/TestAsyncUpdateTaskMechanics.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/mapping/TestMapping.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/mapping/TestMappingInbound.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/security/TestSecurityMedium.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/simulation/AbstractBasicSimulationExecutionTest.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/simulation/AbstractSimulationsTest.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/simulation/TestPreviewChangesCoD.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/simulation/TestPreviewSequences.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestImportRecon.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestSyncStoryUsingLiveSync.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/sync/TestSyncStoryUsingReconciliation.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/tasks/TestLiveSyncTask.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/tasks/TestMiscTasks.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/tasks/TestProgressReporting.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/tasks/TestReconTask.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/tasks/TestTaskReporting.java
R model/model-intest/src/test/resources/common/005-standard-functions.xml
R model/model-intest/src/test/resources/common/700-archetype-event-tag.xml
R model/model-intest/src/test/resources/common/701-archetype-policy-situation.xml
R model/model-intest/src/test/resources/common/710-tag-focus-enabled.xml
R model/model-intest/src/test/resources/common/711-tag-focus-disabled.xml
R model/model-intest/src/test/resources/common/712-tag-focus-name-changed.xml
R model/model-intest/src/test/resources/common/713-tag-focus-assignment-changed.xml
R model/model-intest/src/test/resources/common/714-tag-focus-archetype-changed.xml
R model/model-intest/src/test/resources/common/715-tag-focus-parent-org-reference-changed.xml
R model/model-intest/src/test/resources/common/716-tag-focus-role-membership-changed.xml
R model/model-intest/src/test/resources/common/730-tag-projection-enabled.xml
R model/model-intest/src/test/resources/common/731-tag-projection-disabled.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/CommonInitialObjects.java
M model/model-test/src/main/java/com/evolveum/midpoint/model/test/DummyResourceCollection.java
M model/model-test/src/main/java/com/evolveum/midpoint/model/test/asserter/ProcessedObjectAsserter.java
A model/model-test/src/main/resources/test-initial-objects/005-standard-functions.xml
A model/model-test/src/main/resources/test-initial-objects/700-archetype-event-tag.xml
A model/model-test/src/main/resources/test-initial-objects/701-archetype-policy-situation.xml
A model/model-test/src/main/resources/test-initial-objects/710-tag-focus-enabled.xml
A model/model-test/src/main/resources/test-initial-objects/711-tag-focus-disabled.xml
A model/model-test/src/main/resources/test-initial-objects/712-tag-focus-name-changed.xml
A model/model-test/src/main/resources/test-initial-objects/713-tag-focus-assignment-changed.xml
A model/model-test/src/main/resources/test-initial-objects/714-tag-focus-archetype-changed.xml
A model/model-test/src/main/resources/test-initial-objects/715-tag-focus-parent-org-reference-changed.xml
A model/model-test/src/main/resources/test-initial-objects/716-tag-focus-role-membership-changed.xml
A model/model-test/src/main/resources/test-initial-objects/730-tag-projection-enabled.xml
A model/model-test/src/main/resources/test-initial-objects/731-tag-projection-disabled.xml
M model/report-impl/src/test/java/com/evolveum/midpoint/report/TestCsvReportImportClassic.java
M model/report-impl/src/test/java/com/evolveum/midpoint/report/TestHtmlReportExportClassic.java
M model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/assignments/AbstractTestAssignmentApproval.java
M model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/assignments/TestAssignmentApprovalGlobal.java
M model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/other/TestMiscellaneous.java
M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/AbstractProvisioningIntegrationTest.java
M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/csv/TestCsvBroken.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/TestDummyNegative.java
M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/resources/TestResourceTemplateMerge.java
M repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/TestActivities.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/AbstractIntegrationTest.java
A repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/AbstractTestResource.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/AnyResource.java
A repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/ClassPathTestResource.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/CsvResource.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/DummyTestResource.java
M 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/RepoSimpleObjectResolver.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/ResourceTester.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/TestResource.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/TestSpringBeans.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/TestTask.java
M repo/task-quartz-impl/src/test/java/com/evolveum/midpoint/task/quartzimpl/AbstractTaskManagerTest.java
M testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestFirstSteps.java
M testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestMachineIntelligence.java
M testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestManyThreads.java
M testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestThresholdsStory.java
M testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestUnix.java
M testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestVeryAuthoritativeSource.java
M testing/story/src/test/java/com/evolveum/midpoint/testing/story/async/TestAsyncProvisioning.java
M testing/story/src/test/java/com/evolveum/midpoint/testing/story/correlation/AbstractMediumIdMatchCorrelationTest.java
M testing/story/src/test/java/com/evolveum/midpoint/testing/story/correlation/AbstractMultiAccountsIdMatchCorrelationTest.java
M testing/story/src/test/java/com/evolveum/midpoint/testing/story/correlation/AbstractSimpleIdMatchCorrelationTest.java
M testing/story/src/test/java/com/evolveum/midpoint/testing/story/correlation/AbstractSimpleInternalCorrelationTest.java
M testing/story/src/test/java/com/evolveum/midpoint/testing/story/correlation/TestIdMatchCorrelationMultiAccountsReal.java
M testing/story/src/test/java/com/evolveum/midpoint/testing/story/correlation/TestInternalCorrelationMedium.java
M testing/story/src/test/java/com/evolveum/midpoint/testing/story/correlation/TestInternalCorrelationMultiAccounts.java
M testing/story/src/test/java/com/evolveum/midpoint/testing/story/grouper/AbstractGrouperTest.java
M testing/story/src/test/java/com/evolveum/midpoint/testing/story/grouper/TestGrouperAsyncUpdate.java
M testing/story/src/test/java/com/evolveum/midpoint/testing/story/sysperf/TargetsConfiguration.java
Log Message:
-----------
Add "classpath-based" test objects
In order to reach test objects (like set of initial tags) from various
modules the new ClassPathTestResource was created. Highly experimental.
Allowed by this, CommonInitialObjects were moved into model-test. Now
they can be imported and used from any place on or above model-impl.
Other changes:
1. Methods of AbstractTestResource and its ancestors were cleaned up
(at least for this time) and somewhat documented.
2. Many places where old-style API was used had to be fixed.
Work in progress.
Commit: d81944b49d3a2a706d4537dc7540b61e566241f4
https://github.com/Evolveum/midpoint/commit/d81944b49d3a2a706d4537dc7540b61e566241f4
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2022-12-21 (Wed, 21 Dec 2022)
Changed paths:
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/PageAbout.java
M infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd
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-model-context-3.xsd
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/assignments/AssignmentPathImpl.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/assignments/PathSegmentEvaluation.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/AssignmentProcessor.java
A model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestAccessesValueMetadata.java
A model/model-intest/src/test/resources/common/system-configuration-enabled-accesses-metadata.xml
M repo/system-init/src/main/java/com/evolveum/midpoint/init/StartupConfiguration.java
Log Message:
-----------
Merge branch 'master' into feature/simulations
Commit: 3d13789ad57714cc09f4085c6ad51ad2e1f8792e
https://github.com/Evolveum/midpoint/commit/3d13789ad57714cc09f4085c6ad51ad2e1f8792e
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2022-12-21 (Wed, 21 Dec 2022)
Changed paths:
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/AbstractIntegrationTest.java
Log Message:
-----------
Merge branch 'master' into feature/simulations
Commit: 55d64dead8e7a53c506fc2e9ec941bf3a187ef8d
https://github.com/Evolveum/midpoint/commit/55d64dead8e7a53c506fc2e9ec941bf3a187ef8d
Author: Richard Richter <richard.richter at evolveum.com>
Date: 2022-12-21 (Wed, 21 Dec 2022)
Changed paths:
M model/model-test/src/main/java/com/evolveum/midpoint/model/test/AbstractModelIntegrationTest.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/AbstractIntegrationTest.java
Log Message:
-----------
removed deprecated ldapShaPasswordEncoder + related unused test methods
Commit: 9481b015b96e19732d5ce0c59fce9fcaf0ce1345
https://github.com/Evolveum/midpoint/commit/9481b015b96e19732d5ce0c59fce9fcaf0ce1345
Author: Richard Richter <richard.richter at evolveum.com>
Date: 2022-12-21 (Wed, 21 Dec 2022)
Changed paths:
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/archetypes/TestArchetypes.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/tasks/TestMiscTasks.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/AbstractRoleAsserter.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/FocusAsserter.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/OrgAsserter.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/RoleAsserter.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/UserAsserter.java
M testing/story/src/test/java/com/evolveum/midpoint/testing/story/security/TestRoleMembers.java
Log Message:
-----------
test asserter: typo fix assertRoleMember(s)hipRefs
Commit: de5e178267bfd149502458324e6c1abda787bac7
https://github.com/Evolveum/midpoint/commit/de5e178267bfd149502458324e6c1abda787bac7
Author: Richard Richter <richard.richter at evolveum.com>
Date: 2022-12-21 (Wed, 21 Dec 2022)
Changed paths:
M model/model-test/pom.xml
M repo/repo-test-util/pom.xml
Log Message:
-----------
POMs: dependency fixes after LdapShaPasswordEncoder removal in test
Commit: 863566063547109b75fc534275de5076a66ce140
https://github.com/Evolveum/midpoint/commit/863566063547109b75fc534275de5076a66ce140
Author: Richard Richter <richard.richter at evolveum.com>
Date: 2022-12-21 (Wed, 21 Dec 2022)
Changed paths:
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/prism/PrismContainerValueAsserter.java
Log Message:
-----------
PrismContainerValueAsserter: added assertValue for current value
also added container() alternative with Class<CC> hint for better typing
Commit: e17637723fea57d44407c72b1a0dd0a3d00ed10e
https://github.com/Evolveum/midpoint/commit/e17637723fea57d44407c72b1a0dd0a3d00ed10e
Author: Richard Richter <richard.richter at evolveum.com>
Date: 2022-12-21 (Wed, 21 Dec 2022)
Changed paths:
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/AssignmentProcessor.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestAccessesValueMetadata.java
Log Message:
-----------
Accesses metadata: accesses metadata cumulate even on single ref
Commit: d4c17c942f2a60c71b9ca6e4a5cdd9a46c5b2b2d
https://github.com/Evolveum/midpoint/commit/d4c17c942f2a60c71b9ca6e4a5cdd9a46c5b2b2d
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2022-12-21 (Wed, 21 Dec 2022)
Changed paths:
M repo/repo-test-util/pom.xml
Log Message:
-----------
Fix dependencies
Commit: ef9ff5c11966995766fac28c587d4b3f2eaeea64
https://github.com/Evolveum/midpoint/commit/ef9ff5c11966995766fac28c587d4b3f2eaeea64
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2022-12-21 (Wed, 21 Dec 2022)
Changed paths:
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/OperationResultRepoSearchAsserter.java
Log Message:
-----------
Fix OperationResultRepoSearchAsserter
This fixes failing TestSecurityBasic.
Commit: 5ef6c2625ab7921741c36a84f72aefcfbb7b474e
https://github.com/Evolveum/midpoint/commit/5ef6c2625ab7921741c36a84f72aefcfbb7b474e
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2022-12-21 (Wed, 21 Dec 2022)
Changed paths:
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/AssignmentProcessor.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestAccessesValueMetadata.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/archetypes/TestArchetypes.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/tasks/TestMiscTasks.java
M model/model-test/pom.xml
M model/model-test/src/main/java/com/evolveum/midpoint/model/test/AbstractModelIntegrationTest.java
M repo/repo-test-util/pom.xml
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/asserter/AbstractRoleAsserter.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/FocusAsserter.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/OrgAsserter.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/RoleAsserter.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/UserAsserter.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/prism/PrismContainerValueAsserter.java
M testing/story/src/test/java/com/evolveum/midpoint/testing/story/security/TestRoleMembers.java
Log Message:
-----------
Merge branch 'master' into feature/simulations
# Conflicts:
# model/model-test/src/main/java/com/evolveum/midpoint/model/test/AbstractModelIntegrationTest.java
Commit: e529780eb219998c0483bbf2c34d87ba9a3493d3
https://github.com/Evolveum/midpoint/commit/e529780eb219998c0483bbf2c34d87ba9a3493d3
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2022-12-21 (Wed, 21 Dec 2022)
Changed paths:
M model/model-test/src/main/java/com/evolveum/midpoint/model/test/AbstractModelIntegrationTest.java
Log Message:
-----------
Fix imports after merge from master
Compare: https://github.com/Evolveum/midpoint/compare/63a21f7b8cc8...e529780eb219
More information about the midPoint-svn
mailing list