[midPoint-git] [Evolveum/midpoint] b448fb: repo-sqale: added relation normalization for addOb...

virgo47 noreply at github.com
Wed Aug 11 20:29:39 CEST 2021


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: b448fb53a8b91872427e4654d15384074c351806
      https://github.com/Evolveum/midpoint/commit/b448fb53a8b91872427e4654d15384074c351806
  Author: Richard Richter <richard.richter at evolveum.com>
  Date:   2021-08-11 (Wed, 11 Aug 2021)

  Changed paths:
    M model/model-intest/testng-integration-sqale.xml
    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/update/RootUpdateContext.java
    M repo/repo-sqlbase/src/main/java/com/evolveum/midpoint/repo/sqlbase/SqlRepoContext.java

  Log Message:
  -----------
  repo-sqale: added relation normalization for addObjects

This also fixes audit delta count mismatch in TestIteration.


  Commit: bea915bbc307421c3331f7210c23817912a5606d
      https://github.com/Evolveum/midpoint/commit/bea915bbc307421c3331f7210c23817912a5606d
  Author: Richard Richter <richard.richter at evolveum.com>
  Date:   2021-08-11 (Wed, 11 Aug 2021)

  Changed paths:
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestConnectorDummyFake.java
    M model/model-intest/testng-integration-sqale.xml
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/SqaleUtils.java
    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/delta/item/RefItemDeltaProcessor.java
    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/mapping/SqaleItemRelationResolver.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/mapping/SqaleTableMapping.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/SqaleRepoModifyObjectTest.java

  Log Message:
  -----------
  repo-sqale: fixed default ref type from definition for modify/addObject

Previously only ext refs had this fixed, now it's fixed for all refs.
We don't want null ref target types in repo.


  Commit: b4080492d1d7e704b304d0ade79776269e18a919
      https://github.com/Evolveum/midpoint/commit/b4080492d1d7e704b304d0ade79776269e18a919
  Author: Richard Richter <richard.richter at evolveum.com>
  Date:   2021-08-11 (Wed, 11 Aug 2021)

  Changed paths:
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/delta/item/ExtensionItemDeltaProcessor.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/delta/item/FinalValueDeltaProcessor.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/qmodel/accesscert/QAccessCertificationCaseMapping.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/update/RootUpdateContext.java
    M repo/repo-sqale/src/main/java/com/evolveum/midpoint/repo/sqale/update/SqaleUpdateContext.java

  Log Message:
  -----------
  repo-sqale: update context findItem() changed to findValueOrItem()

Now it can also obtain PCVs by their path and check whether they are
even available when modified which now throws better exception, not NPE.


Compare: https://github.com/Evolveum/midpoint/compare/f7cfcb12fbe2...b4080492d1d7


More information about the midPoint-svn mailing list