This commit is contained in:
dongli 2025-06-12 17:44:13 -07:00
parent 6254d13098
commit c09ad7f5c9

View File

@ -18,6 +18,18 @@ async def init_deployment(
) -> Deployment:
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")
async def update_deployment(
request: Deployment,