diff --git a/config_web/__init__.py b/config_web/__init__.py index bc56fe02..744fd31f 100644 --- a/config_web/__init__.py +++ b/config_web/__init__.py @@ -1,4 +1,4 @@ -from . import covid19, genomics, growth_rate, resources, significance +from . import covid19, genomics, growth_rate, resources, significance, wastewater try: from config_web_local import * diff --git a/config_web/wastewater.py b/config_web/wastewater.py new file mode 100644 index 00000000..61d1db76 --- /dev/null +++ b/config_web/wastewater.py @@ -0,0 +1,12 @@ +# ***************************************************************************** +# Elasticsearch variables +# ***************************************************************************** +ES_INDEX = "outbreak-wastewater" +API_PREFIX = "wastewater" +ES_DOC_TYPE = "wastewater" +API_VERSION = "" + +APP_LIST = [ + (r"/{pre}/{ver}/metadata/?", "web.handlers.GRMetadataSourceHandler"), + (r"/{pre}/{ver}/query/?", "web.handlers.GRQueryHandler"), +]