-
Notifications
You must be signed in to change notification settings - Fork 5
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
Feature/#49 node factories with common configs #62
Feature/#49 node factories with common configs #62
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that we can modify the structure of exceptions, make it simpler, also apply changes in other PRs because they have a lot of in common, moreover we can discuss names of this exceptions to be as much descriptive as they could be
handler/core/src/main/java/io/knotx/fragments/task/factory/DefaultTaskFactory.java
Outdated
Show resolved
Hide resolved
handler/core/src/test/java/io/knotx/fragments/handler/FragmentsHandlerTest.java
Show resolved
Hide resolved
handler/core/src/main/java/io/knotx/fragments/handler/FragmentsHandler.java
Outdated
Show resolved
Hide resolved
handler/core/src/main/java/io/knotx/fragments/handler/FragmentsHandler.java
Outdated
Show resolved
Hide resolved
handler/core/src/main/java/io/knotx/fragments/handler/FragmentsHandler.java
Outdated
Show resolved
Hide resolved
handler/core/src/main/java/io/knotx/fragments/task/exception/NodeFactoryNotFoundException.java
Outdated
Show resolved
Hide resolved
handler/core/src/main/java/io/knotx/fragments/task/factory/TaskOptions.java
Outdated
Show resolved
Hide resolved
handler/core/src/main/java/io/knotx/fragments/task/factory/node/NodeFactory.java
Show resolved
Hide resolved
handler/core/src/main/java/io/knotx/fragments/task/factory/node/NodeFactoryOptions.java
Show resolved
Hide resolved
...er/core/src/main/java/io/knotx/fragments/task/factory/node/subtasks/SubtasksNodeFactory.java
Outdated
Show resolved
Hide resolved
import java.util.function.Consumer; | ||
import org.junit.jupiter.api.Assertions; | ||
|
||
public class HoconLoader { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider moving to knotx-junit5
.
Co-Authored-By: Maciej Laskowski <[email protected]>
Co-Authored-By: Maciej Laskowski <[email protected]>
…ub.com:Knotx/knotx-fragments into feature/#49-node-factories-with-common-configs
It introduces task & graph node factories. It is connected with issue #49.
Motivation and Context
The task & node factories allow customizing fragments' processing according to the project's needs. From now tasks' definitions can be loaded outside Knot.x. Moreover, we can add the custom node factory defining node options more dynamically.
Upgrade notes (if appropriate)
Described in Knotx/knotx-stack#62.
Types of changes
Checklist:
I hereby agree to the terms of the Knot.x Contributor License Agreement.