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

[incubator-kie-issues-1108] Add capability to create node instances (node states) from the nodes #3482

Merged
merged 1 commit into from
Apr 26, 2024

Conversation

elguardian
Copy link
Contributor

@elguardian elguardian commented Apr 23, 2024

@Override
public List<NodeInstanceFactory> provide() {
List<NodeInstanceFactory> nodeInstanceFactoryList = new ArrayList<>();
nodeInstanceFactoryList.add(new DefaultNodeInstanceFactory(RuleSetNode.class, RuleSetNodeInstance::new));
Copy link
Contributor

@fjtirado fjtirado Apr 24, 2024

Choose a reason for hiding this comment

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

@elguardian As we discussed as part of the proposal, I do not think RuleSetNodeInstance should be part of the default factory provider. That way DRL/DMN wont be a dependency of jbpm-flow.
Are we planning to do this split with a follow up Issue/PR? (probably better to do that as part of a follow up, just wondering if we are planning to do so or not)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

the scope of the PR is just adding the mechanism. @fjtirado

@elguardian elguardian requested a review from fjtirado April 25, 2024 10:15
@fjtirado fjtirado merged commit 1b22fbe into apache:main Apr 26, 2024
6 checks passed
@elguardian elguardian deleted the incubator-kie-issues-1108 branch April 29, 2024 07:04
rgdoliveira pushed a commit to rgdoliveira/kogito-runtimes that referenced this pull request May 7, 2024
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 capability to create node instances (node states) from the nodes.
3 participants