-
Story
-
Resolution: Done
-
Major
-
None
-
None
-
5
-
False
-
-
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:
- It should be possible to run the following command successfully:
./mvnw -pl swatch-tally spring-boot:run
- 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.