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

swatch-contracts ingestion fails on initial contract messages

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 2023-05-30 - API
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      The partner gateway's initial messages contain subscriptionNumber or the dimensions, but not both at the same time. Contract ingestion should handle this by enriching the missing information from the Partner Gateway APIs before attempted validation.

      Namely, ContractService.collectMissingUpStreamContractDetails should be called before ContractService.validPartnerEntitlementContract. Note that because collectMissingUpstreamContractDetails operates on ContractEntity, while validPartnerEntitlementContract operates on PartnerEntitlementContract, that needs to be reconciled (validPartnerEntitlementContract should be refactored to validate a ContractEntity instead).

       

      QE Notes: Should be testable in the integration testing. Messages are currently different than what was initially expected.

              karshah@redhat.com Kartik Shah
              khowell@redhat.com Kevin Howell
              Ryan Himmelwright Ryan Himmelwright
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: