Add routing for entities handlers
This commit is contained in:
parent
4cb417a448
commit
95961d4b7b
1 changed files with 2 additions and 0 deletions
2
app.py
2
app.py
|
@ -103,6 +103,8 @@ def make_app(_auth_provider=None, gitmgr=None):
|
|||
(version_path + r"/health", HealthHandler,
|
||||
{"sources": [lambda: {"git-head": gitmgr.head_sha}] if gitmgr else None}),
|
||||
(version_path + r"/oas3", Oas3Handler),
|
||||
(version_path + r"/entities", AllEntitiesHandler, {"auth_provider": _auth_provider}),
|
||||
(version_path + r"/entity/{.*}", SingleEntityHandler, {"auth_provider": _auth_provider}),
|
||||
])
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue