Closed akashpaladin closed 3 months ago
Issues
1 New issue
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
The recent changes focus on enhancing the job scheduler module by updating the database query methods in AccountsRepository
, refactoring the pluginsUsingVersion1AndConfigured
method for better efficiency in DataCollectorSQSService
, and correcting a method call in JobScheduler
. These updates aim to improve code readability, efficiency, and accuracy in handling account configurations and job scheduling.
Files | Change Summary |
---|---|
.../repository/AccountsRepository.java |
Updated the method getAccountNameByStatus to getEnabledAccountNameByConfig with a new SQL query to retrieve account names based on configurations instead of status. |
.../service/DataCollectorSQSService.java |
Refactored the pluginsUsingVersion1AndConfigured method to handle empty input arrays and use Java streams for better processing. |
.../service/JobScheduler.java |
Corrected the method call from pulginsUsingVersion1AndConfigured to pluginsUsingVersion1AndConfigured in the scheduleCollectorJobs method. |
In the realm of code, where changes gleam,
A rabbit hops with a coder's dream.
Queries refined, efficiency found,
Methods corrected, solutions sound.
With every line, the system grows,
In this dance of code, the future shows.
🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
PLG-567
Description
Triggered redhat,rapid7,aws,checkmarx
Enabled plugins in saasdev![image](https://github.com/PaladinCloud/CE/assets/114460784/4cbd2e34-a9c1-4dc8-bb72-14cfbd054f47)
Problem
Solution
Fixes # (issue if any)
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist:
Other Information:
List any documentation updates that are needed for the Wiki
Summary by CodeRabbit
Bug Fixes
Refactor
New Features