Class OracleCloudCertificationRefresherTask

java.lang.Object
io.micronaut.oraclecloud.certificates.background.OracleCloudCertificationRefresherTask

@Singleton @Requires(property="oci.certificates.enabled", value="true") @Context @Internal public final class OracleCloudCertificationRefresherTask extends Object
Background task to automatically refresh the certificates from an Oracle Cloud Certificate server on a configurable interval.
  • Constructor Details

    • OracleCloudCertificationRefresherTask

      public OracleCloudCertificationRefresherTask(OracleCloudCertificateService oracleCloudCertificateService)
      Constructs a new Oracle Certificate cert refresher background task.
      Parameters:
      oracleCloudCertificateService - Oracle Cloud Certificate service
  • Method Details

    • backgroundRenewal

      @Scheduled(fixedDelay="${oci.certificates.refresh.frequency:24h}", initialDelay="${oci.certificates.refresh.delay:24h}") public void backgroundRenewal()
      Scheduled task to refresh certs from Oracle Cloud Certificate server.