Skip to content

feat: add lifecycle ignore for data_collection_rule_id on LAW module - #318

Merged
rfk-nc merged 1 commit into
mainfrom
fix/law-drc-link-drift-fix
Aug 27, 2026
Merged

feat: add lifecycle ignore for data_collection_rule_id on LAW module#318
rfk-nc merged 1 commit into
mainfrom
fix/law-drc-link-drift-fix

Conversation

@hardik-desai-nhs

Copy link
Copy Markdown
Contributor

Description

Added lifecycle Ignore for data_collection_rule_id so that up stream apps can set their own dcrId

Context

currently in dtos-cohort-manager we have a dcr that excludes some of the successful health check logs to reduce the size and cost of of the AI instance, but due to the fact that the DCR needs to be applied at LAW level and the LAW defined as template gets deployed before the drc and removes the link then dcr gets deployed but they are not linked hence rendering it useless

Type of changes

  • Refactoring (non-breaking change)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would change existing functionality)
  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I am familiar with the contributing guidelines
  • I have followed the code style of the project
  • I have added tests to cover my changes
  • I have updated the documentation accordingly
  • This PR is a result of pair or mob programming

Sensitive Information Declaration

To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.

  • I confirm that neither PII/PID nor sensitive data are included in this PR and the codebase changes.

@hardik-desai-nhs
hardik-desai-nhs force-pushed the fix/law-drc-link-drift-fix branch from 6923702 to 7f2af06 Compare August 27, 2026 10:36
@sonarqubecloud

Copy link
Copy Markdown

@rfk-nc
rfk-nc added this pull request to the merge queue Aug 27, 2026
Merged via the queue into main with commit 74b5603 Aug 27, 2026
13 checks passed
@rfk-nc
rfk-nc deleted the fix/law-drc-link-drift-fix branch August 27, 2026 11:11
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.

3 participants