Ejemplo n.º 1
0
"""Health checks for the ChEA.
"""


from hyperion import config
import hyperion.tester as tester
from hyperion.checkindexpage import CheckIndexPage


APP_NAME = "chea"
EMAIL = config.get("apps", "email")


indexPageTest = CheckIndexPage("http://amp.pharm.mssm.edu/lib/chea.jsp", "Error with ChEA", EMAIL)
tester.register_health_check(APP_NAME, indexPageTest)
Ejemplo n.º 2
0
"""Health checks for the Genes2Networks.
"""


from hyperion import config
import hyperion.tester as tester
from hyperion.checkindexpage import CheckIndexPage


APP_NAME = 'genes2networks'
EMAIL = config.get('apps', 'email')


indexPageTest = CheckIndexPage(
    'http://actin.pharm.mssm.edu/genes2networks/',
    'Error with Genes2Networks',
    EMAIL
)
tester.register_health_check(APP_NAME, indexPageTest)
Ejemplo n.º 3
0
"""Health checks for the Docent 3.
"""


from hyperion import config
import hyperion.tester as tester
from hyperion.checkindexpage import CheckIndexPage


APP_NAME = 'docent3'
EMAIL = config.get('docent3', 'email')


test = CheckIndexPage(
    'http://amp.pharm.mssm.edu/docent3/',
    'Error with Docent 3',
    EMAIL
)
tester.register_health_check(APP_NAME, test)
Ejemplo n.º 4
0
"""Health checks for PAEA.
"""


from hyperion import config
import hyperion.tester as tester
from hyperion.checkindexpage import CheckIndexPage


APP_NAME = 'paea'
EMAIL = config.get('paea', 'email')


indexPageTest = CheckIndexPage(
    'http://amp.pharm.mssm.edu/PAEA',
    'Error with PAEA',
    EMAIL
)
tester.register_health_check(APP_NAME, indexPageTest)
Ejemplo n.º 5
0
"""Serves most static pages.

__authors__ = "Gregory Gundersen"
__credits__ = "Ma'ayan Lab, Icahn School of Medicine at Mount Sinai"
__contact__ = "*****@*****.**"
"""


import json

from flask import Blueprint, render_template

from hyperion import config
import hyperion.tester as tester


base = Blueprint('base', __name__, url_prefix=config.get('general', 'base_url'))


@base.route('')
def index_page():
    results = tester.get_status()
    return render_template('index.html',
                            results=results,
                            results_json=json.dumps(results))
Ejemplo n.º 6
0
"""Health checks for the LINCS DCIC website.
"""


from hyperion import config
import hyperion.tester as tester
from hyperion.checkindexpage import CheckIndexPage


APP_NAME = 'lincsdcic'
EMAIL = config.get('lincsdcic', 'email')


indexPageTest = CheckIndexPage(
    'http://lincs-dcic.org/#/',
    'Error with the LINCS DCIC website',
    EMAIL
)
tester.register_health_check(APP_NAME, indexPageTest)
Ejemplo n.º 7
0
"""Health checks for the Harmonizome.
"""


from hyperion import config
import hyperion.tester as tester
from hyperion.checkindexpage import CheckIndexPage
from hyperion.apps.harmonizome.checkgeneendpoint import CheckGeneEndpoint
from hyperion.apps.harmonizome.checksearch import CheckSearch


APP_NAME = 'harmonizome'
EMAIL = config.get('harmonizome', 'email')


indexPageTest = CheckIndexPage(
    'http://amp.pharm.mssm.edu/Harmonizome',
    'Error with the Harmonizome',
    EMAIL
)
tester.register_health_check(APP_NAME, indexPageTest)
tester.register_health_check(APP_NAME, CheckGeneEndpoint(EMAIL))
tester.register_health_check(APP_NAME, CheckSearch(EMAIL))
Ejemplo n.º 8
0
"""Health checks for GEO2Enrichr.
"""


from hyperion import config
import hyperion.tester as tester
from hyperion.checkindexpage import CheckIndexPage
from hyperion.apps.geo2enrichr.checkresultspage import CheckResultsPage


APP_NAME = 'geo2enrichr'
EMAIL = config.get('geo2enrichr', 'email')


indexPageTest = CheckIndexPage(
    'http://amp.pharm.mssm.edu/g2e',
    'Error with GEO2Enrichr',
    EMAIL
)
tester.register_health_check(APP_NAME, indexPageTest)
tester.register_health_check(APP_NAME, CheckResultsPage(EMAIL))
Ejemplo n.º 9
0
"""Health checks for L1000CDS2.
"""


from hyperion import config
import hyperion.tester as tester
from hyperion.checkindexpage import CheckIndexPage


APP_NAME = "l1000cds2"
EMAIL = config.get("l1000cds2", "email")


indexPageTest = CheckIndexPage("http://www.lincs-dcic.org/", "Error with the LINCS DCIC website", EMAIL)
tester.register_health_check(APP_NAME, indexPageTest)
"""Health checks for L1000CDS2.
"""

from hyperion import config
import hyperion.tester as tester
from hyperion.checkindexpage import CheckIndexPage

APP_NAME = 'l1000cds2'
EMAIL = config.get('l1000cds2', 'email')

indexPageTest = CheckIndexPage('http://www.lincs-dcic.org/',
                               'Error with the LINCS DCIC website', EMAIL)
tester.register_health_check(APP_NAME, indexPageTest)
Ejemplo n.º 11
0
"""Health checks for the LINCS DCIC website.
"""

from hyperion import config
import hyperion.tester as tester
from hyperion.checkindexpage import CheckIndexPage

APP_NAME = 'lincsdcic'
EMAIL = config.get('lincsdcic', 'email')

indexPageTest = CheckIndexPage('http://lincs-dcic.org/#/',
                               'Error with the LINCS DCIC website', EMAIL)
tester.register_health_check(APP_NAME, indexPageTest)