[midPoint-git] [Evolveum/midpoint] b806ce: Clean-up and document parts of expr. evaluation
mederly
noreply at github.com
Thu Jun 4 15:05:51 CEST 2020
Branch: refs/heads/master
Home: https://github.com/Evolveum/midpoint
Commit: b806ce0fb0f5f3b9d7f8da3cd78cbd449a816c94
https://github.com/Evolveum/midpoint/commit/b806ce0fb0f5f3b9d7f8da3cd78cbd449a816c94
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2020-06-04 (Thu, 04 Jun 2020)
Changed paths:
M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/DefinitionFactory.java
M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/delta/DeltaSetTripleUtil.java
M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/util/ItemDeltaItem.java
M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/DefinitionFactoryImpl.java
M infra/prism-impl/src/main/java/com/evolveum/midpoint/prism/impl/delta/ItemDeltaImpl.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/expression/ExpressionEvaluatorProfile.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/expression/ExpressionProfile.java
M infra/util/src/main/java/com/evolveum/midpoint/util/MiscUtil.java
M infra/util/src/test/java/com/evolveum/midpoint/util/TestMiscUtil.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/AbstractSearchExpressionEvaluator.java
R model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/AbstractValueTransformationExpressionEvaluator.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/AssignmentTargetSearchExpressionEvaluator.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/AssignmentTargetSearchExpressionEvaluatorFactory.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/AssociationFromLinkExpressionEvaluator.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/AssociationFromLinkExpressionEvaluatorFactory.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/AssociationTargetSearchExpressionEvaluator.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/AssociationTargetSearchExpressionEvaluatorFactory.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/ConstExpressionEvaluator.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/ConstExpressionEvaluatorFactory.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/FunctionExpressionEvaluator.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/FunctionExpressionEvaluatorFactory.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/GenerateExpressionEvaluator.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/GenerateExpressionEvaluatorFactory.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/PathExpressionEvaluator.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/PathExpressionEvaluatorFactory.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/ProportionalExpressionEvaluator.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/ProportionalExpressionEvaluatorFactory.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/ReferenceSearchExpressionEvaluator.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/ReferenceSearchExpressionEvaluatorFactory.java
A model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/transformation/AbstractValueTransformationExpressionEvaluator.java
A model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/transformation/CombinatorialEvaluation.java
A model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/transformation/SingleShotEvaluation.java
A model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/transformation/SourceValues.java
A model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/transformation/TransformationalEvaluation.java
A model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/transformation/ValueTupleTransformation.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/script/AbstractCachingScriptEvaluator.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/script/ScriptEvaluator.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/script/ScriptExpression.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/script/ScriptExpressionEvaluator.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/script/ScriptExpressionEvaluatorFactory.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/script/velocity/VelocityScriptEvaluator.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/mapping/MappingImpl.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/util/PopulatorUtil.java
M model/model-common/src/test/java/com/evolveum/midpoint/model/common/expression/script/TestExpressionFunctions.java
M model/model-common/src/test/java/com/evolveum/midpoint/model/common/expression/script/TestGroovyExpressions.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/expr/SequentialValueExpressionEvaluator.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/expr/SequentialValueExpressionEvaluatorFactory.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/InboundProcessor.java
M model/model-impl/src/main/resources/ctx-model.xml
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestMemberRecompute.java
M model/model-intest/src/test/resources/logback-test.xml
M repo/repo-common/pom.xml
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/commandline/CommandLineScriptExecutor.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/AbstractAutowiredExpressionEvaluatorFactory.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/AbstractObjectResolvableExpressionEvaluatorFactory.java
A repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/BaseExpressionEvaluatorFactory.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/Expression.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/ExpressionEvaluationContext.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/ExpressionEvaluator.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/ExpressionEvaluatorFactory.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/ExpressionUtil.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/ExpressionVariables.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/Source.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/SourceTriple.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/VariableProducer.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/evaluator/AbstractExpressionEvaluator.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/evaluator/AsIsExpressionEvaluator.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/evaluator/AsIsExpressionEvaluatorFactory.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/evaluator/LiteralExpressionEvaluator.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/evaluator/LiteralExpressionEvaluatorFactory.java
Log Message:
-----------
Clean-up and document parts of expr. evaluation
Algorithms in AbstractValueTransformationExpressionEvaluator
(combinatorial and single-shot evaluation) should be now more
documented and visible; and therefore better prepared to be used
and/or extended by provenance metadata processing.
This is a preparation for MID-6275 implementation.
Commit: 37e3f6b19f1064cd13eb3394f31df997c7605aa5
https://github.com/Evolveum/midpoint/commit/37e3f6b19f1064cd13eb3394f31df997c7605aa5
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2020-06-04 (Thu, 04 Jun 2020)
Changed paths:
M dist/javadoc/pom.xml
M gui/admin-gui/pom.xml
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/button/CsvDownloadButtonPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/boot/MidPointSpringApplication.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/dialog/ExportingPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/search/SearchItemPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/search/TextPopupPanel.html
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/search/TextPopupPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/reports/component/AuditLogViewerPanel.html
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/reports/component/AuditLogViewerPanel.java
M gui/admin-gui/src/test/java/com/evolveum/midpoint/web/MockWebApplicationContext.java
M infra/common/pom.xml
M infra/prism-api/pom.xml
M infra/prism-api/src/main/java/com/evolveum/prism/xml/ns/_public/query_3/FilterClauseType.java
M infra/prism-api/src/main/java/com/evolveum/prism/xml/ns/_public/query_3/LogicalOperatorFilterType.java
M infra/prism-api/src/main/java/com/evolveum/prism/xml/ns/_public/query_3/NAryLogicalOperatorFilterType.java
M infra/prism-api/src/main/java/com/evolveum/prism/xml/ns/_public/query_3/PagingType.java
M infra/prism-api/src/main/java/com/evolveum/prism/xml/ns/_public/query_3/PropertyComplexValueFilterType.java
M infra/prism-api/src/main/java/com/evolveum/prism/xml/ns/_public/query_3/PropertyNoValueFilterType.java
M infra/prism-api/src/main/java/com/evolveum/prism/xml/ns/_public/query_3/PropertySimpleValueFilterType.java
M infra/prism-api/src/main/java/com/evolveum/prism/xml/ns/_public/query_3/QueryType.java
M infra/prism-api/src/main/java/com/evolveum/prism/xml/ns/_public/query_3/SearchFilterType.java
M infra/prism-api/src/main/java/com/evolveum/prism/xml/ns/_public/query_3/UriFilterType.java
M infra/prism-api/src/main/java/com/evolveum/prism/xml/ns/_public/query_3/ValueType.java
M infra/prism-api/src/main/java/com/evolveum/prism/xml/ns/_public/types_3/XmlAsStringType.java
M infra/prism-impl/src/test/java/com/evolveum/midpoint/prism/foo/EventCategoryFilterType.java
M infra/prism-impl/src/test/java/com/evolveum/midpoint/prism/foo/EventHandlerChainType.java
M infra/prism-impl/src/test/java/com/evolveum/midpoint/prism/foo/EventHandlerType.java
M infra/prism-impl/src/test/java/com/evolveum/midpoint/prism/foo/EventOperationFilterType.java
M infra/prism-impl/src/test/java/com/evolveum/midpoint/prism/foo/EventStatusFilterType.java
M infra/schema-pure-jaxb/pom.xml
M infra/schema/pom.xml
M infra/test-util/pom.xml
M infra/util/pom.xml
M model/certification-impl/pom.xml
M model/model-common/pom.xml
M model/model-impl/pom.xml
R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/rest/PATCH.java
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/workflow-impl/pom.xml
M pom.xml
M provisioning/provisioning-impl/pom.xml
M provisioning/ucf-impl-builtin/pom.xml
M provisioning/ucf-impl-connid/pom.xml
M repo/repo-cache/pom.xml
M repo/repo-common/pom.xml
M repo/repo-sql-impl-test/pom.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
M repo/repo-sql-impl/pom.xml
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RAbstractRole.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RAccessCertificationCampaign.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RAccessCertificationDefinition.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RArchetype.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RCase.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RConnector.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RConnectorHost.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RDashboard.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RFocus.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RForm.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RFunctionLibrary.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RGenericObject.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RLookupTable.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RNode.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RObject.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RObjectCollection.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RObjectTemplate.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/ROrg.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RReport.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RReportOutput.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RResource.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RRole.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RSecurityPolicy.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RSequence.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RService.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RShadow.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RSystemConfiguration.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RTask.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RUser.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RValuePolicy.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/container/ROperationExecution.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/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/modify/DeltaUpdaterUtils.java
M repo/repo-test-util/pom.xml
M repo/task-quartz-impl/pom.xml
M testing/conntest/pom.xml
M testing/rest/pom.xml
M testing/schrodingertest/pom.xml
M testing/schrodingertest/src/test/java/com/evolveum/midpoint/testing/schrodinger/UsersTest.java
M testing/schrodingertest/src/test/java/com/evolveum/midpoint/testing/schrodinger/scenarios/CaseTests.java
M testing/schrodingertest/src/test/java/com/evolveum/midpoint/testing/schrodinger/scenarios/ObjectListArchetypeTests.java
M testing/story/pom.xml
M tools/schrodinger/pom.xml
M tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/component/assignmentholder/AssignmentHolderObjectListTable.java
M tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/component/common/PrismForm.java
M tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/component/common/Search.java
M tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/component/common/SearchItemField.java
M tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/component/modal/ForwardWorkitemModal.java
M tools/schrodinger/src/main/java/com/evolveum/midpoint/schrodinger/page/configuration/ImportObjectPage.java
M tools/xjc-plugin/pom.xml
Log Message:
-----------
Merge remote-tracking branch 'origin/master'
Compare: https://github.com/Evolveum/midpoint/compare/41f4a68a94b3...37e3f6b19f10
More information about the midPoint-svn
mailing list