Skip to content

BI-1408 - ISSUE - All Germplasm Table stuck loading when connected with Breedbase#154

Merged
timparsons merged 3 commits intorelease/0.5from
bug/BI-1408
Mar 10, 2022
Merged

BI-1408 - ISSUE - All Germplasm Table stuck loading when connected with Breedbase#154
timparsons merged 3 commits intorelease/0.5from
bug/BI-1408

Conversation

@timparsons
Copy link
Member

@timparsons timparsons commented Feb 24, 2022

Description

https://breedinginsight.atlassian.net/browse/BI-1408

Refactored the germplasm cache to store the processed germplasm that bi-api will return instead of the raw germplasm that came from the BrAPI service storing the program's data.

Dependencies

bi-web - release/0.5

Testing

Please include any details needed for reviewers to test this code

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 tests to cover this change
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to documentation
  • I have run TAF: <link to TAF run>

@github-actions github-actions bot added the bug Something isn't working label Feb 24, 2022
@timparsons timparsons requested review from a team, ctucker3 and davedrp and removed request for a team March 8, 2022 13:58
@timparsons timparsons marked this pull request as ready for review March 8, 2022 13:58
Copy link
Contributor

@ctucker3 ctucker3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One small question that doesn't block review.

Tested against BreedBase and it loaded the cache right away after import, even with parents!

<artifactId>mockito-core</artifactId>
<version>3.2.4</version>
<artifactId>mockito-inline</artifactId>
<version>3.10.0</version>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just wanted to check, this was needed for your test changes to the germplasm lists and wasn't an accidental commit?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this dependency allows for using the static mocking built into mockito

Copy link
Contributor

@davedrp davedrp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

passed happy-path test

@timparsons timparsons merged commit e4d1e48 into release/0.5 Mar 10, 2022
@timparsons timparsons deleted the bug/BI-1408 branch March 10, 2022 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants