[midPoint-git] [Evolveum/midpoint] 813592: Fix caching for generic repository (almost)
mederly
noreply at github.com
Tue Oct 15 13:10:07 CEST 2024
Branch: refs/heads/master
Home: https://github.com/Evolveum/midpoint
Commit: 8135927e2661cc6514bf86af1aa765935953e587
https://github.com/Evolveum/midpoint/commit/8135927e2661cc6514bf86af1aa765935953e587
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2024-10-15 (Tue, 15 Oct 2024)
Changed paths:
M docs/resources/attribute-caching.adoc
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowAttributeDefinition.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ShadowAttributeDefinitionImpl.java
M infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd
M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/correlator/CorrelatorTestUtil.java
M model/model-impl/src/test/resources/correlator/correlation/expression/resource-dummy.xml
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/misc/TestTracing.java
M model/model-intest/src/test/resources/mapping/resource-dummy-tea-green.xml
M model/model-intest/src/test/resources/sync/resource-dummy-lime.xml
M model/model-intest/src/test/resources/tracing/resource-illegal.xml
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/manager/ShadowDeltaComputerAbsolute.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/ExtensionProcessor.java
Log Message:
-----------
Fix caching for generic repository (almost)
1. New attribute storage strategy of NOT_INDEXED was added (for generic
repo). It causes the value to be stored into XML, but not into
m_object_ext_xxx tables. To be used for large (>255) or empty (Oracle)
attributes.
2. A couple of tests were adapted to deal with caching on generic repo,
basically by turning off indexing or caching of specific attributes.
3. isIndexed() for indexed shadow attributes now returns null, so that
generic repo decides to index them by looking at whether specific
object types (e.g. protected string) is supported by indexing.
4. A fix in computing shadow delta (application of the expected
repo property definition).
Work in progress. This should fix a majority of caching tests for
generic repo.
Commit: 03677423da21f082f7a27c7fe20a5d610e4136d6
https://github.com/Evolveum/midpoint/commit/03677423da21f082f7a27c7fe20a5d610e4136d6
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2024-10-15 (Tue, 15 Oct 2024)
Changed paths:
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/reports/component/SearchFilterConfigurationPanel.java
M infra/schema/src/main/resources/xml/ns/public/common/common-mining-3.xsd
M model/model-api/src/main/java/com/evolveum/midpoint/model/api/mining/RoleAnalysisService.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/mining/RoleAnalysisServiceImpl.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/mining/algorithm/cluster/action/util/outlier/OutliersDetectionUtil.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/schema/transform/TransformableComplexTypeDefinition.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/schema/transform/TransformableObjectDefinition.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/schema/transform/TransformablePropertyDefinition.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/schema/transform/TransformableReferenceDefinition.java
M model/model-intest/src/test/resources/mining/task/task-role-analysis-process-session-1.xml
M model/model-intest/src/test/resources/mining/task/task-role-analysis-process-session-direct-1.xml
M model/model-intest/src/test/resources/mining/task/task-role-analysis-process-session-outlier-full-1.xml
M model/model-intest/src/test/resources/mining/task/task-role-analysis-process-session-outlier-part-1.xml
M model/model-intest/src/test/resources/mining/task/task-role-analysis-process-session-role-mode-1.xml
M release-notes.adoc
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/SqaleQueryContext.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/mapping/CountMappingResolver.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/mapping/EmbeddedReferenceResolver.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/mapping/ExtensionMappingResolver.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/mapping/NestedMappingResolver.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/mapping/RefTableTargetResolver.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/mining/outlier/MOutlier.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/mining/outlier/QOutlierMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/shadow/ShadowReferenceAttributesResolver.java
M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/SqaleRepoSearchTest.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/audit/AuditSqlQueryContext.java
M repo/repo-sqlbase/src/main/java/com/evolveum/midpoint/repo/sqlbase/SqlQueryContext.java
M repo/repo-sqlbase/src/main/java/com/evolveum/midpoint/repo/sqlbase/filtering/ValueFilterProcessor.java
M repo/repo-sqlbase/src/main/java/com/evolveum/midpoint/repo/sqlbase/mapping/ItemRelationResolver.java
M repo/repo-sqlbase/src/main/java/com/evolveum/midpoint/repo/sqlbase/mapping/TableRelationResolver.java
Log Message:
-----------
Merge remote-tracking branch 'origin/master'
Compare: https://github.com/Evolveum/midpoint/compare/8f10ed8f89ee...03677423da21
To unsubscribe from these emails, change your notification settings at https://github.com/Evolveum/midpoint/settings/notifications
More information about the midPoint-svn
mailing list