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 check against PKI_SIGNED_AUDIT_SUBSYSTEMS #85

Merged

Conversation

SilleBille
Copy link
Member

  • The constant check against PKI_SIGNED_AUDIT_SUBSYSTEMS is no longer
    useful since it will always be evaluated as TRUE

Signed-off-by: Dinesh Prasanth M K <dmoluguw@redhat.com>

Unverified

The committer email address is not verified.
- The constant check against PKI_SIGNED_AUDIT_SUBSYSTEMS is no longer
  useful since it will always be evaluated as TRUE

Signed-off-by: Dinesh Prasanth M K <dmoluguw@redhat.com>
@SilleBille SilleBille requested a review from edewata October 29, 2018 17:26
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.

LGTM. A few more comments for future improvements :)

@@ -40,7 +40,6 @@
PKI_DEPLOYMENT_DEFAULT_USER = "pkiuser"

PKI_SUBSYSTEMS = ["CA", "KRA", "OCSP", "RA", "TKS", "TPS"]
PKI_SIGNED_AUDIT_SUBSYSTEMS = ["CA", "KRA", "OCSP", "TKS", "TPS"]
PKI_TOMCAT_SUBSYSTEMS = ["CA", "KRA", "OCSP", "TKS", "TPS"]
Copy link
Contributor

Choose a reason for hiding this comment

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

PKI_TOMCAT_SUBSYSTEMS is no longer necessary either since everything is running on Tomcat. In the past TPS ran on Apache HTTPD.

@@ -40,7 +40,6 @@
PKI_DEPLOYMENT_DEFAULT_USER = "pkiuser"

PKI_SUBSYSTEMS = ["CA", "KRA", "OCSP", "RA", "TKS", "TPS"]
Copy link
Contributor

Choose a reason for hiding this comment

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

The RA can be removed from PKI_SUBSYSTEMS since it was already dropped several years ago.

Unverified

The committer email address is not verified.
Signed-off-by: Dinesh Prasanth M K <dmoluguw@redhat.com>
@SilleBille SilleBille merged commit d54dced into dogtagpki:master Oct 29, 2018
@SilleBille SilleBille deleted the minor_pkidestroy_subsys_layout branch October 29, 2018 19:44
SilleBille referenced this pull request in SilleBille/pki Oct 29, 2018

Unverified

The committer email address is not verified.
- Introduces `--force` flag to `pkidestroy` to force remove subsystem
- Introduces `--remove-logs` flag to `pkidestroy` to remove logs
- Logs are stored by default when running pkidestroy
- Obsolete constants `PKI_SIGNED_AUDIT_SUBSYSTEMS`, `PKI_TOMCAT_SUBSYSTEMS`
  and `RA` is removed from `PKI_SUBSYSTEMS`

`Signed-off-by: Dinesh Prasanth M K <dmoluguw@redhat.com>`
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

2 participants