Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.01
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Sprint 13, Sprint 14, Sprint 15, Sprint 1 - Matunuck

      Description

      12/14: AML does not support pausing individual campaigns, but you can submit a ticket to pause the entire order (all the campaigns).

      Script to pause (cancel) an order. This script is also found on github in saas/system/scripts

      Must provide:

      ah : the API Host - for example, dev would be http://tsa-chef-qa1:8080/sapi/rest/
      ru : realm username, the username/email for a user in the realm that has api-any permissions (aka anybody)
      uuid : the uuid for the order

      To run:

      groovy pause-order.groovy -ah <API Host> -uuid <order uuid> -ru <a username/email in the realm>

      Ticket must include: the order uuid and the email/username of the person submitting it (must be in the realm). When making changes within a realm, elastic search requires a realm specific token. Since all users have api-any permissions, the script can just impersonate the person submitting the ticket (instead of going out and getting the merchant email).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                stacie.waleyko Stacie Waleyko (Inactive)
                Reporter:
                stacie.waleyko Stacie Waleyko (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: