[midPoint-git] [Evolveum/midpoint] bb2a19: Reload lens context if there's a focus change

mederly noreply at github.com
Fri Mar 18 11:38:32 CET 2022


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: bb2a191dc5f7353f2ccebc41e036ab22762f3462
      https://github.com/Evolveum/midpoint/commit/bb2a191dc5f7353f2ccebc41e036ab22762f3462
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2022-03-17 (Thu, 17 Mar 2022)

  Changed paths:
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/executor/FocusChangeExecution.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/ContextLoader.java
    M testing/story/src/test/resources/very-authoritative-source/template-delete-description.xml
    M testing/story/src/test/resources/very-authoritative-source/template-global.xml

  Log Message:
  -----------
  Reload lens context if there's a focus change

If the focus is changed during lens context loading - presumably
because of the discovery process - we will rot the context and re-load
it. This is to avoid continuing with the obsolete data, because that
can lead to inconsistent results, as demonstrated
by TestVeryAuthoritativeSource (and MID-7725).

This resolves MID-7725.


  Commit: 080c22c79f1911545687a1e6d33d57d2c08c9f94
      https://github.com/Evolveum/midpoint/commit/080c22c79f1911545687a1e6d33d57d2c08c9f94
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2022-03-17 (Thu, 17 Mar 2022)

  Changed paths:
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/ContextLoader.java

  Log Message:
  -----------
  Fix the max. # of lens context reload attempts

We don't want to leave the context rotten after too many attempts.

Related to MID-7725.


  Commit: 621aa69bef2479c43ae449cf1642acc7c06b3c58
      https://github.com/Evolveum/midpoint/commit/621aa69bef2479c43ae449cf1642acc7c06b3c58
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2022-03-18 (Fri, 18 Mar 2022)

  Changed paths:
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/TestUnix.java

  Log Message:
  -----------
  Make TestUnix more tolerant

This test checks a timestamp of account created in OpenDJ. However, the
resource rounds the time to whole seconds. For unknown reasons, it looks
like the safety margin of 1000 millis is not enough, so here it is
increased to 1500.


  Commit: 96d8ebc94d1b4b6a35421dd6ae212920af03e668
      https://github.com/Evolveum/midpoint/commit/96d8ebc94d1b4b6a35421dd6ae212920af03e668
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2022-03-18 (Fri, 18 Mar 2022)

  Changed paths:
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/executor/FocusChangeExecution.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/ContextLoader.java
    M testing/story/src/test/resources/very-authoritative-source/template-delete-description.xml
    M testing/story/src/test/resources/very-authoritative-source/template-global.xml

  Log Message:
  -----------
  Merge branch 'tmp/mid-7725'


Compare: https://github.com/Evolveum/midpoint/compare/3ec890c5430d...96d8ebc94d1b


More information about the midPoint-svn mailing list