-
Notifications
You must be signed in to change notification settings - Fork 173
Issues-554 fix - Added jdk.proxy4 matching criteria implementation provided in ChaosMonkeyBaseClassFilter.java #562
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
Conversation
…- use startsWith instead of contains
@WtfJoke - I have applied spotless fix. would you run job again ? |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #562 +/- ##
============================================
+ Coverage 82.31% 82.53% +0.22%
Complexity 388 388
============================================
Files 84 84
Lines 950 922 -28
Branches 68 61 -7
============================================
- Hits 782 761 -21
+ Misses 142 138 -4
+ Partials 26 23 -3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Thanks for the PR (and the analysis). Are you able to test the fix with a test? |
@WtfJoke - Set jdk proxy match condition to startswith - 'jdk.proxy'. Request to review this change. If it looks fine, please run job to merge the changes. |
@WtfJoke - would you please review changes and if looks fine, proceed for the merge? Appreciate your efforts !! |
@WtfJoke - I have made Set jdk proxy match condition to startswith - 'jdk.proxy' changes considering understanding Please share your thoughts on it. Appreciate your inputs !!! |
Hello Folks, |
Hey @pratik-chauhan We were able to have a look at it today. However we decided to not rely on guess-working of internal jdk proxy class names and instead rely on Proxy.isProxyClass(clazz). Performance wise this could be a slightly worser decision but its the more sustainable/stable solution and makes it less likely that we reintroduce the issue. That's why we created and merged #564, we kept you in the changelog, I hope thats fine for you :) We will release soon a new version, which includes the fix. |
What: Provided fix for Issue - 554
Why: Not able to inject fault for Spring Data JPA repository method via REST API assault-watcher calls
How: Added jdk.proxy4 matching criteria implementation provided in ChaosMonkeyBaseClassFilter.java
Checklist:
Demo App postman response
