Skip to content

EPMRPP-111517 || Refactor OwnedResource class to include 'locked'#26

Merged
grabsefx merged 1 commit intodevelopfrom
EPMRPP-111517
Jan 26, 2026
Merged

EPMRPP-111517 || Refactor OwnedResource class to include 'locked'#26
grabsefx merged 1 commit intodevelopfrom
EPMRPP-111517

Conversation

@grabsefx
Copy link
Contributor

@grabsefx grabsefx commented Jan 26, 2026

Summary by CodeRabbit

  • New Features

    • Added new "locked" property to resources, now available in API requests and responses for tracking lock status.
  • Documentation

    • Improved class documentation wording for clarity.

✏️ Tip: You can customize this high-level summary in your review settings.

@grabsefx grabsefx self-assigned this Jan 26, 2026
@coderabbitai
Copy link

coderabbitai bot commented Jan 26, 2026

Walkthrough

The OwnedResource class now uses Lombok's @ToString annotation for automatic toString generation instead of a manually-implemented method. A new locked boolean field with JSON property mapping was added, and minor javadoc wording was corrected.

Changes

Cohort / File(s) Summary
Lombok Integration & Field Addition
src/main/java/com/epam/ta/reportportal/ws/reporting/OwnedResource.java
Added @ToString annotation from Lombok; introduced private boolean locked field with @JsonProperty mapping; removed explicit toString() method override; corrected javadoc grammar.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

🐰 With Lombok's gentle touch,
toString now needs not much,
A locked field joins the crew,
Code so clean and bright and new,
Hopping toward what's true! 🐇✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The pull request title accurately summarizes the main changes: refactoring the OwnedResource class to include a new 'locked' field, which aligns with the core modifications in the changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch EPMRPP-111517

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@grabsefx grabsefx merged commit b114c22 into develop Jan 26, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants