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

Simplify Handlers by separating registries #6696

Open
sidmore opened this issue Dec 9, 2024 · 0 comments
Open

Simplify Handlers by separating registries #6696

sidmore opened this issue Dec 9, 2024 · 0 comments

Comments

@sidmore
Copy link
Contributor

sidmore commented Dec 9, 2024

Is your feature request related to a problem? Please describe.
while refactoring TPAL because of single registry all handlers are of the type DynamicJSEndpoint and registered there. Not all handlers in TPAL are of the type DynamicJS in an application.

Describe the solution you'd like
CCF should allow to define handlers to be either of type UserEndptRegistry, DynamicJSEndptRegistry, or of the type UserEndpt, DynamicJsEndpt and register it in the OneRegistry or the other option is to expose some routing mechanism in Userspace that app developers could leverage to route specific endpoints to the specific endpt registry.

This design will allow scoping handlers down to the only necessary actions they can do defined by the endpt type.

Describe alternatives you've considered
At this stage their is no other option because CCF does not allow registering multiple registries.

Additional context
Add any other context about the feature request here.

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

1 participant