Skip to content

Add support for Cosmetology public search#1317

Merged
isabeleliassen merged 36 commits into
csg-org:mainfrom
InspiringApps:feat/update-cosm-public-search
Apr 10, 2026
Merged

Add support for Cosmetology public search#1317
isabeleliassen merged 36 commits into
csg-org:mainfrom
InspiringApps:feat/update-cosm-public-search

Conversation

@landonshumway-ia
Copy link
Copy Markdown
Collaborator

@landonshumway-ia landonshumway-ia commented Mar 27, 2026

Cosmetology has slightly different requirements for public searching given the expected volume of practitioners with similar names. We need to support additional search parameters, such as license number. In order to accommodate these various patterns, we have determined to leverage the OpenSearch Domain to support public search, while keeping the request schema similar in shape to the public search request body used by JCC.

Closes #1295

Summary by CodeRabbit

  • New Features

    • Public license search endpoint added (query by licenseNumber, jurisdiction, givenName, familyName) with opaque cursor pagination and sorting.
  • Updates

    • Public provider responses now include a licenses array; public privilege items simplified (history/adverseActions removed).
    • Request validation and API schemas tightened (licenseNumber filter, pageSize limits) and public response shapes revised.
    • Public query routed to a dedicated search service and given monitoring; index-reset/config options added.
  • Tests

    • Added comprehensive public-search tests; removed legacy public-query tests.

Loading
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

Successfully merging this pull request may close these issues.

cosmetology public search - BE

4 participants