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

partner client expects "redHatSubscriptionNumber" but the field is named "subscriptionNumber"

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      This is causing an exception when attempting to sync an org's contracts with a stack trace like:

       exception: Param was null
         message: 2023-11-332 16:41:51,799 ERROR [com.red.swa.con.ser.ContractService] (executor-thread-346) Error fetching subscription ID for contract: java.lang.NullPointerException: Param was null
          at org.jboss.resteasy.reactive.client.impl.WebTargetImpl.resolveTemplate(WebTargetImpl.java:112)
          at org.jboss.resteasy.reactive.client.impl.WebTargetImpl.resolveTemplate(WebTargetImpl.java:25)
          at com.redhat.swatch.clients.subscription.api.resources.SearchApi$$QuarkusRestClientInterface.getSubscriptionBySubscriptionNumber(Unknown Source)
          at com.redhat.swatch.clients.subscription.api.resources.SearchApi$$CDIWrapper.getSubscriptionBySubscriptionNumber(Unknown Source)
          at com.redhat.swatch.clients.subscription.api.resources.SearchApi$$CDIWrapper_ClientProxy.getSubscriptionBySubscriptionNumber(Unknown Source)
          at com.redhat.swatch.contract.service.ContractService.lookupSubscriptionId(ContractService.java:285)
          at com.redhat.swatch.contract.service.ContractService.createSubscriptionForContract(ContractService.java:278)
          at com.redhat.swatch.contract.service.ContractService.syncContractByOrgId(ContractService.java:326) 

       

            ksynvrit Kenny Synvrit (Inactive)
            khowell@redhat.com Kevin Howell
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: