[midPoint-git] [Evolveum/midpoint] e7b407: Make repo tests passing

Pavol Mederly mederly at evolveum.com
Wed Jan 31 19:30:30 CET 2018


  Branch: refs/heads/feature/reworking-qnames-and-extension-tables
  Home:   https://github.com/Evolveum/midpoint
  Commit: e7b4073bf04ce4bb5379c12658df1be53023c2de
      https://github.com/Evolveum/midpoint/commit/e7b4073bf04ce4bb5379c12658df1be53023c2de
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2018-01-31 (Wed, 31 Jan 2018)

  Changed paths:
    A repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/DeleteTestSimple.java
    M repo/repo-sql-impl-test/src/test/java/com/evolveum/midpoint/repo/sql/QueryInterpreter2Test.java
    A repo/repo-sql-impl-test/src/test/resources/basic/user0.xml
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/any/RAExtBase.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/any/RAExtBoolean.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/any/RAssignmentExtension.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/container/RAssignment.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/container/RAssignmentReference.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/dictionary/ExtItemDictionary.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/helpers/ObjectUpdater.java

  Log Message:
  -----------
  Make repo tests passing

The implementation is still very fragile/incomplete: provisioning
tests are failing. Moreover, RAssignment-RAssignmentExtension
relation is artificially made 1:N (instead of 1:1); until appropriate
hibernate annotations are found.


  Commit: 80db6c0d44ea9b82cee19605c01e0d7a055f057f
      https://github.com/Evolveum/midpoint/commit/80db6c0d44ea9b82cee19605c01e0d7a055f057f
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2018-01-31 (Wed, 31 Jan 2018)

  Changed paths:
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/any/RAssignmentExtension.java
    M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/container/RAssignment.java

  Log Message:
  -----------
  Revert RAssignment-RAssignmentExtension to 1:1

By defining @JoinColumns on RAssignment.extension we are able
to make insertion as well as deletion operations work. (Previous
approach of using "mappedBy" simply didn't work and required 1:N
relation even if the relation is - in fact - one to one.)


Compare: https://github.com/Evolveum/midpoint/compare/4e1271b036f8...80db6c0d44ea


More information about the midPoint-svn mailing list