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

Assign the correct version for deployed decisions and DRGs #8174

Closed
Tracked by #8083
saig0 opened this issue Nov 8, 2021 · 0 comments · Fixed by #8648
Closed
Tracked by #8083

Assign the correct version for deployed decisions and DRGs #8174

saig0 opened this issue Nov 8, 2021 · 0 comments · Fixed by #8648
Assignees
Labels
kind/feature Categorizes an issue or PR as a feature, i.e. new behavior scope/broker Marks an issue or PR to appear in the broker section of the changelog

Comments

@saig0
Copy link
Member

saig0 commented Nov 8, 2021

Description

When a DMN is deployed then we need to set the current version of the deployed decision and DRG. The latest version can be determined by the state that stores the deployed decisions and DRGs.

  • extend the state to fetch the latest version of the DMN resource by the ID of the decision/DRG
  • increment the version and update the state if the DMN resource is changed, i.e.:
    • if the checksum is different, or
    • if the resource name is different
  • don't increment the version if the DMN resource is equal with the latest version
  • write the version in the decision record and DRG record
  • reject deployment
    • if multiple decisions have the same decision id
    • if multiple DRGs have the same decision requirements ID

blocked by #8069

@saig0 saig0 added kind/feature Categorizes an issue or PR as a feature, i.e. new behavior scope/broker Marks an issue or PR to appear in the broker section of the changelog labels Nov 8, 2021
@saig0 saig0 added this to the Evaluate DMN decisions milestone Nov 8, 2021
@saig0 saig0 mentioned this issue Nov 8, 2021
43 tasks
@saig0 saig0 added this to Planned in Zeebe Nov 8, 2021
@saig0 saig0 mentioned this issue Jan 7, 2022
9 tasks
@saig0 saig0 self-assigned this Jan 24, 2022
@saig0 saig0 moved this from Planned to In progress in Zeebe Jan 24, 2022
@ghost ghost closed this as completed in 1ab92a6 Jan 27, 2022
Zeebe automation moved this from In progress to Done Jan 27, 2022
@KerstinHebel KerstinHebel removed this from Done in Zeebe Mar 23, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes an issue or PR as a feature, i.e. new behavior scope/broker Marks an issue or PR to appear in the broker section of the changelog
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants