Uploaded image for project: 'AdMaxLocal'
  1. AdMaxLocal
  2. AML-4022

Budget Accrual status is paused on deployment through API or UI

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Apollo
    • Fix Version/s: Apollo
    • Component/s: API
    • Labels:
      None
    • Environment:

      QA 2

      SAPI : aml-sapi-2.9.0-BETA9.war
      Deployment API : deployment-api-secure-1.0.0-20160201.170440-60.war

    • Sprint:
      Sprint 10

      Description

      Steps:

      1. Create a merchant

      2. Deploy an order through deployment API or UI

      3.Check the status of budget accrual status in the DB

      Actual Result:

      Budget Accrual status in the smb.orders is paused.

      mysql> SELECT budgetAccrualStatus,merchant_id,state FROM smb.orders WHERE orders.merchant_id LIKE '%662014ac-ff61-4a53-8cf4-c67f0d6c0bb5%';
      ------------------------------------------------------------------

      budgetAccrualStatus merchant_id state

      ------------------------------------------------------------------

      PAUSED 662014ac-ff61-4a53-8cf4-c67f0d6c0bb5 PROCESSED

      ------------------------------------------------------------------
      1 row in set (0.00 sec)

      mysql> SELECT * FROM `st-tracker`.admaxCampaignBudgetAccrualStatus WHERE admaxCampaignID IN (SELECT id FROM `st-tracker`.admaxCampaigns WHERE accountID IN (SELECT id FROM tsacommon.accounts WHERE description LIKE '%662014ac-ff61-4a53-8cf4-c67f0d6c0bb5%'));
      ------------------------------------------

      id admaxCampaignID startDate endDate status

      ------------------------------------------

      49 36 2016-02-02 NULL paused

      ------------------------------------------
      1 row in set (0.00 sec)

      Expected :

      Budget Accrual status should be Active on deployment through API or UI

        Attachments

          Activity

            People

            • Assignee:
              atul.sanagar Atul Sanagar (Inactive)
              Reporter:
              atul.sanagar Atul Sanagar (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: