def get_execution_type(d):
    """
    support testcase option automation/manual by using "flag-green"
    :param d: testcase topic
    :return: 2 is automation, 1 is manual
    """
    #winter add to get automation flag "flag_green"
    if isinstance(d['makers'], list):
        if 'flag-green' in d['makers']:
                return 2
        return 1