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

Fix pki-server instance-find #4940

Merged
merged 1 commit into from
Jan 28, 2025
Merged

Fix pki-server instance-find #4940

merged 1 commit into from
Jan 28, 2025

Conversation

edewata
Copy link
Contributor

@edewata edewata commented Jan 27, 2025

The pki-server instance-find has been updated to find instances existing on the system based on PKIServer.exists().

The PKIServer.exists() has also been updated to check whether the instance actually exists based on the <instance>/bin folder. It does not use the <instance> folder itself since there might be files (e.g. config files, logs) left in the folder after removing the instance.

The test for installing CA with existing config has been updated to validate pki-server instance-* commands.

The pki-server instance-find has been updated to find instances
existing on the system based on PKIServer.exists().

The PKIServer.exists() has also been updated to check whether the
instance actually exists based on the <instance>/bin folder. It
does not use the <instance> folder itself since there might be
files (e.g. config files, logs) left in the folder after removing
the instance.

The test for installing CA with existing config has been updated
to validate pki-server instance-* commands.
@edewata edewata requested a review from fmarco76 January 27, 2025 20:02
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 Jan 28, 2025

@fmarco76 Thanks!

@edewata edewata merged commit 9ccccb9 into dogtagpki:master Jan 28, 2025
166 of 172 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