Beispiel #1
0
 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)
Beispiel #2
0
    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)
Beispiel #3
0
    def setUp(self):
        super(WhenCheckingCertificateStatus, self).setUp()

        self.order.type = models.OrderType.CERTIFICATE

        self.resource = resources.CheckCertificateStatusOrder()