Skip to content

Affiliation Search : Send Status for filings to Auth Api #29841

Closed

Description

@Rajandeep98

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.

Activity

  1. added
    Entities Team
    on Jul 30, 2025
  2. severinbeauvais commented on Jul 30, 2025

    @severinbeauvais
    Collaborator

    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?

  3. severinbeauvais commented on Jul 31, 2025

    @severinbeauvais
    Collaborator

    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

  4. seeker25 commented on Jul 31, 2025

    @seeker25
    Contributor

    Why not just remove the filing on the auth side? Why add more information to auth-api?

  5. severinbeauvais commented on Jul 31, 2025

    @severinbeauvais
    Collaborator

    I think that users need to retain the ability to "filter in" withdrawn filings (bootstrap businesses).

  6. seeker25 commented on Jul 31, 2025

    @seeker25
    Contributor

    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

  7. severinbeauvais commented on Jul 31, 2025

    @severinbeauvais
    Collaborator

    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...

  8. JohnamLane commented on Jul 31, 2025

    @JohnamLane
    Collaborator

    My opinion is it's better to move affiliations to LEAR than to expend much effort on current state.

  9. added
    connect
    on Oct 20, 2025
  10. thorwolpert commented on Jul 27, 2026

    @thorwolpert
    Collaborator

    stale - new issue can be opened if needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Entities Teamconnect

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions