def get_planned_deployments(service, soa_dir):
    for cluster, cluster_deploy_file in get_soa_cluster_deploy_files(
        service=service,
        soa_dir=soa_dir,
    ):
        for instance in get_deploy_info(cluster_deploy_file):
            yield '%s.%s' % (cluster, instance)
dataset/ETHPy150Open Yelp/paasta/paasta_tools/cli/cmds/status.py/get_planned_deployments/original