Ejemplo n.º 1
0
def send_result(results):
    """Results sender"""
    if ENV != 'dev':
        patch_execution(json={"results": results, "status": "FINISHED"})
    else:
        logging.info('Finished -> Results:')
        logging.info(results)
Ejemplo n.º 2
0
def change_status_ticket(status):
    """Ticket status changer"""
    if ENV != 'dev':
        patch_execution(json={"status": status})
    else:
        logging.info('Channing to RUNNING')
Ejemplo n.º 3
0
 def send_progress(progress):
     """Send Progress"""
     patch_execution(json={"progress": progress})
     pass