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

Request lock release whilst sending XML to marklogic #431

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

dragon-dxw
Copy link
Collaborator

@dragon-dxw dragon-dxw commented Feb 8, 2024

Benefits from the updated version of the privileged API to ensure that the document is always unlocked after use -- will break unlocking if that other one hasn't been merged.

https://github.com/nationalarchives/ds-caselaw-privileged-api/pulls

@@ -110,9 +111,6 @@ def process_event(sqs_rec: SQSRecord) -> None:
api_endpoint, judgment_uri, file_content, API_USERNAME, API_PASSWORD
)

# release the lock
release_lock(api_endpoint, judgment_uri, API_USERNAME, API_PASSWORD)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is no longer needed because the lock will be released as a part of patching the file.

Copy link

@CristinaRO CristinaRO left a comment

Choose a reason for hiding this comment

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

Good work! We'll let you do the merging in the needed order, but the other PR is also approved nationalarchives/ds-caselaw-privileged-api#303.

@dragon-dxw dragon-dxw added this pull request to the merge queue Apr 23, 2024
@github-merge-queue github-merge-queue bot merged commit f073e7f into main Apr 23, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants