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

feat: Add schema for new DMN records #176

Merged
merged 1 commit into from
May 23, 2022
Merged

feat: Add schema for new DMN records #176

merged 1 commit into from
May 23, 2022

Conversation

andrejpetras
Copy link
Contributor

@andrejpetras andrejpetras commented May 18, 2022

Add schema for new DMN records.

closes #175

@saig0 saig0 self-requested a review May 19, 2022 05:24
Copy link
Contributor

@saig0 saig0 left a comment

Choose a reason for hiding this comment

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

@andrejpetras awesome 🎉 Thank you for your great contribution 🍰

I found two minor issues. I'll fix them and build a new release 🚀

// given
final var recordValue = mockDecisionRecordValue();
final Record<DecisionRecordValue> mockedRecord =
mockRecord(recordValue, ValueType.DECISION, ProcessEventIntent.TRIGGERING);
Copy link
Contributor

Choose a reason for hiding this comment

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

❌ We should use the DecisionIntent instead of the ProcessEventIntent.

// then
assertMetadata(transformedRecord.getMetadata(), "DECISION_EVALUATION", "TRIGGERING");

// List<EvaluatedDecisionValue> getEvaluatedDecisions();
Copy link
Contributor

Choose a reason for hiding this comment

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

🔧 We could remove the comment.

@saig0 saig0 merged commit e5ffed7 into camunda-community-hub:master May 23, 2022
@andrejpetras andrejpetras deleted the 175-dmn-records branch June 7, 2022 08:28
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.

Add schema for new DMN records
2 participants