Skip to content

[BI-2883] - Add pedigree column to germplasm download files#525

Merged
jloux-brapi merged 9 commits into
developfrom
feature/BI-2883
Jun 22, 2026
Merged

[BI-2883] - Add pedigree column to germplasm download files#525
jloux-brapi merged 9 commits into
developfrom
feature/BI-2883

Conversation

@HMS17

@HMS17 HMS17 commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Description

Story: BI-2883- Add pedigree column to germplasm download files

Added pedigree column to germplasm file columns

Updated BrAPIGermplasmService.java:processListData to include pedigree data in export file

Updated unit tests

Also removed comments and code for processing Breedbase NA pedigrees as this is no longer relevant now that we don't use Breedbase for data

Dependencies

bi-web: develop

Testing

Download germplasm (both all germplasm and a germplasm list)

  • Check that pedigree column exists in file
  • Check that values in pedigree column have display pedigree values shown in germplasm table
  • Check that pedigree values are correct and blank values remain blank

Upload downloaded germplasm file with pedigree column, and new male/female parent info

  • Ensure pedigree in germplasm preview reflects changes from parent gid/entry numbers
  • Finish import and ensure pedigrees were saved correctly

Upload downloaded germplasm file with pedigree column values changed

  • Ensure pedigree column in germplasm preview is not affected by the pedigree column in the import file
  • Ensure upload completes successfully
  • Ensure pedigree was not affected by pedigree import file column values

Upload new germplasm file without pedigree column

  • Ensure germplasm successfully uploads
  • Ensure both germplasm and germplasm lists display properly

Upload new germplasm file with pedigree column

  • Ensure pedigree column in germplasm preview is not affected by the pedigree column in the import file
  • Ensure upload completes successfully
  • Ensure pedigree was not affected by pedigree import file column values

Upload germplasm file with pedigree column in a different location in the file

  • Ensure upload behaves as expected

Checklist:

  • I have performed a self-review of my own code
  • I have tested my code and ensured it meets the acceptance criteria of the story
  • I have create/modified unit and/or integration tests to cover this change or tests are not applicable
  • I have commented my code, particularly in hard-to-understand areas
  • I have either updated the source of truth or arranged for update with product owner if needed https://breedinginsight.atlassian.net/wiki/spaces/BI/pages/1559953409/Source+of+Truth

@HMS17 HMS17 marked this pull request as ready for review June 17, 2026 16:25
@HMS17 HMS17 requested review from a team and jloux-brapi and removed request for a team June 17, 2026 16:25
@jloux-brapi jloux-brapi merged commit b501aeb into develop Jun 22, 2026
2 of 3 checks passed
@jloux-brapi jloux-brapi deleted the feature/BI-2883 branch June 22, 2026 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants