HMS-9951: store template-advisory relationships on template update#2249
Draft
xbhouse wants to merge 1 commit into
Draft
HMS-9951: store template-advisory relationships on template update#2249xbhouse wants to merge 1 commit into
xbhouse wants to merge 1 commit into
Conversation
Reviewer's GuideImplements synchronization of template–advisory relationships with Content Sources on template update events, persists them in the template_advisory table, cleans them up on template deletion, and adds supporting utilities, configuration, and tests for the new behavior and Content Sources integration. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #2249 +/- ##
==========================================
+ Coverage 59.06% 59.16% +0.10%
==========================================
Files 138 140 +2
Lines 8848 9003 +155
==========================================
+ Hits 5226 5327 +101
- Misses 3076 3117 +41
- Partials 546 559 +13
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
On template update events:
On template delete events:
Testing steps
podman-compose up --buildcurl -X PUT http://localhost:9001/control/templates. There should be a template-updated message in the logs.curl -X DELETE http://localhost:9001/control/templates. The templates' advisories should be removed from the template_advisory table.Summary by Sourcery
Synchronize template advisory relationships with content-sources data on template lifecycle events.
New Features:
Enhancements:
Tests: