Skip to content

Conversation

@grindsa
Copy link
Owner

@grindsa grindsa commented Dec 20, 2025

This PR refactors the certificate handling code by introducing a layered architecture that separates concerns into distinct components: CertificateManager (coordination), CertificateRepository (database operations), CertificateBusinessLogic (business rules), and CertificateLogger (logging). The refactoring also adds asynchronous mode support for Django database handlers.

Key changes:

Introduction of new architectural layers for certificate operations
Addition of async_mode configuration parameter for background certificate enrollment
Renaming of internal methods to use more descriptive names
New comprehensive test coverage for the refactored components

@grindsa grindsa requested a review from skcert December 20, 2025 08:52
@grindsa grindsa changed the title Min refactor certificate Refactor certificate class Dec 26, 2025
@grindsa grindsa merged commit dca1cf0 into min-devel Jan 7, 2026
@grindsa grindsa deleted the min_refactor_certificate branch January 7, 2026 14:14
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.

3 participants