Skip to content

[BI-2823] Remove sub entity level name from level relationships in sub entity dataset creation#509

Merged
jloux-brapi merged 1 commit into
developfrom
bug/BI-2823
Apr 15, 2026
Merged

[BI-2823] Remove sub entity level name from level relationships in sub entity dataset creation#509
jloux-brapi merged 1 commit into
developfrom
bug/BI-2823

Conversation

@davedrp
Copy link
Copy Markdown
Contributor

@davedrp davedrp commented Apr 15, 2026

Description

BI-2823 Remove sub entity level name from level relationships in sub entity dataset creation

CHANGES
The only change is the removal of the sub entity element from the level relationships element.

Dependencies

bi-web: develop

Testing

GIVEN: an experiment with a sub-entity has been created (and thus sent to the BrAPI server)
THEN: Inspect the JSON data sent to and stored in the BrAPI server.

  1. Using an HTTP POST to http://localhost:8083/brapi/v2/search/observationunits
    a. NOTE: here port 8083 was used. Use whatever port the BrAPI server is listening on.
  2. BODY

{
"externalReferenceIds": [
"2f0ae898-697c-464c-95ea-0e918cde117d"
]
}

a. NOTE: here the external Reference 2f0ae898-697c-464c-95ea-0e918cde117d was used. Use a sub-entity ObsUnitID from the experiment.

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

@davedrp davedrp requested a review from jloux-brapi April 15, 2026 13:31
@github-actions github-actions Bot added the bug Something isn't working label Apr 15, 2026
@jloux-brapi jloux-brapi merged commit 9ddc5aa into develop Apr 15, 2026
1 check passed
@jloux-brapi jloux-brapi deleted the bug/BI-2823 branch April 15, 2026 17:53
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.

2 participants