Skip to content

Commit c2c654e

Browse files
committed
amp-170: add api spec
1 parent eebc4d4 commit c2c654e

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

pmd-output.txt

Whitespace-only changes.

src/main/java/uk/gov/hmcts/cp/subscription/services/WebhookService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public class WebhookService {
1515
private final DocumentServiceClient client;
1616

1717
public void processPcrEvent(final PcrEventPayload payload) {
18-
log.info("Processing webhook event: {}", payload);
18+
log.info("Processing webhook event id : {}", payload.getEventId());
1919

2020
try {
2121
client.updateDocumentMetadata(payload);

src/test/java/uk/gov/hmcts/cp/subscription/client/DocumentServiceIntegrationTest.java renamed to src/test/java/uk/gov/hmcts/cp/subscription/client/DocumentServiceClientIntegrationTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@
2626
import static com.github.tomakehurst.wiremock.core.WireMockConfiguration.wireMockConfig;
2727

2828
@SpringBootTest(
29-
classes = DocumentServiceIntegrationTest.TestConfig.class,
29+
classes = DocumentServiceClientIntegrationTest.TestConfig.class,
3030
webEnvironment = SpringBootTest.WebEnvironment.NONE
3131
)
32-
class DocumentServiceIntegrationTest {
32+
class DocumentServiceClientIntegrationTest {
3333

3434
@Configuration
3535
@EnableFeignClients(clients = DocumentServiceClient.class)

src/test/java/uk/gov/hmcts/cp/subscription/services/WebhookServiceTest.java renamed to src/test/java/uk/gov/hmcts/cp/subscription/services/WebhookServiceIntegrationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import static com.github.tomakehurst.wiremock.core.WireMockConfiguration.wireMockConfig;
2121

2222
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.NONE)
23-
class WebhookServiceTest extends BaseIntegrationTest {
23+
class WebhookServiceIntegrationTest extends BaseIntegrationTest {
2424

2525
@RegisterExtension
2626
static WireMockExtension wireMockServer = WireMockExtension.newInstance()

0 commit comments

Comments
 (0)