On Oracle api, add an endpoint /api/seed-plan-unit/{spuId}
Returns a dto that has data of the SPU entity, plus the SPZ code for this specific SPU
Task 2
On Postgres api, modify the GET /api/seedlots/{seedlotNumber} endpoint so it returns the data object primarySpu that is the same object fetched from the Oracle endpoint in Task 1
Usage
The intended usage is to display the primary spu information
Task 1
On Oracle api, add an endpoint
/api/seed-plan-unit/{spuId}
Returns a dto that has data of the SPU entity, plus the SPZ code for this specific SPUTask 2
On Postgres api, modify the GET
/api/seedlots/{seedlotNumber}
endpoint so it returns the data objectprimarySpu
that is the same object fetched from the Oracle endpoint in Task 1Usage
The intended usage is to display the primary spu information