feat: add advisor rollout gate and rollback playbook
This commit is contained in:
@@ -13,11 +13,12 @@ from app.api.schemas.investment_goals import (
|
||||
InvestmentGoalCreate,
|
||||
)
|
||||
from app.core.contracts import RequestContext
|
||||
from app.service.advisor_rollout_service import enforce_advisor_rollout
|
||||
from app.service.investment_goal_service import InvestmentGoalService
|
||||
|
||||
router = APIRouter(
|
||||
prefix="/api/v1/advisor", tags=["advisor-investment-goals"],
|
||||
dependencies=[Depends(enforce_rate_limit)],
|
||||
dependencies=[Depends(enforce_rate_limit), Depends(enforce_advisor_rollout)],
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user