You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Affiliation Search : Send Status for filings to Auth Api #29841
We should send status of filings to auth api side would be easier to filter out at initial phase of send request, reduces extra computation on lear side.
Currently, the Auth service sends a list of filing IDs (e.g., 1–100) to the Lear service. The Lear service then:
Checks the status of each filing (e.g., withdrawn, regular).
Filters out withdrawn filings on its side.
Returns only the valid/active filings (e.g., 98 of 100), creating a discrepancy between the number of IDs sent and the results returned.
Problem
Data inconsistency from the user’s perspective — they see fewer results than they requested.
Extra overhead on the Lear service to filter filings post-request.
Lack of transparency about why some filings are excluded.
Just move affiliations / affiliation invitations to LEAR and be done with it, we're going in circles here (we originally had LEAR data stored in auth that went out of sync frequently and caused headaches, thus why we moved the search calls to NAMEX/ LEAR, also business specific information isn't AUTH's responsibility)
This is an enhancement ticket in a future epic. I agree we should look at moving the affiliations in that epic. Meanwhile, this ticket might still make sense by itself. Anyway, it's a future problem...
Activity
severinbeauvais commentedon Jul 30, 2025
This is an improvement, right? A future change to improve performance even more? Or is this fixing a bug?
Also, what's the work that needs to be done and how long is it expected to take?
severinbeauvais commentedon Jul 31, 2025
There's been talk about moving the affiliations from Auth API to Legal API in the future. Would this change still make sense then?
Would the current implementation be compatible with a move to Legal API or have we crossed a point of no return?
cc: @seeker25
seeker25 commentedon Jul 31, 2025
Why not just remove the filing on the auth side? Why add more information to auth-api?
severinbeauvais commentedon Jul 31, 2025
I think that users need to retain the ability to "filter in" withdrawn filings (bootstrap businesses).
seeker25 commentedon Jul 31, 2025
Just move affiliations / affiliation invitations to LEAR and be done with it, we're going in circles here (we originally had LEAR data stored in auth that went out of sync frequently and caused headaches, thus why we moved the search calls to NAMEX/ LEAR, also business specific information isn't AUTH's responsibility)
it really wouldn't be hard to do
severinbeauvais commentedon Jul 31, 2025
Yes.
This is an enhancement ticket in a future epic. I agree we should look at moving the affiliations in that epic. Meanwhile, this ticket might still make sense by itself. Anyway, it's a future problem...
JohnamLane commentedon Jul 31, 2025
My opinion is it's better to move affiliations to LEAR than to expend much effort on current state.
thorwolpert commentedon Jul 27, 2026
stale - new issue can be opened if needed