예제 #1
0
파일: views.py 프로젝트: MailOnline/alerta
def manifest():

    manifest = {
        "label": "Alerta",
        "release": get_version(),
        "build": "",
        "date": "",
        "revision": "",
        "description": "The Guardian's Alerta monitoring system",
        "built-by": "rpmbuild",
        "built-on": "el6gen01.gudev.gnl",
    }

    return  jsonify(alerta=manifest)
예제 #2
0
파일: views.py 프로젝트: iapilgrim/alerta
def manifest():

    manifest = {
        "label": "Alerta",
        "release": get_version(),
        "build": build.BUILD_NUMBER,
        "date": build.BUILD_DATE,
        "revision": build.BUILD_VCS_NUMBER,
        "description": "The Guardian's Alerta monitoring system",
        "built-by": build.BUILT_BY,
        "built-on": build.HOSTNAME,
    }

    return  jsonify(alerta=manifest)
예제 #3
0
파일: setup.py 프로젝트: ntoll/alerta
#!/usr/bin/env python

from setuptools import setup
from alerta import get_version

setup(
    name="alerta",
    version=get_version(),
    description="Alerta monitoring framework",
    url="https://github.com/guardian/alerta",
    license="Apache License 2.0",
    author="Nick Satterly",
    author_email="*****@*****.**",
    packages=["alerta"],
    entry_points={"console_scripts": ["alert = alerta.shell:main"]},
    keywords="alert monitoring system",
)