[midPoint-git] [Evolveum/midpoint] e7f4ea: repo-sqale: QObjectTemplateMapping add missing inc...

virgo47 noreply at github.com
Tue Apr 20 20:20:24 CEST 2021


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

  Changed paths:
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/QObjectTemplateMapping.java

  Log Message:
  -----------
  repo-sqale: QObjectTemplateMapping add missing include ref mapping


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

  Changed paths:
    M repo/repo-sqale/sql/pgnew-repo.sql

  Log Message:
  -----------
  repo-sqale: removed PK from abstract m_assignment_type table


  Commit: 14b8515473f4f6616fd1e5ae6e895e59bc95dc97
      https://github.com/Evolveum/midpoint/commit/14b8515473f4f6616fd1e5ae6e895e59bc95dc97
  Author: Richard Richter <richard.richter at evolveum.com>
  Date:   2021-04-20 (Tue, 20 Apr 2021)

  Changed paths:
    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/RefTableItemFilterProcessor.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/ObjectTemplateSqlTransformer.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/SqaleTableMapping.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/SqaleTransformerBase.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/assignment/QAssignmentReference.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/focus/FocusSqlTransformer.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/focus/QFocusMapping.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/ObjectSqlTransformer.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/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/ref/ReferenceSqlTransformer.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/resource/QResourceMapping.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/SqaleRepoAddDeleteObjectTest.java
    M repo/repo-sqlbase/src/main/java/com/evolveum/midpoint/repo/sqlbase/filtering/item/ItemFilterProcessor.java

  Log Message:
  -----------
  repo-sqale: finished assignment ref insertion + test

This required another refactoring and another generics battle:
- Ref mapping is aware of Q-type for the owner now as well.
- Context in filter processors and mapping in transformers was stored
all the way up in the hierarchy, this is not flexible, we will store
it at the level where the type is most specific (this is started, WIP).
- QAssignmentReference constructor now takes table name as it should.
- Ref mapping instances for "abstract" tables are accessed via methods
that fix their parametrized types to conform to the current instance.


  Commit: 17de25a789310414ae24c75056cb75d45b4b593e
      https://github.com/Evolveum/midpoint/commit/17de25a789310414ae24c75056cb75d45b4b593e
  Author: Richard Richter <richard.richter at evolveum.com>
  Date:   2021-04-20 (Tue, 20 Apr 2021)

  Changed paths:
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/SqaleRepoContext.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/SqaleTransformerSupport.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/SqaleUpdateContext.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/UriCache.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/SqaleTransformerBase.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/accesscert/AccessCertificationDefinitionSqlTransformer.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/connector/ConnectorSqlTransformer.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/focus/GenericObjectSqlTransformer.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/object/ObjectSqlTransformer.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/TriggerSqlTransformer.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/ref/ReferenceSqlTransformer.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/report/ReportDataSqlTransformer.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/resource/ResourceSqlTransformer.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/shadow/ShadowSqlTransformer.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/qmodel/task/TaskSqlTransformer.java

  Log Message:
  -----------
  repo-sqale: UriCache uses its own JdbcSession supplier for URI insert

Using provided JdbcSession leads to bugs if the transaction is rolled
back, but the cache thinks the URI is cached already.


Compare: https://github.com/Evolveum/midpoint/compare/e921c5579c20...17de25a78931


More information about the midPoint-svn mailing list