def process_type_order(self, context, order_id, project_id, request_id): """Process TypeOrder.""" message = "Processing type order: order ID is '%(order)s' and " \ "request ID is '%(request)s'" LOG.info(message, {'order': order_id, 'request': request_id}) return resources.BeginTypeOrder().process_and_suppress_exceptions( order_id, project_id)
def process_type_order(self, context, order_id, project_id): """Process TypeOrder.""" LOG.debug('TypeOrder id is {0}'.format(order_id)) task = resources.BeginTypeOrder() try: task.process(order_id, project_id) except Exception: LOG.exception(">>>>> Task exception seen, details reported " "on the Orders entity.")
def setUp(self): super(WhenBeginningAsymmetricTypeOrder, self).setUp() self.order.type = "asymmetric" self.resource = resources.BeginTypeOrder()
def setUp(self): super(WhenBeginningCertificateTypeOrder, self).setUp() self.order.type = models.OrderType.CERTIFICATE self.resource = resources.BeginTypeOrder()
def setUp(self): super(WhenBeginningKeyTypeOrder, self).setUp() self.resource = resources.BeginTypeOrder()
def process_type_order(self, context, order_id, project_id): """Process TypeOrder.""" LOG.info(u._LI("Processing type order: order ID is '%s'"), order_id) return resources.BeginTypeOrder().process_and_suppress_exceptions( order_id, project_id)