Skip to content

Commit

Permalink
DTOSS-6542 add routing plan for phase 2 (sending letters via Notify)
Browse files Browse the repository at this point in the history
  • Loading branch information
dnimmo committed Jan 21, 2025
1 parent db93fe3 commit ce62f36
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 10 additions & 1 deletion src/functions/notify/routing_plans.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,18 @@
"sandbox": "b1e3b13c-f98c-4def-93f0-515d4e4f4ee1"
}

breast_screening_pilot_with_letters_plans = {
"development": "f134ef50-3d4d-4fc5-8fab-19087a84349f",
"integration": "f134ef50-3d4d-4fc5-8fab-19087a84349f",
"nft": "f134ef50-3d4d-4fc5-8fab-19087a84349f",
"pre_production": "f134ef50-3d4d-4fc5-8fab-19087a84349f",
"production": "f134ef50-3d4d-4fc5-8fab-19087a84349f",
}

ROUTING_PLANS = {
"breast-screening-pilot": breast_screening_first_appointment_plans,
"bowel-screening-pilot": bowel_screening_first_appointment_plans
"bowel-screening-pilot": bowel_screening_first_appointment_plans,
"breast-screening-pilot-with-letters": breast_screening_pilot_with_letters_plans
}


Expand Down
2 changes: 1 addition & 1 deletion src/functions/process_pilot_data/data_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def process_data(filename, raw_data) -> str:

def post_body(data: dict) -> dict:
return {
"routing_plan": "breast-screening-pilot",
"routing_plan": "breast-screening-pilot-with-letters",
"recipients": data,
}

Expand Down

0 comments on commit ce62f36

Please sign in to comment.