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

Refactoring of WorkItemNodeInstance for extensibility #1461

Merged

Conversation

SimonRinguette
Copy link
Contributor

I have refactored (no logic changed) the WorkItemNodeInstance class to allow redefining the data mapping logic when inheriting from the class. No behavior was changed.

Basically this let us extend the class and customize how we do the data mapping for the inputs/outputs.

Let me know if you have questions!

Thanks

… WorkItemNodeInstance to allow inheriting classes to change the parameter mapping behaviour and removed the unnecessary type casting
@ghost
Copy link

ghost commented Mar 13, 2019

Can one of the admins verify this PR? Comment with 'ok to test' to start the build.

@SimonRinguette
Copy link
Contributor Author

I've added an extra commit to do something similar with the RuleSetNodeInstance

@mswiderski
Copy link
Contributor

ok to test

Copy link
Contributor

@mswiderski mswiderski left a comment

Choose a reason for hiding this comment

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

@MarianMacik any comments?

Copy link
Member

@MarianMacik MarianMacik left a comment

Choose a reason for hiding this comment

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

Looks good.

@mswiderski mswiderski merged commit 442526f into kiegroup:master Mar 21, 2019
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