Uploaded image for project: 'mod-finance'
  1. mod-finance
  2. MODFIN-91

Return usage information in fund-type responses

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Open (View Workflow)
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • Template:
    • Story Points:
      2
    • Development Team:
      Thunderjet

      Description

      Overview

      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.

      Acceptance Criteria

      • schema and examples are updated
      • API is updated
      • unit tests are updated
      • API tests are updated

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              cmcnally Craig McNally
              Tester Assignee:
              Craig McNally Craig McNally
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: