[midPoint-git] [Evolveum/midpoint] e06f24: Refactor RepositoryCache code deeply
mederly
noreply at github.com
Sat May 2 12:22:20 CEST 2020
Branch: refs/heads/master
Home: https://github.com/Evolveum/midpoint
Commit: e06f24072af1c6560f4a684fcb38026816b8c5fa
https://github.com/Evolveum/midpoint/commit/e06f24072af1c6560f4a684fcb38026816b8c5fa
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2020-05-02 (Sat, 02 May 2020)
Changed paths:
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/security/MidPointApplication.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/SearchResultList.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/DiagnosticContextHolder.java
M infra/util/src/main/java/com/evolveum/midpoint/util/caching/CacheConfiguration.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/SystemObjectCache.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/script/ScriptExpressionFactory.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/ModelCrudService.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/ModelController.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/triggerSetter/TriggerCreatorGlobalState.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/AssignmentCollector.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/ClockworkMedic.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/ReconciliationTaskHandler.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestResources.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/importer/AbstractImportTest.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/negative/TestAssignmentErrors.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ConnectorManager.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ResourceCache.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ResourceObjectConverter.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ShadowCache.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ShadowCaretaker.java
M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyParallelism.java
M repo/repo-api/src/main/java/com/evolveum/midpoint/repo/api/CacheDispatcher.java
R repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/AbstractGlobalCache.java
R repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/AbstractGlobalCacheValue.java
R repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/AddObjectResult.java
R repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/CacheCounterManager.java
R repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/CacheDispatcherImpl.java
R repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/CacheRegistry.java
R repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/ChangeDescription.java
R repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/GlobalCacheObjectValue.java
R repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/GlobalCacheObjectVersionValue.java
R repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/GlobalCacheQueryValue.java
R repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/GlobalObjectCache.java
R repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/GlobalQueryCache.java
R repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/GlobalVersionCache.java
R repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/LocalObjectCache.java
R repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/LocalQueryCache.java
R repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/LocalVersionCache.java
R repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/QueryKey.java
M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/RepositoryCache.java
A repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/counters/CounterManagerImpl.java
A repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/global/AbstractGlobalCache.java
A repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/global/AbstractGlobalCacheValue.java
A repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/global/GlobalCacheObjectValue.java
A repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/global/GlobalCacheObjectVersionValue.java
A repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/global/GlobalCacheQueryValue.java
A repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/global/GlobalObjectCache.java
A repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/global/GlobalQueryCache.java
A repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/global/GlobalVersionCache.java
A repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/AddObjectResult.java
A repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/BaseOpHandler.java
A repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/CacheAccessInfo.java
A repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/CacheSetAccessInfo.java
A repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/CacheSetAccessInfoFactory.java
A repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/CacheUpdater.java
A repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/CachedOpExecution.java
A repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/CachedOpHandler.java
A repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/GetObjectOpExecution.java
A repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/GetObjectOpHandler.java
A repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/GetVersionOpExecution.java
A repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/GetVersionOpHandler.java
A repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/ModificationOpHandler.java
A repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/PassReason.java
A repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/SearchOpExecution.java
A repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/SearchOpHandler.java
A repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/invalidation/ChangeDescription.java
A repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/invalidation/Invalidator.java
A repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/invalidation/RepositoryCacheInvalidationDetails.java
A repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/local/LocalObjectCache.java
A repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/local/LocalQueryCache.java
A repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/local/LocalRepoCacheCollection.java
A repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/local/LocalVersionCache.java
A repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/local/QueryKey.java
A repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/other/MonitoringUtil.java
A repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/registry/CacheDispatcherImpl.java
A repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/registry/CacheRegistry.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/SystemConfigurationCacheableAdapter.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/ExpressionFactory.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/task/AbstractSearchIterativeResultHandler.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/IntegrationTestTools.java
M testing/sanity/src/test/java/com/evolveum/midpoint/testing/sanity/TestSanity.java
M testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestConsistencyMechanism.java
Log Message:
-----------
Refactor RepositoryCache code deeply
Breaking up RepositoryCache monolith to a set of cooperating classes.
It should be much more maintainable now. As part of this work
some minor issues were found and fixed.
This is a preparation for fixing of MID-6250.
Other changes:
1. Renaming CacheCounterManager to CounterManagerImpl.
2. Moving things not related to repository cache (CacheRegistry,
CacheDispatcherImpl, CounterManagerImpl) to separate packages.
3. Fixing provisioning.getObject (shadow, readonly) - it tried
to modify immutable object when applying definitions. Maybe other
similar issues still exist. They should be fixed when found.
Commit: e00752b8361ead7407b957e29b1112a1cc3ca2e2
https://github.com/Evolveum/midpoint/commit/e00752b8361ead7407b957e29b1112a1cc3ca2e2
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2020-05-02 (Sat, 02 May 2020)
Changed paths:
M dist/javadoc/pom.xml
M dist/midpoint-api/pom.xml
M gui/admin-gui/pom.xml
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/util/WebModelServiceUtils.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/MultivalueContainerListPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/configuration/component/NotificationConfigTabPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/assignment/AssignmentPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/data/MultiButtonPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/data/column/InlineMenuButtonColumn.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/menu/cog/ButtonInlineMenuItem.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/objectdetails/FocusPersonasTabPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/objectdetails/FocusProjectionsTabPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/objectdetails/ObjectHistoryTabPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/util/FocusListInlineMenuHelper.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/cases/CaseWorkItemsPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/cases/PageCases.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/cases/PageWorkItemsClaimable.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/certification/PageCertCampaign.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/certification/PageCertDecisions.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/certification/PageCertDefinitions.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/InternalsLoggedInUsersPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/reports/PageCreatedReports.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/reports/PageReports.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/resources/PageResources.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/resources/ResourceContentPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/roles/AbstractRoleMemberPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/PageNodes.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/TaskTablePanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/users/PageUsers.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/valuePolicy/PageValuePolicies.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/self/PageAccountActivation.java
M infra/prism-impl/pom.xml
M infra/schema/pom.xml
M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ResourceTypeUtil.java
M infra/util/src/main/java/com/evolveum/midpoint/util/JAXBUtil.java
M model/certification-impl/pom.xml
M model/model-api/pom.xml
M model/model-impl/pom.xml
M model/model-intest/pom.xml
M model/model-test/pom.xml
M model/notifications-impl/pom.xml
M model/report-impl/pom.xml
M model/report-impl/src/main/java/com/evolveum/midpoint/report/impl/ReportHTMLCreateTaskHandler.java
M model/workflow-impl/pom.xml
M pom.xml
M repo/security-api/pom.xml
M repo/security-enforcer-api/pom.xml
M repo/system-init/src/main/java/com/evolveum/midpoint/init/StartupConfiguration.java
M repo/task-quartz-impl/pom.xml
M testing/conntest/pom.xml
M testing/longtest/pom.xml
M testing/rest/pom.xml
M testing/sanity/pom.xml
M testing/schrodingertest/pom.xml
M testing/schrodingertest/src/test/java/com/evolveum/midpoint/testing/schrodinger/AbstractSchrodingerTest.java
M testing/schrodingertest/src/test/java/com/evolveum/midpoint/testing/schrodinger/labs/AbstractLabTest.java
M testing/schrodingertest/src/test/java/com/evolveum/midpoint/testing/schrodinger/labs/M10ObjectTemplate.java
A testing/schrodingertest/src/test/java/com/evolveum/midpoint/testing/schrodinger/labs/M11SystemConfiguration.java
A testing/schrodingertest/src/test/java/com/evolveum/midpoint/testing/schrodinger/labs/M12Authorizations.java
M testing/schrodingertest/src/test/java/com/evolveum/midpoint/testing/schrodinger/labs/M3ResourcesAttributesAndMappingsTest.java
M testing/schrodingertest/src/test/java/com/evolveum/midpoint/testing/schrodinger/labs/M4ProvisioningToResources.java
M testing/schrodingertest/src/test/java/com/evolveum/midpoint/testing/schrodinger/labs/M5AccountsAssignmentsAndRoles.java
M testing/schrodingertest/src/test/java/com/evolveum/midpoint/testing/schrodinger/labs/M7SynchronizationFlavours.java
M testing/schrodingertest/src/test/java/com/evolveum/midpoint/testing/schrodinger/labs/M8ExtendingMidPointXMLSchema.java
M testing/schrodingertest/src/test/java/com/evolveum/midpoint/testing/schrodinger/labs/M9OrganizationalStructure.java
M testing/schrodingertest/src/test/java/com/evolveum/midpoint/testing/schrodinger/scenarios/AccountTests.java
M testing/schrodingertest/src/test/java/com/evolveum/midpoint/testing/schrodinger/scenarios/AdvancedAccountTests.java
M testing/schrodingertest/src/test/java/com/evolveum/midpoint/testing/schrodinger/scenarios/OrganizationStructureTests.java
M testing/schrodingertest/src/test/java/com/evolveum/midpoint/testing/schrodinger/scenarios/SynchronizationTests.java
A testing/schrodingertest/src/test/resources/labs/objects/objectCollections/objectCollection-active-employees.xml
A testing/schrodingertest/src/test/resources/labs/objects/objectCollections/objectCollection-former-employees.xml
A testing/schrodingertest/src/test/resources/labs/objects/objectCollections/objectCollection-inactive-employees.xml
A testing/schrodingertest/src/test/resources/labs/objects/roles/role-basic-user-12-1.xml
A testing/schrodingertest/src/test/resources/labs/objects/roles/role-basic-user.xml
A testing/schrodingertest/src/test/resources/labs/objects/systemConfiguration/system-configuration-11-1.xml
A testing/schrodingertest/src/test/resources/labs/objects/systemConfiguration/system-configuration-11-2.xml
A testing/schrodingertest/src/test/resources/labs/objects/systemConfiguration/system-configuration-11-3.xml
A testing/schrodingertest/src/test/resources/labs/sources/source-11-1.csv
M testing/schrodingertest/testng-integration.xml
M testing/story/pom.xml
M tools/ninja/pom.xml
A tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/component/TabWithContainerWrapper.java
M tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/component/common/table/Table.java
A tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/component/configuration/DeploymentInformationTab.java
M tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/component/configuration/SystemTab.java
M tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/component/org/MemberPanel.java
M tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/page/BasicPage.java
M tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/page/configuration/SystemPage.java
M tools/xjc-plugin/pom.xml
Log Message:
-----------
Merge branch 'master' of https://github.com/Evolveum/midpoint
Compare: https://github.com/Evolveum/midpoint/compare/4c02038baf2f...e00752b8361e
More information about the midPoint-svn
mailing list