[midPoint-git] [Evolveum/midpoint] 4b8cc7: repo-sqale: more general SqaleUpdateContext is use...

virgo47 noreply at github.com
Thu Apr 22 15:55:56 CEST 2021


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: 4b8cc7a87316f73078ab48dd8e07c51fc4a96c85
      https://github.com/Evolveum/midpoint/commit/4b8cc7a87316f73078ab48dd8e07c51fc4a96c85
  Author: Richard Richter <richard.richter at evolveum.com>
  Date:   2021-04-22 (Thu, 22 Apr 2021)

  Changed paths:
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/delta/DelegatingItemDeltaProcessor.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/mapping/NestedMappingResolver.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/mapping/SqaleItemRelationResolver.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/mapping/SqaleItemSqlMapper.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/mapping/TableRelationResolver.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/SqaleMappingMixin.java
    M repo/repo-sqlbase/src/main/java/com/evolveum/midpoint/repo/sqlbase/filtering/FilterProcessor.java
    M repo/repo-sqlbase/src/main/java/com/evolveum/midpoint/repo/sqlbase/filtering/ValueFilterProcessor.java
    M repo/repo-sqlbase/src/main/java/com/evolveum/midpoint/repo/sqlbase/mapping/ItemSqlMapper.java

  Log Message:
  -----------
  repo-sqale: more general SqaleUpdateContext is used, not root

RootUpdateContext is used for creation, then the supertype is used.
DelegatingItemDeltaProcessor + ValueFilterProcessor more javadoc.


  Commit: cea64c6975cbb1dcec62ce6b2e3473d547fda868
      https://github.com/Evolveum/midpoint/commit/cea64c6975cbb1dcec62ce6b2e3473d547fda868
  Author: Richard Richter <richard.richter at evolveum.com>
  Date:   2021-04-22 (Thu, 22 Apr 2021)

  Changed paths:
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/mapping/SqaleItemSqlMapper.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/SqaleMappingMixin.java
    M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/SqaleRepoModifyObjectTest.java
    A repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/SqaleRepoSearchObjectTest.java
    M repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/AuditSearchTest.java
    M repo/repo-sqlbase/src/main/java/com/evolveum/midpoint/repo/sqlbase/filtering/ValueFilterProcessor.java
    M repo/repo-sqlbase/src/main/java/com/evolveum/midpoint/repo/sqlbase/filtering/item/DetailTableItemFilterProcessor.java
    M repo/repo-sqlbase/src/main/java/com/evolveum/midpoint/repo/sqlbase/mapping/ItemSqlMapper.java

  Log Message:
  -----------
  repo-sqale: cleaner item mapper without filtering support (only delta)

SqaleItemSqlMapper constructor with parameter only for deltas was added.
Added SqaleRepoSearchObjectTest with first few tests.
If filter processor is not available QueryException is thrown, not NPE
(this is for intentionally missing processors, e.g. for containers that
are not possible to be filtered by as a whole anyway).


  Commit: 2107d0a4788f93d4d51210e029dce78589e898bf
      https://github.com/Evolveum/midpoint/commit/2107d0a4788f93d4d51210e029dce78589e898bf
  Author: Richard Richter <richard.richter at evolveum.com>
  Date:   2021-04-22 (Thu, 22 Apr 2021)

  Changed paths:
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/delta/item/TableContainerDeltaProcessor.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/filtering/InOidFilterProcessor.java
    A repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/QOwnedBy.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/SqaleMappingMixin.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/assignment/AssignmentSqlTransformer.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/assignment/QAssignment.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/assignment/QAssignmentMapping.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/common/QContainer.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/common/QContainerMapping.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/lookuptable/LookupTableRowSqlTransformer.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/lookuptable/QLookupTableRow.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/lookuptable/QLookupTableRowMapping.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/object/ContainerSqlTransformer.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/object/OperationExecutionSqlTransformer.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/object/QOperationExecution.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/object/QTrigger.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/object/QTriggerMapping.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/object/TriggerSqlTransformer.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/ref/QObjectReference.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/ref/QReference.java
    M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/SqaleRepoAddDeleteObjectTest.java

  Log Message:
  -----------
  repo-sqale: introduced QOwnedBy interface, added <OR> to QContainer

We can also delete containers for the right owner... theoretically,
as we can't insert it yet, but we're nearly there.


Compare: https://github.com/Evolveum/midpoint/compare/2db472ec1712...2107d0a4788f


More information about the midPoint-svn mailing list