-
Notifications
You must be signed in to change notification settings - Fork 3
EPMRPP-98732 refactor imports #109
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
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
Verify service-api dependency migration completeness and version resolution.
The migration from
commons-daoandplugin-apitoservice-apirequires verification:service-api. Per the summary, thedependencyManagementBOM was removed. Confirm that version resolution forservice-apiis still correct without an explicit version or BOM.service-apitransitively provides all functionality previously supplied bycommons-daoandplugin-api.httpclient5andhibernate-validatordependencies. Confirm these are still available transitively fromservice-apior that their removal is safe.🏁 Script executed:
Length of output: 5400
I need to verify the dependency migration in alternative ways since Gradle commands won't work in this sandbox. Let me inspect the build.gradle file directly and search for dependency documentation.
🏁 Script executed:
Length of output: 1849
🏁 Script executed:
Length of output: 64
🏁 Script executed:
Length of output: 409
🏁 Script executed:
Length of output: 69
🏁 Script executed:
Length of output: 0
🏁 Script executed:
Length of output: 0
🌐 Web query:
💡 Result:
Short answer: Yes — com.epam.reportportal:service-api exposes org.apache.httpcomponents.client5:httpclient5 and org.hibernate.validator:hibernate-validator as transitive (runtime) dependencies. See the service‑api Maven page listing httpclient5 and hibernate‑validator in its runtime dependencies. [1]
Sources
Let me check the other gradle files and look for any BOM definitions or legacy dependency references:
🏁 Script executed:
Length of output: 349
🏁 Script executed:
Length of output: 329
🏁 Script executed:
Length of output: 165
🏁 Script executed:
Length of output: 396
🏁 Script executed:
Length of output: 43
🏁 Script executed:
Length of output: 230
🌐 Web query:
💡 Result:
Latest version on Maven Central is 5.14.0 (published Jun 03, 2025).
Dependency: com.epam.reportportal:service-api:5.14.0. [1][2]
Sources:
[1] Maven Central index (repo.maven.apache.org) — com/epam/reportportal/service-api (shows 5.14.0, 2025-06-03).
[2] mvnrepository.com — com.epam.reportportal:service-api:5.14.0.
Length of output: 252
🏁 Script executed:
Length of output: 329
Add explicit version or BOM management for release mode
service-apidependency to ensure reproducible builds.The release mode dependency
implementation 'com.epam.reportportal:service-api'(line 36) lacks any version specification. This means Maven will resolve to the latest available version, which currently is 5.14.0. Different builds at different times will pull different versions, breaking reproducibility.Transitive dependency verification:
Confirmed—
com.epam.reportportal:service-apitransitively provideshttpclient5andhibernate-validatoras runtime dependencies, so their removal from explicit declarations is safe.Legacy migration verification:
Commons-dao and plugin-api are no longer referenced in source code, confirming the migration to service-api is complete.
Action required: Pin
service-apito an explicit version (e.g.,5.14.0) or declare a BOM independencyManagementto match the non-release mode's explicit versioning approach. Alternatively, ensure Spring Boot's dependency-management plugin imports a ReportPortal BOM that pins this version.🤖 Prompt for AI Agents