Class OracleCloudCertificateService
java.lang.Object
io.micronaut.oraclecloud.certificates.services.OracleCloudCertificateService
@Singleton
@Requires(classes=com.oracle.bmc.certificates.Certificates.class) @Requires(beans=com.oracle.bmc.certificates.Certificates.class) @Requires(property="oci.certificates.enabled",value="true")
public class OracleCloudCertificateService
extends Object
Service to contact an Oracle Cloud Certificate service and setup a certificate on a given basis.
- 
Constructor SummaryConstructorsConstructorDescriptionOracleCloudCertificateService(OracleCloudCertificationsConfiguration oracleCloudCertificationsConfiguration, com.oracle.bmc.certificates.Certificates certificates, io.micronaut.context.event.ApplicationEventPublisher<CertificateEvent> eventPublisher) Constructs a new Oracle Cloud Certificate service.
- 
Method SummaryModifier and TypeMethodDescriptionprotected @NonNull Optional<CertificateEvent>Returns the certificate event.voidSetup the certificate for HTTPS.
- 
Constructor Details- 
OracleCloudCertificateServicepublic OracleCloudCertificateService(OracleCloudCertificationsConfiguration oracleCloudCertificationsConfiguration, com.oracle.bmc.certificates.Certificates certificates, io.micronaut.context.event.ApplicationEventPublisher<CertificateEvent> eventPublisher) Constructs a new Oracle Cloud Certificate service.- Parameters:
- oracleCloudCertificationsConfiguration- Oracle Cloud Certificate configuration
- certificates- Oracle Cloud Certificate client
- eventPublisher- Application Event Publisher
 
 
- 
- 
Method Details- 
getCertificateEventReturns the certificate event.- Returns:
- certificate event
 
- 
refreshCertificate@Retryable(attempts="${oci.certificates.refresh.retry.attempts:3}", delay="${oci.certificates.refresh.retry.delay:1s}") public void refreshCertificate()Setup the certificate for HTTPS.
 
-