def check_certificate_status(self, context, order_id, project_id): """Check the status of a certificate order.""" LOG.info( u._LI("Processing check certificate status on order: order ID is " "'%s'"), order_id) check_cert_order = resources.CheckCertificateStatusOrder() return check_cert_order.process_and_suppress_exceptions( order_id, project_id)
def check_certificate_status(self, context, order_id, project_id, request_id): """Check the status of a certificate order.""" message = "Processing check certificate status on order: " \ "order ID is '%(order)s' and request ID is '%(request)s'" LOG.info(message, {'order': order_id, 'request': request_id}) check_cert_order = resources.CheckCertificateStatusOrder() return check_cert_order.process_and_suppress_exceptions( order_id, project_id)
def setUp(self): super(WhenCheckingCertificateStatus, self).setUp() self.order.type = models.OrderType.CERTIFICATE self.resource = resources.CheckCertificateStatusOrder()