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

Enable wiremock profile for azure producer for local component testing

XMLWordPrintable

      We have a working POC for local testing of the swatch-billable-usage component. Refer to the commits in SWATCH-3532 for implementation details. The objective is to extend this capability to all services. This card focuses on enabling local testing for the Azure Producer using the Wiremock profile.

      Acceptance Criteria:

      1. It should be possible to run the following command successfully:
        QUARKUS_HTTP_HOST=0.0.0.0 QUARKUS_PROFILE=wiremock ./mvnw -pl swatch-producer-azure -DskipTests quarkus:dev
         
      2. The service should be reachable locally on ports 8004 and 8000, with the proxy correctly set up.

             3. At least one test in the file test_swatch_azure_producer.py should connect to the local environment and pass successfully.

              jcarvaja@redhat.com Jose Carvajal Hilario
              karshah@redhat.com Kartik Shah
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: