[midPoint-git] [Evolveum/midpoint] 1bd126: Clean-up and improve simulations schema
mederly
noreply at github.com
Thu Jan 19 23:13:34 CET 2023
Branch: refs/heads/feature/simulations
Home: https://github.com/Evolveum/midpoint
Commit: 1bd126ddf036bb197dd3c8640fdd5a1b02922415
https://github.com/Evolveum/midpoint/commit/1bd126ddf036bb197dd3c8640fdd5a1b02922415
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2023-01-19 (Thu, 19 Jan 2023)
Changed paths:
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/simulation/PageSimulationResult.java
A infra/schema/src/main/java/com/evolveum/midpoint/schema/simulation/PartitionScope.java
A infra/schema/src/main/java/com/evolveum/midpoint/schema/simulation/SimulationMetricComputer.java
A infra/schema/src/main/java/com/evolveum/midpoint/schema/simulation/SimulationMetricPartition.java
A infra/schema/src/main/java/com/evolveum/midpoint/schema/simulation/SimulationMetricPartitions.java
R infra/schema/src/main/java/com/evolveum/midpoint/schema/util/AbstractSimulationMetricReferenceTypeUtil.java
R infra/schema/src/main/java/com/evolveum/midpoint/schema/util/AggregatedSimulationMetricValueTypeUtil.java
A infra/schema/src/main/java/com/evolveum/midpoint/schema/util/SimulationMetricPartitionDimensionsTypeUtil.java
A infra/schema/src/main/java/com/evolveum/midpoint/schema/util/SimulationMetricPartitionScopeTypeUtil.java
A infra/schema/src/main/java/com/evolveum/midpoint/schema/util/SimulationMetricPartitionTypeUtil.java
A infra/schema/src/main/java/com/evolveum/midpoint/schema/util/SimulationMetricReferenceTypeUtil.java
A infra/schema/src/main/java/com/evolveum/midpoint/schema/util/SimulationMetricValuesTypeUtil.java
A infra/schema/src/main/java/com/evolveum/midpoint/schema/util/SimulationResultTypeUtil.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/TagTypeUtil.java
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/simulation/ProcessedObject.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
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/simulation/SimulationResultManagerImpl.java
M model/model-intest/src/test/resources/simulation/system-configuration.xml
M model/model-test/src/main/java/com/evolveum/midpoint/model/test/asserter/SimulationResultAsserter.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/simulation/QProcessedObjectMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/simulation/QSimulationResultMapping.java
M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/SimulationsBaselineTest.java
M testing/story/src/test/resources/first-steps/system-configuration.xml
Log Message:
-----------
Clean-up and improve simulations schema
All values of a given metric (different partitions at various levels
of detail) are now kept in a single SimulationMetricValuesType instance.
Other changes:
- Both definition and run-time schema structure and item/type names
were improved.
- On-demand value aggregation was implemented, to support GUI in
dynamic displaying of the values. See SimulationMetricValuesTypeUtil
and SimulationMetricComputer.
Work in progress.
Commit: 6a31c1d5ec964fdb80339fd5bc1278315bc69fc3
https://github.com/Evolveum/midpoint/commit/6a31c1d5ec964fdb80339fd5bc1278315bc69fc3
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2023-01-19 (Thu, 19 Jan 2023)
Changed paths:
M config/sql/native-new/postgres-new-upgrade.sql
M config/sql/native-new/postgres-new.sql
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/api/factory/wrapper/WrapperContext.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/DetailsNavigationPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/tile/MultiSelectTileTablePanel.html
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/component/wizard/AbstractFormWizardStepPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/wizard/AbstractWizardPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/wizard/EnumWizardChoicePanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/wizard/WizardPanelHelper.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/factory/panel/ResourceAttributeRefPanelFactory.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/FormWrapperValidator.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/focus/PageFocusDetails.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/ResourceDetailsModel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/AbstractResourceWizardBasicPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/AbstractValueFormResourceWizardStepPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/ResourceWizardPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/objectType/ResourceObjectTypeWizardPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/objectType/activation/ActivationsWizardPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/objectType/attributeMapping/AttributeMappingWizardPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/objectType/attributeMapping/AttributeMappingsTable.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/objectType/attributeMapping/AttributeMappingsTableWizardPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/objectType/attributeMapping/AttributeOutboundStepPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/objectType/attributeMapping/InboundAttributeMappingsTable.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/objectType/attributeMapping/OutboundAttributeMappingsTable.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/resource/component/wizard/objectType/credentials/CredentialsWizardPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/PageRole.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/component/wizard/AccessApplicationRoleStepPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/component/wizard/AccessApplicationStepPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/component/wizard/ApplicationRoleWizardPanel.java
R gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/component/wizard/ApplicationRoleWizardPreviewPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/component/wizard/BasicInformationStepPanel.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/component/wizard/BusinessRoleWizardPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/component/wizard/GovernanceMembersWizardPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/component/wizard/MembersWizardPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/component/wizard/MultiSelectTileWizardStepPanel.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/component/wizard/RoleWizardPreviewPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/component/wizard/SelectTileWizardStepPanel.html
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/component/wizard/SelectTileWizardStepPanel.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/component/wizard/SingleTileWizardStepPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/component/wizard/construction/BasicConstructionStepPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/component/wizard/construction/ConstructionGroupStepPanel.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/component/wizard/construction/ConstructionOutboundMappingsStepPanel.html
A gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/component/wizard/construction/ConstructionOutboundMappingsStepPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/page/admin/role/component/wizard/construction/ConstructionResourceStepPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/prism/wrapper/ResourceAttributeMappingWrapper.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/schema/transform/TransformableComplexTypeDefinition.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/schema/transform/TransformableDefinition.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/schema/transform/TransformableItemDefinition.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/SqaleQueryContext.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/SqaleRepositoryService.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/SqaleUtils.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/delta/item/RefItemDeltaProcessor.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/delta/item/RefTableItemDeltaProcessor.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/filtering/OrgFilterProcessor.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/mapping/SqaleTableMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/assignment/QAssignmentReferenceMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/object/QOperationExecutionMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/ref/QObjectReferenceMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/ref/QReferenceMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/simulation/MSimulationResult.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/simulation/QSimulationResult.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/simulation/QSimulationResultMapping.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/SimulationsBaselineTest.java
M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/SqaleRepoSearchTest.java
M repo/repo-sqlbase/src/main/java/com/evolveum/midpoint/repo/sqlbase/mapping/TableRelationResolver.java
M repo/repo-sqlbase/src/main/java/com/evolveum/midpoint/repo/sqlbase/querydsl/SqlRecorder.java
M repo/system-init/src/main/resources/initial-objects/system-configuration/000-system-configuration.xml
Log Message:
-----------
Merge remote-tracking branch 'origin/feature/simulations' into feature/simulations
# Conflicts:
# repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/simulation/QSimulationResultMapping.java
Commit: d7e70578a8c468d1a1fe2d866e2a3713598ceff8
https://github.com/Evolveum/midpoint/commit/d7e70578a8c468d1a1fe2d866e2a3713598ceff8
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2023-01-19 (Thu, 19 Jan 2023)
Changed paths:
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/simulation/QSimulationResultMapping.java
Log Message:
-----------
Fix QSimulationResultMapping compilation error
(Temporary; it has to be fixed correctly.)
Compare: https://github.com/Evolveum/midpoint/compare/68b40932a44c...d7e70578a8c4
More information about the midPoint-svn
mailing list