Add routing for entities handlers
This commit is contained in:
parent
b7836163ef
commit
053e931b80
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,
|
(version_path + r"/health", HealthHandler,
|
||||||
{"sources": [lambda: {"git-head": gitmgr.head_sha}] if gitmgr else None}),
|
{"sources": [lambda: {"git-head": gitmgr.head_sha}] if gitmgr else None}),
|
||||||
(version_path + r"/oas3", Oas3Handler),
|
(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