Skip to content

CCD-7841: combines 4262-4769, ccd 6395, ccd 4311#2917

Open
patelila wants to merge 75 commits into
masterfrom
CCD-7841_4262-4769_ccd_6395_ccd_4311
Open

CCD-7841: combines 4262-4769, ccd 6395, ccd 4311#2917
patelila wants to merge 75 commits into
masterfrom
CCD-7841_4262-4769_ccd_6395_ccd_4311

Conversation

@patelila

@patelila patelila commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Before creating a pull request make sure that:

  • commit messages are meaningful and follow good commit message guidelines
  • README and other documentation has been updated / added (if needed)
  • tests have been updated / new tests has been added (if needed)
  • the keep-helm label has been added, if the helm release should be persisted after a successful build

Please remove this line and everything above and fill the following sections:

JIRA link (if applicable)

Change description

Does this PR introduce a breaking change? (check one with "x")

[ ] Yes
[ ] No

muhammad-umerji01 and others added 30 commits January 30, 2024 11:44
* CCD-4775 Modify db trigger to insert the case id's into new table
… and added to V20240619_4790__CCD-4790_Drop_marked_by_logstash_field_case_data.sql
…nstraint DETAIL: Table "xxx" references "tableA". HINT: Truncate table "xxx" at the same time, or use TRUNCATE ... CASCADE
…IdDoesNotExist()

org.opentest4j.AssertionFailedError: Expected org.springframework.dao.DataIntegrityViolationException to be thrown, but nothing was thrown.
…eFailsIfCaseIdDoesNotExist()

as Class CaseLinkRepositoryTest runs in Intellij but when all Tests are run these two functions fail.
* To try to fix CallbackInvokerWireMockTest > shouldRetryOnErrorWithIgnoreWarningFalseAndDefaultRetryContext FAILED
 uk.gov.hmcts.ccd.endpoint.exceptions.CallbackException at CallbackInvokerWireMockTest.java:83
  CaseLinkRepositoryTest > testSaveFailsIfCaseIdDoesNotExis() FAILED
  org.opentest4j.AssertionFailedError at CaseLinkRepositoryTest.java:128
CaseLinkRepositoryTest > testSaveFailsIfLinkedCaseIdDoesNotExist() FAILED
org.opentest4j.AssertionFailedError at CaseLinkRepositoryTest.java:140

* Added @DirtiesContext to all Unit tests in the @RunWith(SpringRunner.class) Suite.
aktaskaan and others added 15 commits January 2, 2026 12:55
…e legacy marked_by_logstash constraint for case pointers and update the Logstash queue trigger to skip pointer rows directly. Revert the test fixture workaround that marked pointer-like rows as already processed, and update the pointer repository test to assert queue behaviour.
…e_data_logstash_queue id as the Elasticsearch external version so queued supplementary-data-only updates are not rejected when case_data.version has not changed.Keep the case version in the indexed document source unchanged.
… the case_data_logstash_queue id as the Elasticsearch external version so queued supplementary-data-only updates are not rejected when case_data.version has not changed.Keep the case version in the indexed document source unchanged."

This reverts commit 6ef1900.
Use case_data.version as the Elasticsearch external version for Logstash writes. This restores CCD-6024 concurrency behaviour so stale case versions are rejected by Elasticsearch instead of silently overwriting newer documents. Note: focused Gradle test did not run due dependency SSL/cert resolution failure, not test failure.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants