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

[FEATURE][NRPTI-1125] Automated publishing of redacted mines act inspection reports #1238

Conversation

sggerard
Copy link
Contributor

Description

Add support for redacted inspection reports to automatically be published in the EMLI integration. Previously only Final reports were published but we can now automatically publish reports created after June 1st as they have been redacted and not contain any personal information.

This PR includes the following proposed change(s):

  • Added logic to publish attachments with a fileType of 'Report', attachment comment of 'Inspection Report' and a date after the environment variable NRIS_ATTACHMENT_DATE which defaults to June 1st.
  • Expanded test case to cover new attachment logic

Copy link

sonarcloud bot commented Jun 19, 2024

@acatchpole acatchpole merged commit 3d70e79 into master Jun 20, 2024
4 checks passed
@acatchpole acatchpole deleted the 1125-automated-publishing-of-redacted-mines-act-inspection-reports branch June 20, 2024 16:48
@sggerard sggerard restored the 1125-automated-publishing-of-redacted-mines-act-inspection-reports branch July 17, 2024 17:51
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.

Automated publishing of redacted Mines Act inspection reports
3 participants