Пример #1
0
def get_conductor_data():
    parser = ManifestParser(CONF.manifests)
    manifests = parser.parse()
    archive_name = Archiver().create(manifests, "heat", "agent", "scripts")
    return send_file(archive_name)
Пример #2
0
def get_ui_data():
    parser = ManifestParser(CONF.manifests)
    manifests = parser.parse()
    archive_name = Archiver().create(manifests, "ui")

    return send_file(archive_name)