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

Create routers for period (non-lei checking) and institutions (lei checking) #105

Open
jcadam14 opened this issue Mar 13, 2024 · 0 comments

Comments

@jcadam14
Copy link
Contributor

jcadam14 commented Mar 13, 2024

Create a new Router in the regtech-api-commons repo that creates a router wrapper that has a dependency of verifying the user and lei association (see #102 ). So write a new story in that repo to create that. That way it other services need to do the same verification, they can all pull from the same Router.

Update the filing-api so that the /periods endpoint (and any future endpoints that don't need to check the user to lei association) use the non-checking router wrapper, and those that do (all the /institutions routes) use the new lei checker router.

This may be post-MVP, unless we have a little time to move things around, or see that we could benefit early from this change.

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