-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a new API metrics-lifecycle-policies (#21)
* patch(api) initial version of MLP API Signed-off-by: hayk96 <hayko5999@gmail.com> * feat: add background task support / fix metrics-lifecycle-policies API Signed-off-by: hayk96 <hayko5999@gmail.com> * chore: bump app version Signed-off-by: hayk96 <hayko5999@gmail.com> * docs(examples): add new flag in container args Signed-off-by: hayk96 <hayko5999@gmail.com> * Update CHANGELOG.md #minor Signed-off-by: hayk96 <hayko5999@gmail.com> --------- Signed-off-by: hayk96 <hayko5999@gmail.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
c6d6a6b
commit 8db8d3b
Showing
18 changed files
with
680 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
prometheus-fastapi-instrumentator==6.1.0 | ||
python-json-logger==2.0.7 | ||
email-validator==2.0.0 | ||
fastapi==0.109.0 | ||
uvicorn==0.21.1 | ||
APScheduler==3.10.4 | ||
pytimeparse2==1.7.1 | ||
jsonschema==4.17.3 | ||
requests==2.28.2 | ||
pydantic==1.10.7 | ||
fastapi==0.109.0 | ||
uvicorn==0.21.1 | ||
PyYAML==6.0.1 | ||
jsonschema==4.17.3 | ||
httpx==0.24.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
from .. v1.endpoints import reverse_proxy, rules, web | ||
from .. v1.endpoints import reverse_proxy, rules, policies, web | ||
from fastapi import APIRouter | ||
|
||
api_router = APIRouter() | ||
api_router.include_router(rules.router, prefix="/api/v1") | ||
api_router.include_router(policies.router, prefix="/api/v1") | ||
api_router.include_router(web.router, prefix="") | ||
api_router.add_route("/{path:path}", reverse_proxy._reverse_proxy, ["GET", "POST", "PUT"]) |
Oops, something went wrong.