Beispiel #1
0
def get_paasta_config(yelpsoa_config_root, srvname, auto, port, team, description, external_link):
    srvname = get_srvname(srvname, auto)
    smartstack_stanza = get_smartstack_stanza(yelpsoa_config_root, auto, port)
    monitoring_stanza = get_monitoring_stanza(auto, team)
    deploy_stanza = get_deploy_stanza()
    marathon_stanza = get_marathon_stanza()
    service_stanza = get_service_stanza(description, external_link, auto)
    return (srvname, service_stanza, smartstack_stanza, monitoring_stanza, deploy_stanza, marathon_stanza, team)
Beispiel #2
0
def get_paasta_config(yelpsoa_config_root, srvname, auto, port, team,
                      description, external_link):
    srvname = get_srvname(srvname, auto)
    smartstack_stanza = get_smartstack_stanza(yelpsoa_config_root, auto, port)
    monitoring_stanza = get_monitoring_stanza(auto, team)
    deploy_stanza = get_deploy_stanza()
    marathon_stanza = get_marathon_stanza()
    service_stanza = get_service_stanza(description, external_link, auto)
    return (srvname, service_stanza, smartstack_stanza, monitoring_stanza,
            deploy_stanza, marathon_stanza, team)
Beispiel #3
0
def get_paasta_config(yelpsoa_config_root, srvname, auto, port, team, description, external_link):
    paasta_config = load_system_paasta_config()

    srvname = get_srvname(srvname, auto)
    smartstack_stanza = get_smartstack_stanza(yelpsoa_config_root, auto, port)
    monitoring_stanza = get_monitoring_stanza(auto, team)
    marathon_stanza = get_marathon_stanza()
    deploy_stanza = paasta_config.get_fsm_deploy_pipeline()
    service_stanza = get_service_stanza(description, external_link, auto)
    cluster_stanza = paasta_config.get_fsm_cluster_map()
    return (srvname, service_stanza, smartstack_stanza, monitoring_stanza,
            deploy_stanza, marathon_stanza, cluster_stanza, team)
Beispiel #4
0
def get_paasta_config(yelpsoa_config_root, srvname, auto, port, team, description, external_link):
    paasta_config = load_system_paasta_config()

    srvname = get_srvname(srvname, auto)
    smartstack_stanza = get_smartstack_stanza(yelpsoa_config_root, auto, port)
    monitoring_stanza = get_monitoring_stanza(auto, team)
    marathon_stanza = get_marathon_stanza()
    deploy_stanza = paasta_config.get_fsm_deploy_pipeline()
    service_stanza = get_service_stanza(description, external_link, auto)
    cluster_stanza = paasta_config.get_fsm_cluster_map()
    return (srvname, service_stanza, smartstack_stanza, monitoring_stanza,
            deploy_stanza, marathon_stanza, cluster_stanza, team)