Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dmp 4065 unstructured to arm data store stuck in arm ingestion #2319

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

karen-hedges
Copy link
Contributor

@karen-hedges karen-hedges commented Nov 26, 2024

JIRA link (if applicable)

https://tools.hmcts.net/jira/browse/DMP-4065

Change description

Added a shutdown hook to change any In progress ARM Push EOD's to raw data failed. Includes some fixes to PMD complaints.

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

[ ] Yes
[ x] No

@karen-hedges karen-hedges requested review from a team as code owners November 26, 2024 09:34
@karen-hedges karen-hedges force-pushed the DMP-4065-UnstructuredToArmDataStoreStuckInArmIngestion branch from 74467b6 to 48138fe Compare November 26, 2024 12:09
@karen-hedges karen-hedges force-pushed the DMP-4065-UnstructuredToArmDataStoreStuckInArmIngestion branch from 48138fe to 984f208 Compare November 26, 2024 14:12
@hmcts-jenkins-cnp hmcts-jenkins-cnp bot requested a deployment to preview November 26, 2024 14:40 Abandoned
@karen-hedges karen-hedges force-pushed the DMP-4065-UnstructuredToArmDataStoreStuckInArmIngestion branch from 984f208 to 34a8dd3 Compare November 26, 2024 15:47
@karen-hedges karen-hedges force-pushed the DMP-4065-UnstructuredToArmDataStoreStuckInArmIngestion branch from 28375cb to 6abe4e0 Compare November 27, 2024 14:55
@karen-hedges karen-hedges marked this pull request as draft November 29, 2024 16:39
@karen-hedges karen-hedges force-pushed the DMP-4065-UnstructuredToArmDataStoreStuckInArmIngestion branch 2 times, most recently from 10b8ed0 to 556fb58 Compare December 2, 2024 14:07
@karen-hedges karen-hedges marked this pull request as ready for review December 2, 2024 14:08
@karen-hedges karen-hedges force-pushed the DMP-4065-UnstructuredToArmDataStoreStuckInArmIngestion branch from 556fb58 to cf17a5a Compare December 4, 2024 17:42
@karen-hedges karen-hedges force-pushed the DMP-4065-UnstructuredToArmDataStoreStuckInArmIngestion branch 2 times, most recently from 3b11d2d to d61f4ea Compare December 5, 2024 10:32
@karen-hedges karen-hedges force-pushed the DMP-4065-UnstructuredToArmDataStoreStuckInArmIngestion branch from d61f4ea to 194f1d4 Compare December 5, 2024 14:08
@karen-hedges karen-hedges force-pushed the DMP-4065-UnstructuredToArmDataStoreStuckInArmIngestion branch from 194f1d4 to 4f0d8f5 Compare December 5, 2024 16:37
@@ -44,21 +44,19 @@ void testGetDirectoryIfMediaDate24Hours() throws Exception {

int setupHoursBeforeCurrentTime = 24;

// setup the test data
// given
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we're touching/improving the tests, consider updating the test names to align with the new standard.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done



@Test
void updateEodByIdAndStatusForArmPush() throws InvocationTargetException, NoSuchMethodException, IllegalAccessException {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Align with new naming standard.

@@ -465,4 +457,27 @@ void findAllByStatusAndDataIngestionTsBetweenAndLimit() throws InvocationTargetE
});

}

@Test
void updateEodByIdAndStatus() throws InvocationTargetException, NoSuchMethodException, IllegalAccessException {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Align with new naming standard.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

src/main/java/uk/gov/hmcts/darts/util/DataUtil.java Outdated Show resolved Hide resolved
@karen-hedges karen-hedges force-pushed the DMP-4065-UnstructuredToArmDataStoreStuckInArmIngestion branch from 8633727 to 8ccba0e Compare January 9, 2025 17:41
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.

3 participants