[midPoint-git] [Evolveum/midpoint] 3ad52c: Clean up code before adding resource inheritance
mederly
noreply at github.com
Thu Apr 28 14:05:46 CEST 2022
Branch: refs/heads/feature/synchronization-definition-update
Home: https://github.com/Evolveum/midpoint
Commit: 3ad52cf02dbbff64ecd6ddbdd8484c3533e59a9f
https://github.com/Evolveum/midpoint/commit/3ad52cf02dbbff64ecd6ddbdd8484c3533e59a9f
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2022-04-28 (Thu, 28 Apr 2022)
Changed paths:
M infra/schema/src/main/java/com/evolveum/midpoint/schema/GetOperationOptions.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/SearchResultMetadata.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/result/OperationResult.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ObjectQueryUtil.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-resources-3.xsd
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/ModelController.java
M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/util/mock/MockFactory.java
M model/model-impl/src/test/resources/logback-test.xml
M model/model-intest/src/test/resources/logback-test.xml
M provisioning/provisioning-api/src/main/java/com/evolveum/midpoint/provisioning/api/ProvisioningService.java
R provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/AsyncUpdateListeningRegistry.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/CommonBeans.java
R provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ConfiguredConnectorCacheKey.java
R provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ConfiguredConnectorInstanceEntry.java
R provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ConnectorManager.java
R provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ConnectorSpec.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ProvisioningContext.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ProvisioningContextFactory.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ProvisioningServiceImpl.java
R provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ResourceCache.java
R provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ResourceManager.java
R provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/ResourceOperationalStateManager.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/operations/OperationsHelper.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/operations/ProvisioningGetOperation.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/operations/ProvisioningSearchLikeOperation.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/resources/ConfiguredConnectorCacheKey.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/resources/ConfiguredConnectorInstanceEntry.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/resources/ConnectorManager.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/resources/ConnectorSpec.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/resources/ResourceCache.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/resources/ResourceManager.java
A provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/resources/ResourceOperationalStateManager.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/DeleteHelper.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/GetHelper.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/errors/ErrorHandler.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/util/ProvisioningUtil.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/TestConnectorManager.java
M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/opendj/AbstractOpenDjTest.java
M provisioning/provisioning-impl/src/test/resources/logback-test.xml
M provisioning/ucf-impl-connid/src/test/resources/logback-test.xml
M repo/repo-cache/src/main/java/com/evolveum/midpoint/repo/cache/handlers/GetObjectOpHandler.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/SqaleRepositoryService.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/helpers/BaseHelper.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/helpers/ObjectRetriever.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/helpers/ObjectUpdater.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/helpers/SequenceHelper.java
M testing/conntest/src/test/resources/common/system-configuration.xml
M testing/conntest/src/test/resources/logback-test.xml
M testing/longtest/src/test/resources/logback-test.xml
M testing/story/src/test/resources/logback-test.xml
Log Message:
-----------
Clean up code before adding resource inheritance
1. ResourceManager and related classes were moved into its own package.
This tidied up "provisioning.impl" package a little. (Moreover,
ResourceManager is going to be split into smaller classes.)
2. The code for getting and searching for provisioning objects was
deduplicated, simplified, and generally cleaned up.
3. Slightly updated javadocs for ProvisioningService.
4. Specified semantics of GetOperationOptions#allowNotFound more
precisely, with slight changes in the code. The providers are now
required to set HANDLED_ERROR if they observe allowed "not found"
situation.
5. Deleted AsyncUpdateListeningRegistry. It was a relict.
6. SearchResultMetadata is now Cloneable. (It had the clone() method,
anyway.)
Work in progress. Tests may fail.
SCHEMA CHANGES:
- Added ResourceType#abstract property, and changed "include" to
(single-valued) "super". Using the same name of "super" also for
object type inheritance.
INCOMPATIBLE CHANGES:
- As class full names (in particular, ResourceManager) were changed,
logging configurations may have to be updated.
More information about the midPoint-svn
mailing list