SpineEventEngine / validation

Apache License 2.0
2 stars 0 forks source link

Fix `consumerId` property for `ValidationPolicy` components #118

Closed alexander-yevsyukov closed 8 months ago

alexander-yevsyukov commented 8 months ago

This PR makes descendants of ValidationPolicy to use the ValidationPlugin class name as their ID. Before this fix policies could not load ValidationConfig instance because they requested it via own class names.

codecov[bot] commented 8 months ago

Codecov Report

Merging #118 (65f2792) into master (d020c2e) will increase coverage by 0.10%. The diff coverage is 50.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #118 +/- ## ============================================ + Coverage 36.54% 36.64% +0.10% Complexity 342 342 ============================================ Files 123 124 +1 Lines 2430 2423 -7 Branches 197 197 ============================================ Hits 888 888 + Misses 1483 1476 -7 Partials 59 59 ```