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

Enable wiremock profile for swatch tally for local component testing

XMLWordPrintable

    • 5
    • False
    • Hide

      None

      Show
      None
    • True
    • subs-swatch

      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 swatch tally using the Wiremock profile.

       

      Use spring boot alternatives for QUARKUS_HTTP_HOST and QUARKUS_PROFILE.

      • SPRING_PROFILES_ACTIVE
      • SERVER_HOST

      Acceptance Criteria:

      1. It should be possible to run the following command successfully:
        ./mvnw -pl swatch-tally spring-boot:run
         
      2. The service should be reachable locally on ports 8005 and 8000, with the proxy.

             3. At least one test like test_verify_tally_snapshot_produced_matched_with_kakfa_topic 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:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: