@@ -238,12 +238,13 @@ function_apps = {
238238 health_check_path = " /api/health"
239239
240240 fa_config = {
241+
241242 ReceiveCaasFile = {
242243 name_suffix = " receive-caas-file"
243244 function_endpoint_name = " ReceiveCaasFile"
244245 app_service_plan_key = " DefaultPlan"
245- producer_to_service_bus = [" dtoss-nsp" ]
246246 db_connection_string = " DtOsDatabaseConnectionString"
247+ service_bus_connections = [" internal" ]
247248 storage_account_env_var_name = " caasfolder_STORAGE"
248249 env_vars = {
249250 app_urls = {
@@ -266,9 +267,8 @@ function_apps = {
266267 GetOrchestrationStatusURL = " https://dev-uks-durable-demographic-function.azurewebsites.net/api/GetOrchestrationStatus"
267268 maxNumberOfChecks = " 50"
268269 AllowDeleteRecords = true
269- TopicName = " DistributeParticipantQueue "
270+ ParticipantManagementTopic = " participant-management "
270271 UpdateQueueName = " update-participant-queue"
271- maxNumberOfChecks = " 50"
272272 UseNewFunctions = " false"
273273 }
274274 storage_containers = {
@@ -426,16 +426,21 @@ function_apps = {
426426 }
427427
428428 CreateException = {
429- name_suffix = " create-exception"
430- function_endpoint_name = " CreateException"
431- app_service_plan_key = " DefaultPlan"
432- db_connection_string = " DtOsDatabaseConnectionString"
429+ name_suffix = " create-exception"
430+ function_endpoint_name = " CreateException"
431+ app_service_plan_key = " DefaultPlan"
432+ db_connection_string = " DtOsDatabaseConnectionString"
433+ service_bus_connections = [" internal" ]
433434 env_vars = {
434435 app_urls = {
435436 DemographicDataServiceURL = " ParticipantDemographicDataService"
436437 ExceptionManagementDataServiceURL = " ExceptionManagementDataService"
437438 GPPracticeDataServiceURL = " GPPracticeDataService"
438439 }
440+ static = {
441+ CreateExceptionTopic = " create-exception"
442+ CreateExceptionSubscription = " create-exception-CreateException"
443+ }
439444 }
440445 }
441446
@@ -461,22 +466,27 @@ function_apps = {
461466 function_endpoint_name = " StaticValidation"
462467 app_service_plan_key = " DefaultPlan"
463468 db_connection_string = " DtOsDatabaseConnectionString"
469+ service_bus_connections = [" internal" ]
464470 env_vars = {
465471 app_urls = {
466472 ExceptionFunctionURL = " CreateException"
467473 RemoveOldValidationRecord = " RemoveValidationExceptionData"
468474 }
475+ static = {
476+ CreateExceptionTopic = " create-exception"
477+ }
469478 storage_containers = {
470479 BlobContainerName = " config"
471480 }
472481 }
473482 }
474483
475484 LookupValidation = {
476- name_suffix = " lookup-validation"
477- function_endpoint_name = " LookupValidation"
478- app_service_plan_key = " DefaultPlan"
479- db_connection_string = " DtOsDatabaseConnectionString"
485+ name_suffix = " lookup-validation"
486+ function_endpoint_name = " LookupValidation"
487+ app_service_plan_key = " DefaultPlan"
488+ db_connection_string = " DtOsDatabaseConnectionString"
489+ service_bus_connections = [" internal" ]
480490 env_vars = {
481491 app_urls = {
482492 ExceptionFunctionURL = " CreateException"
@@ -801,16 +811,16 @@ function_apps = {
801811 }
802812
803813 CohortDistributionDataService = {
804- name_suffix = " cohort-distribution-data-service"
805- function_endpoint_name = " CohortDistributionDataService"
806- app_service_plan_key = " HighLoadFunctions"
807- db_connection_string = " DtOsDatabaseConnectionString"
814+ name_suffix = " cohort-distribution-data-service"
815+ function_endpoint_name = " CohortDistributionDataService"
816+ app_service_plan_key = " HighLoadFunctions"
817+ db_connection_string = " DtOsDatabaseConnectionString"
808818 env_vars = {
809819 app_urls = {
810820 ExceptionFunctionURL = " CreateException"
811821 }
812822 static = {
813- AcceptableLatencyThresholdMs = " 500"
823+ AcceptableLatencyThresholdMs = " 500"
814824 }
815825 }
816826 }
@@ -884,7 +894,6 @@ function_apps = {
884894 }
885895 }
886896
887-
888897 RetrievePDSDemographic = {
889898 name_suffix = " retrieve-pds-demographic"
890899 function_endpoint_name = " RetrievePDSDemographic"
@@ -1039,35 +1048,27 @@ key_vault = {
10391048}
10401049
10411050service_bus = {
1042- distribute-participant = {
1051+ internal = {
10431052 capacity = 1
10441053 sku_tier = " Premium"
10451054 max_payload_size = " 100mb"
10461055 topics = {
1047- cohort-distribution-queue = {
1056+ cohort-distribution = {
10481057 batched_operations_enabled = true
1058+ # subscribers = ["DistributeParticipant"] # Not deployed in Cohort Manager yet
10491059 }
1050- add-participant-queue = {
1060+ create-exception = {
10511061 batched_operations_enabled = true
1062+ subscribers = [" CreateException" ]
10521063 }
1053- update- participant-queue = {
1064+ participant-management = {
10541065 batched_operations_enabled = true
1066+ # subscribers = ["ManageParticipant"] # Not deployed in Cohort Manager yet
10551067 }
10561068 }
10571069 }
10581070}
10591071
1060- # service_bus_subscriptions = {
1061- # subscriber_config = {
1062- # event-dev-ap = {
1063- # subscription_name = "events-sub"
1064- # topic_name = "events"
1065- # namespace_name = "dtoss-nsp"
1066- # subscriber_functionName = "foundryRelay"
1067- # }
1068- # }
1069- # }
1070-
10711072sqlserver = {
10721073 sql_admin_group_name = " sqlsvr_cohman_dev_uks_admin"
10731074 ad_auth_only = true
0 commit comments