Commit 66b18329 authored by Victor Dosda's avatar Victor Dosda
Browse files

Added route for v2 APIs for bulk

parent 4c53b97c
Pipeline #47341 failed with stages
in 21 seconds
......@@ -50,6 +50,7 @@ from app.record_utils import fetch_record, update_records
router = APIRouter()
LOGS_API_BASE_PATH = '/logs'
async def get_persistence() -> Persistence:
return Persistence()
......
......@@ -206,11 +206,11 @@ wdms_app.include_router(
# log bulk v2 APIs
wdms_app.include_router(
sessions.router,
prefix=ALPHA_APIS_PREFIX + DDMS_V2_PATH + "/logs",
prefix=ALPHA_APIS_PREFIX + DDMS_V2_PATH + log_ddms_v2.LOGS_API_BASE_PATH,
tags=tags, dependencies=dependencies)
wdms_app.include_router(
log_ddms_v2.router_bulk,
prefix=ALPHA_APIS_PREFIX + DDMS_V2_PATH,
bulk_utils.router_bulk,
prefix=ALPHA_APIS_PREFIX + DDMS_V2_PATH + log_ddms_v2.LOGS_API_BASE_PATH,
tags=tags, dependencies=dependencies)
# ------------- add alpha feature: ONLY MOUNTED IN DEV AND DA ENVs
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment