Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(engine): migrate sub-process processor #4590

Merged
merged 1 commit into from
May 26, 2020

Conversation

saig0
Copy link
Member

@saig0 saig0 commented May 25, 2020

Description

  • migrate sub-process processor
  • fix termination of an embedded sub-process with a waiting token on a joining parallel gateway
  • clean up tests for embedded sub-process

Related issues

closes #4474
closes #4400
closes #4352

Pull Request Checklist

  • All commit messages match our commit message guidelines
  • The submitting code follows our code style
  • If submitting code, please run mvn clean install -DskipTests locally before committing

Copy link
Member

@korthout korthout left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but just a reminder for a todo you left earlier

@@ -56,37 +147,4 @@ public void onChildTerminated(
eventSubscriptionBehavior.publishTriggeredEventSubProcess(flowScopeContext);
}
}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you don't mean to forget the todo on line 129, so here's a reminder :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I removed the TODO and added a comment on the state issue :)

zeebe-bors bot added a commit that referenced this pull request May 26, 2020
4591: [Backport] Interrupt Sub-Process with parallel gateway r=saig0 a=saig0

## Description

* publish only deferred boundary events when the sub-process is terminated to avoid that other events are published (e.g. a taken sequence flow on a joining parallel gateway)

## Related issues

Backport of #4590

#

Co-authored-by: Philipp Ossler <philipp.ossler@gmail.com>
zeebe-bors bot added a commit that referenced this pull request May 26, 2020
4592: [Backport] Interrupt Sub-Process with parallel gateway r=saig0 a=saig0

## Description

* publish only deferred boundary events when the sub-process is terminated to avoid that other events are published (e.g. a taken sequence flow on a joining parallel gateway)

## Related issues

Backport of #4590

#

Co-authored-by: Philipp Ossler <philipp.ossler@gmail.com>
* fix termination of an embedded sub-process with a waiting token on a joining parallel gateway
* clean up tests for embedded sub-process
@saig0 saig0 force-pushed the 4474-migrate-sub-process branch from 13e28de to 7de4c75 Compare May 26, 2020 07:19
@saig0
Copy link
Member Author

saig0 commented May 26, 2020

bors r+

zeebe-bors bot added a commit that referenced this pull request May 26, 2020
4590: chore(engine): migrate sub-process processor r=saig0 a=saig0

# Description

* migrate sub-process processor
* fix termination of an embedded sub-process with a waiting token on a joining parallel gateway
* clean up tests for embedded sub-process

## Related issues

closes #4474 
closes #4400 
closes #4352

#

Co-authored-by: Philipp Ossler <philipp.ossler@gmail.com>
@zeebe-bors
Copy link
Contributor

zeebe-bors bot commented May 26, 2020

Build failed

@saig0
Copy link
Member Author

saig0 commented May 26, 2020

bors retry

zeebe-bors bot added a commit that referenced this pull request May 26, 2020
4590: chore(engine): migrate sub-process processor r=saig0 a=saig0

# Description

* migrate sub-process processor
* fix termination of an embedded sub-process with a waiting token on a joining parallel gateway
* clean up tests for embedded sub-process

## Related issues

closes #4474 
closes #4400 
closes #4352

#

Co-authored-by: Philipp Ossler <philipp.ossler@gmail.com>
@zeebe-bors
Copy link
Contributor

zeebe-bors bot commented May 26, 2020

Build failed

@saig0
Copy link
Member Author

saig0 commented May 26, 2020

bors r+

zeebe-bors bot added a commit that referenced this pull request May 26, 2020
4590: chore(engine): migrate sub-process processor r=saig0 a=saig0

# Description

* migrate sub-process processor
* fix termination of an embedded sub-process with a waiting token on a joining parallel gateway
* clean up tests for embedded sub-process

## Related issues

closes #4474 
closes #4400 
closes #4352

#

Co-authored-by: Philipp Ossler <philipp.ossler@gmail.com>
@zeebe-bors
Copy link
Contributor

zeebe-bors bot commented May 26, 2020

Build failed

@saig0
Copy link
Member Author

saig0 commented May 26, 2020

bors r+

..please 💰

@zeebe-bors
Copy link
Contributor

zeebe-bors bot commented May 26, 2020

Build succeeded

@zeebe-bors zeebe-bors bot merged commit d2e92a6 into develop May 26, 2020
@zeebe-bors zeebe-bors bot deleted the 4474-migrate-sub-process branch May 26, 2020 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants