UIF-136 introduces the need to return the number of funds associated with each of the returned fund-types. This is to make adjustments to the API to return that information.
This means adding an optional "count" field to the fund-type schema which is populated by mod-finance. Once the provided query is passed to finance storage to get the list of fund-types, mod-finance needs to make additional calls GET /finance-storage/funds?limit=0&query=fundTypeId==XYZ to get the usage info. These calls can all be made in parallel. The list of fund types is updated before being returned to the user.
See the wiki for details.
- schema and examples are updated
- API is updated
- unit tests are updated
- API tests are updated