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

Fully support Process Instance Modification #500

Merged
merged 4 commits into from
Sep 16, 2022

Conversation

remcowesterhoud
Copy link
Contributor

@remcowesterhoud remcowesterhoud commented Sep 15, 2022

Description

This PR adds support for the PI modification command by adding it to the ZPT gateway. Handling the incoming request was already taken care of in #461.
With this PR we now map the Response of the request as well. For modification this is an empty response. It also adds a testcase to verify that modifying a process instance works. This test is not meant as an exhaustive test for the modification logic. What we're interested in is making sure the request is handled properly by the gateway.

Related issues

closes #466

Definition of Done

Not all items need to be done depending on the issue and the pull request.

Code changes:

  • The changes are backwards compatibility with previous versions
  • If it fixes a bug then PRs are created to backport the fix

Testing:

  • There are unit/integration tests that verify all acceptance criterias of the issue
  • New tests are written to ensure backwards compatibility with further versions
  • The behavior is tested manually

Documentation:

  • Javadoc has been written
  • The documentation is updated

@github-actions
Copy link

Test Results

  47 files    47 suites   1m 47s ⏱️
113 tests 113 ✔️ 0 💤 0
362 runs  362 ✔️ 0 💤 0

Results for commit 9966bde.

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.

Nice work @remcowesterhoud

LGTM 👍

This test verifies we can send a process instance modification request and receive a corresponding response.
A process instance modification request returns an empty response. We need to add ouw own mapper for this empty response here.
@remcowesterhoud remcowesterhoud merged commit 53df9de into main Sep 16, 2022
@remcowesterhoud remcowesterhoud deleted the 466_pi_modification branch September 16, 2022 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support the process instance modification command
2 participants