Developer guide

Trace an adviser search

When someone enters a name, which component handles it, where do the records come from, and what reaches the screen?

Legacy Indigo

Observed in QA

In the Contacts workspace, a user searched the active intermediary list and opened records from the list.

  1. ContactsList view
  2. Quick FindName input
  3. Search resultsCandidate list
The list gives the user candidate records to inspect.
Contacts
Active Intermediaries supplied the starting set. The visible columns included full name, owning team and sales code.
Quick Find
A surname returned candidates in one QA run. The full name with punctuation returned no rows in that same example.
Search results
The screen returned matching rows. A linked name opened a contact record where the user could inspect more fields.

Evidence boundaryThe walkthrough shows the search control and the returned rows. Its internal handler, matching rules and physical data source still need verification.

InteGreat

Target design

The target adviser search separates the portal that asks the question from the service that supplies published profiles.

  1. InteGreatPortal
  2. UMSRequest adapter
  3. OM APISearch service
  4. EDRPublished profiles
Published profile fields return through OM API and UMS to the portal’s list or detail view.
InteGreat
The portal sends the name and filters. Selecting a candidate leads to a separate detail request using that person’s identifier.
UMS
UMS receives the portal request. Its adapter maps identifiers and fields between the portal and the OM service contract.
OM API
The adviser search operation supplies candidates. A separate profile operation supplies the fields for the selected person.
EDR
The Enterprise Data Repository provides the published adviser data in the target design. An upstream change becomes visible after publication.

Evidence boundaryThe portal and adapter calls are documented. The active integration route and the physical EDR reads for an individual request still need a runtime trace.

Indigo Lab

Implemented here

In the signed-in exercise, a name such as Jordan Lee can match two synthetic advisers. A team filter and employee number identify the intended record.

  1. Astro + ReactBrowser
  2. NginxSite entry
  3. FlaskFilter and paginate
  4. Synthetic recordsIn memory
React renders the returned JSON as candidate rows. Selecting a row requests its detail and displays the employee number.
Astro + React
Astro supplies the page. React reads the name, team and page selection, then requests /api/advisers from the same site.
Nginx
Nginx serves static pages and forwards API requests to the application. Directory and practice views require a signed-in session.
Flask
Flask checks the session, matches the search text without case sensitivity, filters by team and returns one page of candidates with a total.
Synthetic records
A generator builds 30 fictional advisers in four teams at startup. The service searches that collection and retrieves a selected record by ID.

Data ownershipThe exercise uses synthetic records throughout. SQLite stores authentication state. Adviser searches read the in-memory collection.

This workspace uses fictional advisers and sample records.