fix end URL and added extra logging - #132
Merged
Merged
Conversation
ynegi
requested review from
dawidstrozak and
laxmi-mk
and removed request for
a team
August 10, 2026 15:19
…a-logging # Conflicts: # sjp-event/sjp-event-processor/src/main/java/uk/gov/moj/cpp/sjp/event/processor/helper/HttpConnectionHelper.java # sjp-event/sjp-event-processor/src/main/java/uk/gov/moj/cpp/sjp/event/processor/service/CourtListPublishingService.java
arcadiushmcts
requested changes
Aug 11, 2026
| public class CourtListPublishingServiceStub { | ||
|
|
||
| private static final String PUBLISH_COURT_LIST_URL = "/api/court-list-publish/sjp/publishCourtList"; | ||
| private static final String PUBLISH_COURT_LIST_URL = "/courtlistpublishing-service/api/court-list-publish/sjp/publishCourtList"; |
There was a problem hiding this comment.
note that /courtlistpublishing-service/ is already in the host @Value(key = "COURT_LIST_PUBLISHING_SERVICE_URL", defaultValue = "http://localhost:8080/courtlistpublishing-service") . Would it cause a prob?
Author
There was a problem hiding this comment.
WireMock is the server listening on localhost:8080 — it strips scheme/host/port itself and only matches on the path portion of whatever request actually arrives. The path it receives is /courtlistpublishing-service/api/court-list-publish/sjp/publishCourtList, which is exactly what PUBLISH_COURT_LIST_URL equals now:
"/courtlistpublishing-service/api/court-list-publish/sjp/publishCourtList"
…a-logging # Conflicts: # sjp-event/sjp-event-processor/src/main/java/uk/gov/moj/cpp/sjp/event/processor/helper/HttpConnectionHelper.java # sjp-event/sjp-event-processor/src/main/java/uk/gov/moj/cpp/sjp/event/processor/service/CourtListPublishingService.java
arcadiushmcts
approved these changes
Aug 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Jira link
https://tools.hmcts.net/jira/browse/LPT-2348
See PROJ-XXXXXX
Change description
Testing done
Security Vulnerability Assessment
CVE Suppression: Are there any CVEs present in the codebase (either newly introduced or pre-existing) that are being intentionally suppressed or ignored by this commit?
Checklist