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

Configure AMQP broker for testing in ephemeral

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • None
    • CI/Infrastructure
    • None
    • Configure AMQP broker for testing in ephemeral
    • False
    • Hide

      None

      Show
      None
    • False
    • To Do

      The AMQP protocol is used to receive messages from the following channels:

      • VirtualTopic.services.partner-entitlement-gateway
      • VirtualTopic.canonical.operationalProduct
      • VirtualTopic.services.productservice.Product
      • VirtualTopic.canonical.subscription

      These are mostly configured in swatch-contracts.

      The problem is that we don't have an AMQP broker instance in ephemeral that we could use for testing (for producing messages and verify that these messages are consumed by our services).

      At the moment, we have been verifying these integrations by exposing an API for test purposes only where we put the message on, and this API simulates the message arrival. However, this approach does not guarantee that the AMQP configuration works, so we might miss important issues in production.

      Another workaround we have in place, is to configure our AMQP consumers to be kafka consumers because we have a Kafka instance we can use, and we have IQE utilities to send messages to topics.

      However, the correct solution is to setup an AMQP broker for ephemeral (we can use active MQ, rabbitmq, artemis, ...), configure our services to communicate with this instance, and IQE tests to send messages over to it.

      Acceptance Criteria

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

                Created:
                Updated:
                Resolved: