Skip to content

[BI-2903] Support for program_id in germplasm table - #23

Open
jloux-brapi wants to merge 2 commits into
feature/BI-2996from
feature/BI-2903
Open

[BI-2903] Support for program_id in germplasm table#23
jloux-brapi wants to merge 2 commits into
feature/BI-2996from
feature/BI-2903

Conversation

@jloux-brapi

@jloux-brapi jloux-brapi commented Aug 11, 2026

Copy link
Copy Markdown

Description

Story: BI-2903

  • Created a migration script to add program_id column to the germplasm along with a foreign constraint and index to support BI's need to lookup germplasm by program id directly.
  • Entity/model support for the new table schema
  • Updated germplasm GET to support lookups by programDbId and programName, and to look them up utilizing the new column
  • Updated germplasm POST search to support looking up programDbId and programNames utilizing new column
  • Updated germplasm PUT update code to support updating a germplasm with supplied programDbId
  • Updated germplasm POST create to supporting creating a germplasm with supplied programDbId

Dependencies

brapi

Testing

  • Verify happy and unhappy paths for germplasm GET with params programDbId and programName
  • Verify happy and unhappy paths for germplasm POST search with programDbIds and programNames
  • Verify happy and unhappy paths for germplasm PUT update with valid/invalid programDbId present
  • Verify happy and unhappy paths for germplasm POST create with valid/invalid programDbIds present in requested germplasm objects to create

Checklist:

@jloux-brapi jloux-brapi changed the title Feature/bi 2903 [BI-2903] Support for program_id in germplasm table Aug 12, 2026
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.

1 participant