[midPoint-git] [Evolveum/midpoint] 8cbfbd: sqale: ExtensionProcessor checks real value type f...
mederly
noreply at github.com
Thu Aug 26 10:00:50 CEST 2021
Branch: refs/heads/feature/thresholds
Home: https://github.com/Evolveum/midpoint
Commit: 8cbfbddd3da948d502429eb817f26ed42db771c3
https://github.com/Evolveum/midpoint/commit/8cbfbddd3da948d502429eb817f26ed42db771c3
Author: Tony Tkacik <tonydamage at gmail.com>
Date: 2021-08-25 (Wed, 25 Aug 2021)
Changed paths:
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/ExtUtils.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/ExtensionProcessor.java
Log Message:
-----------
sqale: ExtensionProcessor checks real value type for base types
If malformed attributes were passed from provisioning
(eg. string, when expecting number) sqale trusted converted real value
without checking it and serialized string in attribute expecting number.
Now ExtensionProcessor checks for situations like that.
Commit: b1777cd71e6ce4b0082fbd9b3c04e39ed4484686
https://github.com/Evolveum/midpoint/commit/b1777cd71e6ce4b0082fbd9b3c04e39ed4484686
Author: Tony Tkacik <tonydamage at gmail.com>
Date: 2021-08-25 (Wed, 25 Aug 2021)
Changed paths:
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/security/TestSecurityPrincipal.java
Log Message:
-----------
sqale: Fixed wrong order of TestSecurityPrincipal
TestSecurityPrincipal was in unit test suite before
(without alphabetic ordering) which meant test were
run in order:
- test010Sanity*
- test020Sanity*
- test010GetUserAdministrator
Fixed name to reflect and enforce original ordering
Commit: 32f32c5bd8b550f63dd2222fdb819cdb1560ea2a
https://github.com/Evolveum/midpoint/commit/32f32c5bd8b550f63dd2222fdb819cdb1560ea2a
Author: Tony Tkacik <tonydamage at gmail.com>
Date: 2021-08-25 (Wed, 25 Aug 2021)
Changed paths:
M model/model-intest/testng-integration-sqale.xml
Log Message:
-----------
sqale: Updated test failure TODOs
Commit: 669dfc8d58e62b5c9798eaec61a0b87215830d3c
https://github.com/Evolveum/midpoint/commit/669dfc8d58e62b5c9798eaec61a0b87215830d3c
Author: Richard Richter <richard.richter at evolveum.com>
Date: 2021-08-25 (Wed, 25 Aug 2021)
Changed paths:
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/ExtUtils.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/ExtensionProcessor.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/ext/MExtItem.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/shadow/QShadowMapping.java
M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/SqaleRepoAddDeleteObjectTest.java
M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/SqaleRepoSearchTest.java
Log Message:
-----------
repo-sqale: extension type checking refactored, sqale tests were fixed
Tests now conform to strict real value type checking (e.g. xsd:integer
uses BigInteger values, not Integer).
Supported type info in ExtUtils is better encapsulated (still static).
Commit: dbf5398e468f4bdb28a776907d58f842c22e8c69
https://github.com/Evolveum/midpoint/commit/dbf5398e468f4bdb28a776907d58f842c22e8c69
Author: Richard Richter <richard.richter at evolveum.com>
Date: 2021-08-25 (Wed, 25 Aug 2021)
Changed paths:
M repo/repo-sqale/sql/pgnew-repo-audit.sql
M repo/repo-sqale/sql/pgnew-repo.sql
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/SqaleRepositoryService.java
A repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/audit/SqaleAuditService.java
A repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/audit/qmodel/MAuditDelta.java
A repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/audit/qmodel/MAuditEventRecord.java
A repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/audit/qmodel/MAuditRefValue.java
A repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/audit/qmodel/QAuditDelta.java
A repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/audit/qmodel/QAuditDeltaMapping.java
A repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/audit/qmodel/QAuditEventRecord.java
A repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/audit/qmodel/QAuditEventRecordMapping.java
A repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/audit/qmodel/QAuditRefValue.java
A repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/audit/qmodel/QAuditRefValueMapping.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/accesscert/QAccessCertificationCaseMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/object/QObjectMapping.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/audit/mapping/QAuditEventRecordMapping.java
M repo/repo-sqlbase/src/main/java/com/evolveum/midpoint/repo/sqlbase/RepositoryObjectParseResult.java
Log Message:
-----------
first rough skeleton of SqaleAuditService, barely compilable
Commit: 3a0b1e7cf6bc91d0e0812656cdb7c875094b8f92
https://github.com/Evolveum/midpoint/commit/3a0b1e7cf6bc91d0e0812656cdb7c875094b8f92
Author: lskublik <lskublik at evolveum.com>
Date: 2021-08-26 (Thu, 26 Aug 2021)
Changed paths:
M model/report-impl/src/main/java/com/evolveum/midpoint/report/impl/ReportFunctions.java
Log Message:
-----------
removing usage AuditService.listRecords in ReportFunctions
Commit: 8be738dc5c29d5b14e42638f2e4cc0c5ad422e57
https://github.com/Evolveum/midpoint/commit/8be738dc5c29d5b14e42638f2e4cc0c5ad422e57
Author: lskublik <lskublik at evolveum.com>
Date: 2021-08-26 (Thu, 26 Aug 2021)
Changed paths:
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/PageAdminFocus.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/self/PageAssignmentsList.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ObjectClassComplexTypeDefinition.java
M infra/schema/src/main/java/com/evolveum/midpoint/schema/processor/ResourceAttributeContainer.java
M model/model-api/src/main/java/com/evolveum/midpoint/model/api/context/EvaluatedAssignment.java
M model/model-api/src/main/java/com/evolveum/midpoint/model/api/context/EvaluatedExclusionTrigger.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/LensFocusContext.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/AssignmentPathSegmentImpl.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/assignments/EvaluatedAssignmentImpl.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/assignments/PathSegmentEvaluation.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/assignments/TargetAssignmentEvaluation.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/assignments/Util.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/executor/DeltaExecution.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/executor/FocusChangeExecution.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/ContextLoader.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/focus/AssignmentTripleEvaluator.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/FocusActivationProcessor.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/MappingSetEvaluation.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/PruningOperation.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/TargetObjectSpecification.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/PolicyRuleProcessor.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/PolicyStateRecorder.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/evaluators/AssignmentModificationConstraintEvaluator.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/evaluators/ConstraintEvaluatorHelper.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/evaluators/MultiplicityConstraintEvaluator.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/rbac/TestRbac.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/security/TestSecurityPrincipal.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/tasks/TestThresholds.java
M model/model-intest/src/test/resources/rbac/role-undeletable.xml
M model/model-intest/testng-integration-sqale.xml
M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/policy/AssignmentPolicyAspectPart.java
M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/policy/PolicyRuleBasedAspect.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/GetHelper.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/errors/ObjectNotFoundHandler.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/manager/ShadowDeltaComputer.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/manager/ShadowManager.java
M provisioning/provisioning-impl/src/main/java/com/evolveum/midpoint/provisioning/impl/shadows/manager/ShadowUpdater.java
M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/AbstractBasicDummyTest.java
M provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyCaching.java
A provisioning/provisioning-impl/src/test/java/com/evolveum/midpoint/provisioning/impl/dummy/TestDummyCachingIndexOnly.java
A provisioning/provisioning-impl/src/test/resources/dummy/dummy-caching/resource-dummy-index-only.xml
M provisioning/provisioning-impl/testng-integration.xml
M repo/repo-sqale/sql/pgnew-repo-audit.sql
M repo/repo-sqale/sql/pgnew-repo.sql
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/ExtUtils.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/ExtensionProcessor.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/SqaleRepositoryService.java
A repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/audit/SqaleAuditService.java
A repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/audit/qmodel/MAuditDelta.java
A repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/audit/qmodel/MAuditEventRecord.java
A repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/audit/qmodel/MAuditRefValue.java
A repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/audit/qmodel/QAuditDelta.java
A repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/audit/qmodel/QAuditDeltaMapping.java
A repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/audit/qmodel/QAuditEventRecord.java
A repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/audit/qmodel/QAuditEventRecordMapping.java
A repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/audit/qmodel/QAuditRefValue.java
A repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/audit/qmodel/QAuditRefValueMapping.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/accesscert/QAccessCertificationCaseMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/ext/MExtItem.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/object/QObjectMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/shadow/QShadowMapping.java
M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/SqaleRepoAddDeleteObjectTest.java
M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/SqaleRepoSearchTest.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/audit/mapping/QAuditEventRecordMapping.java
M repo/repo-sqlbase/src/main/java/com/evolveum/midpoint/repo/sqlbase/RepositoryObjectParseResult.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/AbstractIntegrationTest.java
Log Message:
-----------
Merge remote-tracking branch 'refs/remotes/origin/master'
Commit: ad3c56293a83be5e2ce2a871f6a5a7b15a7b00eb
https://github.com/Evolveum/midpoint/commit/ad3c56293a83be5e2ce2a871f6a5a7b15a7b00eb
Author: lskublik <lskublik at evolveum.com>
Date: 2021-08-26 (Thu, 26 Aug 2021)
Changed paths:
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/DashboardServiceImpl.java
Log Message:
-----------
removing usage AuditService.countObjects(String, ...) in DashboardServiceImpl
Commit: 4b763b4a1743567e41b3553cd9941166ed046bd5
https://github.com/Evolveum/midpoint/commit/4b763b4a1743567e41b3553cd9941166ed046bd5
Author: Richard Richter <richard.richter at evolveum.com>
Date: 2021-08-26 (Thu, 26 Aug 2021)
Changed paths:
M repo/audit-api/src/main/java/com/evolveum/midpoint/audit/api/AuditService.java
M repo/audit-log-impl/src/main/java/com/evolveum/midpoint/audit/impl/LoggerAuditServiceImpl.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/audit/SqaleAuditService.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/SqlAuditServiceImpl.java
R repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/SelectQueryBuilder.java
R repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/SingleSqlQuery.java
R repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/SqlQuery.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/DummyAuditService.java
M repo/system-init/src/main/java/com/evolveum/midpoint/init/AuditServiceProxy.java
Log Message:
-----------
AuditService: final removal of listRecords/countObjects(SQL)
Commit: 26912cc9ae42c75e239eab93b35c76735fa40ad2
https://github.com/Evolveum/midpoint/commit/26912cc9ae42c75e239eab93b35c76735fa40ad2
Author: Pavol Mederly <mederly at evolveum.com>
Date: 2021-08-26 (Thu, 26 Aug 2021)
Changed paths:
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/DashboardServiceImpl.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/security/TestSecurityPrincipal.java
M model/model-intest/testng-integration-sqale.xml
M model/report-impl/src/main/java/com/evolveum/midpoint/report/impl/ReportFunctions.java
M repo/audit-api/src/main/java/com/evolveum/midpoint/audit/api/AuditService.java
M repo/audit-log-impl/src/main/java/com/evolveum/midpoint/audit/impl/LoggerAuditServiceImpl.java
M repo/repo-sqale/sql/pgnew-repo-audit.sql
M repo/repo-sqale/sql/pgnew-repo.sql
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/ExtUtils.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/ExtensionProcessor.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/SqaleRepositoryService.java
A repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/audit/SqaleAuditService.java
A repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/audit/qmodel/MAuditDelta.java
A repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/audit/qmodel/MAuditEventRecord.java
A repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/audit/qmodel/MAuditRefValue.java
A repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/audit/qmodel/QAuditDelta.java
A repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/audit/qmodel/QAuditDeltaMapping.java
A repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/audit/qmodel/QAuditEventRecord.java
A repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/audit/qmodel/QAuditEventRecordMapping.java
A repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/audit/qmodel/QAuditRefValue.java
A repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/audit/qmodel/QAuditRefValueMapping.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/accesscert/QAccessCertificationCaseMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/ext/MExtItem.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/object/QObjectMapping.java
M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/shadow/QShadowMapping.java
M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/SqaleRepoAddDeleteObjectTest.java
M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/SqaleRepoSearchTest.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/audit/mapping/QAuditEventRecordMapping.java
R repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/SelectQueryBuilder.java
R repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/SingleSqlQuery.java
R repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/SqlQuery.java
M repo/repo-sqlbase/src/main/java/com/evolveum/midpoint/repo/sqlbase/RepositoryObjectParseResult.java
M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/DummyAuditService.java
M repo/system-init/src/main/java/com/evolveum/midpoint/init/AuditServiceProxy.java
Log Message:
-----------
Merge branch 'master' into feature/thresholds
Compare: https://github.com/Evolveum/midpoint/compare/1e9d19bb1277...26912cc9ae42
More information about the midPoint-svn
mailing list