[midPoint-git] [Evolveum/midpoint] 9c770b: repo-sqale: added QOwnedByMapping#newRowObject(own...

virgo47 noreply at github.com
Tue Apr 27 23:03:17 CEST 2021


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

  Changed paths:
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/mapping/ContainerTableRelationResolver.java
    A repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/QOwnedByMapping.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/SqaleMappingMixin.java
    A repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/TransformerForOwnedBy.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/QAssignmentMapping.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/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/QOperationExecutionMapping.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
    R repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/ref/QOwnedByMapping.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/ref/ReferenceSqlTransformer.java
    R repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/ref/TransformerForOwnedBy.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/update/ContainerTableUpdateContext.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/update/SqaleUpdateContext.java

  Log Message:
  -----------
  repo-sqale: added QOwnedByMapping#newRowObject(ownerRow) + cleanup

ContainerTable*Resolver/Context#mapping typed as QContainerMapping.
Blundering QOwned* classes moved from row subackage up.


  Commit: d6bb7930715cd62fdac41d3877ec9f0a4ed0d199
      https://github.com/Evolveum/midpoint/commit/d6bb7930715cd62fdac41d3877ec9f0a4ed0d199
  Author: Richard Richter <richard.richter at evolveum.com>
  Date:   2021-04-27 (Tue, 27 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/ContainerTableRelationResolver.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/update/ContainerTableUpdateContext.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/update/SqaleUpdateContext.java
    M repo/repo-sqale/src/test/java/com/evolveum/midpoint/repo/sqale/func/SqaleRepoModifyObjectTest.java

  Log Message:
  -----------
  repo-sqale: finished container resolution/reuse, more tests working now

ContainerTableUpdateContext now knows about CID so it does not update
all the containers of one type for the object, but only the right one.
SqaleUpdateContext#getSubcontext was added and contexts are reused
for multiple modifications of the same item sub-path.


Compare: https://github.com/Evolveum/midpoint/compare/3b682970d591...d6bb7930715c


More information about the midPoint-svn mailing list