[midPoint-git] [Evolveum/midpoint] 507367: Improve Expression class and related code
mederly
noreply at github.com
Fri Jul 7 23:00:12 CEST 2023
Branch: refs/heads/feature/expression-profiles
Home: https://github.com/Evolveum/midpoint
Commit: 50736798e97eb5e18d277f3540a5d497c2d86663
https://github.com/Evolveum/midpoint/commit/50736798e97eb5e18d277f3540a5d497c2d86663
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2023-07-07 (Fri, 07 Jul 2023)
Changed paths:
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/util/ExpressionValidator.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/expression/VariablesMap.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/AbstractSearchExpressionEvaluator.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/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/GenerateExpressionEvaluatorFactory.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
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/path/PathExpressionEvaluatorFactory.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/transformation/AbstractValueTransformationExpressionEvaluator.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/evaluator/transformation/CombinatorialEvaluation.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/functions/CustomFunctions.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/script/AbstractScriptEvaluator.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/test/java/com/evolveum/midpoint/model/common/expression/ExpressionTestUtil.java
M model/model-common/src/test/java/com/evolveum/midpoint/model/common/expression/TestExpression.java
M model/model-common/src/test/java/com/evolveum/midpoint/model/common/expression/TestExpressionProfileSafe.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/ModelObjectResolver.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/ObjectMerger.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/scripting/actions/BaseActionExecutor.java
M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/expr/ExpressionHandlerImplTest.java
M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestAssignmentProcessor2.java
M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/spec/expressions/TestExpressionSpec.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestFunctions.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/DirectoryFileObjectResolver.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/ObjectResolver.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/RepoObjectResolver.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/AbstractObjectResolvableExpressionEvaluatorFactory.java
M 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/ExpressionEvaluatorFactory.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/ExpressionFactory.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/ValueSetDefinition.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/LiteralExpressionEvaluatorFactory.java
Log Message:
-----------
Improve Expression class and related code
Mostly cosmetic/readability/nullness etc. improvements.
The only functional changes are:
1. The "actor" is not set in variables if it's already there
(can be important in future "run under other actor" scenarios);
2. The wiring of SecurityContextManager to expressions/evaluators was
simplified, hopefully not too much.
More information about the midPoint-svn
mailing list