Пример #1
0
 def deliver_dish(self):
     order = self.get_order()
     order_obj = self._check_order(order)
     if order_obj:
         #FIXME: jira table format :-)
         #self.sent_to_jira(order_obj.get_ticket_id(), "*** Omelet provisioning result: \n" + json.dumps(order_obj.get_result()))
         #self.sent_to_jira(order_obj.get_ticket_id(), jira_formatter.to_table(order_obj.get_result()))
         self.sent_to_jira(order_obj.get_ticket_id(), jira_formatter.to_panel(order_obj.get_result()))
Пример #2
0
 def deliver_dish(self):
     order = self.get_order()
     order_obj = self._check_order(order)
     if order_obj:
         self.sent_to_jira(order_obj.get_ticket_id(), jira_formatter.to_panel(order_obj.get_result()))