[midPoint-git] [Evolveum/midpoint] bd0dff: Streamline sim. metrics definition and computation
Viliam Repan
noreply at github.com
Mon Jan 30 10:54:50 CET 2023
Branch: refs/heads/master
Home: https://github.com/Evolveum/midpoint
Commit: bd0dffe5af7a204569c574d8c7dda6c4e3e3ba11
https://github.com/Evolveum/midpoint/commit/bd0dffe5af7a204569c574d8c7dda6c4e3e3ba11
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2023-01-27 (Fri, 27 Jan 2023)
Changed paths:
M infra/schema/src/main/resources/xml/ns/public/common/common-simulations-3.xsd
M model/model-api/src/main/java/com/evolveum/midpoint/model/api/context/ModelElementContext.java
M model/model-api/src/main/java/com/evolveum/midpoint/model/api/simulation/ProcessedObject.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/ModelCommonBeans.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/EvaluatedPolicyRuleImpl.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/PolicyRulesContext.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/simulation/AggregatedMetricsComputation.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/simulation/ObjectMetricsComputation.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/simulation/ProcessedObjectImpl.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/simulation/SimulationMetricReference.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/simulation/AbstractBasicSimulationExecutionTest.java
M model/model-intest/src/test/resources/simulation/system-configuration.xml
M model/model-test/src/main/java/com/evolveum/midpoint/model/test/SimulationResult.java
M model/model-test/src/main/java/com/evolveum/midpoint/model/test/asserter/ElementContextAsserter.java
M model/model-test/src/main/java/com/evolveum/midpoint/model/test/asserter/ProcessedObjectAsserter.java
M testing/story/src/test/resources/common/system-configuration.xml
M testing/story/src/test/resources/first-steps/system-configuration.xml
Log Message:
-----------
Streamline sim. metrics definition and computation
1. "In selection" and value computations are now clearly distinguished.
Either way (predicate or value expression) can be used to compute the
metric, according to its character.
2. Selection and domain for aggregation is now more clearly defined,
using "selectionRestriction" and "domainRestriction" items.
3. The computation code was simplified.
Work in progress.
Commit: 4408989e0a01af79e447251cb16814415efd8357
https://github.com/Evolveum/midpoint/commit/4408989e0a01af79e447251cb16814415efd8357
Author: Viliam Repan <vilo.repan at evolveum.com>
Date: 2023-01-28 (Sat, 28 Jan 2023)
Changed paths:
M infra/schema/src/main/resources/xml/ns/public/common/common-simulations-3.xsd
M model/model-api/src/main/java/com/evolveum/midpoint/model/api/context/ModelElementContext.java
M model/model-api/src/main/java/com/evolveum/midpoint/model/api/simulation/ProcessedObject.java
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/ModelCommonBeans.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/EvaluatedPolicyRuleImpl.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/PolicyRulesContext.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/simulation/AggregatedMetricsComputation.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/simulation/ObjectMetricsComputation.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/simulation/ProcessedObjectImpl.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/simulation/SimulationMetricReference.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/simulation/AbstractBasicSimulationExecutionTest.java
M model/model-intest/src/test/resources/simulation/system-configuration.xml
M model/model-test/src/main/java/com/evolveum/midpoint/model/test/SimulationResult.java
M model/model-test/src/main/java/com/evolveum/midpoint/model/test/asserter/ElementContextAsserter.java
M model/model-test/src/main/java/com/evolveum/midpoint/model/test/asserter/ProcessedObjectAsserter.java
M testing/story/src/test/resources/common/system-configuration.xml
M testing/story/src/test/resources/first-steps/system-configuration.xml
Log Message:
-----------
Merge remote-tracking branch 'origin/feature/simulations'
Commit: 701ef954dae2272f899b545280fbce3fc60f092a
https://github.com/Evolveum/midpoint/commit/701ef954dae2272f899b545280fbce3fc60f092a
Author: Viliam Repan <vilo.repan at evolveum.com>
Date: 2023-01-30 (Mon, 30 Jan 2023)
Changed paths:
M config/sql/native-new/postgres-new-audit.sql
M config/sql/native-new/postgres-new-upgrade-audit.sql
M config/sql/native-new/postgres-new-upgrade.sql
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/component/ObjectListPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/PopupObjectListPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/button/CsvDownloadButtonPanel.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/component/data/provider/ISelectableDataProvider.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/factory/ContainerValueDataProviderFactory.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/registry/DataProviderRegistry.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/AbstractObjectListPanel.java
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/component/MultivalueContainerListPanel.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/data/provider/AssignmentListProvider.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/data/provider/BaseSearchDataProvider.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/data/provider/BaseSortableDataProvider.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/data/provider/ContainerListDataProvider.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/data/provider/ListDataProvider.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/data/provider/MultivalueContainerListDataProvider.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/data/provider/ObjectClassDataProvider.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/data/provider/ObjectDataProvider.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/data/provider/OrgTreeProvider.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/data/provider/ProjectionsListProvider.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/data/provider/RepoAssignmentListProvider.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/data/provider/RepositoryObjectDataProvider.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/data/provider/ResourceTemplateProvider.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/data/provider/SelectableBeanContainerDataProvider.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/data/provider/SelectableBeanObjectDataProvider.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/data/provider/SelectableBeanReferenceDataProvider.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/data/provider/SelectableListDataProvider.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/tile/MultiSelectTileTablePanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/tile/SingleSelectTileTablePanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/factory/data/InMemoryAssignmentDataProviderFactory.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/factory/data/RepositoryAssignmentDataProviderFactory.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/abstractrole/component/AbstractRoleMemberPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/abstractrole/component/GovernanceCardsPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/assignmentholder/component/assignmentType/AbstractAssignmentTypePanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/cases/component/ChildCasesPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/configuration/component/NotificationConfigTabPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/focus/component/FocusProjectionsPanel.java
R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/org/component/OrgTreeProvider.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/ResourceDetailsTabPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/ResourceTasksPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/basic/CreateResourceTemplatePanel.java
R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/basic/ObjectClassDataProvider.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/basic/ResourceTemplate.java
R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/basic/ResourceTemplateProvider.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/basic/SelectObjectClassesStepPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/objectType/attributeMapping/MappingOverrideTable.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/component/wizard/MultiSelectTileWizardStepPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/simulation/ProcessedObjectsPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/simulation/ProcessedObjectsProvider.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/task/component/ActivitiesItemProcessingPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/task/component/ActivitiesStatisticsPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/task/component/TaskErrorsPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/task/component/TaskResultPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/task/component/TaskSubtasksAndThreadsPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/user/component/AllAccessListPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/user/component/UserPersonasPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/self/credentials/PropagatePasswordPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/self/requestAccess/CartSummaryPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/self/requestAccess/RoleCatalogPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/registry/DataProviderRegistryImpl.java
R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/data/BaseSearchDataProvider.java
R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/data/BaseSortableDataProvider.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/data/BoxedTablePanel.java
R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/data/ContainerValueDataProviderFactory.java
R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/data/ISelectableDataProvider.java
R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/data/ObjectDataProvider.java
R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/data/RepositoryObjectDataProvider.java
R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/data/SelectableBeanContainerDataProvider.java
R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/data/SelectableBeanObjectDataProvider.java
R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/data/SelectableBeanReferenceDataProvider.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/data/TableHeadersToolbar.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/data/TablePanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/data/column/CheckBoxHeaderColumn.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/data/provider/CertCampaignListItemDtoProvider.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/data/provider/CertCaseDtoProvider.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/data/provider/CertWorkItemDtoProvider.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/progress/StatisticsPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/search/SearchPropertiesConfigPanel.java
R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/util/AssignmentListProvider.java
R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/util/ContainerListDataProvider.java
R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/util/ListDataProvider.java
R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/util/MultivalueContainerListDataProvider.java
R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/util/ProjectionsListProvider.java
R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/util/RepoAssignmentListProvider.java
R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/util/SelectableListDataProvider.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/wf/DecisionsPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/wizard/resource/CapabilityStep.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/wizard/resource/SchemaHandlingStep.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/wizard/resource/SynchronizationStep.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/wizard/resource/component/SchemaListPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/wizard/resource/component/capability/AddCapabilityDialog.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/cases/CaseWorkItemsPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/cases/MyCaseWorkItemsPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/certification/PageCertCampaign.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/certification/PageCertCampaigns.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/certification/PageCertDecisions.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/certification/dto/CertCampaignListItemDto.java
R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/certification/dto/CertCampaignListItemDtoProvider.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/certification/dto/CertCaseDto.java
R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/certification/dto/CertCaseDtoProvider.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/certification/dto/CertWorkItemDto.java
R gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/certification/dto/CertWorkItemDtoProvider.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/InternalsLoggedInUsersPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/PageDebugList.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/home/component/MyAccountsPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/home/component/MyAssignmentsPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/orgs/MidpointSubtree.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/orgs/OrgTreePanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/reports/PageCreatedReports.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/reports/component/AuditLogViewerPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/reports/component/ReportObjectsListPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/resources/ResourceContentPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/CasesTablePanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/PageTasks.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/server/SynchronizationSituationTransitionPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/users/component/AssignmentsInfoDialog.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/workflow/PageAttorneySelection.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/self/component/ChangePasswordPanel.java
Log Message:
-----------
Merge branch 'master' of github.com:Evolveum/midpoint
Commit: c733116f3f8106d691050c7a9a1f578d86d2e6b1
https://github.com/Evolveum/midpoint/commit/c733116f3f8106d691050c7a9a1f578d86d2e6b1
Author: Viliam Repan <vilo.repan at evolveum.com>
Date: 2023-01-30 (Mon, 30 Jan 2023)
Changed paths:
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/login/AbstractPageLogin.html
Log Message:
-----------
removed "sign in to start your session" from login page
Commit: 5c03ed00b306325e972b2d24159d51db9f6d2b8e
https://github.com/Evolveum/midpoint/commit/5c03ed00b306325e972b2d24159d51db9f6d2b8e
Author: Viliam Repan <vilo.repan at evolveum.com>
Date: 2023-01-30 (Mon, 30 Jan 2023)
Changed paths:
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/simulation/PageSimulationResultObject.html
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/simulation/PageSimulationResultObject.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/simulation/PageSimulationResultObjects.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/simulation/PageSimulationResults.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/simulation/SimulationResultsPanel.java
M infra/schema/src/main/resources/xml/ns/public/common/common-simulations-3.xsd
M model/model-common/src/main/java/com/evolveum/midpoint/model/common/util/DefaultColumnUtils.java
Log Message:
-----------
simulations results + object details (deltas, first shot)
Compare: https://github.com/Evolveum/midpoint/compare/eddcb887f36a...5c03ed00b306
More information about the midPoint-svn
mailing list