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

Customize request routing outside Knots #297

Closed
mariuszkubis opened this issue Apr 20, 2017 · 1 comment
Closed

Customize request routing outside Knots #297

mariuszkubis opened this issue Apr 20, 2017 · 1 comment

Comments

@mariuszkubis
Copy link
Contributor

Currently, Knot.X routes every request through Repository Connector and Fragment Splitter ... Fragment Assembler.
In some scenarios, we want to be able to skip this path and define another.
A new structure should be introduced (e.g. called FlowRoute or Atom) which will contain details on how to process the request. Server will decide which requests should be routed through which Atom.

In the current design, a default Atom would wrap the flow from RepositoryConnector to FragmentAssembler.
In the new solution, we will be able to define new Atoms with a custom flow.

Every Atom should define input and output contract.

@tomaszmichalak
Copy link
Member

This task was implemented in: #299.

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

No branches or pull requests

2 participants