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

Enable wiremock profile for aws 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 AWS 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-aws -DskipTests quarkus:dev
         
      2. The service should be reachable locally on ports 8003 and 8000, with the proxy correctly set up.

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

              buschv Vanessa Busch
              karshah@redhat.com Kartik Shah
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: