MODFISTO-50 introduces a new schema - groupFySummary. This new schema will be leveraged in a new API that supplants a couple APIs in the original design.
This allows us to run queries like this:
GET /finance/group-fiscal-year-summaries?query=fiscalYear=XYZ and ledgerId=ABC
and behind the scenes the following queries would be made:
GET /finance-storage/budgets?query=fiscalYear=XYZ and ledgerId=ABC
GET /finance-storage/group-fund-fiscal-years?query=fiscalYear=XYZ and ledgerId=ABC
For now just handle the "happy path" - assume that the queries provided can be satisfied by both storage API calls. Edge cases will be handled in separate stories.
The wiki provides a description of this endpoint and has been updated to incorporate the new GroupFiscalYearSummary schema.
- The API is implemented as described on the wiki
- unit tests are updated
- API tests are updated