[midPoint-git] [Evolveum/midpoint] f0edcd: Add 'runAsRef' and task filters to scripting rules
mederly
noreply at github.com
Thu May 28 20:39:41 CEST 2020
Branch: refs/heads/master
Home: https://github.com/Evolveum/midpoint
Commit: f0edcd22236929f4656f255b7a9285b9256c286a
https://github.com/Evolveum/midpoint/commit/f0edcd22236929f4656f255b7a9285b9256c286a
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2020-05-28 (Thu, 28 May 2020)
Changed paths:
M infra/prism-api/src/main/java/com/evolveum/midpoint/prism/schema/SchemaRegistry.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/ExceptionUtil.java
M infra/schema/src/main/resources/xml/ns/public/common/common-policy-3.xsd
A infra/util/src/main/java/com/evolveum/midpoint/util/CheckedRunnable.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-api/src/main/java/com/evolveum/midpoint/model/api/ModelService.java
A model/model-api/src/main/java/com/evolveum/midpoint/model/api/util/ReferenceResolver.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/ModelController.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/ModelInteractionServiceImpl.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/AssignmentCollector.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/assignments/AssignmentEvaluator.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/assignments/TargetsEvaluation.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/AssignmentProcessor.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/scriptExecutor/ActionContext.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/scriptExecutor/LinkSourceFinder.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/scriptExecutor/PolicyRuleScriptExecutor.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/scriptExecutor/ScriptingTaskCreator.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/scriptExecutor/SynchronousScriptExecutor.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/security/RunAsRunner.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/security/RunAsRunnerFactory.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/util/ModelImplUtils.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/util/ReferenceResolverImpl.java
M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestAbstractAssignmentEvaluator.java
M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/lens/TestAssignmentProcessor2.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestMemberRecompute.java
M model/model-intest/src/test/resources/member-recompute/archetype-department.xml
M model/model-intest/src/test/resources/member-recompute/task-template-recompute-members.xml
M model/model-test/src/main/java/com/evolveum/midpoint/model/test/AbstractModelIntegrationTest.java
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/ExpressionUtil.java
Log Message:
-----------
Add 'runAsRef' and task filters to scripting rules
1) Scripting action can be run under different user (runAsRef).
This is implemented using new experimental RunAsRunner class.
2) Task template reference can now contain a filter. It is resolved
using new experimental ReferenceResolver (assignment evaluator was
refactored to use it as well).
3) Various expressions (including those in filters) are now evaluated
for positive values only. (Evaluating old state was useless.)
A part of MID-5967 implementation.
Commit: cf1eacbaf11f540b8ba0ed8e6001b05e37bc77fc
https://github.com/Evolveum/midpoint/commit/cf1eacbaf11f540b8ba0ed8e6001b05e37bc77fc
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2020-05-28 (Thu, 28 May 2020)
Changed paths:
M repo/repo-sql-impl-test/src/test/resources/basic/objects.xml
Log Message:
-----------
Adapt repo tests to changes in reports
Commit: 11f6fda0034f299669f7aee94d0163af154da06f
https://github.com/Evolveum/midpoint/commit/11f6fda0034f299669f7aee94d0163af154da06f
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2020-05-28 (Thu, 28 May 2020)
Changed paths:
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/MultivalueContainerListPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/search/ReferencePopupPanel.html
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/search/ReferencePopupPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/search/Search.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/search/SearchFactory.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/search/SearchItemPanel.html
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/SearchPanel.html
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/search/SearchPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/search/SearchPopupPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/PageDebugList.java
M model/rest-impl/src/main/java/com/evolveum/midpoint/rest/impl/MidpointAbstractHttpMessageConverter.java
M model/rest-impl/src/main/java/com/evolveum/midpoint/rest/impl/RestConfig.java
Log Message:
-----------
Merge remote-tracking branch 'origin/master'
Compare: https://github.com/Evolveum/midpoint/compare/c6b9c4997437...11f6fda0034f
More information about the midPoint-svn
mailing list