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

Port SubscriptionSyncController to swatch-contracts

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Normal Normal
    • None
    • None
    • None
    • 5

      Acceptance Criteria

      • Including all the classes under the package “org.candlepin.subscriptions.subscription”
      • Including the Kafka configuration and tests
      • Test using /internal/subscriptions/sync/org/{org_id}:
        • org.candlepin.subscriptions.subscription.SubscriptionSyncController#forceSyncSubscriptionsForOrgAsync
        • And also kafka via org.candlepin.subscriptions.subscription.SubscriptionWorker#receive(org.candlepin.subscriptions.subscription.SyncSubscriptionsTask, org.springframework.kafka.support.Acknowledgment)
      • The rest endpoint in swatch-contracts should be /internal/rpc/subscriptions/sync/org/{org_id} to match the general structure of other swatch-contracts internal API endpoints. 
      • An unleash feature flag should be used to determine whether the kafka processing is enabled in swatch-subscription-sync or swatch-contracts
      • Update the methods that were left empty in SWATCH-2276 to use the correct ones

              jcarvaja@redhat.com Jose Carvajal Hilario
              jcarvaja@redhat.com Jose Carvajal Hilario
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: