[midPoint-git] [Evolveum/midpoint] 5dc48c: Remove cautious ext. values collision checking
mederly
noreply at github.com
Thu Jul 25 17:28:33 UTC 2019
Branch: refs/heads/feature/index-only-items
Home: https://github.com/Evolveum/midpoint
Commit: 5dc48cbb62a145f7190daae9ca7cec64bf937817
https://github.com/Evolveum/midpoint/commit/5dc48cbb62a145f7190daae9ca7cec64bf937817
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2019-07-25 (Thu, 25 Jul 2019)
Changed paths:
M repo/repo-api/src/main/java/com/evolveum/midpoint/repo/api/RepoModifyOptions.java
M repo/repo-sql-impl-test/pom.xml
R repo/repo-sql-impl-test/src/main/java/com/evolveum/midpoint/repo/sql/testing/QueryInspector.java
M repo/repo-sql-impl-test/src/main/java/com/evolveum/midpoint/repo/sql/testing/TestInterceptor.java
A repo/repo-sql-impl-test/src/main/java/com/evolveum/midpoint/repo/sql/testing/TestQueryListener.java
M repo/repo-sql-impl-test/src/main/java/com/evolveum/midpoint/repo/sql/testing/TestSqlRepositoryBeanPostProcessor.java
A repo/repo-sql-impl-test/src/main/java/com/evolveum/midpoint/repo/sql/testing/TestStatementInspector.java
M repo/repo-sql-impl-test/src/main/resources/ctx-repository-session-test.xml
M repo/repo-sql-impl-test/src/main/resources/ctx-repository-test.xml
M repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/BaseSQLRepoTest.java
M repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/ExtensionTest.java
A repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/ExtensionTestNoFetchDeletion.java
A repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/ExtensionTestSafeInsertionAndDeletion.java
M repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/ObjectDeltaUpdaterTest.java
M repo/repo-sql-impl-test/testng-integration.xml
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/RestartOperationRequestedException.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/SqlRepositoryConfiguration.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/SqlRepositoryServiceImpl.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/any/RAExtBase.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/ObjectDeltaUpdater.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/modify/DeltaUpdaterUtils.java
Log Message:
-----------
Remove cautious ext. values collision checking
Existence of extension value to be inserted is now not checked.
Only after ConstraintViolationException we engage safe algorithm
of checking the existence before operation. This can be overridden
system-wide (in repo config) or operation-wide (in RepoModifyOptions).
Whether to fetch extension values to be deleted is driven by
experimental "enableNoFetchExtensionValuesDeletion" config parameter
(default is the old behavior) and related option in RepoModifyOptions.
All of this is related to MID-5558.
More information about the midPoint-svn
mailing list