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

Add PKIRealm.engine #4365

Merged
merged 1 commit into from Mar 15, 2023
Merged

Add PKIRealm.engine #4365

merged 1 commit into from Mar 15, 2023

Conversation

edewata
Copy link
Contributor

@edewata edewata commented Mar 14, 2023

The PKIRealm.engine field has been added to store the CMSEngine instance such that the realm no longer needs to use CMS.getCMSEngine() to get the instance.

The PKIRealm.engine field has been added to store the
CMSEngine instance such that the realm no longer needs
to use CMS.getCMSEngine() to get the instance.
@sonarcloud
Copy link

sonarcloud bot commented Mar 14, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

0.0% 0.0% Coverage
1.5% 1.5% Duplication

Copy link
Contributor

@ckelleyRH ckelleyRH left a comment

Choose a reason for hiding this comment

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

LGTM! One comment about something outside the diff - very minor.

One test failed waiting for the runners to arrive, so I kicked it.

Comment on lines 59 to 61
protected String getName() {
return "PKIRealm";
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Not part of your diff, but this could be this.getClass().getSimpleName() to make it less brittle. The method is not actually used anywhere by the looks of it so it could just be dropped.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, IIRC we used to extend an abstract class or implement an interface, I forgot, so that method had to be added. I'll remove it separately later. Thanks!

Copy link
Member

@fmarco76 fmarco76 left a comment

Choose a reason for hiding this comment

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

LGTM

@edewata
Copy link
Contributor Author

edewata commented Mar 15, 2023

@ckelleyRH @fmarco76 Thanks!

@edewata edewata merged commit fc60e46 into dogtagpki:master Mar 15, 2023
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.

None yet

3 participants