Uploaded image for project: 'mod-invoice-storage'
  1. mod-invoice-storage
  2. MODINVOSTO-4

Implement Basic CRUD APIs for invoice-lines

    XMLWordPrintable

Details

    • ACQ Sprint 60
    • 2
    • Thunderjet

    Description

      Overview:
      Once the APIs have been defined and RMB is generating stub code, the APIs need to be implemented. This story specifically pertains to the implementation of the invoice-lines API.

      • POST /invoice-storage/invoice-lines
      • GET /invoice-storage/invoice-lines
      • GET /invoice-storage/invoice-lines/<id>
      • PUT /invoice-storage/invoice-lines/<id>
      • DELETE /invoices-storage/invoice-lines/<id>

      See the API Listing for details: https://docs.google.com/spreadsheets/d/1se-a2owRfHLG5eaAZglx4vLvRClCKGp2wZCfD39ZJRY/edit#gid=894044560

      Approach:

      • Use of PgUtil is encouraged to help with simplicity and maintainability
      • Base classes should be used when appropriate to reduce the amount of boilerplate/duplicate code (applies to tests as well)

      Acceptance Criteria:

      • The 5 APIs are implemented
      • Unit test coverage is at 80% or higher

      TestRail: Results

        Attachments

          1. 1-IL_POST.png
            1-IL_POST.png
            107 kB
          2. 2-IL_PUT.png
            2-IL_PUT.png
            66 kB
          3. 3-IL_GET_BY_ID.png
            3-IL_GET_BY_ID.png
            108 kB
          4. 4-IL_GET_ALL.png
            4-IL_GET_ALL.png
            104 kB
          5. 5-IL_DELETE.png
            5-IL_DELETE.png
            66 kB
          6. 6-IL_GET_ALL_AFTER_DELETE.png
            6-IL_GET_ALL_AFTER_DELETE.png
            67 kB

          Issue Links

            Activity

              People

                cmcnally Craig McNally
                cmcnally Craig McNally
                Craig McNally Craig McNally
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases