[midPoint-git] [Evolveum/midpoint] f65832: Re-use sequence values during approvals
    mederly 
    noreply at github.com
       
    Mon Mar  7 22:27:13 CET 2022
    
    
  
  Branch: refs/heads/support-4.4
  Home:   https://github.com/Evolveum/midpoint
  Commit: f65832ba624fc866a9044711766788d7b965416b
      https://github.com/Evolveum/midpoint/commit/f65832ba624fc866a9044711766788d7b965416b
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2022-03-07 (Mon, 07 Mar 2022)
  Changed paths:
    M infra/schema/src/main/resources/xml/ns/public/common/common-model-context-3.xsd
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensContext.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/LensUtil.java
    M model/workflow-api/src/main/java/com/evolveum/midpoint/wf/util/ApprovalUtils.java
    M model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/AbstractWfTestPolicy.java
    A model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/other/TestSequence.java
    A model/workflow-impl/src/test/resources/sequence/sequence-user-name.xml
    A model/workflow-impl/src/test/resources/sequence/system-configuration.xml
    A model/workflow-impl/src/test/resources/sequence/template-user.xml
    M model/workflow-impl/testng-integration.xml
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/CaseAsserter.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/asserter/SubcasesAsserter.java
  Log Message:
  -----------
  Re-use sequence values during approvals
When a sequence value(s) are used during operation being approved,
they are now stored along with the approval request. After the request
is approved, the same values are applied. Therefore, e.g. for user
creation, the properties of user actually created are the same as
they were in the creation approval request.
This resolves MID-7575.
(cherry picked from commit 921c190799394a63871ca8094a717680002f471d)
  Commit: f7de972273a59b67c4cc710ba3accdb0df5dede1
      https://github.com/Evolveum/midpoint/commit/f7de972273a59b67c4cc710ba3accdb0df5dede1
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2022-03-07 (Mon, 07 Mar 2022)
  Changed paths:
    M model/workflow-api/src/main/java/com/evolveum/midpoint/wf/util/ApprovalUtils.java
    M model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/other/TestSequence.java
  Log Message:
  -----------
  Adapt the code after cherry-picking
This commit adapts the code from 4.5-SNAPSHOT after being
backported to support-4.4 branch.
Related to MID-7575.
Compare: https://github.com/Evolveum/midpoint/compare/a28a88ab5d53...f7de972273a5
    
    
More information about the midPoint-svn
mailing list