[midPoint-git] [Evolveum/midpoint] 2caf4d: Prepare for pre-mappings implementation
mederly
noreply at github.com
Thu Feb 17 11:19:47 CET 2022
Branch: refs/heads/master
Home: https://github.com/Evolveum/midpoint
Commit: 2caf4d05e6d6af0e44453250c8fa380dfee0b07e
https://github.com/Evolveum/midpoint/commit/2caf4d05e6d6af0e44453250c8fa380dfee0b07e
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2022-02-10 (Thu, 10 Feb 2022)
Changed paths:
M model/model-api/src/main/java/com/evolveum/midpoint/model/api/context/Mapping.java
M model/model-api/src/main/java/com/evolveum/midpoint/model/api/expr/MidpointFunctions.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/ExpressionEnvironment.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/ModelExpressionThreadLocalHolder.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/mapping/AbstractMappingBuilder.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/mapping/AbstractMappingImpl.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/mapping/MappingBuilder.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/mapping/MappingEvaluationEnvironment.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/mapping/MappingFactory.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/mapping/MappingParser.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/mapping/metadata/MetadataMappingBuilder.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/mapping/metadata/MetadataMappingImpl.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/ModelBeans.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/MappingDiagEvaluator.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/expr/MidpointFunctionsImpl.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensUtil.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/construction/ItemEvaluation.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/ActivationProcessor.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/credentials/ProjectionCredentialsProcessor.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/AssignmentProcessor.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/FocalMappingSetEvaluation.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/FocalMappingSetEvaluationBuilder.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/InboundMappingsEvaluation.java
R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/MappingSetEvaluation.java
R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/MappingSetEvaluationBuilder.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/MappingSorter.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/ProjectionMappingSetEvaluator.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/TemplateMappingsEvaluation.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/mappings/MappingEvaluator.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/mappings/MappingEvaluatorParams.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/mappings/MappingInitializer.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/mappings/MappingOutputStruct.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/mappings/NextRecompute.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/mappings/TargetObjectSpecification.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/util/ModelImplUtils.java
M model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/notifiers/ConfirmationNotifier.java
M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/aspect/BasePrimaryChangeAspect.java
M testing/story/src/test/resources/grouper/metarole-grouper-provided-group.xml
Log Message:
-----------
Prepare for pre-mappings implementation
The commit contains a preliminary cleanup before we implement pre-
mappings:
1. Created ProjectionMappingSetEvaluator by factoring out
MappingEvaluator#evaluateMappingSetProjection.
Therefore, MappingEvaluator has become a thin model-level wrapper
around AbstractMappingImpl#evaluate method.
2. Renamed MappingSetEvaluation to FocalMappingSetEvaluation, to align
it with ProjectionMappingSetEvaluator. Moved focal mapping creation
(bean to Mapping) from MappingEvaluator to here.
3. Other minor changes, e.g. fields of ExpressionEnvironment are now
final, ModelExpressionThreadLocalHolder was cleaned up, some javadocs
were written, and a minor bug fixed.
Commit: b8a313823eb0f47fd9cd8b0f55c2b340c6229763
https://github.com/Evolveum/midpoint/commit/b8a313823eb0f47fd9cd8b0f55c2b340c6229763
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2022-02-10 (Thu, 10 Feb 2022)
Changed paths:
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/ModelExpressionThreadLocalHolder.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/mappings/MappingEvaluator.java
M model/model-intest/src/test/resources/mapping/role-antinihilist.xml
Log Message:
-----------
Fix exception propagation from mapping evaluation
(Also a checkstyle problem.)
Commit: 2defd30e07ef69a9b8f076f4ed8a1b073fefdacb
https://github.com/Evolveum/midpoint/commit/2defd30e07ef69a9b8f076f4ed8a1b073fefdacb
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2022-02-14 (Mon, 14 Feb 2022)
Changed paths:
M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/MatchingUtil.java
M model/model-impl/pom.xml
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/expr/MidpointFunctionsImpl.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/ElementState.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensElementContext.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensProjectionContext.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensUtil.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/construction/ItemEvaluation.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/DependencyProcessor.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/FocalMappingSetEvaluation.java
R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/InboundMappingsEvaluation.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/InboundProcessor.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/ProjectionMappingSetEvaluator.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/ProjectionValueMetadataCreator.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/ClockworkInboundsProcessing.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/InboundMappingInContext.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/StopProcessingProjectionException.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/package-info.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/ClockworkContext.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/ClockworkShadowInboundsPreparation.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/ClockworkSource.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/ClockworkTarget.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/Context.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/MappedItem.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/MappedItems.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/PreContext.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/PreShadowInboundsPreparation.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/PreSource.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/PreTarget.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/ProcessingMode.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/ShadowInboundsPreparation.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/Source.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/Target.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/package-info.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/PreMappingsEvaluation.java
M model/model-intest/src/test/resources/mapping/resource-dummy-autogreen.xml
M repo/repo-common/src/main/java/com/evolveum/midpoint/repo/common/expression/ConfigurableValuePolicySupplier.java
Log Message:
-----------
Clean up inbounds processing before pre-mappings
Here we cleaned-up the processing of inbound mappings, in the order
to separate parts bound to the clockwork processing from these that
can be executed before the clockwork is even started.
Work in progress. The code is not cleaned up absolutely. But it is
the maximum that could be done in the given time.
BEHAVIORAL CHANGES (to release notes):
1. Up to now, we have skipped association inbound mappings if there was
no input value. This was not consistent with the handling of other
mappings. This is now changed. So, please make sure your mappings
correctly treat null input values. See resource-dummy-autogreen.xml
for an example.
2. Names of classes and packages that are relevant for logging has
been changed. To log the inbound processing in details, one should
now use "com.evolveum.midpoint.model.impl.lens.projector.focus.inbounds"
(however, this may even change before 4.5 release!)
Unrelated changes:
- contains changes from dcdc09e31d80b5b2376ff80e6d1e6155c035c29b
Commit: 8b161d8602a614ffa69f45b10d99f8382ecf3135
https://github.com/Evolveum/midpoint/commit/8b161d8602a614ffa69f45b10d99f8382ecf3135
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2022-02-15 (Tue, 15 Feb 2022)
Changed paths:
R config/sql/generic-old/h2-4.4-all.sql
A config/sql/generic-old/h2-4.5-all.sql
R config/sql/generic-old/h2-upgrade-4.0-4.4.sql
R config/sql/generic-old/h2-upgrade-4.3-4.4.sql
A config/sql/generic-old/h2-upgrade-4.4-4.5.sql
R config/sql/generic-old/mysql-upgrade-4.0-4.4-utf8mb4.sql
R config/sql/generic-old/mysql-upgrade-4.0-4.4.sql
R config/sql/generic-old/mysql-upgrade-4.3-4.4-utf8mb4.sql
R config/sql/generic-old/mysql-upgrade-4.3-4.4.sql
R config/sql/generic-old/oracle-4.4-all.sql
A config/sql/generic-old/oracle-4.5-all.sql
R config/sql/generic-old/oracle-upgrade-4.0-4.4.sql
R config/sql/generic-old/oracle-upgrade-4.3-4.4.sql
A config/sql/generic-old/oracle-upgrade-4.4-4.5.sql
R config/sql/generic-old/postgresql-4.4-all.sql
A config/sql/generic-old/postgresql-4.5-all.sql
R config/sql/generic-old/postgresql-upgrade-4.0-4.4.sql
R config/sql/generic-old/postgresql-upgrade-4.3-4.4.sql
A config/sql/generic-old/postgresql-upgrade-4.4-4.5.sql
R config/sql/generic-old/sqlserver-4.4-all.sql
A config/sql/generic-old/sqlserver-4.5-all.sql
R config/sql/generic-old/sqlserver-upgrade-4.0-4.4.sql
R config/sql/generic-old/sqlserver-upgrade-4.3-4.4.sql
A config/sql/generic-old/sqlserver-upgrade-4.4-4.5.sql
M config/sql/native-new/postgres-new-upgrade.sql
M config/sql/native-new/postgres-new.sql
M dist/src/main/bin/midpoint.sh
M gui/admin-gui/pom.xml
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/GuiStyleConstants.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/MainObjectListPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/util/WebComponentUtil.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/menu/LeftMenuPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/menu/PageTypes.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/factory/panel/ConditionPanelFactory.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/configuration/component/NotificationConfigTabPanel.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/messagetemplate/LocalizedContentCounter.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/messagetemplate/MessageTemplateContentPanel.html
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/messagetemplate/MessageTemplateContentPanel.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/messagetemplate/MessageTemplateLocalizedContentPanel.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/messagetemplate/MessageTemplateModel.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/messagetemplate/MessageTemplateSummaryPanel.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/messagetemplate/PageMessageTemplate.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/messagetemplate/PageMessageTemplates.html
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/messagetemplate/PageMessageTemplates.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/messagetemplate/TemplateContentDetailsPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/AjaxIconButton.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/search/SwitchablePropertyValuePanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/model/ItemWrapperModel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/reports/component/AceEditorPanel.html
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/reports/component/AceEditorPanel.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/reports/component/SimpleAceEditorPanel.html
A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/reports/component/SimpleAceEditorPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/session/UserProfileStorage.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/util/ObjectTypeGuiDescriptor.java
M gui/admin-gui/src/main/resources/static/less/midpoint-theme.less
M gui/midpoint-jar/pom.xml
M infra/schema/src/main/java/com/evolveum/midpoint/schema/constants/ObjectTypes.java
M infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd
M infra/schema/src/main/resources/xml/ns/public/common/common-notifications-3.xsd
M model/model-test/src/main/java/com/evolveum/midpoint/model/test/DummyTransport.java
M model/notifications-api/pom.xml
M model/notifications-api/src/main/java/com/evolveum/midpoint/notifications/api/EventHandler.java
R model/notifications-api/src/main/java/com/evolveum/midpoint/notifications/api/NotificationFunctions.java
M model/notifications-api/src/main/java/com/evolveum/midpoint/notifications/api/transports/Transport.java
A model/notifications-api/src/main/java/com/evolveum/midpoint/notifications/api/transports/TransportService.java
A model/notifications-api/src/main/java/com/evolveum/midpoint/notifications/api/transports/TransportSupport.java
M model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/AccountOperationListener.java
M model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/EventHandlerRegistry.java
A model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/NotificationFunctions.java
R model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/NotificationFunctionsImpl.java
M model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/NotificationHook.java
M model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/NotificationManagerImpl.java
M model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/NotificationTaskListener.java
M model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/SimpleObjectRefImpl.java
R model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/TransportRegistry.java
A model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/TransportServiceImpl.java
M model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/WorkflowListenerImpl.java
R model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/api/transports/CustomTransport.java
R model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/api/transports/FileTransport.java
A model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/api/transports/LegacyCustomTransport.java
A model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/api/transports/LegacyFileTransport.java
A model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/api/transports/LegacyMailTransport.java
A model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/api/transports/LegacySimpleSmsTransport.java
R model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/api/transports/MailTransport.java
R model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/api/transports/SimpleSmsTransport.java
M model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/api/transports/TransportUtil.java
M model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/events/factory/CertEventFactory.java
M model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/formatters/DeltaFormatter.java
M model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/formatters/ValueFormatter.java
M model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/handlers/AggregatedEventHandler.java
M model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/handlers/BaseHandler.java
M model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/helpers/BaseNotificationHelper.java
M model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/helpers/CategoryFilterHelper.java
M model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/helpers/ChainHelper.java
M model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/helpers/ExpressionFilterHelper.java
M model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/helpers/FocusTypeFilterHelper.java
M model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/helpers/ForkHelper.java
M model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/helpers/KindIntentFilterHelper.java
M model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/helpers/NotificationExpressionHelper.java
M model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/helpers/OperationFilterHelper.java
M model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/helpers/StatusFilterHelper.java
M model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/notifiers/AbstractGeneralNotifier.java
M model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/notifiers/CustomNotifier.java
M model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/notifiers/UserPasswordNotifier.java
M model/report-impl/src/main/java/com/evolveum/midpoint/report/impl/ReportUtils.java
M pom.xml
M provisioning/provisioning-impl/pom.xml
M provisioning/ucf-impl-builtin/pom.xml
A repo/repo-api/src/main/java/com/evolveum/midpoint/repo/api/SystemConfigurationChangeEvent.java
A repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/AbstractRepoCommonTest.java
A repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/RepoCommonAddGetTest.java
M repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/RepoConcurrencyTest.java
R repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/AbstractRepoCommonTest.java
M repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/TestActivities.java
M repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/TestBucketingLive.java
M repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/TestBucketingStatic.java
M repo/repo-common/src/test/java/com/evolveum/midpoint/repo/common/tasks/TestWorkerTasks.java
M repo/repo-common/testng-integration.xml
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/SqaleRepositoryBeanConfig.java
A repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/notification/QMessageTemplate.java
A repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/notification/QMessageTemplateMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/object/MObjectType.java
M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/SqaleRepoBaseTest.java
M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/SqaleRepoAddDeleteObjectTest.java
M repo/repo-sql-impl-test/pom.xml
R repo/repo-sql-impl-test/sample-configurations/mysql.properties
R repo/repo-sql-impl-test/sql-procedures/mysql.sql
M repo/repo-sql-impl-test/sql-procedures/postgresql.sql
M repo/repo-sql-impl-test/sql-procedures/sqlserver.sql
M repo/repo-sql-impl-test/src/main/java/com/evolveum/midpoint/repo/sql/testing/TestSqaleRepositoryBeanConfig.java
M repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/SchemaTest.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/Database.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/SqlAuditServiceImpl.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/SqlRepositoryConfiguration.java
A repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/RMessageTemplate.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/other/RObjectType.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/helpers/OrgClosureManager.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/helpers/TransactionSerializationProblemDetector.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/schemacheck/SchemaActionComputer.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/util/ClassMapper.java
R repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/util/MidPointMySQLDialect.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/util/TemporaryTableDialect.java
M repo/repo-sqlbase/src/main/java/com/evolveum/midpoint/repo/sqlbase/DataSourceFactory.java
M repo/repo-sqlbase/src/main/java/com/evolveum/midpoint/repo/sqlbase/JdbcRepositoryConfiguration.java
M repo/repo-sqlbase/src/main/java/com/evolveum/midpoint/repo/sqlbase/SupportedDatabase.java
M repo/repo-sqlbase/src/main/java/com/evolveum/midpoint/repo/sqlbase/SystemConfigurationChangeDispatcherImpl.java
M repo/repo-sqlbase/src/main/java/com/evolveum/midpoint/repo/sqlbase/querydsl/QuerydslUtils.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/AbstractIntegrationTest.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/MidpointTestContextWithTask.java
M repo/security-api/src/main/java/com/evolveum/midpoint/security/api/AuthorizationConstants.java
M repo/task-api/pom.xml
M repo/task-api/src/main/java/com/evolveum/midpoint/task/api/TaskManager.java
M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/TaskManagerConfiguration.java
M repo/task-quartz-impl/src/main/java/com/evolveum/midpoint/task/quartzimpl/TaskManagerQuartzImpl.java
R repo/task-quartz-impl/src/main/resources/com/evolveum/midpoint/task/quartzimpl/execution/tables_mysql_innodb.sql
M testing/story/pom.xml
M testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestStrings.java
M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/impl/NinjaContext.java
Log Message:
-----------
Merge branch 'master' into feature/pre-inbounds
Commit: c89817d6096d431df0ef66177c1504ebd7fe58c8
https://github.com/Evolveum/midpoint/commit/c89817d6096d431df0ef66177c1504ebd7fe58c8
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2022-02-15 (Tue, 15 Feb 2022)
Changed paths:
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/prism/wrapper/ResourceAttributeWrapperImpl.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/CompositeObjectDefinitionImpl.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ResourceAssociationDefinition.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ResourceAttributeDefinition.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ResourceAttributeDefinitionImpl.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ResourceObjectClassDefinitionImpl.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ResourceObjectDefinition.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ResourceObjectTypeDefinitionImpl.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/deleg/AttributeDefinitionDelegator.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/deleg/RefinedAttributeDefinitionDelegator.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/deleg/ResourceObjectDefinitionDelegator.java
M infra/schema/src/main/resources/xml/ns/public/common/common-core-3.xsd
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/dataModel/DataModelVisualizerImpl.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/expr/MidpointFunctionsImpl.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/integrity/shadows/ShadowIntegrityCheckItemProcessor.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensMetadataUtil.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/consolidation/DeltaSetTripleMapConsolidation.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/AbstractInboundsProcessing.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/ClockworkInboundsProcessing.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/InboundMappingInContext.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/PreInboundsProcessing.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/StopProcessingProjectionException.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/ApplicabilityEvaluator.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/ClockworkSource.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/MSource.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/MappedItem.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/MappedItems.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/PreContext.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/PreShadowInboundsPreparation.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/PreSource.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/PreTarget.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/ShadowInboundsPreparation.java
R model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/inbounds/prep/Source.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/PreMappingsEvaluation.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/ResourceObjectClassifierImpl.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/SynchronizationContext.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/SynchronizationService.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/SynchronizationServiceImpl.java
M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/sync/TestCorrelationConfirmationEvaluator.java
M provisioning/provisioning-api/src/main/java/com/evolveum/midpoint/provisioning/api/ResourceObjectShadowChangeDescription.java
M testing/story/src/test/resources/correlation/idmatch/resource-ais.xml
Log Message:
-----------
Add support for inbound mapping evaluation phases
Attribute inbound mappings are now evaluated in both correlation
("pre-processing") and clockwork (standard) phases. The former is used
to make the life of correlators easier - they can correlate
on already-mapped property values, so duplication of mapping code
(one in inbound, one in correlation expression) is now gone.
Evaluation phase for each mapping can be set individually. Default
phases are set on per-resource-object level. (If not specified,
clockwork is assumed to keep backwards compatibility.)
The support is limited to attribute inbounds. Neither associations,
nor object classes, passwords, activation inbounds are processed
in correlation phase - for now.
Commit: 6d7ebd1eedbdab670f5c0499b2924495553362f2
https://github.com/Evolveum/midpoint/commit/6d7ebd1eedbdab670f5c0499b2924495553362f2
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2022-02-15 (Tue, 15 Feb 2022)
Changed paths:
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/sync/PreMappingsEvaluation.java
Log Message:
-----------
Update the javadocs
Commit: 6614b764d778b9d7717d9f5c9289d9e0909175e6
https://github.com/Evolveum/midpoint/commit/6614b764d778b9d7717d9f5c9289d9e0909175e6
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2022-02-15 (Tue, 15 Feb 2022)
Changed paths:
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/wizard/resource/SchemaHandlingStep.java
Log Message:
-----------
Adapt admin-gui to changes in inbounds schema
Commit: e2dfe59552aac39075a00b2b78cab7152ee2c88f
https://github.com/Evolveum/midpoint/commit/e2dfe59552aac39075a00b2b78cab7152ee2c88f
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2022-02-17 (Thu, 17 Feb 2022)
Changed paths:
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/ContainerableListPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/factory/wrapper/LoggingAppenderWrapperFactoryImpl.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/messagetemplate/LocalizedContentCounter.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/messagetemplate/MessageTemplateContentPanel.html
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/messagetemplate/MessageTemplateContentPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/messagetemplate/MessageTemplateLocalizedContentPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/messagetemplate/MessageTemplateModel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/messagetemplate/MessageTemplateSummaryPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/messagetemplate/PageMessageTemplate.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/messagetemplate/PageMessageTemplates.html
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/messagetemplate/PageMessageTemplates.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/messagetemplate/TemplateContentDetailsPanel.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/systemconfiguration/PageSystemConfiguration.html
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/systemconfiguration/PageSystemConfiguration.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/systemconfiguration/component/AdditionalMenuLinkContentPanel.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/systemconfiguration/component/AdditionalMenuLinkCounter.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/systemconfiguration/component/ClassLoggerDetailsPanel.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/systemconfiguration/component/ClassLoggersContentPanel.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/systemconfiguration/component/ClassLoggersMenuLinkCounter.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/systemconfiguration/component/LoggingContentPanel.html
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/systemconfiguration/component/LoggingContentPanel.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/systemconfiguration/component/RichHyperlinkDetailsPanel.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/systemconfiguration/component/RichHyperlinkListContentPanel.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/systemconfiguration/component/UserDashboardLinkContentPanel.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/systemconfiguration/component/UserDashboardLinkCounter.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/systemconfiguration/page/PageAdminGui.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/systemconfiguration/page/PageBaseSystemConfiguration.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/systemconfiguration/page/PageLogging.java
R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/PageSystemConfigurationNew.html
R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/PageSystemConfigurationNew.java
R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/system/PageAbstractSystemConfiguration.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/system/PageAccessCertification.java
R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/system/PageAdminGuiConfiguration.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/system/PageCleanupPolicy.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/system/PageDeploymentInformation.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/system/PageFullTextSearch.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/system/PageGlobalPolicyRule.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/system/PageGlobalProjectionPolicy.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/system/PageInfrastructure.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/system/PageInternalsConfiguration.java
R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/system/PageLogging.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/system/PageNotificationConfiguration.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/system/PageObjectPoliciesConfiguration.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/system/PageProfiling.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/system/PageRoleManagement.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/system/PageSystemConfigurationBasic.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/system/PageWorkflowConfiguration.java
M gui/admin-gui/src/test/java/com/evolveum/midpoint/gui/TestPageSystemConfiguration.java
M infra/schema/src/main/resources/xml/ns/public/common/common-notifications-3.xsd
M infra/test-util/src/main/java/com/evolveum/midpoint/test/util/OperationResultAssert.java
M model/authentication-api/pom.xml
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/expression/script/velocity/VelocityScriptEvaluator.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/scripting/expressions/SearchEvaluator.java
M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/TestFilterResolver.java
M model/model-impl/src/test/java/com/evolveum/midpoint/model/impl/TestFilterResolverQueryDsl.java
M model/model-test/src/main/java/com/evolveum/midpoint/model/test/AbstractModelIntegrationTest.java
M model/model-test/src/main/java/com/evolveum/midpoint/model/test/DummyTransport.java
M model/notifications-api/src/main/java/com/evolveum/midpoint/notifications/api/NotificationManager.java
M model/notifications-api/src/main/java/com/evolveum/midpoint/notifications/api/transports/Message.java
M model/notifications-api/src/main/java/com/evolveum/midpoint/notifications/api/transports/Transport.java
M model/notifications-api/src/main/java/com/evolveum/midpoint/notifications/api/transports/TransportService.java
M model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/NotificationFunctions.java
M model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/NotificationManagerImpl.java
R model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/TransportServiceImpl.java
R model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/api/transports/LegacyCustomTransport.java
R model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/api/transports/LegacyFileTransport.java
R model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/api/transports/LegacyMailTransport.java
R model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/api/transports/LegacySimpleSmsTransport.java
R model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/api/transports/TransportUtil.java
A model/notifications-impl/src/main/java/com/evolveum/midpoint/transport/impl/CustomTransport.java
A model/notifications-impl/src/main/java/com/evolveum/midpoint/transport/impl/TransportServiceImpl.java
A model/notifications-impl/src/main/java/com/evolveum/midpoint/transport/impl/TransportUtil.java
A model/notifications-impl/src/main/java/com/evolveum/midpoint/transport/impl/legacy/LegacyCustomTransport.java
A model/notifications-impl/src/main/java/com/evolveum/midpoint/transport/impl/legacy/LegacyFileTransport.java
A model/notifications-impl/src/main/java/com/evolveum/midpoint/transport/impl/legacy/LegacyMailTransport.java
A model/notifications-impl/src/main/java/com/evolveum/midpoint/transport/impl/legacy/LegacySimpleSmsTransport.java
M model/notifications-impl/src/main/resources/ctx-notifications.xml
A model/notifications-impl/src/test/java/com/evolveum/midpoint/notifications/impl/NotificationsTest.java
A model/notifications-impl/src/test/java/com/evolveum/midpoint/notifications/impl/TestMessageTransport.java
M model/notifications-impl/src/test/java/com/evolveum/midpoint/notifications/impl/TestTransportUtils.java
M model/notifications-impl/src/test/resources/ctx-notifications-test.xml
M model/notifications-impl/testng-unit.xml
Log Message:
-----------
Merge branch 'master' into feature/pre-inbounds
Compare: https://github.com/Evolveum/midpoint/compare/2404c54d4dfd...e2dfe59552aa
More information about the midPoint-svn
mailing list