Details
-
Story
-
Status: Closed (View Workflow)
-
P3
-
Resolution: Done
-
None
-
None
-
-
ACQ Sprint 76, ACQ Sprint 77, ACQ Sprint 78
-
2
-
Thunderjet
Description
Overview
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
Scope
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.
Approach
The wiki provides a description of this endpoint and has been updated to incorporate the new GroupFiscalYearSummary schema.
Acceptance Criteria
- The API is implemented as described on the wiki
- unit tests are updated
- API tests are updated
TestRail: Results
Attachments
Issue Links
- blocks
-
UIF-107 Add funds to a Group and calculate the summaries
-
- Closed
-
- is blocked by
-
MODFISTO-48 Adjustments to allow listing budgets by group/fiscalYear/ledger
-
- Closed
-
-
MODFISTO-50 GroupFiscalYearSummary Schema
-
- Closed
-
- is cloned by
-
MODFIN-75 Implement the GET /finance/ledgers/<id>/groups API
-
- Closed
-
-
MODFIN-102 GET /finance/group-fiscal-year-summaries pagination bug
-
- Closed
-
- relates to
-
UXPROD-1851 Addition of Group records to finance app
-
- Closed
-