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

Enable wiremock profile for swatch-metrics-hbi 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 metrics hbi using the Wiremock profile.

      Acceptance Criteria:

      1. It should be possible to run the following command successfully:
        ./mvnw -pl :swatch-metrics-hbi quarkus:dev

      Or using: "make swatch-metrics-hbi".
       

      1. The service should be reachable locally on ports 8015 and 9015, with the proxy correctly set up.

             3. At least one test should connect to the local environment and pass successfully. For example: test_hbi_physical_x86_host_events. Ideally, all the tests within iqe_rhsm_subscriptions/tests/component/swatch_metrics_hbi should be working fine.

              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: