Uploaded image for project: 'CFA MX '
  1. CFA MX
  2. CFAMX-22634

Signal Integration -> Transfers -> Create Transfer API

    Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Links:
      Hide

      Story

      As a developer, I would like to expose an API so that a transfer can be created outside of inform.

      Description

      the APIs will be created in ~\inform\Mobile\Mx.API solution

      For this story lets disable the Authentication. So that it will be easy to QA.  

      We will try to get a little data as possible from Signal side. That means we will have to do lot of property mappings so Redis caching would play an important role for the static data.

      Here is the sample request json:
      {
      "Items": [

      { "ItemCode": "3581", "TransferUnit1": "36 Lb Case", "TransferUnit2": "6 Lb Bag", "TransferUnit3": "Pound", "TransferUnit4": "", // optional "InventoryUnitCost": 3.0633, "TransferQty1": "5", "TransferQty2": "4", "TransferQty3": "3" "TransferQty4": "0"}

      optional

      ],

          "SendingStoreNumber": “00440”,

          "ReceivingStoreNumber ":”00442”,

      }

       

      Once the transfer is created we will return transfer id. 

      When implementing we shall try to reuse the same service layer. 

       

      AC

      1. Confirm that the transfer is created same way it is created from inform. 
      2. Confirm that the newly created transfer id is returned.
      3. Confirm that the following properties are required and valid: ItemCode, TransferUnit1, TransferUnit2, TransferUnit3, InventoryUnitCost > 0, ToStoreNumber, FromStoreNumber
      4. Confirm that all static data should be cached in Redis
      5. Confirm that  Created By field is populated with "Mx.Api" (or a better name, something # that indicates the transfer is created  outside of inform)
      6. Confirm that the failure is logged as an error in the audit table 
      7. Confirm that API returns exception details

       

      Show
      Story As a developer, I would like to expose an API so that a transfer can be created outside of inform. Description the APIs will be created in ~\inform\Mobile\Mx.API solution For this story lets disable the Authentication. So that it will be easy to QA.   We will try to get a little data as possible from Signal side. That means we will have to do lot of property mappings so Redis caching would play an important role for the static data. Here is the sample request json: { "Items": [ { "ItemCode": "3581", "TransferUnit1": "36 Lb Case", "TransferUnit2": "6 Lb Bag", "TransferUnit3": "Pound", "TransferUnit4": "", // optional "InventoryUnitCost": 3.0633, "TransferQty1": "5", "TransferQty2": "4", "TransferQty3": "3" "TransferQty4": "0"} optional ],     "SendingStoreNumber": “00440”,     "ReceivingStoreNumber ":”00442”, }   Once the transfer is created we will return transfer id.  When implementing we shall try to reuse the same service layer.    AC Confirm that the transfer is created same way it is created from inform.  Confirm that the newly created transfer id is returned. Confirm that the following properties are required and valid: ItemCode, TransferUnit1, TransferUnit2, TransferUnit3, InventoryUnitCost > 0, ToStoreNumber, FromStoreNumber Confirm that all static data should be cached in Redis Confirm that  Created By field is populated with "Mx.Api" (or a better name, something # that indicates the transfer is created  outside of inform) Confirm that the failure is logged as an error in the audit table  Confirm that API returns exception details  
    • Sprint:
      2023.R2 Signal Int. Sprint 5
    • SCRUM Team:
      Globogym Purple Cobras
    • Story Points:
      5
    • Work Type Classification:
      Sustaining

      Description

      Signal Integration -> Transfers -> Create Transfer API

        Attachments

          Issue Links

          There are no Sub-Tasks for this issue.

            Activity

              People

              • Assignee:
                caner.saritac Caner Saritac
                Reporter:
                caner.saritac Caner Saritac
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 41h Original Estimate - 41h
                  41h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 43h 32m
                  43h 32m

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.