Skip to content

Update source and order of profile data fetching in preparation for D9 accounts

In preparation for the D9 migration, a few things need to be updated with regards to the order and source of the aggregated profile data.

A list of items to handle:

  • Point to D9 accounts on staging when available
  • Add full_name to fields retrieved from LDAP, as well as final return object
  • Fetch publisher_agreements, org and org_id data from fdndb-api
    • If user doesn't have EMPLY role with an Eclipse org, use org and org_id from accounts
  • Change order of operations to:
    • Fetch from LDAP first, 404 if not found
    • Fetch from accounts, 404 if not found
    • Fetch remaining info from fdndb-api, if available
Edited by Zachary Sabourin