Skip to content

Commit

Permalink
Add old wastewater api handler.
Browse files Browse the repository at this point in the history
  • Loading branch information
everaldorodrigo committed Mar 21, 2024
1 parent e522d20 commit 5768b71
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config_web/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from . import covid19, genomics, growth_rate, resources, significance, wastewater_demix, wastewater_metadata, wastewater_variants
from . import covid19, genomics, growth_rate, resources, significance, wastewater, wastewater_demix, wastewater_metadata, wastewater_variants

try:
from config_web_local import *
Expand Down
12 changes: 12 additions & 0 deletions config_web/wastewater.py
Original file line number Diff line number Diff line change
@@ -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"),
]

0 comments on commit 5768b71

Please sign in to comment.