minor
This commit is contained in:
parent
6254d13098
commit
c09ad7f5c9
@ -18,6 +18,18 @@ async def init_deployment(
|
|||||||
) -> Deployment:
|
) -> Deployment:
|
||||||
return await service.init_deployment(request)
|
return await service.init_deployment(request)
|
||||||
|
|
||||||
|
@router.get('/getLatestDeployment')
|
||||||
|
async def get_latest_deployment(
|
||||||
|
product_id: str,
|
||||||
|
service: DeploymentService = Depends(get_deployment_service)
|
||||||
|
) -> Deployment:
|
||||||
|
"""
|
||||||
|
Get the latest deployment for a given product ID.
|
||||||
|
"""
|
||||||
|
# return await service.get_latest_deployment(product_id)
|
||||||
|
return None
|
||||||
|
|
||||||
|
|
||||||
@router.post("/updateDeploymentStatus")
|
@router.post("/updateDeploymentStatus")
|
||||||
async def update_deployment(
|
async def update_deployment(
|
||||||
request: Deployment,
|
request: Deployment,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user