Skip to content

[BI-1642] Add ability to store additionalInfo for Lists in BreedBase #96

@timparsons

Description

@timparsons

Jira link: https://breedinginsight.atlassian.net/browse/BI-1642

User Story

As a BrAPI user
I want to be able to define additionalInfo values for a List object stored in BreedBase
So that I can include additional contextual information about a list

Techspecs

  1. Create a table in the sgn_people schema named listprop with columns:
    1. listprop_id - auto incrementing integer, PK, not null
    2. list_id - integer, FK to list.list_id
    3. type_id - integer, FK to public.cvterm.cvtermId
    4. value - jsonb
    5. rank - integer, default zero
  2. Create a class in lib/CXGN/List named ListProp.pm
    1. class should be similar to lib/CXGN/Stock/OrderBatch.pm
  3. Update lib/CXGN/BrAPI/v2/List.pm->store to store additionalInfo via the ListProp class when storing a list
  4. Update lib/CXGN/BrAPI/v2/List.pm->search to fetch additionalInfo via the ListProp class when fetching lists

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions