Uploaded image for project: 'Subscription Watch'
  1. Subscription Watch
  2. SWATCH-4563

Add Nightly Contracts Sync Cron Job (IT Partner Gateway Integration)

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • swatch-contracts
    • None

      PO Note: Co-sharing opportunity between a dev and tester.

      This task is dependent on SWATCH-4560

      • Implement a nightly cron job to sync contracts with IT Partner Gateway.
      • Leverage the existing syncAllContracts API for execution.
      • Align with existing nightly sync jobs for subscriptions and offerings.
      • Eliminate the need for manual org-level syncs when upstream issues occur.
      • Configure schedule (timing to be finalized by the team).
      • Add logging and monitoring for execution status and failures.

      Dev AC:

      • A scheduled nightly cron job is created and deployed.
      • The job invokes the syncAllContracts API successfully.
      • Contracts are synchronized with IT Partner Gateway without manual intervention.
      • Job execution is logged (start, completion, failures).
      • Schedule timing is documented and configurable.
      • No regression impact to existing subscription or offering sync jobs and tests should all work fine.

      QE AC: 

      • Failures are visible via logs/alerts for troubleshooting.
      • Integration and implementation of test plan

              Unassigned Unassigned
              karshah@redhat.com Kartik Shah
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: