[midPoint-git] [Evolveum/midpoint] b935d6: Make provisioning work on generic repo
mederly
noreply at github.com
Tue Jan 9 12:10:34 CET 2024
Branch: refs/heads/feature/attributes-as-polystrings
Home: https://github.com/Evolveum/midpoint
Commit: b935d616b5e0072f67e072174233fc342cb00042
https://github.com/Evolveum/midpoint/commit/b935d616b5e0072f67e072174233fc342cb00042
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2024-01-09 (Tue, 09 Jan 2024)
Changed paths:
M infra/common/src/test/java/com/evolveum/midpoint/common/cleanup/CleanupActionProcessorTest.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ResourceAttributeImpl.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/ShadowedObjectFound.java
M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyNegative.java
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
M repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/QueryInterpreterTest.java
M repo/repo-sql-impl-test/src/test/resources/extension/user-rumcajs.xml
M repo/repo-sql-impl-test/src/test/resources/schema/extension.xsd
M repo/repo-sql-impl-test/testng-integration.xml
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/any/RAExtPolyString.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/any/RAnyConverter.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/any/ROExtPolyString.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/helpers/delta/ExtensionUpdate.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/definition/ClassDefinitionParser.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/query/definition/JpaAnyContainerDefinition.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/query/definition/JpaAnyItemLinkDefinition.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/query/definition/JpaAnyPropertyDefinition.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/query/definition/JpaAnyReferenceDefinition.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/query/definition/JpaDataNodeDefinition.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/query/definition/JpaEntityDefinition.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/query/definition/JpaEntityPointerDefinition.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/query/definition/JpaLinkDefinition.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/query/definition/JpaPropertyDefinition.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/query/definition/JpaReferenceDefinition.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/query/definition/VirtualAnyContainerDefinition.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/query/matcher/DefaultMatcher.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/query/matcher/Matcher.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/query/matcher/PolyStringMatcher.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/query/matcher/StringMatcher.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/query/resolution/DataSearchResult.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/query/resolution/HqlDataInstance.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/query/resolution/HqlEntityInstance.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/query/resolution/ItemPathResolutionState.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/query/resolution/ItemPathResolver.java
R repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/query/resolution/ProperDataSearchResult.java
A repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/query/resolution/RootedDataSearchResult.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/query/restriction/AnyPropertyRestriction.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/query/restriction/ExistsRestriction.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/query/restriction/FullTextRestriction.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/query/restriction/ItemRestriction.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
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/query/restriction/Restriction.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/util/RUtil.java
Log Message:
-----------
Make provisioning work on generic repo
The change from string to polystring storage for normalized attributes
broke things for the generic repo. This commit tries to fix that:
1. "Polystring norm" queries for extension items and attributes were
not implemented correctly. Now they should be. Not in particularly nice
way, but probably good enough.
2. As part of the above, some parts of query interpreter were tidied
a bit. In particular, the earlier attempt of parameterizing
JpaDataNodeDefinition was reverted, as there was too many type safety
warnings that I was not able to resolve. Also, QueryInterpreterTest was
brought back to life, with some parts turned off (Hibernate 6).
3. A minor bug was fixed in the provisioning-impl.
Work in progress. The tests up to (including) provisioning-impl should
now be OK.
Related to MID-2119 (shadow caching).
More information about the midPoint-svn
mailing list