Skip to content
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

Remove VLV search from RequestRepository #4788

Merged
merged 1 commit into from
Jun 21, 2024

Conversation

fmarco76
Copy link
Member

The VLV query was still used in RequestRepository for last index search. This is replaced with paged search

@fmarco76 fmarco76 requested a review from edewata June 21, 2024 11:28
Copy link
Contributor

@edewata edewata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one comment, but it LGTM.

logger.debug("RequestRepository: - request ID: {}", requestID);

// if request ID within range, return it
if (requestID.compareTo(min) >= 0 && requestID.compareTo(max) <= 0) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The requestID.compareTo(max) <= 0 is probably redundant.

Copy link

sonarcloud bot commented Jun 21, 2024

@fmarco76
Copy link
Member Author

@edewata Thanks!

@fmarco76 fmarco76 merged commit d4f0105 into dogtagpki:master Jun 21, 2024
149 of 156 checks passed
@fmarco76 fmarco76 deleted the RequestRepositoryFreeVLV branch June 24, 2024 15:16
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