-
Notifications
You must be signed in to change notification settings - Fork 10
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
Moving and shakin #23
base: 5.1.x
Are you sure you want to change the base?
Conversation
acme-cli is no longer a thing so point to micronaut-starter and Micronaut Launch instead.
Dependency upgrades
Instead of doing everything post app startup we can move some things into pre-app startup. Things moved: 1. Login and ordering a certificate if needed 2. If cert already downloaded and ready set it up Things that cannot be moved: 1. Authorizations, reason this cannot be moved is because it needs to be able to respond from requests from the ACME server.
public void orderCertificate(List<String> domains) throws AcmeException { | ||
AtomicInteger orderRetryAttempts = new AtomicInteger(acmeConfiguration.getOrder().getRefreshAttempts()); | ||
|
||
public Order orderCertificate(List<String> domains) throws AcmeException { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a breaking change. The original method signature must remain intact. You can create a new method for this purpose
@zendern I would like to resuscitate this PR. Are you still interested in pursuing these changes? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Has some merge conflicts that need to be fixed but otherwise looks good!
|
Fixes #12
Instead of doing everything post app startup we can move some things into pre-app startup.
Things moved to happen at
StartupEvent
event:Things that cannot be moved and will happen at
ApplicationStartupEvent
event:able to respond from requests from the ACME server.